10-02-2006 09:49 AM
11-25-2006 09:47 AM - edited 11-25-2006 09:47 AM
Message Edited by 7drb on 11-25-2006 09:48 AM
11-27-2006 07:05 PM
11-28-2006 10:00 AM
Hi Adam,
Thanks for your reply!! The code is setup so that the 34401 is initialized in the Startup and closed in the Cleanup in the TestStand environment. A VISA Resource is passed to each step of the sequence that requires the DMM. I thought it was more efficient and better coding to do it this way rather than repeatedly opening and closing the instrument. This means I can't easily run the code on it's own on the CM station. I also do not have the development environment installed on the CM station and I'm reluctant to put it on as I have a couple more stations to setup for the CM after this one is finished. The computers are essentially the same (Intel P4) so I don't think computer is the issue. I tried upgrading the VISA drivers to 4.0 yesterday but the problem is still there.
The test times out the first time I run it, so I terminate the test sequence by running Cleanup. The details are:
VISA Wait on Event in Wait for RQS.vi->HP34401A ReadMeas.vi
VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.
I rerun the test sequence again and during initialization in the Startup, it reports error code -107400165. The details are:
<ERR>HP34401A Error Query:
instrument reports:
-410, "Query INTERRUPTED"
I then terminate the sequence by running Cleanup. I rerun the test sequence again and the cycle repeats where the 34401A times out. The pattern is consistent.
11-28-2006 02:49 PM
11-29-2006 12:34 AM
Hi Jim,
Many thanks!! I tried the VI late this afternoon and my application now works as expected!! If I ever make it to a NI Week, I think I owe the Apps group a round on me. Thanks again for your help!
Darby
p.s. I wonder if this would help all those other Agilent instruments that have timeout issues...
11-09-2009 04:04 PM
Hello,
I have an Agilent 34401A connected to my PC (running LabView 8.6) via a serial/USB adapter. When running the ‘Agilent 34401 Read Single Measurement’ example driver I get the -1073807339 timeout error mentioned in this (and several other) thread(s).
The error occurs at the Initialize SubVI. When I wire a false constant to the Reset terminal of the Initialize SubVI it completes without the error. However, the timeout returns at the Measure SubVI.
When I open that SubVI and turn on the highlight tool, then return to the example VI and run it, I successfully read the measurement from the meter. With the highlight tool turned off I get the timeout error every time.
Could this be a timing issue that comes from using the serial/USB adapter?