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

Getting a Time out error on HP 54120A connected via a Agilent 82357B GPIB/USB

$
0
0

I have a HP 54120A connected by a Agilent 82357B GPIB/USB to my laptop running windows 10 64 bit. I have agilent visa and NI visa and NI Device Drivers 2018.05. I have done the following
[https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P9t6SAC]

i. Enabling the NI-VISA Passport for Tulip
ii. Enabled Keysight GPIB cards for 488 programs.

However, I have the following issues
I. Timeout when sending commands to 54120A over GPIB
a. In Keysight IO LIbraries Suite, I get the following results in Keysight Interactive IO

* Connected to: GPIB0::7::INSTR
-> *IDN?
<- HEWLETT-PACKARD,54120A,0,2731

-> *CLS
! VI_ERROR_TMO: A timeout occurred
Visa ErrorCode: 0xBFFF0015 (-1073807339)
! Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

-> *OPC?
<- 1

-> *TST?
<- 0

-> *RST
! VI_ERROR_TMO: A timeout occurred
Visa ErrorCode: 0xBFFF0015 (-1073807339)
! Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

b. I get similar results in NI Visa Test Panel

That is, I can not send certain commands to the 54120A [I get a time out error]. I increased the time out to 20 seconds, tried changing the termination character from the default \n to the other options. But there is no change in the results.

I found the following discussion which refers to a similar problem:
https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/hp-54120a/m-p/2532044/highlight/false#M60626
but was unable to follow it, because there seems to be no menu named
HPIB>>Mode=Addressed
I found a menu item named "HPIB" in Utility menu, with options Address:Talk and Talk/Listen,and EOI. The caption on the screen says HP-IB Address=7. But there is nothing like Mode=Addressed anywhere.

II. Unable to acquire data from the 54120A in Labview.
In Labview Project [Aginent 54129.lvlib: acquire and display data.vi, i get the following error out [-1073807346]
error -1073807346 occurred at VISA Write in Agilent 54120.lvlib:acquire and display data.vi

Possible reason(s):

VISA: (Hex 0xBFFF000E) The given session or object reference is invalid.


Please help me resolve these issues

Sagar Kapadia


Viewing all articles
Browse latest Browse all 5661

Trending Articles



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