From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ NIDAQErrorHandler function definition

Hi,
I need to write a nidaq32.dll loader. Therefore, I defined NIDAQErrorHandler function as
static i16 (__stdcall *PNIDAQErrorHandler)(i16, char*, i16);
Is there anything wrong with the type definition? (I got NULL from calling the function)
 
Thank you,
Pitt
0 Kudos
Message 1 of 3
(2,599 Views)

Another quick question,

I am using BC++ 5.0 to develop DAQ application. Right now, I included both nidaq32b.lib and nidex32b.lib to implement DAQ_Op, etc. functions.  Is it possible to implement these functions not including the libraries? (does NI support any dll files for BC++ users?)

Thank you!

Pitt

0 Kudos
Message 2 of 3
(2,566 Views)

Hi Pitt,

BC++ is not officially supported by National Instruments, but there have been a number of articles written in the KnowledgeBase that you may find useful.  Take a look at the following links:

Using Traditional NI-DAQ 7.x with Borland C++, I receive Error: NIDAQ32.lib contains invalid omf rec...

Can I Make NI-DAQmx Calls From Borland Delphi?

Thanks,

Justin M.
National Instruments

0 Kudos
Message 3 of 3
(2,544 Views)