07-05-2009 07:48 PM
I'm trying to set up a DASYLab application. I have continuous RS-232 data strings that look like this:
I 00255 -027.7 -00.1 003.9 +0.00 +0.45 -0.88 +0.00 -0.03 -1.00 -41.4 +00.2 +00.2 -000.0
I'd like to use a single RS232 input module, and have each channel (0-13) represent one of the 14 values in the string. My question is -- In the properties dialog box for the RS232 input module, what should be in the "measurement data format" field for each channel?
Thanks in advance.
Mike |
07-06-2009 05:32 PM
Hey Mike,
What is the RS232 input module that you are using?
07-07-2009 01:31 AM
07-07-2009 04:00 AM
This is an example of my string "x" means skip a character "a" reads a character the Data Request Command: A/r waits for the "A" at the start of the string to begin reading.
A +014.49 +018.93 +0000.0 +0000.0 0000.0 C2H4<CR>
Channel 0
Data Request Command: A/r
Data Format: "A " 1x 8a
Channel 1
Data Request Command: blank
Data Format: 8a
Channel 2
Data Request Command: blank
Data Format: 8a
Channel 3
Data Request Command: blank
Data Format: 8a
Channel 4
Data Request Command: blank
Data Format: a/r
07-07-2009 06:03 AM
Chorlton1,
Thanks very much - it works perfectly as you describe. Nice, simple solution!
Regards,
Mike