Vectrino ID 0x07 at start of data stream

Up to Velocimeters - single point

Vectrino ID 0x07 at start of data stream

Posted by Tim Maddux at May 24. 2010

Hi,

We have some data coming from a Vectrino that we want to see if we can decode.

Some background; we are working with a National Instruments LabVIEW-based system.  It communicates with multiple Vectrinos (up to 12 at a time) and logs the binary datastream coming from them to a file.  The file is then later decoded offline into ASCII text and pushed out to researchers.  To start the Vectrino we send 'ST' and if we get back the 'AckAck' reply then we log everything that follows.  Data packets don't start until the Vectrinos receive triggers from us -- they are all running in sample_on_sync mode.

We are used to seeing the Vectrino header packet (identified by sync 0xA5 followed by ID 0x51) and then many Vectrino data packets (identified by sync 0xA5 followed by ID 0x50) and can decode these.

We are now seeing packets with sync 0xA5 and ID 0x07.  There are two of them.  Each one is 2064 bytes long.  The ID 0x07 is not present in any documentation I can find.

Can anyone shed some light on this?  If it's useful information I'd like to capture it.

Thanks,

Re: Vectrino ID 0x07 at start of data stream

Posted by Sven Nylund at May 25. 2010

Hi Tim,

At the beginning of a measurement the Vectrino measures a couple of amplitude profiles that are mainly intended for debugging purposes. The first one contains the data used for the distance measurement whereas the second one outputs the result of a single probe check profile. These data are shown in the pck-file if you store and convert the data to ASCII with the Vectrino software. If you add the header at the beginning of the data files you store (i.e. the output from the GA command) you will have the option to convert the files to ASCII with the Vectrino software.

To look at the converted ASCII data the following Matlab code can be used:
load p14367.pck
d= p14367;
i=(18:512);
j=512+(18:512);
plot(d(i,2),d(i,3:6)),grid,title('Distance data')
plot(d(j,2),d(j,3:6)),grid,title('Probe check data')

Best regards,

Sven Nylund

Re: Vectrino ID 0x07 at start of data stream

Posted by Tim Maddux at May 25. 2010

Understood.

I don't feel an immediate need to decode these on every run, but for reference would it be possible for you to publish the spec for those data structures?

Powered by Ploneboard
Document Actions
Log in


Forgot your password?
New user?