Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

including enumerated types

I am writing a Visual C++ application and need to use some of the enumerated types. I know they exist because they are in the measurement studio manual, but I can't figure out what I need to include to use them.

The enumerated types I'm talking about are some of the following:
cwimaqInterpolateZeroOrder
cwimaqPaletteBinary

I've included imaq.lib and nivision.lib, but the compiler still can't find them. Thanks in advance.
0 Kudos
Message 1 of 2
(2,798 Views)
Hello mps,

When using Visual C++, you will have to use wrappers for the cwimaq controls, which are usually used for Visual Basic. Here is an example that uses cwiamq controls in C++:

IMAQ Vision ComponentWorks example in Visual C++ that will threshold a region of interest and calcul...


You might also take a look at the Vision example programs that come for C++.

Hope this helps.

BB_Phil
0 Kudos
Message 2 of 2
(2,798 Views)