LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Mixed Signal Graph plot groups

Have a VI with a Mixed Signal Graph as its primary UI element.  I put in 10 Plot Groups, but stuffed all the data into the first 2 groups.  After analyzing data for a while I have reconfigured the groups and plots into a pattern I like and would like to save this pattern, like a memory.  I can see wanting to do this for several Plots/Groups configurations within this VI, so need to be able to save the plot and group configuration "memories" programmatically (e.g., no Set as Default allowed). 

Using Property Nodes, I can select different Plot Groups, but cannot tell which plots are in each group.  If I use the ActivePlot property node (as one would do with regular graphs) and pull the Plot Names in the selected group, I get all the plots in all the groups, not just the selected group.  If I select the property Y Scale -> Style (which is one way you can move the plots between groups in the GUI), all I get back are 0s for the Style for all the plots.

Any ideas how to figure out programmatically which plots are in which groups?
Joe Gerhardstein
Viasat
Certified LabVIEW Architect
Certified TestStand Developer
Certified Professional Instructor
http://www.viasat.com
0 Kudos
Message 1 of 4
(3,201 Views)
Hi Joe,

Can you post your code so I can get a better understanding of what you are trying to do ? It is not very clear to me from what you have posted.
Eli S.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 4
(3,175 Views)
Eli:

Attached is an example.  On the front panel is a mixed signal graph with several Groups with different plots in them.  If you look at the diagram, I am using a Property Node to try to get the names of the plots that are in each Group on the front panel by indexing through the ActivePlotAreas (Groups) and ActivePlots.  When I run the VI, I can get the Height of each Group, but when I try to get the names of the plots in each Group, I get back the names of ALL the plots in ALL the groups.

So, how do I tell which plot is in which group?  And the next step will be how to SET which plot is in which group...


Message Edited by Joe Gerhardstein on 03-12-2008 07:57 AM
Joe Gerhardstein
Viasat
Certified LabVIEW Architect
Certified TestStand Developer
Certified Professional Instructor
http://www.viasat.com
0 Kudos
Message 3 of 4
(3,166 Views)



Message Edited by Joe Gerhardstein on 03-12-2008 08:00 AM
Joe Gerhardstein
Viasat
Certified LabVIEW Architect
Certified TestStand Developer
Certified Professional Instructor
http://www.viasat.com
0 Kudos
Message 4 of 4
(3,162 Views)