Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-PXI 4070 returns -1074126845 on IviDmm.RevisionQuery

Solved!
Go to solution

Hello,

i am running the ivi function RevisionQuery on a 4070-DMM but i get the error -1074126845 (Max Time exceeded before operation completed.)

Can i set a timeout value somewhere in NI MAX?

 

The interesting thing is: I am calling a custom C#-dll that executes this ivi-function. When running under C# then the function returns the revision and no error. But when i call this c#-dll in teststand then it does not work anymore.

Most of the other functions like read / init&fetch are working. So the handle to the device should be ok.

 

Thx for help and ideas

 

I am using:

Windows 7 64bit

NI TestStand 2016

NI Max 16

NI DMM 15.2

0 Kudos
Message 1 of 2
(2,589 Views)
Solution
Accepted by topic author OnlyOne

Solved:
Wrong StationGlobal was used for vi parameter.

0 Kudos
Message 2 of 2
(2,559 Views)