Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

"Hi


I use a CNiGraph, on which i have some points. My problem is that each point has his "Time" appear on the X axis. How can I make these points appear ?
Thanks" CNiGraph m_graph;
CNiAxis xAxis = m_Graph.Axes.Item("XAxis");
xAxis.Caption = "Time";
xAxis.SetDiscreteBase(5.274);
xAxis.DiscreteInterval = 1;
xAxis.FormatString = ("n:ss");
xAxis.Visible = true;
0 Kudos
Message 1 of 2
(3,721 Views)
Check out the attached example, it charts a sine wave versus the real time on your system. I modified the synchronous timer example that ships with CW++ (Tools for VC++)

good luck
ben schulte
national instruments
0 Kudos
Message 2 of 2
(3,721 Views)