Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

XML commands through RS232


Otemohu May 14, 2014 10:42 AM

Hi,

I would like to know if I can program a CR3000 datalogger to send xml commands to an instrument: in my case the commands would calibrate a CO2 analyzer (Li840) for zero and span.

I did'nt find the command lines in the loggernet help file.

Daniel


Ryan May 19, 2014 07:07 PM

Hey Daniel,

We use CR23Xs to calibrate Li6262 's and 7000 using zeros and up to three cal tanks. See schematic at http://co2.utah.edu/index.php?site=1&id=1

This is done using the the control I/O 1-5 connected to a A6REL-12 relay driver. You will need an additional 12v power supply for the relay driver.

Hope this was of some help!

Ryan


GTProdMgr May 19, 2014 07:42 PM

On the CR3000, you could take a look at the
SerialOpen, SerialOut, SerialOutBlock and SerialClose
instructions. This enables you to open up an RS-232 communications channel (either on the dedicated 9-pin DB9 RS232 connection of the CR3000, or a pair of the C ports, C1/C2, etc.) and then send text. You could formulate the text as XML in how you write the program. It should work in theory, assuming you know what kind of XML needs to be sent (that should be in theLi840 manual).
If the device will communicate back, you use SerialIn or SerialInRecord


Otemohu May 28, 2014 08:19 AM

Thank you. I will try soon.

Daniel

Log in or register to post/reply in the forum.