Xl™ series – Xylem XL Series H-522 - Plus User Manual
Page 254

23-8 XL-BASIC Programming Guide
XL™ SERIES
DATA CARD AND FILE COMMANDS
OPENFILE
Open a data file for WRITEFILE operations.
WRITEFILE
Write text and data to the open data file.
CLOSEFILE
Close the data file.
H-355 BUBBLER COMMANDS
SETBUBBLERT(x)
Set the H-355 bubble rate to ‘x’ bubbles per minute.
SETPURGEPSI(x)
Set the H-355 purge pressure to ‘x’ PSI.
SETPURGEDUR(x)
Set the H-355 purge duration to ‘x’ seconds.
MISCELLANEOUS COMMANDS
POKE(a,d)
Set system address ‘a’ equal to ‘d’
PEEK(a)
Read system address ‘a’.
WRITESDI “string”
Send text and data to the SDI-12 port using SDI-12 timing and
retries.
PRINTSDI “string”
Send text and data to the SDI-12 port one time only, no retries.
GETSDIDATA
“string”
Send a measurement command as a text string to the SDI-12 port and
collect the data for that command.
SETTIMEOUT(x)
Set the system timeout time to x seconds.
SCANRT()
Get the current scan rate in seconds, a 15 minute rate would be 900.
SETSCANRATE(x)
Set the scan rate to x where x is in seconds from 0 to 86399.