Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

In C++ builder, why the error "floating point division by zero" comes out?

The card I bought is NI DAQ6010.I want to use the fuction of analog voltage out. I wrote a program with the card in C++ Builder. I've converted the lib file from visial c++ to c++ builder by the command "coff2omf.exe". And the version of DAQmx is 8.5. I used some functions as DAQmxCreateTask, DAQmxCreateAOVoltageChan, DAQmxStartTask, DAQmxStopTask, etc. Among all the functions only the function “DAQmxWriteAnalogF64” cannot run correctly. The run-time error is "floating point division by zero". I've tried my best, but didn't solve the problem. Thank you.

帖子被grhjj在08-01-2007 08:20 AM时编辑过了

0 Kudos
Message 1 of 1
(7,969 Views)