Setting up a DS345 with GPIB-USB-H​S

Quick guide to how to set up a Stanford Research Systems (SRS) DS345 synthesized function generator.
1) Ensure you're not going to shock anything (i.e. having the computer and device on two different grounds), then plug in the GPIB-USB-HS cable to device. 
2) On the front panel of the DS345 set gpib to on (address default should be 19). 
3) Open NI's Measurement and Automation Explorer, and ensure the device shows up. 
4) Open NIvisaic.exe and send a query "*IDN?\n". You should get the device info back.
5) Using NIvisaic, write "FUNC\s1\n" this should change the function type generated to Square Wave type.
6) Use Labviews VISA library. For still unknown reasons, I could not get the normal GPIB library to control the DS345 over GPIB-USB-HS. This means the entire driver library for the DS345 didn't work for me. This means you'll have to do some more work learning the DS345's communication protocol (see http://www.thinksrs.com/downloads/PDFs/Manuals/DS3​45m.pdf). But I only needed to change 2 things on the DS345 so that fit my needs. 

Quick guide to how to set up a Stanford Research Systems (SRS) DS345 synthesized function generator.
1) Ensure you're not going to shock anything (i.e. having the computer and device on two different grounds), then plug in the GPIB-USB-HS cable to device. 
2) On the front panel of the DS345 set gpib to on (address default should be 19). 
3) Open NI's Measurement and Automation Explorer, and ensure the device shows up. 
4) Open NIvisaic.exe and send a query "*IDN?\n". You should get the device info back.
5) Using NIvisaic, write "FUNC\s1\n" this should change the function type generated to Square Wave type.
6) Use Labviews VISA library. For still unknown reasons, I could not get the normal GPIB library to control the DS345 over GPIB-USB-HS. This means the entire driver library for the DS345 didn't work for me. This means you'll have to do some more work learning the DS345's communication protocol (see http://www.thinksrs.com/downloads/PDFs/Manuals/DS3​45m.pdf). But I only needed to change 2 things on the DS345 so that fit my needs. 

Similar Messages

  • Creating exe with GPIB-USB

    When I create an application that uses my GPIB-USB-A interface it is not included as one of the VISA selections when the application is installed. Which files do I have to add to application installation to have my application work with GPIB-USB?

    You would need to install the GPIB and VISA driver,
    For GPIB, follow the steps from www.ni.com/support/install. You can download the latest visa driver from, ftp://ftp.ni.com/support/visa/drivers/

  • Combine 2 computers ea with GPIB-USB-HS connected to different calibrators into one system

    I’ve got 2 separate systems: Computer A fitted with a GPIB-USB_HS+ controller and connected to a calibrator A and bench multimeter A, and Computer B fitted with a GPIB-USB_HS+ controller and connected to calibrator B and bench multimeter B. To enable computer A to gain access to calibrator B and bench multimeter B (and visa versa) I want to interconnect the 2 systems with a GPIB cable. Will it work?

    Since there can only be one CIC, you just can't connect the cables. Your software on both pc's will have to detect if the other program is running and make the controller on the non-running pc not to be CIC.
    Your other option is to remotely control the other pc's instruments with VISA Server if there is a network connection. You would still need some means of checking if a program is running on the other pc.

  • GPIB-USB-A malfunction after connection to old instrument

    I connected a Solartron 1286 potentiostat (made in mid-80's) to my GPIB-USB-A interface, and it seems to have damaged my interface. I can install the GPIB-USB-A just fine, but when I try to search for instruments, the search time seems infinite. Are there warnings issued about the USB-A model regarding connecting to older instruments? Has anybody encountered this behavior before?

    There is no known issues with GPIB-USB-A with your particular instrument and I know people have uses this USB-GPIB interface with older instruments without a problem.
    It does not seem like there is a problem with interface if you could install the driver fine. You can use NI-SPY to take a SPY capture when "Scanning for instrument", this should give you more info on what was wrong. Also make sure your instrument is still functioning correctly; install the latest NI4882 driver (ver 2.3); and try to connect the instrument with a different cable, etc.

  • GPIB-USB libraries that need to be included with Installer

    Hi,
    I need to make a small application executable, and the application needs to communicate with a power supply over a GPIB-USB-B connection. MAX can communicate with the power supply on this PC, and the second PC that I have my Base LabVIEW 7.1 installed on runs the executable application successfully. When I try to run the executable on the first PC, however, the process hangs. I included an Installer in the original executable build for the first PC, and in this build all the options under LavVIEW Run-Time Engine were checked (although LabVIEW RT Support wasn't available for checking.) However, none of the other options (Remote Panel License Support, Serial Port Support, Port I/O Support, and Hardware Configuration) are checked because I didn't think that I needed any of these for the basic GPIB communication I'm performing (just VISA Open, Read, and Write). Do you have any idea which of these libraries I need to include in the Installer to make this work? Or is there some other problem I'm not thinking of?
    Thanks,
    Mark

    What makes the situation odd is that MAX was capable of communicating with the device, but my application was not. In the interest of making it work, I stuck a spare license of Base LabVIEW onto the PC, and then the application (even the compiled, executable one) worked fine. So clearly something wasn't loaded along with the GPIB-USB-B drivers (or my application installer) that WAS loaded by the full installation of LabVIEW. But, again, the oddness of the situation stems from the fact that before loading the full LabVIEW, MAX (loaded by the GPIB-USB drivers) could communicate fine with the device. This set of circumstances doesn't make any sense to me, but maybe someone else can come up with something.
    The PC is a W2K box, and I assume whatever driver information that came in the installer and the GPIB-USB drivers has been overwritten by the full LabVIEW that's since been installed on the machine. I didn't actually oversee the installation of the GPIB-USB drivers, so it's possible the engineer who did that put the card into some odd state--it's also possible he didn't reboot after the driver installation. If the resources come free I'd like to clear out the machine and start fresh and recreate the sequence of events to see if I get the same result. I wouldn't be surprised if the problem stemmed from issues in the driver installation. But I want to hear if anyone's been in a situation like this before I go and do everything over again.
    Thanks for your help, and for the additional installer information,
    Mark

  • Compatibil​ity of Agilent GPIB/USB adapter with NI

    Hi,
    I have an Agilent GPIB / USB adapter 82357B, and I'm experiencing some problems for detecting my instruments in the laboratory when I try to use the labview software for capturing the data from the measurement instruments.
    I installed the CD with the libraries the adapter has and through this software I can detect the instruments, however once that I open the Labview software from National instruments(NI) for capturing my data, I miss comunication with the devices in both programs, the Agilent one and in the MAX of NI.
    I run across a document regarding tip on using Agilent GPIB solutions in National instruments's Labview environment. I have done all the document indicates, but It is not workingt, I experience the problem I outlined above for detecting the instruments.
    I hope someone can help me with that.
    Regards

    DCU STUDENT wrote:
    Yes I am. According to documents it is possible. But I don't know want else to do, since I have done what document indicated. I as mentioned in previous message, now I can see the measurement instrument with Labview and using the Agilent cable adapter, and I can stablish communication with device since that when I select the device in the labview program, a led in the instrument is ON, indicating communication. However when I try to capture the data on screen, there is not data at all.
    Hello DCU STUDENT,
    It sounds like there may be some conflict between the NI VISA and Agilent drivers, which can occur between certain models; considering when you use the NI cable data can be collected when when you're using the Agilent you cannot. Please tell me what versions of both drivers you are using so I can determine whether or not there are any known incompatibilities between the two if you're still receiving the same error after following these instructions. 
    Can you also please go through this instrument troubleshooting guide to see if your installation matches the expected configuration of a functional device so we can confirm that your driver has been installed correctly from the previous guides.
    For a IEEE488 Agilent Device Card, as you mentioned that you have the NIVISATulip.dll enabled, for this GPIB configuration to work you must ensure that the 488 Programs must be activated with NI 488.2 (At the Enable Agilent GPIB cards option) through the Agilent Connection Expert.
    You've mentioned that you've been able to establish a connection with the device and see communication transfer, yet you are getting no returned communication. Do you see a similar response when you view the device through the Measurement and Automation Explorer?
    If it is possible, could you test your configuration with any other Agilent devices with your current configuration and see if the error persists?
    Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

  • External GPIB-USB Controller with Windows200​0

    Is there a Chance to use the external GPIB controller GPIB-USB (NOT the
    newer USB-A version) with Windows 2000 ?? The special GPIB driver for the
    "A" revision is not working.
    Ciao
    Matthias

    I am not sure if this will fix your problem, but I was able to get a USB GPIB controller to work in Win2K by replacing the file "NiVi488.dll" as described in the following NI support page:
    http://digital.ni.com/public.nsf/3efedde4322fef198​62567740067f3cc/862567530005f09f862569dd007da5f0?O​penDocument
    Best of Luck,
    -Jim

  • Troubles with Agilent gpib/usb interface

    I have a problem to use Agilent 82357A gpib/usb interface with NI VISA (os Win98). I have Visa3.0.1. I did all what is written in file niinfo.htm, which containes some advices for running the agilent gpib/usb card with NI software(it is in directory prog. files\agilent\IO Libraries\readme\trouble\) and I also tried most of advices written on the web pages of ni.com. In MAX3 I can only see "miscellaous VISA resources". When I run NIVISAAIC, I can communicate with interface as well as with instrument attached to it. When I close nivisaaic, it returns arror message, that program performed unauthorised operation in module agvisa32.dll. It indicate that trouble is between libraries of NI and Agilent. I tried to install agilent gpib/u
    sb driver in many ways, only SICL, or SICL + agilent visa (secondary, side by side), but nothing works. When I run Getting started wizard in run-programs-national instruments-Ni.488.2, it detects no gpib hardware, even MAX indicates some "miscellaous VISA resources". Is there somebody with experiences how to solve this problem.? Thanks

    1. I have tried method 1 in that KB you have adviced me. I uninstalled Ni-Visa and instaled HP-Visa (is not clear from the KB description, if HP should be primary or secondary, side-by side. I tried both configurations). Of course MAX does not find gpib board in any case. To solve this problem in the KB is written "you must right-click on the control or constant and select "Allow Undefined Names." In this step I stopped, because in the MAX I did not find where this "constant or control" is. I tried to do right-click on "devices and interfaces", but only "Create new..." menu appears. The right-click on anything in the MAX does not open the menu which contains "Allow undefined names". Can you please, specify where this right-click should be done to allow undefined names and to continue with method1 to reach the goal of using LV for data aquisition.
    2. Then I tried method 2 from the KB. I have uninstalled HP-visa; HP-SICL and Ni-Visa3.0 is installed, NiVisaTulip.dll passport is allowed and F5 refresh made. In MAX in the section Devices and Interfaces I can see "? Miscellaneous VISA resources" with "GPIB1::22::Instr" (it is for one device with address 22). Instead of "? Miscellaneous VISA resources" I expected, there will be written something like GPIB1(USB-GPIB). In this point I have few questions.
    a) Is it correct if there is only "? Miscellaneous visa resources"?
    b) If I configure usb/gpib card with Agilent config. utility to SICL name gpibn and visa name gpibn, where n is some integer, MAX shows everytime gpib1. There is only one gpib card installed in the PC, so I expect there will be gpib0 in the MAX.
    Now, when I run nivisaic, I can see gpib interface named gpibn with gpibn::22::instr. I can communicate through this interface to the instrument in the session opened by double-click on the resource. In the Nivisaic there is also another interface marked as unknown-gpibn::intfc and gpibn::servant. I cannot communicate with this interface. When I install HP SICL with HP visa as secondary, side-by-side, this "unknown gpib" disappears. Then nivisaic seems to be OK(but MAX still shows "? miscellaneous visa resources"),the status of each operation in NI Spy is succesfull. I think I did everything required in method 2 of KB but, I cannot perform any data aquisition by LabView. Are there further thinks to do for starting data aquisiton? Thanks for any advices.

  • I would like to know a question regarding interfacing with a Yokogowa WT130 utilizing a NI GPIB-USB-HS is possible in Dasy Lab

    I have a Yokogowa WT130 power analyzer and I would like to use this to communicate to DASY Lab. The Yokogowa utilizes IEEE 488 communication and I was thinking of using the NI GPIB-USB-HS to connect the Yokogowa to the computer. I do know that DASY Lab is capable of utilizing IEEE 488 but I am confused on if I would neede a seperate driver for the Yokogowa or if the driver for the NI GPIB-USB-HS would allow communication. Any feedback would be greatly appreciated.

    backhausr1,
    I would recommend asking this in the DASYLab forum, which can be found here: http://forums.ni.com/t5/DASYLab/bd-p/50
    You will likely get better and more prompt assistance.
    Christopher S. | Applications Engineer
    Certified LabVIEW Developer
    "If in doubt... flat out." - Colin McRae

  • New to instrument control: attempting control of E5062A with GPIB cable and C program

    Hey everyone!
    I'm lost as where to start controlling an instrument we have in the lab.
    I'll give you my setup:
    It is a VNA, agilent/keysight E5062A.
    Controller is a desktop server running RHEL 5.
    I have a GPIB Cable.
    Program needs to be written into C so that it can be incorporated into the test program we are using.
    I have the programmers manual but it doesn't tell me much on how to start. It does tell me how to set the instrument(E5062A) gpib address. 
    I've also gathered that i will need some sort of I/O library, VISA or SCPI?
    Thank you for taking the time to read this!
    programmers manual link, take a look at chapter two
    http://anlage.umd.edu/Microwave%20Measurements%20for%20Personal%20Web%20Site/E5062A_Programmers_Guid...

    Do you also have a GPIB controller such as NI's USB-GPIB? Acable by itself its worthless. A better choice would probably have been the instrument with a USB or Ethernet connection, but no matter, the communication is the same.
    With the NI controller, you first install the NI-488.2 driver and then NI-VISA. VISA is an api that abstracts the actual physical connection. Code for a GPIB connection will run unmodified of you change to USB or Ethernet. When you install the drivers you are also given the option to install example code that should help you get started.
    An instrument driver for it is available at http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=FE17565E9D861AB5E0340003BA7CCD...
    Read about what an instrument driver is and how to use one at http://www.ni.com/downloads/instrument-drivers/
    Keysight might also have a driver. Check there as well.
    P.S. SCPI is the instrument's programming language. It's built-in as the manual makes clear.

  • Questions about setting up my network with my Mac Pro?

    I'm trying to set up my network with my Mac Pro. I have two other roommates that need internet and a printer that we all need to access. The modem is with my Mac Pro in room 1, the printer is with another PC in room 2, and another PC with wifi is in room 3. What is the best way to connect all these.
    My idea was to install an Airport card in my Mac Pro, then add an Airport Express station w/airtunes to room 2, to connect the PC and printer. That way, room 3 can access with wifi, and room 2 can physically plug into the Airport Express station. Problem with that is that the Airport Express Card must be professionally installed in my Mac Pro and that $80+ charge on top of the Airport Express and Aiport Card itself, turns this into a $200+ endeavor.
    I also have a wireless Linksys router and Linksys WiFi USB receiver. Anybody have any other ideas?
    Mac Pro   Mac OS X (10.4.9)  

    Your plan wouldn't work anyway. The Mac Pro can not create a WDS compatible wireless network. Therefore the AirPort Express (AX) can not use WDS to wirelessly join the network. Therefore the AX's Ethernet port will not be activated.
    The best solution is to buy an inexpensive wireless router [or the AirPort Extreme base station (AEBS)]. Connect the Mac Pro via Ethernet to the router. Add a wireless adapter to the PC in room 2. Therefore the PCs will connect wirelessly while the Mac Pro connects via Ethernet.

  • I have home videos from a Sony DCR-HC20 and am trying to get them onto my IMac in itunes or imovie and I have it plugged in with a USB and don't know where it is or what to do next.

    I have home videos from a Sony DCR-HC20 and am trying to get them onto my IMac in itunes or imovie and I have it plugged in with a USB and don't know where it is or what to do next.

    Hello, not certain, but turn the Camera onto Play if it has such a setting, does it show up in iMovie then?

  • Is is possible to access channels from a CAN database in labview with NI USB 8473s

    Hello,
    I would like to know whether is possible to access a CAN database, which is uploaded through MAX, in labview.
    More specifically, I have uploaded my CAN database in MAX and I want to have access to each specific channel in labview.
    i.e according to picture, I would like to have access  to n_Motor_InsRpm channel of E1_L0_1 (motor speed) in Labview, so I can set and transmit a speed value through CAN. Could that be possible with NI USB 8473 s? If yes, is there any simple example in Labview ?
    Thanks for your Help
    Charis
    Solved!
    Go to Solution.
    Attachments:
    CANdb.jpg ‏11 KB

    There are several ways to get database information without needing hardware. Here is one I did a while ago.
    https://decibel.ni.com/content/docs/DOC-39793
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Volume control buttons not working with new usb keyboard

    Hi all,
    I recently replaced the bluetooth keyboard that came with my iMac with the usb keyboard (the long aluminium one, with the number block). Typing is no problem, but the volume control keys dont seem to work with this keyboard as I was used to with the bluetooth keyboard: max vol, increase/decrease and vol. off dont operate with any of the keys (f, alt, str, cmd, shift). Only thing I can do is get a view of the running programs or make the current application vanish from the screen.
    Tried to change the keyboard setting in preferences for the F1-12 keys - made no change.
    help is very much appreciated.
    Thanks

    I was able to fix this bug by upgrading to OS X 10.6.8.
    Very strange that a) it was a problem in the first place and b) that the upgrade did not happen automatically
    Thanks very much to Haggibbor, who alerted me to that possibility. Since I read this in a thread I did not open myself, I unfortunately do not know how to let him have the 10 points I would like him to receive. (Hints for this newbie are very welcome.)
    Problem of volume control keys is now solved.

  • GPIB-USB-B device not recognized by Windows XP

    I am using an HP Compaq nx9010 notebook with Windows XP Pro. When I plug in the the GPIB-USB-B, I get an error message telling me that 'The Device has not been Recognized'. I hjave followed all the instructions and have updated the bios and drivers of the notebook, but to no avail. I have uninstalled and reinstaleld the drivers several times to no effect. I have also tried running the device on an older Windows 98 PC, but the interface is not recognized there either! Is it broken?

    Hi Andrew,
    It's Pete from NIUK Tech. support department here. From what you've described it does sound like there may be something wrong with your product.
    Firstly, I would just like to make a couple of checks to make sure. If it is broken, we can then organise for it to be repaired/replaced.
    1. Has the GPIB-USB-B ever been working. i.e. how long have you had it, was it working when you got and has since stopped working or has it never worked.
    2. Are you plugging in the GPIB-USB-B before the computer is switched on. This shouldn't actually matter as it is a plug and play device. It would just be useful to know if it works when you switch the computer on with the device plugged in.
    3. I know you've tried it on a couple of computers with differen
    t operating systems, have you also tried different USB plug and play devices on the same USB port as your plugging this device into.
    These questions are just to cover all the bases before we send it back to the factory for repair. If we do need to RMA the device then I will need to speak to you in person to get some more details. If and when this is needed, it would probably be easier for you to either give me your e-mail address or phone into the department and ask for me.
    Anyway, if you get back to me with the answers to these questions then we can carry on from there.
    Best regards,
    Peter H
    Applications Engineer.
    National Instruments.

Maybe you are looking for