Hi folks! I am in trouble ploting some graphs.
I plot a graph and it is configured to have 500 points per screen.
I set some graph option using these commands:
SetCtrlAttribute(panel, control, ATTR_XAXIS_OFFSET, startTime);
SetCtrlAttribute(panel, control, ATTR_XFORMAT, VAL_RELATIVE_TIME_FORMAT);
To plot I use this command:
PlotStripChart (panelID, controlID, pValue, NofTraces, 0, 0, VAL_DOUBLE);
The configuration of the strip chart is:
Scrool mode: Sweep
The problem is that CVI assumes by itself that the frequency that is receive the data is 1Hz. I would like to know if does CVI Strip Chart work with relative time.
For example, it has its internal clock. If my chart receives 10 samples in the first second all of this samples will be plotted in the time slice between 0s to 1s. If I receive 5 samples during the another second, all these data must plotted during the period that is was reveived.
Could anyone help me?
Thank you in advance.