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.

Serial instrument communications


Viridius Jan 29, 2021 08:09 PM

Hi,

I am currently working with an RS232 insrument. The inital communication is fine and I can both run and parse data correctly. this issue I am having is with getting the settings parsed. I have tried many combonations of serialin and serialinrecord to read the setting data and all I recieve is NAN. 

Any help with this issue would be much apprecieated. 

below is what i am trying to parse.

Ser BBFL2W-6633
Ver Triplet5.33
Ave 18
Pkt 0
M1d 50
M2d 50
M3d 50
M1s 4.840E-02
M2s 2.430E-02
M3s 1.226E-01
Seq 0
Rat 19200
Set 0
Rec 0
Man 0
Int 00:00:15
Dat 01/27/21
Clk 14:34:55
Mst 08:54:11
Mem 0

here is the sniffer for the output

14:36:12.010 T 24 52 55 4E 0D $RUN.
14:36:13.460 R 6D 76 73 20 31 0D 0A mvs 1..
14:36:14.982 R 30 31 2F 32 37 2F 32 31 09 31 34 3A 33 36 3A 31 01/27/21.14:36:1
14:36:14.982 R 34 09 37 30 30 09 34 31 33 30 09 36 39 35 09 4.700.4130.695.
14:36:15.088 R 33 36 31 09 34 36 30 09 34 31 33 30 09 35 33 31 361.460.4130.531
14:36:15.088 R 0D 0A ..
14:36:16.104 R 30 31 2F 32 37 2F 32 31 09 31 34 3A 33 36 3A 31 01/27/21.14:36:1
14:36:16.104 R 35 09 37 30 30 09 5.700.
14:36:16.212 R 34 31 33 30 09 36 39 35 09 33 36 31 09 34 36 30 4130.695.361.460
14:36:16.212 R 09 34 31 33 30 09 35 33 31 0D 0A .4130.531..
14:36:17.226 R 30 31 2F 32 37 2F 32 31 09 31 34 01/27/21.14
14:36:17.336 R 3A 33 36 3A 31 36 09 37 30 30 09 34 31 33 30 09 :36:16.700.4130.
14:36:17.336 R 36 39 35 09 33 36 30 09 34 36 30 09 34 31 33 30 695.360.460.4130
14:36:17.336 R 09 35 33 31 0D 0A .531..

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