LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX in LabWindows

I know that LabView can interact with Acromag by using AcitveX. Can LabWindows do the same thing? Thanks.
0 Kudos
Message 1 of 4
(3,368 Views)
I'm not familiar with Acromag (sounds somewhat similar to acrobat... a typo?), but in general CVI can ccess functions in activeX servers in much the same way as labview. The (easiest) way to do this is to use the activeX controller wizard in the tools menu (assuming the correct version of CVI, version 5 and above I think) Basically you tell it the name of the activeX/COM server that you want to access, choose which interfaces you need, and press go... The wizard then creates an instrument driver for you to access these functions... I've used it to good effect, (although depending on the type of COM interface, it may or may not see the interfaces you want - Ver 6.0 is pretty good now though)
Using the instrument driver is then fairly straight forward as long as you kn
ow the parameters required by the function
Hope this helps
JB
Message 2 of 4
(3,368 Views)
slaine's answer is very good, and just to add, you are able to add in ActiveX controls to all versions of CVI 5.0 and above.
Our wizard will generate all the calls and package them into a .fp file. Just like if you were to go through and create an instrument driver on your own. Now after the .fp file is made, you can see each function's panel when you select it. Each parameter gets its own string control input. However, both the functions and the parameters do not have integrated help, like CVI's library functions (Because we know nothing of the application you are connecting to).

Daniel McChane
Application Engineering
National Instruments
0 Kudos
Message 3 of 4
(3,368 Views)
Actually, ActiveX control support was added in CVI 6.0. For a list of all of CVI's ActiveX functionality in the various versions of CVI you can see our Knowledgbase here.

Best Regards,

Chris Matthews
National Instruments
Message 4 of 4
(3,368 Views)