LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving current time during measurement

Hi, 

 

I would like to save time when i started measurement. is it possible to first saving data and time, then showing them on graph, on y axis datas, on x axis, time(not current time, but time when i saved during measurement.)

 

thanks a lot.

0 Kudos
Message 1 of 9
(3,192 Views)

Hi alican,

 

yes, that possible (all of it). You have to program it! 😄

 

Hints:

- depending on your file format you might want to convert timestamp to string using FormatDateTimestring

- you might want to save your data too, not just the timestamp 🙂

Best regards,
GerdW


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

If you get your data in the waveform format, have a look at the t0 value 😉

If wire the wfrm to a graph, the x axis will start with that t0 value (unless you don't tell to ignore the timestamp)

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 3 of 9
(3,170 Views)

hi

i made this program, it produce random number and save it with current time. 

how i will plot in in second program, i get problem about accesing one coloum, of array seperately. i put things what i did, maybe solution is so simple but i cant see.

thanks in advance

Download All
0 Kudos
Message 4 of 9
(3,155 Views)

hi again, 

a bit prograss, but there i problem to read time value from text. 

time is like 16:34:23 but it read it like 16,000. what kind conversion do i need to do?

 

thanks.

Download All
0 Kudos
Message 5 of 9
(3,144 Views)

i was looking at your programs and trying to make sense of it all...i cleaned it up to a compact version of what you are trying to do. save the file as a .CSV delimeter. see if it makes any sense?  Smiley Wink

 

Spoiler
plotting2[1].png

 

0 Kudos
Message 6 of 9
(3,105 Views)

thanks:)

 

do you know is it possible to see, more time datas on X axis, not just 3 points but more..

 

best regards

0 Kudos
Message 7 of 9
(3,066 Views)

@alican wrote:

thanks:)

 

do you know is it possible to see, more time datas on X axis, not just 3 points but more..

 

best regards


yes, display format time x-axis drop down box for custom time format at the graph properties...

Message 8 of 9
(3,049 Views)

Time in Excel has a different epoch (base date) and scale than LabVIEW uses.  Use the Time to XL.vi found here (don't forget to vote)


"Should be" isn't "Is" -Jay
Message 9 of 9
(3,041 Views)