Hi I am trying to write a small prog to read data from a socket transmitted using your actiview server. I understand in what order the channels are transmitted and that the samples are 3 bytes long and little endian. So:
For 8388607
byte_buffer[0]=-1;//Last element
byte_buffer[1]=-1;
byte_buffer[2]=127;//first element
For -8388608
byte_buffer[0]=0; //Last element
byte_buffer[1]=0;
byte_buffer[2]=-128;//first element
The above is encoded in the byte format so -128=10000000
and 127=11111111
Now how do I translate say 8388607 to a micro volt range or a trigger value or as a value redorded directly to the bdf files?