APART PM1122-INT Especificaciones Pagina 25

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 25
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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 pagina 24
1 2 ... 20 21 22 23 24 25

Comentarios a estos manuales

Sin comentarios