
Interfacing the MICROCOM DESIGN GTX Modulator to the Campbell Scientific CR1000 Data Logger PRELIMINARY
SerialOut (Com1,CR,"",0,0)
SerialOut (Com4,MESSAGE,"",0,100)
SerialOut (Com1,MESSAGE,"",0,100)
SerialOut (Com4,batt_volt,"",0,100)
SerialOut (Com4, CRLF,"",0,100)
SerialOut (Com1,batt_volt,"",0,100)
SerialOut (Com1, CRLF,"",0,100)
NextScan
EndProg
In the program, internal temperature and voltage measurements are taken in
the CR1000 and sent out in an ASCII message header. We haven’t covered the
GTX command structure/format and so this program will simply allow the GTX to
go into sleep mode, and then wake it up with carriage returns until we get the
‘>’ character returned from the GTX signifying that it is awake and ready for
communication. Later, we will format the data into the actual GTX format for a
random or timed message.
© 2005 Microcom Design Inc. All rights reserved voice: 401.771.1070 Fax:410.771.0018
uAPP222 (v1.0) July 12, 2005 http://www.microcomdesign.com 6
Komentarze do niniejszej Instrukcji