Digital Multimeters (DMMs) and Precision DC Sources

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-DMM 'Acq & Graph Multipl Samples.vi' does produce timeout error when a timeot value is given, but has all data

Hi,

I've build an app based on the 'Acq & Graph Multipl Samples.vi' example with a NI-PXI 4070. Sometimes I got hangs within the driver, maybe due to bad parameters causing veeery long acq periods ;-( . I tried to use the 'maximum time [ms]' control in the 'NIDMM Read Multipoint.vi' subVI. But this one returns a timeout value independendly from what time it took to get the complete readings and what time limit was set. In other words, I get all my data AND a timeout error -1074126845 : 'niDMM Read Multi Point.viDriver Status: (Hex 0xBFFA2003) Primary Error: (Hex 0xBFFA2003) Max Time exceeded before operation completed.'

Can this error be ignored whenever I got all requested data?

TIA and
Greetings from Germany!
0 Kudos
Message 1 of 2
(6,587 Views)
This one was a combination of bad cosing in the driver and incomplete testing on my side.
The drivers calls a DLL and preset the results array with '0's. So one gets always a complete array of valid data (0). I've changed my copy witha preset value of NaN, wich disables the use of those data.
Whenever a timeout error occurs, the data is returned unchanged.
0 Kudos
Message 2 of 2
(6,582 Views)