Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

Controlling HP 6680A (HP-IB) with GPIB-USB-HS

$
0
0

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, 

 


Viewing all articles
Browse latest Browse all 5565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>