LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Open the Front panel containing waveform graph using the Display user control, then control the channels based on the controls available on the graph to display on the selected waveforms on the graph

Hi,
Help required....Programmatically Open the Front panel containing waveform graph using the button "Display" user control, then display the channels based on the controls available on the graph.
Has anybody worked on such problem, please help me out
Thanks in advance,
sayaf
0 Kudos
Message 1 of 3
(2,921 Views)
Hi Sayaf,

To programmatically open the front panel of another VI that contains a graph, you will need to create a reference to the VI containing the graph and use an invoke node to open that front panel. Use Open VI Reference from the application control palette and wire that reference to the invoke node found on the same palette. Choose the Open FP option and wire a boolean control into activate. When this button is clicked, it will open the front panel of the VI you reference. If you want that VI to run once it is opened, there is a choice for Run VI in the invoke node.

Now, to display different plots on the graph of that VI, you will need to create a property node for that particular graph by right clicking on graph icon and going to create->property node. You will need to use the Active Plot property to choose the plot you would like to display, and Plot -> Visible to make the plots visible. You can write click on the property to change it to write and wire in a boolean control to determine if the plot is shown or not.

Hope this helps!

Laura
0 Kudos
Message 2 of 3
(2,903 Views)
Thanks Laura,
This is what I was looking for, thanks once again sorry to responding late
0 Kudos
Message 3 of 3
(2,893 Views)