Dynamic Signal Acquisition

cancel
Showing results for 
Search instead for 
Did you mean: 

Error when starting an analog read task with DAQmx 8.5 while 8.0 works

I am programing a measurement application with Borland C++ Builder 6.
Problem: Every time when I try to start an analog input task with the DAQmxStartTask() command of DAQmx 8.5 the program execution is interrupted and the error message "Invalid floating point operation" is given out. This problem does not occur with DAQmx 8.0 !
0 Kudos
Message 1 of 5
(7,595 Views)
tbathelt,

does this error occur with every DAQmx task or one particular?

Have you tried creating a new, simple task and starting that?

Johannes
0 Kudos
Message 2 of 5
(7,581 Views)

Hello Johannes,

the error occurs every time, when I try to start an analog voltage input task either with a simulated or a real device (PXI-4472). Changing any of the measurement parameters did not have any effect. I also tried one of the C-source code examples, which came with the original NI-documentation of the DAQmx 8.5 driver, resulting also in the same error.

However, starting a counter task with a simulated PXI-6601 device worked without any problems !

Do you have any ideas ?

Regards,

Thomas

0 Kudos
Message 3 of 5
(7,571 Views)
Hi Thomas,

I'm curious to know where you got the DAQmx C import library for Borland.  This import library is either obtained by installing CVI support or from our website (which to my knowledge isn't up yet).   Did you obtain the library from CVI or some other source?

Thanks,

Jeff Tipps
Applications Engineer
National Instruments
0 Kudos
Message 4 of 5
(7,537 Views)

The import library bases on the original DAQmx.lib file, comming from the NI Device Driver Reference CD. This library has to be converted from MS-COFF-file format to the OMF-format for further use with Borland C++. This conversion has been done with the converter tool "coff2omf.exe", which is part of the C++ Builder software.

Regards,

Thomas

Message 5 of 5
(7,528 Views)