Campbell CR10 PROM Instruction Manual Page 23

  • Download
  • Add to my manuals
  • Print
  • Page
    / 30
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 22
APPENDIX B. SERIAL COMMUNICATIONS WITH THE CSAT3
B-2
1 The CSAT3 will ignore this command if a datalogger (SDM) is triggering the anemometer.
2 After the PC takes over as the trigger source it must continue to trigger the CSAT3 at the rate
specified in the Execution Parameter (An). If the CSAT3 does not receive a trigger for three seconds
it will enter the Lost Trigger state. The acquire signal (An) command will have to be issued in order
for the anemometer to exit the Lost Trigger state.
3 Acquire signal commands.
An Execution
Parameter
An Execution
Parameter
A1 Not Used A9 10 Hz
A2 1 Hz Aa 12 Hz
A3 Not Used Ab 15 Hz
A4 Not Used Ac 20 Hz
A5 2 Hz Ad 30 Hz
A6 3 Hz Ae 60 Hz
A7 5 Hz Ag
60 Hz 10 Hz
A8 6 Hz Ah
60 Hz 20 Hz
4 The PC must send the second byte of this command (2..e) within two seconds of the first byte or the
anemometer will reset itself. It will then acquire the signal using the Execution Parameter in static
memory.
Generic flow charts are given in Figures B-1 and B-2 for collecting data using a PC and the RS-232 port.
In Figure B-1 the PC is the Trigger Source and the data acquisition system. In Figure B-2 the
anemometer is triggered by its internal timer and a PC is the data acquisition system. Use the logic in
Figure B-1 when the CSAT3 is measured along with other analog/digital signals.
set RTS line low
repeat until finished collecting data
wait until timer = 1/(Execution Parameter)
process data
read wind data (U) or long status (P) from serial port
make other PC based analog/digital measurements
sent the U or P command
set timer to zero
send the An command to acquire signals
until CTS line is high
read CTS line
set RTS line high
FIGURE B-1. PC as the Trigger Source.
Page view 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 29 30

Comments to this Manuals

No comments