Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66968

easiest way to pass data to/from subpanel?

$
0
0

I am new to subpanels and am kind of overwhelmed by the various responses I've read on the forums about this issue.  Some people use named references, others user events, others queues...and right now I guess I've yet to see an example that was really clear for me to understand.

 

In my case I have lots of different controls and indicators within my subpanel.  Two main things I need to do:

1. I need to pass the VI that gets loaded into the subpanel a single string and a single numeric

2. When there is an event on the subpanel (either a value change event for any control, or a mouse up event), I need to pass out a reference to the control that caused the event.  The top-level VI will then process the top level event.

 

So that's it....2 inputs (1 string, 1 numeric), 1 output (a ctrl ref).  Both inputs will be changing regularly as data from a telnet connection is read, and the output is driven entirely by user interaction with the subpanel (i.e. it's independent of the inputs).

 

What's the easiest way to do this?

 

thanks


Viewing all articles
Browse latest Browse all 66968

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>