Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

agilent e5061b blocked communication

Hi,

 

We are developing an aplication for remote control of Agilent ENA5061B using LV supported instrument drivers.

 

I have already posted my problem in the Agilent-forum an got a reply (see attachment) from a Agilent user.

 

It seems to me that I still have a blocked communication and that I don't know how to reset.

 

I appreciate any help.

 

 

Oddgeir

 

0 Kudos
Message 1 of 4
(4,256 Views)

Hello Oddgeir,

 

could you please share your code with me, so I can have a look at it and see if there is a Problem with that.

 

And could you please tell me more in detail what happens after your error occurs? what do you mean with "do not react normaly"?

 

best regards,

 

Markus Mayr

 

 

0 Kudos
Message 2 of 4
(4,175 Views)

Hi Markus,

 

The sequence is:

The LV application starts (trig) the Agilent to take a frequency sweep and then the application waits until the sweep is finished

When the Agilent detects an internal error e.g. input overload, then I want to take a reset to the Agilent

After the (Agilent)error occours, I got no reaction in the Agilent instrument when sending commands to the instrument (communication blocked).

 

When I say "react normaly" : the Agilent react as it should when sending commands to it (before the internal error occour)

 

In my trobleshooting I have notised:

The Initialize LV command is functioning when I stop the LV application and start it again (with an Initialize command). When I send the same command without stop/start of the LV application, no reaction in the instrument.

 

 

Best regards

Oddgeir R.

0 Kudos
Message 3 of 4
(4,161 Views)

Hello Oddgeir,

 

There is something you have to know about LV. If you close the LV application it will close the visa reference therefore it will bring the VI at its defualt state.

 

My question is, if you tried to close the reference and then initialize the agilent, you can do that in your VI manually like you have it or do it programmatically. You can get the error message from the VI that checks the status of the sweep and you can close the reference and reinitialize if an error message is acquired.

 

kind regards,

 

Markus Mayr

 

 

0 Kudos
Message 4 of 4
(4,141 Views)