I'm using a Lufft WS600 and polling the compass information using the C5! command. This is only suppose to return 1 value and so I did not set up an array to receive the result. I got a "variable out of bounds" error while the program was running. I then thought, I'll make an array to see if that's the problem, so I dimensioned my variable to size 5 and I still get the error. The correct value sits in array element 1. I am using the command like this:
SDI12Recorder (WS600_Buffer_A5(),3,0,"C5!",1.0,0)
I sniffed the traffic and it is correctly only returning one value when the logger issues the D0! See Below:
T 21:09:40.54 30 43 35 21 ASCII: C5!
T 21:09:40.63 30 43 35 21 ASCII: C5!
R 21:09:40.73 30 30 30 30 30 31 0D 0A ONE VALUE TO RETURN
T 21:09:40.74 30 44 30 21 ASCII: 0D0!
R 21:09:40.84 30 2B 34 2E 30 0D 0A Ascii: 0 + 4.0 cr lf
Can anyone point me in the right direction?
Try the latest datalogger OS version.
Sorry... I'm on OS28.02 on a CR1000... I read the changelog for OS29 and nothing appears to address anything close to what I am seeing. This logger is a remote deployment and I can't just chance updating the OS unless I know there's a documented fix.
There was an issue of erroneously causing a variable out of bonds warning on OS27. I thought the problem was resolved in OS 28.
It is a warning, not an error, so the program should still run.