Programming the VGA Optica 4-17
January 2006
Communication
Parameters
Query Mode Format:
Table 4-14: Communication Parameter Options
Item Function Available Options
Mode Set the method for sending data.
All (Data is sent continuously.);
Query (Data is sent when
requested by receiving device.)
Query mode is described below.
Baud
Set the baud rate as required by the receiving device.
300, 600, 1200, 2400, 4800,
9600, 19200, 38400, 57600
Parity Set the parity as required by the receiving device. None, Odd or Even
Data Bits
Set the number of data bits as required by the
receiving device.
7 or 8
Stop Bits
Set the number of stop bits as required by the
receiving device
1, 1.5 or 2
Flow Control
Set the Flow Control mode as required by the
receiving device.
None, X-OFF, RTS/CTS
Command: Returns . . .
$HELP < > Help string
Note: The symbol < > indicates a carriage return.
$GETDATA 0 <item> <item> <item> ... <item> Requested data items
$GETSTATUS 0 < > Status string
Query mode examples:
$GETDATA 0 0 1 < > returns the Dew Point °C, Dew Point °F
Note: The 0 and 1 above, following the “GETDATA 0” command, reference the numeric suffix of
the parameter identifier from Table 4-2 on page 4-5. For example A0 has units Tdew °C, so
the 0 requests Tdew °C.
$GETSTATUS < > Returns a string of 1s and 0s corresponding to PACER,
Service, Control, Heat, Cool, Alarm 1, Alarm 2