LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

A CVI application needs a variable from a LabView Vi

I would like to write a CVI(6.0) application which has to use variable from a LabView(6.1) Vi. I am not allow to modify the Vi. My application needs the "position" variable from the Lean Global Pattern Data.vi in the attached file.
0 Kudos
Message 1 of 2
(2,861 Views)
hello Raybie,

first of all: your attachment is missing 😉

if you can't modify your VI you will have to do this via ActiveX. But you will have to start your VI with CVI (like remote the VI). it's not possible to get a value "on the fly", when the VI is already running.
To get a value from the VI you have to use the "LabVIEW_VirtualInstrGetControlValue" method.
there is also another thread which deals with this: Link

Greets!
0 Kudos
Message 2 of 2
(2,843 Views)