Digital Multimeters (DMMs) and Precision DC Sources

cancel
Showing results for 
Search instead for 
Did you mean: 

Im getting EInvalidOp on DMM Read Function

Hello,

Im getting a EInvalidOp when using NI-DMM 2.8 with a DMM PCIe-4065.
Currently we are using C++ BUilder Borland  6.0 with 2.8 library.
I can start the dmm with Dmm Init function and set the dmm to read resistance, but instead of getting an overrange I get the EInvalidOp.


0 Kudos
Message 1 of 5
(7,965 Views)
I forget to mention that I made an application to test the issue. With this application the error is Floating Point error.


Download All
0 Kudos
Message 2 of 5
(7,958 Views)

Hi and sorry for the inconvenience.

I'd like to point you to another forum thread that deals with a similar issue.

http://forums.ni.com/ni/board/message?board.id=250&message.id=31772&requireLogin=False

I hope this information gives you some insight.

PBear
NI RF
0 Kudos
Message 3 of 5
(7,941 Views)
I tried that thread information with no good results.

The problem is this one. We have DMM's 4070 working with this same function and driver, But is not working with 4065. Some at technical support sent me a Labwindows CVI program and it works fine.

I write a DLL as workaround in Labview to read the resistance and it is working. But I think there is something else not tested with the driver.

Thanks in advance,

Armando
0 Kudos
Message 4 of 5
(7,936 Views)

Hi Garcia,

While we do not official support our libraries under Borland C++ compiler, I'd like to point you to the following KnowledgeBase. This will show you how to turn off floating point exceptions. KB 3SJA58DR: Floating Point Exception When Calling Borland C++Builder or Delphi DLL or Executable

PBear
NI RF
0 Kudos
Message 5 of 5
(7,925 Views)