Hi,
I am working on automating a test setup containing an HP 6680A (66xx series) power supply. I am using the NI GPIB-USB-HS (GPIB to USB adapter), with NI 488.2 drivers, and for the moment only sending manual SCPI commands via the VISA test panel to test that the communication is working properly with the power supply.
I am currently able to remotely program an HP 3314A Function Generator via its HP-IB interface, also using the same NI GPIB-USB-HS adapter, therefore I know that my current communication setup is working properly.
Here is the problem I am facing with the HP 6680A supply:
(I attached the programming guide I am using ,I also have the original HP SCPI programming guide in paper version)
- It correctly senses the REN line state being enabled on its HP-IB port ("Rmt" indicator activates on the front display)
- It correctly senses that it is being addressed on the HP-IB port ("Addr" indicator activates on the front display)
- But when I try sending the actual SCPI commands (commands listed in this programming guide), it always triggers various errors. Below is a sequence of commands + errors message observed during my tests:
1: Power supply powered ON, in LOCAL state, output ON with ~70mV, 75A at the output.
2: GPIB communication set as follow: Send EOI + termination character (line feed) on write
3: Sending "*RST" command
4: "Rmt" indicator lights up on the HP 6680A front LCD, and "Err" indicator as well
5: I press the "Local" button and then "Shift"+"Error" to check for errors: Error code is -113
6: "Err" indicator turned back off as I checked the error.
7: Sending "*rst" command (notice I did not use CAPS letters this time)
8: "Rmt" indicator lights up on the HP 6680A front LCD, but no errors this time. However the reset is not performed
9: Sending "*rst" command again without capital letters
10: "Err" indicator lights up on the HP 6680A front LCD
11: I press the "Local" button and then "Shift"+"Error" to check for errors: Error code is -103
I also have been trying multiple other commands without any success. Sometimes getting an error, sometimes not, but never getting any action performed by the supply remotely (except for "Rmt", "Addr" and "Err" indicators lighting up...)
Thank you in advance for support,
Hi, I have a 6642A and 6645A (same family products, but 200 Watts instead of 5000 Watts for your unit) and I tested RESET command on them using NI-GPIB-USB-B interface from National Instruments. I use in first time Measurement & Automation Explorer V18.5.0f0 and Connection Expert from Keysight V 18.1.23218.2. Firmware version of my 6642A is A.01.08 and A.1.05 for my 6645A.
On my 2 instruments, the gpib commands worked well without errors with uppercase or lowercase letters.
I used vb.net and did a little program to control instruments using same NI GPIB-USB-B or NI-GPIB PCI interface: every things was OK with NI-GPIB PCI but same problem as you with my NI GPIB-USB-B, errors appear sometimes 103, 113 or 420.
I did not find the cause for now. On your side, did you find the solution ?
Regards
Yves