From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
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;
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++)