EasyManua.ls Logo

LI-COR LI-840A - Page 104

LI-COR LI-840A
138 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Sending Data to the LI-840A
To send data to the LI-840A, each string must end with a '\n' to ensure that the LI-840A can
parse consecutive commands.
After data have been sent to the LI-840A, the instrument replies with:
<LI840><ACK>TRUE</ACK></LI840>
if the XML was received and parsed correctly. If there was an error in the XML, the following is
sent:
<LI840><ACK>FALSE</ACK></LI840>.
For example, suppose that you would like to reconfigure the LI-840A to stop outputting cell
temperature. Here is the command to send to the LI-840A:
<LI840><RS232><CELLTEMP>FALSE</CELLTEMP></RS232></LI840>
If the command was received correctly, the LI-840A replies with
<LI840><ACK>TRUE</ACK></LI840>.
Reading Data From the LI-840A
The LI-840A can send data continuously. To determine where one message ends and the next
begins, each XML document sent from the LI-840A is delimited with a '\n' (0x10) character.
Appendix E
Appendix E. Configuration GrammarE-4