Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Use of NI graph control in VC++

I have made use of NiGraph Control (Measurement Studio 6.0) in one of my VC++ projects which is created using MFC Application Wizard (.exe).
I need to display time along X-axis.
The Ni graph control provides me an option to display hour, minute and second.
However, I need to display hour, minute, second and millisecond.
Could u kindly send me the solution for displaying hour, minute, second and millisecond along X-axis?
If possible, a VC++ Sample to use the Graph Control (Measurement Studio 6.0).
0 Kudos
Message 1 of 2
(3,018 Views)
You can use the # format specifier after the seconds to specify milliseconds.

For example, you might be using the format string "hh:nn:ss" to currently specify hour, minute, and second. You could add a "." and a "#" for every digit to the right of the decimal to specify milliseconds. For example, if you wanted to specify hour, minute, second, and 2 decimals for the milliseconds, the format string would be "hh:nn:ss.##".

- Elton
0 Kudos
Message 2 of 2
(3,018 Views)