From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-08-2014 04:27 AM
Hi..
Does anyone know how to add timestamp into the beginning of DBL array?
I've tried using Get Date/Time in strings and spreadsheet string to array since i know that the elements of the array must be all of the same type..
But lastly, it didn't write the timestamp in full format and only have 1 reading..
I've attached the image of my vi(after i add get date/time) and the result in the excel..
FYI, I am going to save the data in TDMS file and usinf TDMS write..
TQ..
TQ..
09-08-2014 06:51 AM
First of all, don't use Spreadsheet String To Array. Just use the String To Floating Number function. Then use Initialize Array with those values. Set the size to match one of the other arrays.
09-08-2014 09:06 AM
09-08-2014 10:38 AM
Well you can and you cant...
Use something like this:
Feed it into your build array and you will have a DBL that is equivelent to the number of seconds elapsed since 12:00 a.m., Friday, January 1, 1904 (LabView Time Stamp)
If you want a DBL that can be directly formatted to an OLE time stamp in Excel or any standard speradsheet program then you need to do some conversions first.
09-08-2014 10:02 PM - edited 09-08-2014 10:06 PM
09-08-2014 10:12 PM
09-08-2014 10:17 PM
@Dennis_Knutson wrote:
What you are doing does not make much sense. You won't get a proper timestamp for tdms that way.
What should I do then?could you please show me how to build an array of waveform data types as per you told early?I have no idea at all...
09-09-2014 12:09 AM