07-07-2009 07:39 AM
Hi everyone!
I'm writing a a function using the Borland C++ Builder 5 IDE for reading voltages from a PCI 4060 multimeter.
I installed the NIDMM 2.9 drivers.
I state I've included the required header files and libraries in the project.
I initialize the board in the following way:
ViStatus eStatus = VI_SUCCESS;
// multimeter initialization
eStatus = vi_error_handler(niDMM_InitWithOptions("DAQ::4::INSTR" , VI_TRUE , VI_TRUE , "Simulate=0,RangeCheck=1,QueryInstrStatus=0,Cache=1", &(dmm.handle)));
When I run the function I get the error code 46 that it isn't associated to any description (I get an empty popup windows from the error handler).
I've already performed several researches for understanting the meaning of such error code but I didn't succeed to find anything.
I've also looked for this code, without getting any result, inside the nidmm.h, nidmmObsolete.h, iviDmm.h e iviDmmObsolete.h files in the "C:\Program Files\IVI Foundation\IVI\Include" folder.
Furthermore I've performed the multimeter board test by means of the "Measurement & Automation explorer" with succeessful result.
Is anyone able to help me to understand the meaning of such error code?
Thanks in advance.
Regards.
Simone.
07-09-2009 02:54 AM