I am getting the Query UNTERMINATED error when trying to start a scan using the latest version of BenchLink Data Logger and a 34970A.
Communication has been established with the unit, and I was even able to upload a configuration from the 34970A. Have tried this with two different laptops and get the same error. One of the laptops is running Windows 7 Home Premium and the other is running Windows Vista Home Premium.
We are using a ProLogix GPIB-USB 6 converter for our communications interface. The Agilent IO libraries are current.
I have uploaded a couple of screen shots for reference.
The "ASRL6::INSTR" address in the "Downloading Instrument Configuration" window picture you sent indicates an RS232 connection, not USB/GPIB. Communication problems with RS232 connections are fairly common, unfortunately due to the RS232 implementation in many PCs. Can you make sure you are using the GPIB connection from the "Find Instruments" window in Benchlink? You might first go into the IO Libraries, Agilent Connection Expert (ACE) and see if it shows a connection to a 34970A over USB/GPIB.
The "Query Unterminated" is a SCPI error indicating that a query command was interrupted by sending another command before the query operation was complete. If you are interested in finding out the details of the error, you can use the IO Libraries ACE IO monitor to capture the all the IO during the configuration download.
The Prologix GPIB-USB converter sets up a virtual Serial Port com and that is what shows up in the ACE. I have tried and can not get it to show up as a GPIB-USB connection. For reference the only thing plugged into the 34970A is the GPIB-USB converter.
I have attached the IO Monitor log for the actions that take place when the Scan button is pushed.
Just noticed that you are using the Home Edition of XP and Vista. Home editions are not supported. I would think you couldn't even run the Datalogger software if that was the problem, but it could be, and you will likely run into other problems problems because of this.
I did a little digging and playing with the Prologix adapter and it won't work with the Benchlink Datalogger software.
The issue is the following:
You have the 'Auto read after write' set in the configuration but the *RST command (the one that is erroring) isn't a query, so when the Prologix tries to query the instrument, it errors. If you disable 'Auto read after write', you have to send the special command '++read' before reading the response. The Benchlink Datalogger software is NOT going to work with that.
An option for you is to use the serial port on the 34970A. If your PC doesn't have any serial ports, you can buy a USB to RS-232 adapter for a couple of dollars at your local electronics store.
Another option is to buy an Agilent (or NI) GPIB or USB/GPIB adapter. These are well tested, documented and standard devices.
The Prologix GPIB adapters are just a little different and will not work with most pre-existing software (if you are writing your own software you can probably get it to work, but read the whole manual first).