Michael Malak Posted May 12, 2009 Report Share Posted May 12, 2009 I am new to LabVIEW. On a VI front panel, it seems that I can create an array of toggles or a cluster of WaveGraphs, but that I cannot create an array of WaveGraphs. Is this a known limitation, and if so, is it documented somewhere and is there a rationale for it? Quote Link to comment
Francois Normandin Posted May 12, 2009 Report Share Posted May 12, 2009 QUOTE (Michael Malak @ May 11 2009, 01:10 PM) I am new to LabVIEW.On a VI front panel, it seems that I can create an array of toggles or a cluster of WaveGraphs, but that I cannot create an array of WaveGraphs. Is this a known limitation, and if so, is it documented somewhere and is there a rationale for it? Waveform graphs are polymorphic indicators. You can bundle signals or make arrays of them and wire it to a single wavegraph indicator. Use the plot legend to see all traces on the same graph. Quote Link to comment
Michael Malak Posted May 12, 2009 Author Report Share Posted May 12, 2009 QUOTE (normandinf @ May 11 2009, 11:15 AM) Waveform graphs are polymorphic indicators. You can bundle signals or make arrays of them and wire it to a single wavegraph indicator.Use the plot legend to see all traces on the same graph. My users demand separate waveforms on separate plots (e.g. eight channels in a 2x4 arrangement of plots), even when this makes each plot tiny. Quote Link to comment
ejensen Posted May 12, 2009 Report Share Posted May 12, 2009 QUOTE (Michael Malak @ May 11 2009, 01:28 PM) My users demand separate waveforms on separate plots (e.g. eight channels in a 2x4 arrangement of plots), even when this makes each plot tiny. If the number of plots doesn't need to be configurable, you don't need an array for the indicators. I would just build the FP as you describe with 8 individual graphs. You can use an array of waveforms or a cluster of waveforms to hold the data. If you go with an array, you'll have to index out each of the sets of waveform data to its own graph, or it will put them all on the same graph. For a cluster, you'll just unbundle the data to individual graphs. Quote Link to comment
Michael Malak Posted May 12, 2009 Author Report Share Posted May 12, 2009 The number of graphs does need to be determined at run-time, depending upon how many channels are in the file being read in (will be in the range 1 to 64). Now my question is how to dynamically instantiate WaveGraphs using "Open VI Reference". I've just now asked this separately in a new thread in the Application Design & Architecture subtopic. Quote Link to comment
Neville D Posted May 13, 2009 Report Share Posted May 13, 2009 Set up your software to plot the max number of channels (64) then hide the unwanted channels by plotting "NaN" for the unwanted channels (Not a Number, obtained by simply typing in NaN in the DBL constant). N. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.