11-04-2005 10:23 AM
11-07-2005 08:54 AM
Hello Adrian,
How are you sending the commands to the GPIB-USB-B? Have you tried using the Instrument Driver for the SR530? In case you have not used an Instrument Driver before, they are sets of software routines that control a programmable instrument. Each routine corresponds to a programmatic operation such as configuring, reading from, writing to, and triggering the instrument. Instrument drivers simplify instrument control and reduce test program development time by eliminating the need to learn the programming protocol for each instrument. You can search all of the preconfigured instrument drivers, or just download the SR530 driver. It comes with an example program that should help ensure that everything is setup properly as well.
I hope that gets you started!
11-07-2005 09:14 AM
11-07-2005 09:48 AM
I should mention that I have also attempted to communicate with the SR530 via the NI Measurement & Automation Explorer, with similar results. I queried with *IDN? and several instrument specific commands, but in all cases writing resulted in an error LED flashing on the device, while reading invariably resulted in a EABO error, probably due to time out.
-Adrian
11-09-2005 12:13 AM
Hi Adrian,
It sounds like the SR530 may not be in the right mode. You may have already done this, but double check the switches on the dip switch sets on the back of the instrument. For GPIB interfacing with the Instrument Driver, switches #4 and #6 on SW 1 must be down (setting device address to 23 and RS232 echo on) and switch #1 on SW2 to set RS232 baud rate to 9600. All other switches should be up.
Make sure that the settings for your SR530 match those mentioned in the help for the SR530 VI, you can view this either by opening SR530 VI and selecting File >> VI Properties >> Documentation or by turning on Context Help -> Ctrl-H and hover over the SR530 VI icon.
Unfortunately, the *idn? command is not recognized by the SR530, only those command listed in the User's Manual will work. I didn't see any identification command when I glanced through it.
One more thing you can try is capturing and saving the GPIB commands sent and received using NI-SPY. To start a capture open Measurement and Automation Explorer, select your GPIB instrument under Devices and Interfaces and the in the right hand panel you'll see the NI-SPY icon on the top of the panel. Click on it, and then click the blue arrow to start a capture, then run the SR530 Example VI.
11-09-2005 07:58 AM
Hi Micaela,
I think I have everything sorted out now. I spent some time chatting with the amplifier manufacturer; they explained that since the instrument was made (1991), GPIB has sped up significantly and that this causes the problems I was having. Fortunately, there is a relatively easy fix to this problem which simply involved soldering an extra capacitor onto the main board. Now, everything seems to be running smoothly (both the VIs downloaded from NI and my own VIs). Thanks for all your help on this issue, though- I really appreciate it.
-Adrian
11-09-2005 01:08 PM
10-28-2013 07:48 PM
I have the same problems with my SR530. Could you please tell me where and what capacitor should be soldered on the main board.
Thanks,
Ali.
08-13-2015 01:19 PM
Hi,
It seems that this post is old now but I have the exact same problem. Did someone solve this problem? Could someone give me the drivers for the sr530 and tell me where to put the capacitor?.
Thanks in advance.