From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Initialization error for HP 8563 due to lack of REN

Solved!
Go to solution

I am using a HP 8563 spectrum analyzer which normally works fine with the Agilent 856x Series drivers.  Occasionally after a power cycle, the initialization generates an error, and doesn't connect with the instrument.

 

For context, this instrument is old, uses 488.1 commands (i.e. ID? instead of *IDN?) and I am using a Agilent USB-GPIB controller with Agilent VISA secondary.  NI VISA is primary, with a compiled LabVIEW application running on the 2013 RTE.  There are several other 488.2 instruments on GPIB bus, that don't have any issue.

 

This can be resolved by using the NI MAX "Assert REN; Address Device" command to force it in to remote mode.  After that, everything is back to normal until after power is shut off or an occasional random hiccup.

 

Does this sound like using the GPIB function "GPIB Initialization Function" with the "If assert REN with IFC" boolean set to True would this?  I suspect the instrument doesn't like to respond unless REN is set first.

0 Kudos
Message 1 of 2
(1,129 Views)
Solution
Accepted by topic author KipK12

VISA GPIB Control REN Function is the function you want to use in LabVIEW then.

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 2
(1,080 Views)