06-20-2017 03:10 PM
Hello,
I am using a NI cDAQ-9178 and third party DAQ. The forum has many post that have answered part of my question. I would like to plot Frequency, Temperature and Voltage for 12 channels. I am currently plotting all three, but don't know how to plot these for each channel. I will attach the huge file, if necessary ... but will post screenshots for now. Here is a screenshot of my front panel for two types of graphs/charts and my block diagram. I have an array of the channels which displays each individual value for Frequency, Temperature and Voltage ... I just don't know how to switch between the channel plots. Any suggestions are welcomed ... thanks. I started with the following link: http://digital.ni.com/public.nsf/allkb/21E8163F259DA2058625703B007511AA). .
06-20-2017 03:21 PM
Hi mzlhb,
so you already know how to index one channel/row of each array.
To index 12 rows one after the other you should use a loop - an autoindexing FOR loop would be ok too…
Btw. when setting plot properties you should first set the active plot, then it's properties! Properties are handled top-down!
06-20-2017 03:52 PM
And, Setting Plot visibility that way is just plain silly.
Right-click the Plot Legend and expand Visible Items check the "Plot Visibility Checkbox"
06-21-2017 05:48 AM
Thanks for that information, Jeff·Þ·Bohrer. I am still new to LabView and did not know that the plot visibility was available by simply right clicking.
06-21-2017 06:05 AM
Thanks GerdW. I have already separated the Frequency, Voltage and Temperatures into channels using an auto-indexed FOR loop, outlined by the red rectangle in the attached photo. I am currently using these arrays to print to a text file. I just don't know how to use this to change the plot to display the frequency, voltage and temperature for each channel. It's possible that it is working when I increment/decrement the row's control, but I am not seeing any changes in the plot. I'm not sure why I made these 2d arrays 😞
06-21-2017 06:28 AM
Jeff·Þ·Bohrer,
I don't think that many are aware of the right click for plot visibility feature, as I got the idea that you've called "silly" from a forum post, "how do I display multiple plots on one chart?" The attached referenced vi that I've used was from altenbach, KNIGHT OF NI. Thanks for educating myself and others on this feature though.