I am trying to get an NI 4060 DMM card working in my programming environment. I have tried to compile a few example programs with the Borland C++ 5.5 command line compiler, but when I run them, they crash on the niDMM_Initiate call.
After the process has been terminated, on Windows 2000, the system dies with a Blue Screen Of Death.
When I try the same sequence of calls to NIDMM_32.DLL with TestPoint 3.4, the niDMM_Initiate call causes a floating point exception in nidaq32.dll at 0x21193dce.
On a Windows 98, the C programs gave the same result (except for the BSOD). I haven't tried TestPoint on that system.
I have used the software on the CD (NI-DMM 1.5, NI-VISA 2.01,
NI-DAQ 6.7, IVI engine 1.61) and also later versions from the web.
In all environments the DMM soft front panel did work.
I also tried to use NI Spy to see what calls the DMM soft front panel uses.
Unfortunately, with NI-DMM 1.5, the soft front panel crashes when NI Spy is running, and with NI-DMM 1.6, the soft front panel apparently mostly uses functions that are not captured by NI Spy.
Can anyone give me a clue what is going wrong and what I need to do to get things working?