10-13-2005 02:09 AM
Hi,
I use the NIDAQMX.LIB(Ver7.5) and add it to my Borland C++ Builder 6.0 project.
It will occur the error.
[Linker Error] 'C:\DANIEL_WORK\NI TEST\TEST\NIDAQMX.LIB' contains invalid OMF record, type 0x21 (possibly COFF)
10-13-2005 05:11 PM
10-14-2005 06:07 AM
Dear Ryan V.,
Thanks for your information. It's really help me a lot.
There are no errors when using my Borland C++ Builder project.
B.Rs.
10-14-2005 09:31 AM
11-08-2005 10:22 AM
11-09-2005 09:35 AM
11-09-2005 10:22 AM
11-11-2005 09:31 AM
Coincidentially, I am also writting a support for USB-6009 and need to use the NIDAQ 7.5 drivers. I downloaded the lib file from the location that you specified, but there is no .h file there. Would you be able to direct me to where the
_correct_ lib and h files for the 7.5 drivers are?
Would it be possible for you to send me the sources of your
application (perhaps even with the lib+h files) so that I can have a look? I am using the code that I developed for
DAQ-Pad 6015 (NIDAQ-7.4) and the code compiles fine. But
after I initialise the device using (this is a copy from
ANSI C examples)
DAQmxErrChk(DAQmxCreateTask("",taskHandle));
DAQmxErrChk(DAQmxCreateAIVoltageChan(*taskHandle,chan.c_str(),"",DAQmx_Val_Cfg_Default,-10.0,10.0,DAQmx_Val_Volts,NULL));
DAQmxErrChk (DAQmxCfgSampClkTiming(*taskHandle,"",1000,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,iBufferLength));
and want to start the task by
DAQmxStartTask(taskHandle);
I get an Error message 'Floating point division by zero'.
I am using Borland C++ Builder 5.0 (service pack 4) on
Win2k and want to be able to read analog signal and
set 0/1 on digital output lines.
Would you or anyone alse be able to help me out of my trouble?
11-14-2005 03:04 AM
11-14-2005 04:06 AM