APART PM1122-INT Especificações Página 25

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 25
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 24
PM1122-INT DIGITAL INTERFACE REMOTE
WWW.APART-AUDIO.COM / INFO@APART-AUDIO.COM
Onepossibilitytohandlethis,isthefollowing:
Aglobalstring“rest_string”mustbedefined.Atstartup,it’sanemptystring.Further,following
proceduresareused:
instr(1
st
_string,2
nd
_string):thisprocedurereturnsthepositionatwhichthesecondstring
occursinthefirststringor0incasethere’snomatch.
Left(string,integer):thisprocedurereturnsthebytheintegerspecifiednumbersof
charactersfromthespecifiedstring,startingfromtheleft.
Right(string,integer):this proceduredoesthesamebutstartingfromtherightside.
Interpret(string):thisprocedureinterpretsastringwhichincludesaname,azoneand a
valueassendbythePM1122INT.
Receive_Handler(stringreceived_string):
{
rest_string=rest_string&received_string
while(instr(rest_string,”\r\n”)<>0)
{
Dimfirst_stringasstring
first_string=left(rest_string,instr(rest_string,”\r\n”)1)
rest_string=right(rest_string,len(rest_stringinstr(rest_string,”\r\n”)1)
CallInterpret(first_string)
}
}
WhenyouwouldliketocontrolthePM1122withmorethanRS232only(e.g.alsowiththewireless
wallcontrolsofthepresetrecallbycontacts),it’swisetokeepTXandRXstrictlyseparated.Asinthe
picturebelow,makeyourapplicationcontroltheP M1122bytheTXportandupdateyourdisplay
onlywiththeinformationcomingfromyourapplicationsRX.Thisway,thedisplaywillalwaysbein
syncwiththePM1122,evenifastatushaschangedbecauseofwirelesscontrolorrecalledpresets
Remark:with“VALFB”seton,thePM1122INTonlysendsastringwhenavariableischanged.Ifyou
wanttoknowthecurrent settingswithoutchangingthem,usethe“GETINFO”command.
25
Vista de página 24
1 2 ... 20 21 22 23 24 25

Comentários a estes Manuais

Sem comentários