06-04-2012 06:36 AM
Is there a way to add y-axis to a CVI Graph?
I want to have multi Y-axis on both the right and left side of a graph.
06-04-2012 06:43 AM
Did you have a look at Roberto's contribution here ?
06-04-2012 06:52 AM
I haven't but I will. Thanks for the reply
06-11-2012 04:41 AM
I work with two left and right Y-axis. No problem.
SetCtrlAttribute( , , ATTR_ACTIVE_YAXIS, VAL_RIGHT_YAXIS);
SetCtrlAttribute( , , ATTR_YLABEL_VISIBLE, 1);
Now the right axis is visible
SetAxisScallingMode( , , VAL_RIGHT_YAXIS, VAL_MANUAL, 0.0, 1000.0);
But i don't known how i save a waveform in file and than read the file in chart.
Vaal
06-11-2012 07:33 AM
This is a completely different question from the one that originated the thread: you should create a new question for it.
The easiest way to save a waveform (presumably an array of data) to file is probably ArrayToFile (). Similarly, you can read back the data with FileToArray (). Search in the help for the functions some explanation on their use.