LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Integrating Labview VIs in Labwindows

Hello,

 

I have a question that is partly related to Labwindows, but I hope this is the place to post it, since it is also linked with Labview.

 

During the last months, I have made several VIs to control different instruments and generate reports with the data adquired. Nowadays, I would like to integrate all these VIs in a big Labwindows program that would control everything, so I am thinking of different ways of doing it.

 

I would like to run the Labwindows program, and when I want to start the experiment, all the different VIs should start to run. Should I make a call to the different .exe or use .dll? When the experiment is finished, then all the VIs should stop and close, and then I am thinking of using shared variables to send the stop information. Do you know any other way? Will it work?

 

I want to make it as simple as possible, because the program is going to be run by an operator and he would prefer just to press one button and not open different programs/windows.

 

The reason because I ask all these questions is because I prefer to do a good plan before starting with big modifications, so sorry if they are too silly!

 

Many thanks 

 

0 Kudos
Message 1 of 3
(2,304 Views)

Hey,

 

I would create DLLs out of the VIs and call them in CVI.

To create an extra VI or exe which handles the SubVIs and communicates with CVI would be more work and not that elegant, since you need to start the executable somehow next or within your CVI code.

 

 

Christian

0 Kudos
Message 2 of 3
(2,292 Views)

Thank you Christian, I am trying with dll´s now.

0 Kudos
Message 3 of 3
(2,256 Views)