LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Passing parameters to/from dynamically loaded VIs

Hello

I have a data acquisition application which uses a analog Input PCI-Hardware.
With this hardware I sample different channels and display them in diagramms
In "overview" operation I sample 4 channels and display them in 4 diagramms.
So for every channel I have a fourth of the maximum sampling rate.
In "zoom" operation I only sample one channel (with max sampling rate of the hardware)
and display the data in the selected channel (the other channels are igored in zoom mode)

My idea is to launch different VIs depending on the mode (overview, zooom).
I could imagine, that a good approach to perfom this task is calling different VIs
from the main programm.

Unfortunately I do not understand how to pass parameters to/from the VI if I call them
using the nodes "open VI reference", "call by reference" and "close VI reference".
I tried to understand the Labview "Dynamic Load Example" but it's too complicated for me.
Can someone give me a simple example for dynamically loading VIs or are there any white papers
or nugets about this subject?

0 Kudos
Message 1 of 2
(1,938 Views)