Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

time stamp graph in Visual Basic

I use CWGraph in my VB program to display logged data that will be logged once a second. The X axis will be the time stamp (date and time) and the Y axis will be just my data. How do I make a time stamp on X axis?
0 Kudos
Message 1 of 3
(3,942 Views)
Hello

You can format the way data is displayed on the axes for the CWGraph. Check out the documentation for the FormatString property, that should be able to set you up

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 3
(3,942 Views)
In addition to the FormatString property that Bilal mentioned, you will need to also convert your data such that it represents the date/time that you want to represent. See the last paragraph in the remarks section of the CWAxis.FormatString property in the Measurement Studio reference for more information.

- Elton
0 Kudos
Message 3 of 3
(3,942 Views)