LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CWGraph X time axis problem

Hi,

I'm using Labwindows 6.0 FULL and Win2K, here is what I would like to do. I have data and each data has its own time and date when it was sampled. Examples let's say that I have those values:

10.32 @ 01/12/02 11:20:34
10.32 @ 01/12/02 11:20:34
14.15 @ 01/13/02 23:10:34
19.20 @ 02/14/02 09:11:10
22.03 @ 05/01/02 00:00:01

I have set my X axes in time, but I can't plot the value dunno why...Does anyone know what I have to do or any code example ?

Thank you,
0 Kudos
Message 1 of 2
(2,811 Views)
If you want to plot time values, and have a set time range which you want to plot between, the easiest way to do so are values pairs for your axes. This could be done with:
CWGraph1.Axes.Item(1).ValuePairs.Add.Name = "12:00:00:000"
CWGraph1.Axes.Item(1).ValuePairs.Add.Value = 1
and so on.
0 Kudos
Message 2 of 2
(2,811 Views)