HP 54601A oscilloscope using a GPIB in VB

I am wondering if anyone can help me with this, I want to create a pieace of code to commuicate with this oscilloscope using a gpib card in VB,
 any help appreciated. I know my equipement is npt national instruments right now but we are gona be putting it into nstionsl instruments equipement as well and this site is always helpful. ask any questions and il try develop on it,
thanks.

Hello,
Take a look at these KnowledgeBase articles.
Where is the .NET GPIB Language Interface?
VISA and GPIB Application Development Using C# or VB.NET
Tom | NIUK

Similar Messages

  • How can I use a GPIB and AT-MIO-16L with a common NI-DAQ?

    I'm using a GPIB card for recording data and a AT-MIO-16L for sending an analog output to my instrument. Earlier, both the devices (GPIB and AT-MIO-16L) were running correctly. Until I reformated my hard disk. Now I'm trying to install NI-DAQ 6.1.1 for AT-MIO-16L but that doesn't detect my GPIB card. On the other hand if I use NI 488.2 along with MAX 1.7 or MAX 2.2, I'm unable to use AT-MIO-16L. Is there a way I could get both my devices running on a common platform?

    NI-DAQ is not supposed to detect your GPIB and NI-488 software will not detect your daq board. When you installed MAX, was this from a LabVIEW driver install CD that also put a new version of NI-DAQ on your pc. Open MAX and check your currently installed versions of NI-DAQ and NI-488. They should both be listed. If you have a new version of NI-DAQ than 6.1, you can uninstall the newer version and install 6.1.

  • GAIN PHASE Data collection from HP4194 using a GPIB card?

    I'm trying to collect gain and phase data on a HP4194 using a GPIB card. I'd like to collect this data and run it to an MS Excel spreadsheet. Does any one have any VI's that do this??? So far, I haven't been able to find any commands that read each of the 401 elements to labview.
    HERE'S AN EXAMPLE OF DATA I WANT TO READ:
    http://www.tec.ufl.edu/~shailu/labview/4194a/4-pt/505/II/archive/pxfn1.txt
    Please email me at [email protected], if you have a solution. Thanks.

    That sounds like a bit of LabVIEW coding. Here's some resource that will help:
    -The instrument driver for this device is available at ni.com/idnet.
    -LabVIEW has a WriteToSpreadSheet.vi on the File I/O function pallete.
    -The Programmer's Reference for the 4194 gives the strings to send of the GPIB bus.
    Randy Solomonson
    Application Engineer
    National Instruments

  • Can't see boards in a VXI chassis connected via VXI-MXI-2 cards using a GPIB-USB adapter

    I'm working on a system that has two VXI enclosures, and the two are bridged via VXI-MXI-2 boards in each of them.  The first one has a GPIB-VXI board in slot 0, and I have a Winodows XP computer connected to that with a GPIB-USB-HS adapter.  The problem is that I cannot see any of the boards in the second chassis over GPIB in the Measurement & Automation Explorer.  As far as I can tell, everything is configured correctly; the VXI-MXI-2 board in the first chassis is in the last slot and has a logical address of 126, and the VXI-MXI-2 board in the second chassis is in slot 0 and has a logical address of 127.  To make things even more confusing, if I put a VXI PC in slot 0 of the first chassis, it seems to see everything without any problems.  Do you have any idea why this might be happening?  I'm pretty new to working with these systems, so I might be missing something obvious.  Thanks in advance.

    Nevermind that -- I just discovered that you can't bridge two VXI chassis with VXI-MXI-2 boards if you're using a GPIB-VXI board as the controller.  So, I'll just have to find another way to accomplish what I need to do.

  • Gpib GET command using the GPIB ActiveX Control

    Is there a way to trigger multiple instruments via the gpib 'GET' command using the GPIB activeX control for Visual Basic?

    Hello,
    I'm a bit confused as to what GET command you are trying to use. Where is this command located? Also, what are you trying to accomplish through use of this function?
    GPIB can control multiple instruments through the activeX control for Visual Basic. More information about specific commands can be found in the help files. On your Desktop, click [Start]>>[All Programs]>>[National Instruments]>>[NI 488.2]>>[NI 488.2 Help]. Now, under the "Contents" tab, click [Contents]>>[Multiple Device NI-488.2 Calls]. A list of multiple device function calls can now be referenced for help in performing your desired action within Visual Basic.
    I hope this helps. Please let me know if I can further assist you.
    Best Regards,
    Joe Des Rosier
    National Instrument
    s

  • Using NI GPIB-232CT​-A

    I have a 'scope that has a GPIB output but as far as I know it doesn't
    have GPIB Controller capability. I want to print from the 'scope to a
    serial printer using a GPIB-232CT-A converter. Does anybody know if
    the 232CT-A can be configured so I can simply print from the 'scope to
    the serial printer?
    I tried to figure out from NI's website how to contact their support
    staff with this question but finally gave up in frustration!
    Thanks,
    Mike

    Hi,
    Actually, I just replied to the email you send to the tech support department. I'm going to copy the email, in case you don't receive it. I'd also like to see if anyone has any other solution or alternative.
    "Unfortunately, you cannot have this setup. There has to be a controller in the bus.
    I assume that the printer does not have a GPIB interface, which means that it must be connected to the serial port of the GPIB-232CT. The device would operate in G mode. The computer would need a GPIB interface to control the bus. In this configuration, the controller could address the scope as talker and the printer as listener, and let them do the data transfer. In this situation, the controller (PC) is not part of the comunication, but it is needed to
    arbitrate the bus.
    Another option is to use the two rs-232 of the PC. One would connect to the GPIB-232CT, which would operates in S mode. The GPIB port would connect to the scope. Through this path the scope would transfer data to the PC. The other port can be used to transfer the data to printer. With this setup, you wouldn't need an extra GPIB interface for the PC. You would need to program the application that would arbitrate the communication and the data transfer between the device. Depending on how the instruments would communicate, this application can be fairly simple.
    Hope this helps. Let me know if you have any questions.
    DiegoF
    National Instruments

  • Hi, Cannot communicate with other instrument devices (Using AT-GPIB card)

    Using AT-GPIB card to communicate with instruments that the running program is in C. After installed 488.2 software and test Hardware Diagnostic Test and Software Diagnostic Test. Everything is OK but after I run execute file the errors appeared. They displayed "GPIB cannot find Amplifier,or Unidex". My main task is transfer the AT-GPIB card from PC 386 to PC windows 98. Please help me to solve these problems. May I still use the old execute file to put in drive C in new PC Wins 98 and run that program. Thanks

    Hi,
    It is hard to say what this could be. Everything tests OK so it is likely that your card is correct. Does MAX detect the instruments? I am not familiar with that error message. Is it the output of some custom program or the driver itself? It seems like it is not a driver level problem, but it is hard to say given the information.
    By "May I still use the old execute file to put in drive C in new PC Wins 98 and run that program" do you mean keep an old application? If yes, then you should be able to use the old applicatoin with teh win98 driver. If you are refering to the driver itself, then no. You will need the windows 98 driver. This can be found at http://www.ni.com/support/gpib/versions.htm
    Hope this helps out.
    Best Regards,
    Aaron K.
    A
    pplication Engineer
    National Instruments

  • How do I use multiple GPIB cards in one computer?

    I have two GPIB cards installed in my computer. One has aprimary address 0 and the other is 1. The card with adress 0 works fine but when I try to communicate with some instrument via the second card, the instructions are not carried out. However MAX ha detected the presence of instruments on both the cards, but it is only that when the second card(address 1) is used the intructions are not carried to the instrument. Please advise on how to select the card while sending an instruction? Or is it that I can use only one card at a time??

    When you say that your commands aren't carried out, could you describe what commands you are sending, and what error is being returned?
    When you say that you cannot communicate with the second instrument, are you using the 488.2 Communicator in MAX?
    Did you make sure that all the settings for the second GPIB board in the properties page are correct?

  • I am using a GPIB card to send a pulse to data logger to control a firing system

    I need to be able to fire my linear accelerator from the computer, by sending a negative pulse and I need to be able to control the pulse duration, and also its voltage, I am using an HP34970A data logger with a HP34907A module.

    The trigger 488.2 command might be of help. Trigger sends the Group Execute Trigger (GET) GPIB message to the device described by address. If address is the constant NOADDR, the GET message is sent to all devices that are currently listen-active on the GPIB.

  • Swapping computers using PCI-GPIB

    Dear Sir/Madam,
    I am currently running a 1998 PCI-GPIB card using Labview 6.i on a Windows 2000 machine. I want to transfer this card onto a machine running Labview 7.1 on Windows XP. Your drivers page indicates that this can be done with the NI-488.2 v 2.2 driver.
    The Windows 2000 PC has a suite of programs that we may need to fall back on if I fail to develop the applications fast enough on the Windows XP PC. Should we need to, is it possible to plug the card back into the Windows 2000 pc and expect it to work? Or does the driver need to be reinstalled in reinitialise the card.
    Thanks as always for your help.
    Paul Donaldson, Imperial College London

    Dear Paul!
    Thank you for choosing National Instruments Support!
    You can safely use the PCI-GPIB card in the Windows XP system with the 2.2 driver and if it needs to be done, you can plug this card back into the Windows 2000 PC and it should work without you having to reinstall the driver (I am assuming you have driver version 1.7 or 2.2 installed). So please feel free to switch back and forth between the two computers!
    Thanks and Regards
    ShekharS
    National Instruments

  • Can I interface a Pocket PC with instruments using a GPIB-PCMCIA card?

    Currently, I am trying to interface a Compaq Pocket PC, iPAQ H3870, with some scientific instruments. I would like to be able to issue commands and gather data from the Pocket PC. Right now, I can create Visual Basic programs to issue the GPIB instrument commands on a computer, compile them, and transfer them to the Pocket PC to run them. But I need to connect the Pocket PC to the scientific instruments.
    I was thinking of getting an expansion pack for the Pocket PC with a PC card slot, and then getting a GPIB-PCMCIA card, but then I realized that I would probably still need a way to connect the GPIB-PCMCIA cable to the Pocket PC or something? Would this in anyway work or would I have to try somethin
    g else? I am not familiar with most of these devices, so my understanding of this is limited, so is it possible to accomplish this and if it is, what devices and cables would I need to do it? Thanks.

    Hey Edward,
    If I have your configuration correct, you should be able to connect the cable that comes with the GPIB PCMCIA card directly to the GPIB card and in affect the Pocket PC expansion slot. (Cable Part Number: National Instruments P/N 182362-02, this is a 2 meter PCMCIA to GPIB Cable)
    This has a special flat connector on one end for the PCMCIA Card. The other end is the standard 488 connector you would find on the back of most test/measurement equipment.
    I believe there is also a serial port version of the GPIB PCMCIA cable. But I dont have that one, so I wont swear to it.
    The other issue raised in your question is the DLL, or interface that you will be using. I havent developed in the Pockect PC environment, and truely havent looked for or at
    any Pocket PC Libraries.
    You may find yourself developing some interface LIBs.
    But I will look around and forward what I find, if anything.

  • Problem with Get the current and voltage from HP Power Supply (HP E3631A), using the GPIB interface.

    my USB device's power support is from the DC Power Supply ( HP E3631A)
    I need to read using current from a DC Power Supply ( HP E3631A),via GPIB interface.
    When I use the follow command.Why can't read the current value.My environment is in vc++ 6.0.
    "APPL P6V,5.0,1.0"
    "OUTP ON"
    "MEAS:CURR? P6V"
    attached the NI SPY File.Please check it.
    Can you tell me what the problem is ??
    Thanks in Advance !
    Hope you can solve my problem !!!"
    Attachments:
    E3631AERR.spy ‏7 KB

    Hi neilchuang,
    A read timeout error is usually caused by an error on the command string sent.
    The first thing I would check is if the instrument requires a termination character at the end of each message (such as linefeed). I noticed in the Spy capture that the commands do not have a termination character attached. This means that the instruments never recognized that you completed the query command, it doesn't execute the requested action and as a consequence of that it doesn't have any data to return.
    One question: Is the instrument detected by MAX when you scan for instruments?. If yes then you can assume that the GPIB software and hardware are properly installed. The scan for instruments sends the *IDN? (terminated by a linefeed). You can right-cli
    ck on the instrument entry in MAX and select "Communicate with instrument". Notice that at the end of the command the linefeed is included (\n).
    Double check with the instrument manual if the commands sent are the right ones.
    Finally, there is an instrument driver available in the idnet library: www.ni.com/idnet. Search for 3631. Since you are working in C you can use the LabWindows/CVI Plug and Play driver. Even if you decide not to use the instrument driver, you can still use it as an excellent reference on how to program with the instrument.
    Hope this helps!.
    DiegoF
    National InstrumentsMessage Edited by Molly K on 02-18-2005 11:05 PM

  • Win2000 Performance using PCI-GPIB and 232CV-A

    A PCI-GPIB device is being used to communicate with a GPIB232CV-A (IEEE to Serial)converter. A current test setup is operational running WinNT without experience long delays in communication to the serial device. Any ideas why Win2000 should perform differently?

    I can't think of any thing that would cause this device to operate faster or slower, by just changing operating systems. It is true that Windows 2000 has a little more over head than NT, but I don't think it would be anything noticable, unless you were maxing out your processor. The GPIB232CV-A should always run the same speed.
    You might want to runs some tests in MAX to verify that the PCI-GPIB device resources are setup correctly. Try to run the NI-488.2 Trouble Shooting Wizard.
    I hope this helps out.
    -Josh

  • How can I acquire trace data from Agilent(HP)8510c Network Analyser in VB6 using PCI-GPIB and NI-488.2.

    I am developing an application in VB6 for measurements with Agilent (HP)8510C network Analyser using NI-488.2 and National Instrument PCI-GPIB card. I want to take data for the whole 51 points. In HPBASIC which used to be employed for this purpose it is done using OUTPDATA command and the data is in a 2-dimensional array. How can I do this in VB6 with the hardware above.
    kapil

    Hi Kapil:
    Please refer to a previous post on the same topic:
    http://forums.ni.com/ni/board/message?board.id=140&message.id=7758#M7758
    Although this is for C++, the basic functionality should be the same. Since OUTPDATA is from a specific instrument driver, your best bet will be comparing it to the instrument drivers mentioned in the previous post.
    Thank you,
    Emilie S.
    National Instruments
    Applications Engineer

  • 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

Maybe you are looking for

  • Error Message when updating billing info

    I need to update my billing info but I'm getting an error message that says the problem is on Adobe's end and I should try again later. Sometimes the loading signal just goes directly to the error message without letting me enter my information first

  • C200 M1 PSU Fan speed varies

    I have a C200 M1 running 1.4(3p), I am noticing some performance issues with this server, it just seems slow.  I went to it physically and you can hear the PSU fans spin up and slow down every few seconds.  Within an SSH to the CIMC I am seeing both

  • Two buttons "Activate" and "Activate and Schedul" in Process Chain

    What are the functionalities of the two picture buttons "Activate" and "Activate and Schedule" in process chain. In which case the "Activate" button should be used and in which case, the "Activate and Schedule" button should be used? If we click the

  • Home scree website shortcuts do not open correctly after ios7 upgrade

    Just upgraded to ios7 now when i tap on a shortcut on my homepage it opens to a google.com and not the shortcut that it did previously. Any help?

  • Quality of black text printing with 7960

    My 7960 does not print black.  It has a blue tint to it.  Ink cartridge has been changed