01-31-2022 07:17 AM
I want to plot five temperature sensors values and five absolute humidity values calculated from relative humidty sensors in a single graph.
Of course I can just bundle them all and display it in a graph but then scaling is not right.
I tried to build an array of both sets of values and then connected it to the graph but I am not getting it right. Is there a way to do it?
Solved! Go to Solution.
01-31-2022 07:37 AM
Hi girish,
@girish_jadhav wrote:
I want to plot five temperature sensors values and five absolute humidity values calculated from relative humidty sensors in a single graph.
You use several charts in your VI - and no graph at all!
You need to create additional Y scales and assign each plot to a scale…
01-31-2022 07:50 AM
@GerdW wrote:
Hi girish,
@girish_jadhav wrote:
I want to plot five temperature sensors values and five absolute humidity values calculated from relative humidty sensors in a single graph.
You use several charts in your VI - and no graph at all!
You need to create additional Y scales and assign each plot to a scale…
Hi GerdW,
I made a mistake in the description. I am actually using a chart. I tried to add one more y scale and used property node to assign the scale but it didn't work. I guess the same output as in the bottom right plot.
01-31-2022 08:19 AM
Hi girish,
@girish_jadhav wrote:I tried to add one more y scale and used property node to assign the scale but it didn't work. I guess the same output as in the bottom right plot.
You can assign the plots in their context menu in the plot legend, no need for property nodes…
01-31-2022 08:52 AM
Hi GerdW,
I did but still the plot looks the same 😞
I have used cluster to array and then built a 2D array to plot the waveform. Would it work this way?
I think it is plotting like this 21.57, 6.9. 21.26, 4.8... But I want each value as a different line in my chart.
01-31-2022 08:56 AM
Hi girish,
@girish_jadhav wrote:
I have used cluster to array and then built a 2D array to plot the waveform. Would it work this way?
I think it is plotting like this 21.57, 6.9. 21.26, 4.8... But I want each value as a different line in my chart.
Apparently your method does not work!
Either use a cluster of 10 elements - or a 2D array of dimensions 1×10. Your 2D array of 2×5 elements does not work…
Did you read the context help of your charts to learn about the supported datatypes?