Hi, Hello, I am developing data acquisition code on labview and I would like to add functionality, I display my data (2 parameters) on a single graph; I want to display the min, max and average of each parameter, I tried with propery node but it only displays the max and min of one of the data (the most important)? how can I fix this
and the second question, could I use code to change the scale of my graph so that, if necessary, I could have more detail on the graph?
thanks in advance
Solved! Go to Solution.
Hi amel,
@ameletudiante99 wrote:
I would like to add functionality, I display my data (2 parameters) on a single graph; I want to display the min, max and average of each parameter, I tried with propery node but it only displays the max and min of one of the data (the most important)? how can I fix this
By writing "working code according to the requirements".
@ameletudiante99 wrote:
could I use code to change the scale of my graph so that, if necessary, I could have more detail on the graph?
Yes.
General suggestion: when we should discuss problems in your code then you should attach this code…
You have two main choices:
Here's a subVI that would process one waveform to create the others for max,min,mean (case 1), call it for each.:
And here's how you could set the cursors (make sure you define 6 cursors first)
@ameletudiante99 wrote:and the second question, could I use code to change the scale of my graph so that, if necessary, I could have more detail on the graph?
thanks in advance
There are properties for auto-scale, min and max of the x and y axis and they can be modified via the relevant property nodes. Of course you should turn off autoscaling when setting defined min and max, else it is futile.
Hi;
thanks I will try