LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Inputing Numeric Constant in LabVIEW

In Intel's OpenCV Image Processing Library, there is a function that takes in an integer which can be of one of seven constants. The seven constants are:
IPL_DEPTH_8U
IPL_DEPTH_8S
IPL_DEPTH_16U
IPL_DEPTH_16S
IPL_DEPTH_32S
IPL_DEPTH_32F
IPL_DEPTH_64F
 
Now the exact value of the constants are hidden somewhere in the library.
 
In this case, how will I be able to input the constant to the DLL call to the library function? Do I input a String even though it asks for an integer constant?
0 Kudos
Message 1 of 3
(2,804 Views)
These are numeric constants.  A string would be incorrect:
 
#define     IPL_DEPTH_8U     8
#define     IPL_DEPTH_8S     (IPL_DEPTH_SIGN| 😎
#define     IPL_DEPTH_16U    16
#define     IPL_DEPTH_16S    (IPL_DEPTH_SIGN|16)
#define     IPL_DEPTH_32F    32
#define     IPL_DEPTH_32S    (IPL_DEPTH_SIGN|32)
#define     IPL_DEPTH_64F    64
 
Reference:
Message 2 of 3
(2,801 Views)
Thanks.
0 Kudos
Message 3 of 3
(2,794 Views)