Hello
Since you are using Unit Intervals, its expecting the input in a string type format ( See Measurement Studio Help for more details on how to pass information for hour min second format), so instead of a one, it needs (number of seconds)/86400
try using this instead
COleVariant vInterval( (double)
2.0/86400.0 ); // Set minor ticks every two seconds.
m_X_Axis.GetTicks().SetMajorUnitsInterval( vInterval )
This way, it will display the minor ticks every 2 seconds.
Hope this helps
Bilal Durrani
NI
Bilal Durrani
NI