Using GPIB device in LABVIEW 5.1

I am using labview 5.1 in windows 98. I wish to use the GPIB bus to control My HP 33120a signal generator. I am having the following problems.
I cannot use the send data control to activate this device and it blinks. I also want to know if it is possible to write a program in labview that will control the frequency output in real time.

Have you tried to download LabVIEW GPIB drivers for that instrument? follow this link, and you'll have the oportunity of doing almost anything and have a good start point.
http://zone.ni.com/idnet97.nsf/9b2b33e1993d8777862​56436006ec498/2a9b82d24c3c6e91862568ab005fbc82?Ope​nDocument
Hope this helps

Similar Messages

  • Is it possible (and as easy as for GPIB) to develop labview drivers for USB devices?

    I dont want to use GPIB at all, just USB.
    Thank you in advance.

    The best way to call your USB device would be through your USB driver. The third party device vendor should provide a driver (dll) that can be called from LabVIEW using Call Library Node.
    Chris D
    Applications Engineer
    National Instruments

  • Working with Agilent Infiniium 54830B DSO and Labview: Why is the GPIB device not displayed in MAX?

    Hi,
    I want to use Labview to access Agilent 54830b scope, but the GPIB device is not shown in Agilent Connection Expert or in Measurement & Automation Explorer (MAX).
    In Agilent Connection Expert (Version 16.2.15825.0) the GPIB0 Interface is displayed, but no Instrument is shown.  In MAX (Version 4.6.1f,0) it is the same problem. The GPIB0::INTFC is shown under Miscellenous VISA resources, but no Instrument is shown.
    I installed the driver for the agilent and tried to get an answer of the GPIB device with an Initialize.vi of Lab View but it is always shown an error.
    Can anyone help me?

    c-harlie57 wrote:But I have to see the device without cable, haven't I?
    What?  Your instrument has to be connected in order for MAX to find it.  So, yes, you need the cable to connect between the instrument and your computer.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Creating LabView application for VME-GPIB device

    I am trying to learn how to create software for controlling GPIB devices attached to the VME-GPIB board. One application would be for a setup where Labview is the software used. Another is a real-time system developed with VxWorks.
    It seems to me, that in order to be able to create such a LabView application I need detailed information on the VME-GPIB VME memory layout and definitions of all of its registers. Am I right assuming that? Suppose that I am right, where can I get such detail information on the VME properties of the VME-GPIB device?
    I found such a document for the GPIB-1014 device, which seems to be a precursor to the VME-GPIB device.
    Am I correct assuming that such manual would also be essential for writing VxWorks software as well?
    Thanks in advance,
    Zen

    Zen,
    I have received your support email regarding this issue and currently working on getting you the needed information. I will contact you when it is ready.

  • I/O instrument assistant can't be used for GPIB device

    I use LabVIEW and installed the newest driver of NI-DAQ7.4. Because the driver don't include GPIB488.2 driver,
    so I installed GPIB488.2 driver to use GPIB-USB-B device. But I can't open I/O Instrument assistant in Labview. I can find the device and use it correctly in MAX.
    what's the reasons? please tell me ,thank you!

    Hi Kevin-
    I do in fact use NI-DAQ 7.4, but it is unrelated to the Instrument I/O Assistant. The Instrument I/O Assistant is a component that is used either with GPIB (NI-488.2) or NI-VISA.
    I was seeing the same problems with double-clicking the icon and being unable to open the configuration. I corrected it by using the method described in the KB I linked in my previous post.
    Tom W
    National Instruments

  • Buying used GPIB/ENET100 card. What software must have with it. Have LABView 7

    Buying used GPIB/ENET100 card. What software must have with it to configure and use. Have LABView 7

    Actually, I believe the drivers that are available on the NI website are licened for upgrades only. If the hardware came with an NI-488.2 driver, you can upgrade that to the latest version with the link above.
    If your purchase did not include a software license (the hardware is sold separately from the hardware due to single- and multi-user license options), you need to purchase a license of NI-488.2.
    http://sine.ni.com/apps/we/nioc.vp?cid=10622〈=US
    The part numbers for the single and multi-user license for Windows are 778598-02 and 778598-01. Other operating systems are listed as well.
    If you have any confusion, you should contact NI to confirm licensing issues.

  • Using gpib-32.dll in Labview 7.0

    Hi there,
    I am relatively new to Labview and I need some help trying to program an old HP3488A switch/control unit using the Call Library Function Node. I would like to convert the existing VB6 code, which uses gpib-32.dll, into Labview. What I have done in the VB code is to call the ibdev function to set up the HP instrument. I would like to do the same in Labview. How would I even go about setting up the .dll files as I am revamping the existing code (running on a Pentium II computer) and trying to create an identical code in Labview (running on a Pentium III computer). Also, after I have set up the .dll files (done any system configurations if necessary), how do I actually implement this file in Labview?
    I have tried calling the ibdev function in the properties of the Call Library Function. I created 6 parameters of return types with ranges of type long. Then I pass integers into the input of this node and when I tried running it I get an error exception within the external code as follows:
    "An exception occured within the external code called by a Call Library Node. This might have corrupted Labview's memory. Save any work to a new location and restart Labview. VI "switch.vi" was stopped at Call Library Function Node 0x1D7C of subVI "switch.vi"
    Can someone please help me? Thanks.

    I actually tried that before. As the HP3488A switch instrument is very old and came out before IEEE488.2 got introduced, it still uses IEEE 488.1, or HPIB commands. When I try using MAX or even my Agilent IO Control, it shows that there is an instrument connect to GPIB address 10, but neither programs can auto-identify the instrument using the *IDN? query. Even so, I tried typing ID? in both programs and I got no data back from the instrument. I'm not too sure as to what the problem is since I always get "\n" back from the instrument's reply. I even tried changing the termination character enable to TRUE and I still got nothing back.
    However, on the front local display of the switch, I can see arrow indicators moving between TALK and LISTEN whenever I perform a write or write/read command. But no data gets sent or received because I couldn't perform any write commands to change the switch. If anyone can tell me what the real problem is that would be great. But if not, then I will have to use the Call Library Node because I know that my VB6 code actually works on the HPIB instrument and I could simply use this gpib-32.dll file on Labview and perform the same instructions, which should allow me to talk to the switch. Can anyone tell me how to properly set up a Call Library Function Node as I have errors using the gpib-32.dll file (please see my previous message)?

  • I'm new to the LabView. How do I pass data from VI configured using Serial (CMTS using CLI commands to set Parameters ) to VI configured using GPIB(vecto​r signal analyzer ) to measure such as RF frequency or power on the instrument​? Thanks

    I'm new to the LabView. How do I pass data from VI configured using Serial (CMTS using CLI commands to set Parameters ) to VI configured using GPIB(vector signal analyzer ) to measure such as RF frequency or power on the instrument?
    I just want to set something on the front panel that will execute the Serial parameters first and then pass these settings to vector signal analyzer
    Thanks
    Phong

    You transfer data with wires.
    Frankly, I'm a little confused by your question. I can't think of any reason why you would want to pass serial parameters (i.e. baud rate, parity) to a GPIB instrument. Please explain with further detail and attach the code.

  • How can I use USB interface in Labview?

    Hi.
    Does labview allow to USB interface?
    I have been seen allowing GPIB and RS232.
    I'm beginer at Labview and wanna use USB interface for my target system and pc.
    I wanna know how to labview interfaces from target system to pc.
    And if Labview doesn't provide USB interface module, how can I use USB?
    Is using a USB at Labview hard to beginer?
    Plz, answer to my quetion.
    sorry, my English is very poor.
    thx for reading my article.

    You can access devices connected to the USB port, but not in the same way as you would a GPIB or RS232 device. There are no USB drivers like there is VISA for GPIB or serial. Rather devices that plug into the USB appear to the systen as some sort of standard resource like a printer, disk drive or IO board. LabVIEW then interacts with these devices as it would any other device of the same type.Look at it this way, if you have a USB daq device you will access it through MAX the same as if it were a plugin card. Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Why can't I communicate with both of my GPIB devices?

    I have 1 NI PCI GPIB board in my computer
    I have 2 identical devices (keithley 237) connected one at address 15 one at address 16
    and 2 different programs one program to connect with 15 and 1 to connect with 16
    after I tell the 1st labview program to communicate with 15 then I tell the 2nd labview program to communicate with 16. then both communications come back with error device timeout. one at a time, I can communicate find with either device.
    Why can't I communicate with two different GPIB devices at the same time?

    Hi mrutter,
    first I would try some other addresses, e.g. 5 and 11. 15, 16 could be
    a special address used by the controller.
    Are there any other devices on the GPIB? If so then there could be
    another instrument with the same ID. Do both (or all) devices show in
    MAX, and can you communicate with them in MAX (e.g. query a *IDN? )
    And are you sure that you *have* setup the correct addresses in the
    Keithley instruments (look in the manuals if you don't know how to
    change their addresses)? Some Keithley instrument are in local mode by
    default, and you must explicitely set them in GPIB mode.
    Sometimes, GPIB message termination can be an issue (although both the
    GPIB cards and the instruments seem to get more tolerant of this).
    Also, you must be very careful not to mix different versions of
    LabView drivers and LabView version. I once had three different
    LabView versions on a PC, it was terrible. We had to format the
    harddisk and start afresh since we couldn't remove all of the older
    versions.
    I first try all GPIB instruments in MAX. If all devices appear there,
    and I can query commands in MAX, then I usually write my own LabView
    drivers with the standard GPIB-read and -write VIs. I write them with
    my oldest LabView version (say 5.1), then I am sure they will work
    with all versions up to 7.1
    Actually I once had a project where *no* GPIB instrument worked 100%.
    We could never really find out what was the problem (it was probably a
    bad PC <-> Win98 <-> GPIB card <-> LabView 5.1 constellation).
    Good luck.
    Johannes
    On Fri, 12 Nov 2004 13:49:31 -0600 (CST), "mrutter@contech"
    wrote:
    >I have 1 NI PCI GPIB board in my computer
    >I have 2 identical devices (keithley 237) connected one at address 15
    >one at address 16
    >and 2 different programs one program to connect with 15 and 1 to
    >connect with 16
    >after I tell the 1st labview program to communicate with 15 then I
    >tell the 2nd labview program to communicate with 16. then both
    >communications come back with error device timeout. one at a time, I
    >can communicate find with either device.
    >
    >Why can't I communicate with two different GPIB devices at the same
    >time?

  • Problems with GPIB devices

    When running my program to control a measurement, everything works fine.
    The program can communicate with all the GPIB devices. When I start
    the program again (without rebooting Win2K), from time to time it
    refuses to communicate with the GPIB units. Now I found out it helps
    to start MAX2.2 (Measurement & Automation Explorer) and to scan the GPIB
    bus. MAX identifies all devices without problems and my LabVIEW program
    also runs fine now...
    So why do I have to call MAX to have my LabVIEW program have a communication
    via GPIB?

    [email protected] (Gerd W.) wrote in message news:<[email protected]​com>...
    > When running my program to control a measurement, everything works fine.
    > The program can communicate with all the GPIB devices. When I start
    > the program again (without rebooting Win2K), from time to time it
    > refuses to communicate with the GPIB units. Now I found out it helps
    > to start MAX2.2 (Measurement & Automation Explorer) and to scan the GPIB
    > bus. MAX identifies all devices without problems and my LabVIEW program
    > also runs fine now...
    > So why do I have to call MAX to have my LabVIEW program have a communication
    > via GPIB?
    Do you use VISA or regular GPIB functions? If use VISA, you may have
    to close it properly when your software exit, oth
    erwise the resources
    may be locked up. And by using MAX somehow the resources is freed by
    it after it's operation.
    Irene
    www.geocities.com/irene_he

  • I cant find my GPIB device in the VISA resources list

    Hi,
    I am using Labview 8.5.1. I am trying to program my Agilent multimeter with Labview. I have downloaded the drivers for the model. HOwever, I dont see the device on the VISA resources list. All I see is COM, LPT1 and refresh. Is there a solution for this?
    Regards,
    Wiki

    Hi r31415smith,
    There maybe a little of confusion here but, I believe when communicating with a GPIB device you would want to use VISA commands and when you are looking to communicate over the serial port you use the VISA-Serial commands.  The Basic Serial Write and Read.vi is looking specifically for a serial port.  
    If you downloaded the keithley drivers from here and installed them using the directions from here.  Then there should be Keithley examples installed on your computer.  If you open Labview 2010 and navigate to Help > Find Instrument Drivers.  A dialog will open up and show you the installed instruments.  Then, if you click on Keithley 24xx it will show you example files for communicating with your instrument.
    I think that if the Basic Serial Read Write had worked in the 8.5 the example file may have been change to only work with a visa serial instead of general VISA.  
    Hopefully this has helped you out and shed some light on what is going on. 
    Regards,
    Mike Altmann
    LabVIEW Platform PSE
    National Instruments

  • Is there a way to communicate with a GPIB device and receive the response?

    Does anyone know if there's a function that I can use to issue a command to an instrument such as a query on its status and receive its response. I've tried GPIB Write, but it just writes the command and doesn't receive the automatic response. If I use a GPIB Read right after the GPIB Write, it doesn't work! I think I'm looking for a function that sends the command to the GPIB device and then waits for the response and is capable of outputing it. Thanks for any help!
    - Jon

    I know what commands to send, I just don't know what function or vi or whatever in LabView to use in order to receive the response right after I send the command. For instance, I want to know what count the counter is currently on, and so I send the command "NN" to the counter, which tells me what count it's currently counting on. I can send the command, I just don't know how to retrieve the information of what count it's on because I don't know how to send a command and receive the response that the counter is prompted to send immediately after. Thanks for the help though!
    - Jon

  • Data logging with gpib device

    I have a lock-in amp controlled by labview via gpib. My goal is to use the
    "advanced data logger" supplied with labview to log data from a daq card
    and the output from the lock-in amp. I have the lock-in vi working correctly
    and have the output on the screen. I don't know how to get the pre-packaged
    "advanced data logger" to read in data from the gpib device. I can only
    read in data from my daq card.
    Any assistance in this matter would be appreciated.

    1.  An OR function should work just fine for you.  I don't understand what you mean that the functionality changed.  If the reset button is true OR the Trip button is true, then a True gets put in the notifier and the Trip file functions are executed.
    I don't understand your "Scale".  Right now you have a zero if the button is true and 100 if it is false.  You don't have anything else going on with it.  I don't understand the stay at zero part.  How would it ever get to the point where it isn't zero.
    2.  For the main log file, you could detect when 43200 iterations of the loop have passed and at that time, just reset the writing to the beginning of the file.
    See attached.
    Attachments:
    Save_Previous_10_SecondsMOD3.vi ‏27 KB

  • How can i use multi threading in labview?

    i want to run a Digital storage oscilloscope and an energ ratio meter simultaneously using labview. i am using GPIB interfacing and windows XP. how can i do this using multi threading. Bot the instruments shd run and give data at the same time.

    You can't do this - at least not with a single GPIB board. It has nothing to do with threading or LabVIEW. There can only be one talker at a time over the bus. Depending on the instruments, you could probably set them up to take measurements simultaneously but you have to sequentially poll them to get the data.

Maybe you are looking for

  • Dowloading an XML file from Website through FUSION middleware(BPEL/ADAPTER)

    Hi, I want to dowload an xml file from one website through BPEL. I am using jdeveloper10.1.3.3 to create a BPEL process and Adapters. Is there any way to download the xml file from the site through FUSION middleware

  • Premiere elements 7 error while playing text animation

    I installed premiere elements 7 on my 64 bit windows 7 os. Everything has worked fine so far except when I play a clip that involves text animation. It starts to play then freezes. A box pops up and says "Adobe Premiere Elements.exe has stopped worki

  • Error Message...what to do?

    When I try to open my newly purchased and installed CS6 I get the following error message.... The procedure entry point GetLogicalProcessorInformation could not be located in the dynamic link library KERNEL32.dll Anyone know the fix?  I've tried to c

  • How to go down the class tree

    For example, I want to know what are subclasses of class Animal (here Dog, Cat) ? class Animal { class Dog extends Animal{ class Cat extends Animal { Java reflection has a method to go up the tree getSuperClass(). How can I go down the tree ? If ther

  • Mirroring FCPX Fullscreen doesn't work properly in Mountain Lion

    I am a High School Video Teacher and I moved from FCP7 to FCPX last year and upgraded to Mountain Lion this year. As a teacher, I mirror my Apple on a projector so the class can see whatever I do. The problem I am having is when I Play a clip or proj