LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically loading VIs and getting data from them

Good time of day.

I am trying to write a program that would aquire data from various instruments. I have a large set of driver VIs that would be used for this. Each one of them typically takes one input (GPIB address) and gives one output.

I want to make my application universal: be able to poll all the GPIB addresses, figure out what devices are online, load VI's and start the data aquicison cycle. My question is how would I go about dynamically loading VIs into memory and then running them with parameters and getting some output out of their indicators?

A relevant example would help a huge deal.

Thanks,
Igor.
0 Kudos
Message 1 of 2
(2,338 Views)
You load VIs dynamically by using what's called "VI server". The relevant VIs are in the application control palette, and you can find at least a full chapter in the LV user manual and some examples in the example finder (Help>>Find Examples, search for dynamic or server).

___________________
Try to take over the world!
0 Kudos
Message 2 of 2
(2,328 Views)