09-27-2012 02:46 PM
hi all,
I am trying to adjust number of shown plots on a waveform chart by use of property node but I could not succeed it. Is it possible to do it? I was only able to adjust the number of shown legends of the waveform chart.
Solved! Go to Solution.
09-28-2012 08:57 AM
I added a printscreen to express the situation clearly. I wish I could have succedded...
09-28-2012 09:05 AM
If you have 2011 version of LabVIEW or later you have option that comes with the chart. You can enable/disable the plots using a check box.
09-28-2012 09:13 AM
P@Anand wrote:
If you have 2011 version of LabVIEW or later you have option that comes with the chart. You can enable/disable the plots using a check box.
I am using Labview 2009 professional version. Isnt it possible to do it in 2009 version?
09-28-2012 09:22 AM
Like P@Anand said. I tried this just to be sure, and there seems to the limitation that Plot 0 (the first plot in the input array) can not be hidden by unchecking the plot visibility checkbox.
How: Property node:
Two "solutions": Legend > "Plot visibilty checkbox visible"; set to true.
1. Make an empty plot and use it as the first (zeroth) plot.
2. Expand the property node, set Plot 0 as active plot, wire a boolean control to the Plot.Visibility property.
09-29-2012 12:55 PM
@JarleEkanger wrote:
Like P@Anand said. I tried this just to be sure, and there seems to the limitation that Plot 0 (the first plot in the input array) can not be hidden by unchecking the plot visibility checkbox.
How: Property node:
Two "solutions": Legend > "Plot visibilty checkbox visible"; set to true.
1. Make an empty plot and use it as the first (zeroth) plot.
2. Expand the property node, set Plot 0 as active plot, wire a boolean control to the Plot.Visibility property.
I have not check the property node "Legend > Plot visibilty checkbox visible" yet because I have not Labview at home. Does Labview 2009 have that property node you mentioned?
09-29-2012 01:24 PM
If your version does not have the visibility checkbox, you can code your own. 🙂
Here is a simple example using a chart, but the general principle would be the same. (original discussion)
10-01-2012 02:55 AM
@altenbach wrote:
If your version does not have the visibility checkbox, you can code your own. 🙂
Here is a simple example using a chart, but the general principle would be the same. (original discussion)
I checked your solution and tried to adapt to my VI but it does not work as yours. I could not find what it is wrong with it. I attached the VI. I am working a simulated NI cDAQ 9188 on it with 2 NI 9214 thermocouple analog input modules. I want to use this property for all graphs in each tab. Can I do it easily? Do I have to event structure for all of them separately?
10-01-2012 11:15 AM
@newbieeng wrote:
I checked your solution and tried to adapt to my VI but it does not work as yours. I could not find what it is wrong with it. I attached the VI. I am working a simulated NI cDAQ 9188 on it with 2 NI 9214 thermocouple analog input modules. I want to use this property for all graphs in each tab. Can I do it easily? Do I have to event structure for all of them separately?
Just a quick glance so far:
- The event loop needs to be outside the main loop. Currently it stalls the main loop. It needs to run independently.
- You need to add a value change event on the boolean array to the timeout case.
- The boolean array needs as many elements as you have plots.
- ...
10-01-2012 01:47 PM - edited 10-01-2012 01:49 PM
@altenbach wrote:
@newbieeng wrote:
I checked your solution and tried to adapt to my VI but it does not work as yours. I could not find what it is wrong with it. I attached the VI. I am working a simulated NI cDAQ 9188 on it with 2 NI 9214 thermocouple analog input modules. I want to use this property for all graphs in each tab. Can I do it easily? Do I have to event structure for all of them separately?Just a quick glance so far:
- The event loop needs to be outside the main loop. Currently it stalls the main loop. It needs to run independently.
- You need to add a value change event on the boolean array to the timeout case.
- The boolean array needs as many elements as you have plots.
- ...
I did all your suggestions but unfortunately they did not work. Where do I do wrong?I attached the new VI.
Also I noticed that simulated NI 9188 does not generate good signals precisely after excessing 26 thermocouple. Is it limited to generate signals for a limited number of channels?