LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

putting date into waveform graph

Solved!
Go to solution

Hi,

 

I am reading from a csv file with date, time and data. Plot them into a XY graph. When I concatenate the date with time, the concatenate string display correctly. But the time stamp and x-axis on the xygraph shows different year. Have tried many ways but none is working. Can someone give me a hand? 🙂 

 

indcon_wan_1-1742472900611.png

 

0 Kudos
Message 1 of 3
(155 Views)
Solution
Accepted by topic author indcon_wan

Hi wan,

 


@indcon_wan wrote:

But the time stamp and x-axis on the xygraph shows different year. Have tried many ways but none is working. Can someone give me a hand? 🙂 


Read the help for the format codes, especially the help for "time formatting codes"!

%y is something different than %Y…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(146 Views)
Solution
Accepted by topic author indcon_wan

Hi Gerd,

After I change the "time format codes", the graph shows correctly. Thanks.

indcon_wan_0-1742475102500.png

 

Message 3 of 3
(139 Views)