06-21-2008 02:43 PM
06-21-2008 03:14 PM
06-23-2008 01:37 PM
06-23-2008 02:10 PM - edited 06-23-2008 02:12 PM
06-23-2008 02:40 PM
AT0, AT1, AT2, AT3, AT4, AT5, AT6, AT7, Acqusition time
0,0,0,0, Item_Type_ID (0->packet wrapper)
28,0, Packet length, including wrapper
0,0,0,0, Tool string number
242,255,255,255, Item_Type_ID (-14->Start acquisition command)
16,0,0,0, Net packet length
4,0,0,0,d,c,b,a Encoded IP Address if your computer has IP address a.b.c.d.
DEFA,0,0,0, Decimation factor. Transmitter frequency is 1000/DEFA. DEFA is a number between 1 and 255 in this case.
0,0,0,0 DC_AUX_Flags. MUST be all zeros.
This packet needs to be send via UDP to another hardware.
06-23-2008 04:01 PM
You can change the format of the cell to just General and it will display the value. The main problem is with the interpretation of numbers into dates. For instance, Excel kept being off by 1 hour because of Daylight Savings here in the Central time zone.
@RSibagatullin wrote:
Interesting. I was curious how do you check the resulting value in Excel? Are you using the DATEVALUE or someting?
The date is just a floating point value of 8 bytes. As long as you use a DBL you'll get that. You can pipe a timestamp into the To Double Precision Float function to get a DBL, as shown in my example.
It appears that OLE date consists of 8 bytes like this AT0, AT1, AT2, AT3, AT4, AT5, AT6, AT7 . Where ATx is 8 bits. How can I format my labview generated OLE date into this format?
06-23-2008 05:09 PM - edited 06-23-2008 05:13 PM
06-24-2008 11:43 AM - edited 06-24-2008 11:44 AM
06-24-2008 12:52 PM - edited 06-24-2008 12:53 PM
06-24-2008 07:25 PM - edited 06-24-2008 07:25 PM