LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Instrument Functions Appear Undefined When Initializing the Instrument

I have an instrument driver from NI, when I try to initialize the instrument, or configure it gives a message like: FUNCTION 'bop_init()' has not been declared. I can see the functions declared on the driver files that are all in the project. So, how can I get the instrument to recognize the functions as declared so I can initialize the instrument?
0 Kudos
Message 1 of 2
(2,759 Views)
Dear DimasRex,

I might be wrong, but it sounds like you forgot to include the instrument driver's header file in your source code. Once the instrument driver is loaded in your project (including all the instrument driver files will load it automatically) the final step is to include the header file that contains all the function declarations in your code. So, this will be the #include "nameofheader.h" statement.

Regards,

Azucena Perez
Measurement Studio Support Engineer
0 Kudos
Message 2 of 2
(2,759 Views)