LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

UPV Audio Analyzer GPIB Problem

Hi,
I am using LabVIEW8.2 with PXI 8105 controller which has inbuild GPIB Port. I am controlling R&S UPV Audio Analyzer through GPIB interface, using LabVIEW driver VI's provided by R&S(Driver Document tells driver should work for LV 6.1 and Higher). I am trying to read some measurement data from the instrument every 10sec. It is working fine for more than 2-3 hours but randomely stops after giving 'Read Timeout Error'. After that I have to restart the UPV instrument Firmware to make things work again properly.  Please let me know if anyone had simliar kind of problem and any possible workaround to this.
 
Thanks,
venky
0 Kudos
Message 1 of 6
(3,812 Views)
Venky,

Is this the driver that you are referring to?

http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=6409

What version of NI-488.2 do you have?

Trey B
Applications Engineering
National Instruments

0 Kudos
Message 2 of 6
(3,792 Views)

Yes, This is the driver I am using (Not using LV 8.0 Driver but 7.1 with LV 8.2 Runtime)

NI-488.2 Driver Version is 2.43

Thanks,

Venky

0 Kudos
Message 3 of 6
(3,783 Views)
Today tried with LabVIEW 8.0 Driver for UPV with LabVIEW 8.2 Run time, but still no improvement. Instead of VXI driver, writing my own driver with VISA and GPIB commands will improve things?
 
Thanks,
Venky
0 Kudos
Message 4 of 6
(3,780 Views)

Hi,

Perhaps the problem is caused by the Instrument itself, did you ask the R&S support for some support? Also the driver on the R&S hompage should be identical to the one you can get in the driver-liberary.

http://www2.rohde-schwarz.com/en/products/test_and_measurement/product_categories/audio/audio_produc...

The UPV-Firmware itself:

Are you using the current Firmware 2.1.1.261? If your Firmware should be 1.something call R&S for a update-CD. First Versions were kind of buggy and instable during remote-control operation. (And a lot of measurements are missing also).

 I do not know if writing a own driver using the GPIB commands will help. If you want to try it, there is a function you can use to create a setup:

If you start the "Scipi Recording" situated in the "Sequence"-menu all changes made on the UPV-settings will be recorded with in a editor-window with their command-lines you will need for VISA. But you will have to look up all other commands like "Trigger" or data-readout in the programming manual.

So it is depending how complex your application will be.

 

Greetings,

Florian

(got UPV number 3 just yesterday :))

0 Kudos
Message 5 of 6
(3,762 Views)

HI guys,

 

 I need to communicate the UPV audio analyzer using GPIb in matlab  or python? I have written code in python

 

import visa

import time

UPV=visa.instrument("GPIB::20");

UPV.write('*RST');

print UPV.ask('*IDN?')

 

UPV.write('SOUR:FREQ 1.5 kHz')

UPV.ask('SOUR:FREQ?')......... It was showing error as   VI_ERROR_TMO: Timeout expired before operation completed

 

can u guys some coding to see how u r communicating with UPV 0-240 khz audio analyzer for analyzer config or generator config 

Any help 

 

 

THanks and regards

dileep

0 Kudos
Message 6 of 6
(3,240 Views)