LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Time stamp of current time that would go into a build array with other values and then saved in a text file

My current program has a while loop outside and then a short sequence of events inside the while loop which will repeat until the stop button is pushed on the while loop.  In the first sequence, there is a numeric control and exports the value to a build array and then procees to the next sequence.  The next sequence communicates with a device and receives a value which is exported to the array.  I would like to also get the time by a time stamp or whatnot and import that to the build array as well so that it may be able to be then saved in a text file.  There is one value taken from each sequence and are put into a build array outside the sequence loop but within the while loop and then stored in a text file.  I have had issues with the Time Stamp and the array in that the wire type of the array and time stamp were different and they didn't work together.  Please let me know your ideas and let me know if you have any questions.  I will be happy to email the program and if you would like further description of the program.
Thanks,
Steve Coward
704-588-2340 x1685
Stephen Coward
Northrop Grumman
stephen.coward@ngc.com
0 Kudos
Message 1 of 2
(2,431 Views)
Hi Stephen,

please stay with your original thread when the question applies to the same vi!

You can convert the timestamp to a DBL number and add this to the array! See attachment...

It seems you should also read the manual and join the 3h/6h-courses for LabView offered on the NI website Smiley Wink

Message edited: added LV8.0 version of the vi.

Message Edited by GerdW on 10-02-2007 03:36 PM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,430 Views)