LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

data exchange between executable and dynamically called VI

My LabVIEW 7.1 application runs as an executable and some VIs are called dynamically. The VIs don't have to be included in the application. This works well since the vi.lib resides in the application directory.
To exchange data between the VIs and the main application I use datasocket. (I can't use storage VIs because VIs cannot be shared between an executable and a VI.) Does there exist a more practical solution to do this in LabVIEW 8?

Thanks for any help
Dave
0 Kudos
Message 1 of 4
(3,238 Views)
Hi Dave,

I haven't tried LV 8 yet, but from what I read about it, shared variable should do the job, I suggest you do try to get the information by asking if "shared variables" will be appropriate tools to do that (I really think YES).

But I think it is also possible in LV 7.1 to pass data to a dynamically called VI (with a "call by reference node")... I suggest you go and read this thread.

Hope this will help you...

We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 2 of 4
(3,231 Views)
Hi,
 
it´s really very easy to transmit data between an exe and an VI with the new shared Variables. You can use it the same way like NI use this technology to parse values betwenn an RT-"EXE" and an HostVI.
 
For more informations you can have a look here:
 
 
The new features of LabVIEW 8 will also be shown in the Training: "Working effectively with LabVIEW 8". If you´re interested, next class is on April 18th. Or have a look on the Switzerland Part of ni.com for more informations.
 
Greetings Alex
Message 3 of 4
(3,217 Views)
Thanks a lot!
I think the Shared Variable Solution will work...

Dave
0 Kudos
Message 4 of 4
(3,196 Views)