10-08-2015 01:10 PM
I have a multplot chart as shown in the attached figure. I want to plot 3 variables in the second plot of the 5 plots( rest 4 are used to plot 1 variable each.) I use Build array function to give the input to the waveform chart. Irrespective of which position I give the 3 variable input to, the 3 variable plot always appears in the last plot of the multiplot chart. How do I change it so that the 3 variable plot appears in the second plot?
10-08-2015 01:17 PM
Post your code, I see no reason why this would work based on your description.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-08-2015 01:28 PM
I am not exactly in a position to share the code, but this is how the relevant part of the connections look like. Although, the 3 variable plot goes into the second position, 3 variables get plotted in the last plot of the waveform chart.
10-08-2015 01:37 PM
10-08-2015 01:38 PM - edited 10-08-2015 01:40 PM
You do not have a chart, you have a Waveform Graph. I'm not familiar with being able to make multiplot waveform graphs, I just never needed to. But looking at your build you are making a 1D array of waveforms with 7 elements in the array. The indexes of the 3 you care about are at index 1, 2, and 3. I suspect your control is configured incorrectly to pick the wrong plots. Can you attach a VI that is just that front panel control?
EDIT: Okay I guess it could be a chart not a graph it is hard to tell for sure.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-08-2015 01:46 PM
10-08-2015 01:48 PM
Wow learned something new. So yes if you have the plots not stack you can assign each plot to a designated Y scale. Well I guess you can always do that. Right click the graph/chart and go to properties, then Plot tab, then pick your plot on the drop down, then pick the appropriate Y scale.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-08-2015 01:49 PM - edited 10-08-2015 01:49 PM
It's a chart. I can't believe the View As Icon actually helped something for once...
Edit: GerdW beat me to it
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
10-08-2015 02:19 PM
The "dt" of the waveform can be an issue if the "T0" between new updates are shorter that the NumDataPoints X dt.
In that case the cahrt will reset since the data sets are inconsistent.
Ben
10-09-2015 11:06 AM
Here is an example vi with the screenshot of the output. How I would expect it to work is the red and white plots should be together in the first plot, then the other two below. But the last two are getting plotted together in the third plot instead. Also, although I have a property node, I am not able to see the plot names in the properties dialog box of the waveform chart.