Feedback on NI Community

cancel
Showing results for 
Search instead for 
Did you mean: 

Graphic Date & Time in XY Graph

Hi, I need your help. I trying to graphic this info (below) in a XY Graph.vi but I can't graphic de date time Column in the X Axis

    X Axis                          Y Axis
2008-02-11  4:45:00    0   10   20   30
2008-02-11  4:46:00    0   10   20   30
2008-02-11  4:47:00    0   10   20   30
2008-02-11  4:48:00    0   10   20   30
2008-02-11  4:49:00    0   10   20   30
2008-02-11  4:50:00    0   10   20   30

For a better reference see the Attached Excel file "XY Graph Example.xls"
I need to do the same graphic inside excel file but in LabVIEW.
Im, using LabVIEW 7.1

0 Kudos
Message 1 of 5
(8,062 Views)

If you search the example finder (Help>>Find Examples), you can find examples which show how to do multiple plots in XY graphs.

For converting the string to a timestamp, you can use the VI attached here.

For reading the file, you can either look at the Excel examples or save the file as a CSV file and then read it using the LabVIEW file functions.


___________________
Try to take over the world!
0 Kudos
Message 2 of 5
(8,060 Views)
Thank for your help. This is the source code to graphicate date and time in a X Axis.
The VIs are in 7.10 version to make it compatible with  more LabVIEW versions.

Regards.
0 Kudos
Message 3 of 5
(8,037 Views)

Hello

I'm not understand please insert its VI example file.

'

Regards

0 Kudos
Message 4 of 5
(6,556 Views)

 


@hyghaderi wrote:

Hello

I'm not understand please insert its VI example file.

'

Regards


 

Please note that this post was created in the wrong forum. If you have a specific question (it's not clear from your post what you are asking), please post your question in the appropriate forum.

 

Is this a LabVIEW question? If so, post in the LabVIEW forum: http://forums.ni.com/t5/LabVIEW/bd-p/170

Is this a LabWindows question? If so, post in the LabWindows forum: http://forums.ni.com/t5/LabWindows-CVI/bd-p/180

Is this a Measurement Studio question? 

   for C: http://forums.ni.com/t5/Measurement-Studio-for-VC/bd-p/231

   for VB: http://forums.ni.com/t5/Measurement-Studio-for-VB6/bd-p/230

   for .NET: http://forums.ni.com/t5/Measurement-Studio-for-NET/bd-p/232

0 Kudos
Message 5 of 5
(6,529 Views)