LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use the Matrox Imaging Active-MIL controls with CVI/LabWindows?

I am part of a group that is developing an automated test system using LabWindows 8.0.  We are using a Matrox Meteor-II frame grabber card to capture video images and we would like to use the ActiveMIL controls to display the images on a LabWindows panel.  I created an ActiveX controller for the Matrox base controls, but the only one that produces an actual control on the panel when I click it is the Display object.  When I attempt to create a System, Digitizer, or Image control, all that appears is an empty outline.  Also, the only Active-MIL code examples included with the Matrox package are the ones for MS Visual Studio, which don't resemble LabWindows code very much, so I don't know which routines I'm supposed to be calling once I've created the controls.  There is nothing about LabWindows in Matrox's documentation and help files.  Can anyone help?
0 Kudos
Message 1 of 2
(3,677 Views)
Hi Rich,

Are the controls being displayed properly in Visual Studio? Are these controls ActiveX .OCX files or are the .NET Assemblies files?

You should be able to use ActiveX controls in CVI much in the same way as in Visual Studio or even LabVIEW. Check out the following KnowledgeBase Articles to get more details on the process that you should be using.

How Can I Use an ActiveX Control (.OCX file) in LabWindows/CVI?
Embedding ActiveX Controls in LabWindows/CVI Applications

As far as the different routines go, that information should be within the Matrox help files. Although the syntax is perhaps specific to .NET, the basic function information should be the same.

Hope this helps Rich, feel free to post any more questions.
Dan Weiland
0 Kudos
Message 2 of 2
(3,651 Views)