Link indicator readings on a sub vi to a front panel on a main program in real time
Hello I am trying to link indicators on a sub vi to indicators on a main program in real time. The sub vi is set-up to perform data acquisition and I want to be able to show that data acquisition in real time on the main program front panel, how do I accomplish this?
you can use the references from your main vi. Create an array of these references and connect it to your subvi. There you can use a prperty node to write the new value. Another way is to use queues or notifier. Write the data into one of them and read it in your main vi, if you have time for it.
Hope it helps...Control a while loop in the sub vi using a button in the main vi?
I want to be able to control ( turn on or off) a while loop in the sub vi from a button control in the main vi. How can I use the Control Reference to achieve it?
Thank you in advance.
look at attached vi's
Run the main vi
...Using a sub-vi to write the strings of a ring inside a cluster on the main VI.
I have an array of ring controls in a cluster on my main VI. Now I
want to use a Sub-VI to fill in the strings of the text ring from an
array. I tried refnums and property nodes and "to more specific
class". I can access the ring array but whatever string I write in
there doesn't show up. Can anybody please give me an example of how to
do this? I am using LabVIEW 6.02
...Can I execute a sub VI mutilple times at the same time using Reference Nodes
I want to call a subVI multiple times depending on the test. I can
create multiple References but once I execute one Reference, but it I
get an error 1000 when i try to run the second Reference.
...How to pass parameters between main and sub vi during parallel execution using the VI server technique?
I am working with the following example (from previous postings on this
board) that demonstrates how to run a sub vi in parallel with the main
vi. I'd like to pass parameters between the main and sub such as
the control (delay) and indicator (value) parameters of my subvi
example. Does any one know how to do this? Parallel
execution is important for me, I cannot just paste the subvi icon into
my main diagram (two nested while loops...)
Message Edited by cascao on 08-16-2005 08:42 PMMessage Edited by cascao on 08-16-2005 08:4...sub vi with cluster does not pass variables to main vi and causes whole program to lock
I am trying to use a cluster inside of a sub vi as a "control panel" to change control values of pass on the main vi. The basic idea is that I want to call the sub vi, change the values in the cluster on the sub vi, pass those values to the main vi, unbundle them by name on the main vi and use those values in main vi.
Right now, when ever I try to click on the "Go to the Controls" button on the main vi, it calls the sub vi, but it runs extremely slowly or locks up the whole system. Also when I hit the stop bu...running one sub vi in background while the main vi uses it's generated data, producer/consumer?
I would like to have a subrutine running at the same time as the rest of the main vi. The subrutine will be constantly producing data, and the main rutine should do different tasks depending on which data has generated the subrutine in that instant. I have read about producer/consumer design <a href="http://zone.ni.com/devzone/cda/tut/p/id/3023" target="_blank">http://zone.ni.com/devzone/cda/tut/p/id/3023</a> but I don't know how to implement this with LV 5.1 Somebody know if it's possible, or there is somethin...Is there anyway to save the configuration used to analyze sub-VI's so I do not have to manually uncheck individual tests every time I run the VI Analyzer?
When I attempt to analyze a VI and all of its sub-VI, I get a configuration screen that lets me manually configure the tests used on each sub-VI.
After saving the VIA configuration and later re-running, my configuration for the sub-VI test are not recalled.
I do not want to disable the fialing test for the entire set of VI's only a choice few.
An example is the Error cluster in the bottom left and right corners.
I have a VI that is designed to insert extra text into the string of an error cluster and is customized to look like a type of "Con...Release free running subvi from grip of main vi so that both of them can be used simultaneously
Hi Labview Developers.
I have a question:
Once I opened and ran subvi from the main vi by means of menu bar. I would like to release the grip of the main vi from subvi so that both of them can be used during free running. How do I do that?
Normally I would use while loop, event structure, runtime menu and while loop to open subvi. However as long as the subvi is still running inside one of the case in the evnt structure.
How can I release it, not close or abort so that I can use both of them at the same time.