LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

to set xscale minimum with date time value

Hi,
 
I have to work with a graph in which x axis is date time and i have used auto scae.
I want my graph to be plotted starting with the date time vale in the database.
I got the value also.But i could not write that value to xscale minimum .
Xscale minimum is accepting only double type value.
My date time value is in string format.
I tried to use scan from string function,but if i am converting to double its only taking the day vaue(ie,if10/10/2006 12:00:00AM,its taking 10 only)
Can anybody help me?
 
0 Kudos
Message 1 of 3
(2,719 Views)
Hi user_1,

have you tried to use some 'scan from string' functions before? (The AM/PM correction is maybe wrong, I prefer the 24h time format as well as all my measurement setups 🙂

Message Edited by GerdW on 03-21-2007 10:39 AM

Best regards,
GerdW


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

Thank you for the information..

I fixed the problem by converting date time to NI format(by coding ofcourse),it will convert date time to double format

then everything worked well.

0 Kudos
Message 3 of 3
(2,708 Views)