ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data and timestamp

Solved!
Go to solution

Dear all,

 

I have a string representing time data from sensor and i need to convert them to time stamp for plotting to X-Y graph. I have put the string as an example.

 

I somehow cannot get the timestamp output correctly and cant plot out my X-Graph correctly with the desired data and time. I think somehow my conversion is incorrect.

 

Can someone assist me?

 

0 Kudos
Message 1 of 4
(2,739 Views)
Solution
Accepted by Joven

%<%m/%d/%Y %H:%M>T

Message 2 of 4
(2,717 Views)

 

Dear Sir,

 

Thanks . i got something like that.

How to remove the zeros in the timestamp data? There are many zeros in front of PM

 

 

Download All
0 Kudos
Message 3 of 4
(2,710 Views)
Solution
Accepted by Joven

@Joven wrote:

 How to remove the zeros in the timestamp data?  


Now that you have the data as a TimeStamp, you have only to format it properly.  Right-click the indicator and check its Display Format (you probably want to set the System Time Format "Digits" to 0).

 

Bob Schor

Message 4 of 4
(2,704 Views)