Posted Mon, 30 Jan 2023 17:22:30 GMT by Gray, Anthony
I'm trying to get a 3706A configured and working in TSB.  It's connected via USB.  I ran the "Add Wizard" in the config panel and selected the 3706A.  I get a message saying "You have selected the wrong driver..."  There are other versions of the 3706A (-S, -SNFP, etc.), but I have the 3706-A and that is what I selected.  I found that I could just select "Finish" in the wizard and the instrument would install, but when I try to connect to it I get an error message saying the instrument could not be opened because the reset command timed out.
Posted Tue, 31 Jan 2023 03:21:11 GMT by C, Andrea
In Test Script Builder (TSB), the 'Open Instrument' icon in the Instrument Console should be enumerating and displaying the detected USB0:: type of VISA resource string for your model 3706A.
Do you have that?  If yes, select that and see if it can successfully connect.

The Wizard that you mention sounds like the Keithley Configuration Panel.  There is no requirement to do anything in the Config Panel to have TSB be able to see the USB0:: resources or to subsequently use the instrument from Python or similar.  The config panel allows you to associate a VISA resource with an IVI driver and also to assign alias to it to use when opening communication sessions.  The NI MAX software tool covers these same optional configuration aspects.
Posted Tue, 31 Jan 2023 15:45:42 GMT by Gray, Anthony
It sounds like you are saying that I don't need to use the Configure option, just open the resource.  When I click on Open, I see this in the drop-down list of instruments:

    USB0::0x05ED::0x3706::04019439::INSTR

After selecting this, I get an error saying:

    'Opening Resource' has encountered a problem.

    Failed to open instrument.

    VISA reports:
    Command 'reset()' has timed out waiting for instrument response.
Posted Tue, 31 Jan 2023 21:43:20 GMT by C, Andrea
Hello,

That is very perplexing.

The USB0:: resource string is what I expect.
Does the front panel display the REM annunciator to indicated the remote connection has been made?
Also expect TSB will issue a reset().  For unknown reason, it is not successfully receiving a response from the 3706A.
Try a different USB A-B cable.  Also try different USB port on the computer if you have one.

With all Keithley related software, you should also have a utility program:  Keithley Communicator.
Try: close TSB and reboot 3706A.  Invoke Communicator and open the same USB0:: resource.

You and enter commands in the bottom frame, then hit the run button to send the command.
If you send something that sends back a response, press F2 or menu Command>Read Instrument Data.
Can you send *idn? command and read the response back?
What about sending reset() command.  And errors displayed on the instrument front panel?

Attached are some screen shots.
 
Posted Tue, 31 Jan 2023 22:05:45 GMT by Gray, Anthony
This is my first time using Keithley instruments and the TSB, so I'm not familiar with the REM annunciator.  Here's what's on the front panel:

 REM                                   AUTO
 1001      |      ----.----  V
OPN,2    |DCV:R=AUTO  N=1.0000  AD>

When I use the Keithley Communicator to send the "idn?" or "reset()" commands, I get ":SYS:ERR?  Timeout expired before operation completed."

I'm not sure I'm using the application correctly.  I entered the "idn?" command in the lower window, then clicked on the run button in the menu.
Posted Wed, 01 Feb 2023 17:17:10 GMT by Gray, Anthony
I tested the 3706A with a different USB cable and on a different PC.  I got exactly the same behavior.  Is there a firmware update process I could try?
Posted Wed, 01 Feb 2023 19:54:19 GMT by Gray, Anthony
I've done some more experimenting with the Communicator app.  It seems like it is working, but I keep getting error messages, too.  For example, if I enter the command "display.clear()", the front panel shows "Error code -285 TSP syntax error at line 1 unexpected symbol near ':' query unterminated".  The Communicator app also shows ":SYST:ERR? Timeout expired before operation completed."  But after the error messages are shown on the front panel, it clears.  I can also display text using the display.settext("") command, but I also get the same error messages.

I tried the same commands (and others) using the NI MAX VISA Test Panel window.  I get the same error messages and the same behavior.
Posted Wed, 01 Feb 2023 21:39:54 GMT by Gray, Anthony
The SYS:ERR problem was solved by clearing the "Get instrument status after every command" checkbox in the Communicator->Options menu.  The TSB problem was solved by upgrading the 3706A firmware.

Thanks Andrea!!!

You must be signed in to post in this forum.