GPIB communication with GPIB (NI PCMCIA-GPIB)card in Visual Basic

I have a old program in Visual Basic which works fine in windows 98 using the desktop, but using my laptop with windows 2000 on it and NI PCMCIA-GPIB card it fails to communicate and running the program does not recognize the sendIFC command. I am new to VB, so can someone tell me what am I missing here. thanks

Hello,
Is the PCMCIA card recognized by the NI-488.2 driver on your laptop? Are you able to communicate from Measurement and Automation with your instrument? What do you mean it does not recognize the sendIFC command? Does Visual Basic give you a runtime or a compile time error? Are you using the latest version of the driver? (Usually 2.1 unless you're on 95 or NT with your card)
You can try out the Visual Basic language examples in the 488.2 directory under Languages as these will let you know whether or not the driver is installed correctly.
Let me know if you need more assistance by replying here.
Scott B.
Applications Engineer
National Instruments

Similar Messages

  • How do I read in from a Lab-PC+ card using Visual Basic?

    I have a Lab-PC+ card installed and hooked up to a number of pressure trasnducers etc. I want to read the data in using VB but I've heard that VB cannot interface to I/O without some extraq bits of software.

    While your data acquisition programming in Visual Basic will be easier and faster with our Measurement Studio product, you are not restricted to using it. You can simply make calls into the NI-DAQ driver DLL. Take a look at the first Knowledge Base article I have linked below for information on installing NI-DAQ examples for VB. You will be interested in the second paragraph which describes how to install examples from the driver.
    How Do I Install the DAQ Example Programs for VB and VC?
    http://digital.ni.com/public.nsf/websearch/67B97D1BADB40A4186256C7500770847?OpenDocument
    As for the API into the driver DLL, you will need the NI-DAQ Function Reference Manual, which I have also linked below.
    NI-DAQ Function Reference Manual for PC Compati
    bles
    http://digital.ni.com/manuals.nsf/websearch/1630A0B68738B269862567C1007A2912?OpenDocument&node=132100_US
    Regards,
    Justin Britten
    Applications Engineer
    National Instruments

  • How can i write a pattern to a output port of NI PCI 6503 with Traditional NI DAQ 7.0 and Visual Basic 6.0?

    Hello, i'm using a NI PCI-6503 (with CB50LP accesory) to write digital patterns to one of the output ports. Can i do it directly from NIDAQ7.0?
    I know  some Visual Basic 6.0 functions to configure a par as output and to write a pattern to a port, but i don't know how run it.
    I've read some examples from "Help" (C:\Program Files\National Instruments\NI-DAQ\Examples\VBasic\Do) but I can't measuring TTL levels on my CB50LP accesory.
                    Thanks!!

    Hello,
    What is your buffer size ? The buffer should be 0 or greater than 2. You can get this error if your buffer size is equal to 1.
    Regards,
    Isabelle
    National Instruments France
    Isabelle
    Ingénieur d'applications
    National Instruments France

  • GPIB Communication with Lakeshore VSM

    Hello, I am trying to communicate via GPIB to a Lakeshore 7300 VSM. I am using NI-VISA to send commands for testing communication in real time. Unfortunately, none of the commands I send are working. I have tried querying with *IDN?, but the response always times out. Any help or documents on how to use GPIB to communicate with this device would be very much appreciated. Also, if someone could provide an example command with exact syntax to use in VISA for testing purposes, that would be very helpful as well. Thank you in advance!

    You just need to concatinate an End Of Line constant.  In the example below, notice that the botton string constant has the display set to '\ codes'
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Attachments:
    Termination Character.png ‏10 KB

  • I'm using the cw gpib control with several

    intruments. Is there a way to find the
    number of listeners and their addresses using the controls, or
    do i have to make calls using the gpib api library?

    You have to make calls to the GPIB API to do bus commands like FindLstn, etc. The ActiveX control is designed for communicating with GPIB devices, not managing the GPIB bus. There is an example that ships with the NI-488.2 driver for Visual Basic called Query4882 that can show you how to use FindLstn from the driver API.
    Best Regards,
    Chris Matthews
    Measurement Studio Support Manager

  • Is there anyone with ISL3890 PCMCIA wlan card? Terribly slow.

    Hi!
    Is there anyone with an ISL3890 PCMCIA wlan card? For me the highest transfer rate I can get is around 50 kB which is terribly slow (WAN & LAN). What can be the cause? Iwconfig says it is set to 54Mb.

    Hi
    This behavior can occur if the service is disabled or if the service is disabled for the hardware profile that you are currently using.
    To enable the service do this:
    1. Click Start, point to Programs, point to Administrative Tools, and then click Services.
    2. Double-click the service that did not start.
    3. Click the Log On tab.
    4. Verify that the service has not been disabled for the hardware profile that you are using. If it has, click Enable.
    5. Click the General tab. Verify that the service has not been disabled in the Startup Type box. If it has, click Automatic to have it start when you start the computer.
    This was described here in the MS knowledge base article
    http://support.microsoft.com/kb/241584

  • Will an apication that requests the d2k-dask.dll work with a daq-mx 6036e card?

    I have an aplication in labview 6.0 that does not run because there is a missing dll file. It worked well with another daq card, under the same version of the labview. I culdn't find the dll yet. Even if I can find it, I wonder if will it work with my daq card. Any help is welcome. Thanks.

    After doing a Google search, it appears that the dsk-dask DLL is for use in communicating with ADLINK's data acquisition cards, not National Instruments' Multifunction DAQ devices. The NI PCI-6036E is compatible with NI-DAQmx 7.5 as well as Traditional NI-DAQ 7.4 drivers, so you will want to use one of those drivers to communicate with your NI PCI-6036E.
    Hope this helps!
    Michael P
    National Instruments
    Michael P
    National Instruments

  • Undocumented problem solved with 16-bit pcmcia and irq error

    I am having the exact same problem as described in the following post:
    "Undocumented problem solved with 16-bit pcmcia and irq error."
    "I'm using a DAQ Card (AI-16E-4), which didn't work properly in MAX. MAX complained that the card didn't respond to an interrupt request.
    I've had this issue for a while, but dropped it, since NI support told me nothing could be done about it. Meanwhile, a seemingly unrelated problem with a wireless pcmcia network card arose. Cisco had no clue what was wrong with their card either, but I found Microsoft Knowledge Base Article Q327947. It seems that Win2k (they claim SP3 and up) disables ISA to PCI routing, which is what causes this problem.
    To fix it, open regedit
    and navigate to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Pcmcia\Parameters"
    edit or create the DWORD value "DisableIsaToPciRouting" and set the value data to 0.
    See Microsoft's article for further details: http://support.microsoft.com/default. aspx?scid=kb;en-us;327947"
    The difference is that I am using WinXP and the Regedit fix does not solve the problem. Does anybody know how he was able to continue to use the card before he solved the problem? The card works fine in MAX, but errors out in LabVIEW.

    Hey Willy,
    Here some additional suggestions that have corrected some PCMCIA difficulties in the past besides the registry edit you suggested.
    1. General Troubleshooting to Verify Correct Hardware and Software Installation
    Uninstall the PC Card hardware through Device Manager
    Remove the PC Card from the laptop
    Uninstall the NI-DAQ software
    Follow the normal installation instructions (the most important step to remember for Plug-n-Play Operating Systems is to install the software first)
    Try the latest service packs for Win 2000 or Win XP
    Try the PC Card in a different laptop
    Try a different slot in the laptop. On certain laptops PC Cards have been successfully installed in the top PCMCIA slot instead of the bottom.
    2. Additional Troubleshootin
    g for PC Cards that Return IRQ Conflicts
    For E-Series DAQCards:
    Update to NI-DAQ 6.9.3 first and then update NI-PAL to version 1.6.1 (included exe file).
    Download the attached NI-PAL (ni-cdu1610.exe), and run the installer. When receiving the error "The device is not responding to the first IRQ Level" in Measurement and Automation Explorer, try this method of upgrading NI-PAL
    3. Additional Troubleshooting Steps
    Try disabling the 3COM adapter, and any other extraneous (for now) devices like any built in serial and parallel ports. The best way to do this is probably to disable them in the BIOS. If the PCMCIA card works properly then try to reconfigure disabled devices one at a time.
    Make sure the latest BIOS is installed.
    Check for any unusual PCMCIA drivers or other software that might interfere with the PCMCIA driver.
    I hope this helps.
    Ron
    Applications Engineering
    National Instruments
    Attachments:
    ni-cdu1610.exe ‏1557 KB

  • PCMCIA-GPIB Card with Linux ?

    We would like to run LabVIEW + PCMCIA GPIB Card Ni-488.2 on a laptop under Linux. I know LabView provides a linux version, but we would need an appropriate driver for the PCMCIA-card. I found hints on a PCI-GPIB driver, but not for the PCMCIA version. Is there something available? We are currently running SuSE 7.0 on the laptop, but it would be no problem to switch to RH 7.1.

    It is surprising to see that after all these years of expertise from NI, there is currently no way to have GPIB running on a Linux laptop.
    NI provides no drivers for the two possible laptop solutions: USB or PCMCIA.
    Given the widespread use of Linux in research labs, such a lack of support is rather disappointing. I can't imaging that writing such a driver would be more work than a computer science student project.
    At least the basic communication/read/write functionalities with no polling and handshakes
    Sincerely,
    T. Misaridis, Ph.D

  • 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.

  • Problems with PCMCIA-GPIB card

    Hi all
    I am using a PCMCIA-GPIB with driver version 2.2 on a Windows XP with a PCI-to-PCMCIA Adapter from Ricoh (device manager says: Ricoh R/RL/RT/RC/5C475II,R5C520 or compatible cardbus controller).
    The Win XP detects the card without any problems and there are no resource conflicts.
    However, I cannot communicate with GPIB devices and the NI-488.2 Troubleshooting Wizard says:
    1. NI-488.2 Software Presence = verified
    2. GPIB Hardware Presence =
    And then a new screen: "The trouble shooting wizard has detect that no GPIB interfaces are configured on your system"
    Can someone help me? There are no resource conflicts and I have also tried changing the PCI slot. The same problem also occurred when I installed the card in an
    other computer.
    Regards,
    Juan"

    I have tested a RICOH PCMCIA to PCI Adapter card. The PCMCIA to PCI Adapter card was tested using different operating systems (Win2000,XP,98,95) and using a Micron computer PIII 650 processor. When testing under the XP environment, with service pack 1, NI's device drivers Version 1.7 failed to load. (Code 10) Ni's driver version 1.7 was then removed and NI's device driver Version 2.2 was loaded. I did not experience any commutation problem as long as I used the standard NI calls. I did experience a problem with NI’s IBDIAG function call which is not supported under Version 2.2.
    I would recommend that you get the latest service pack for XP and NI’s device driver Version 2.2.

  • Max Not Detecting PCMCIA GPIB Card

    I'm having trouble getting NI MAX to detect that I have a PCMCIA GPIB Card in the computer.  The C-Drive under hardware manager knows it's in the slot and says it's working fine.  I tried to uninstall the GPIB Card so I could reinstall it but it won't let me. 
    I also tried adding hardware to MAX and selecting the PCMCIA card but it says that it can't be added.
    I'm using the latest versions of GPIB, VISA, and MAX software that I can on a Windows 2000 computer. 
    Thanks

    Hello,
    When you say MAX is having trouble detecting the card, what exactly is happening? Do you see the card in MAX, but then you can't communicate with it? Does it show up with an error, or does it not show up at all? Could you give me the exact error message that you see. Are you using this on a laptop, or are you using a PCI-PCMCIA converter on a desktop? Does this happen on multiple computers? And just to verify, what version of NI-488.2 are you using? Hit <F5> in MAX to refresh the window and see if it shows up then. You could also try reinstalling the NI-488.2 driver, to see if it helps. Please let me know the answers to the questions above, and we can go from there to try to get this issue resolved. Thanks!
    Regards,
    Ebele O.
    National Instruments

  • Connecting a HP3497A with a NI PCI GPIB card.

    Hello, I would like to be able to connect the above mentioned HP product with a NI PCI GPIB card. As I have no prior experience with this equipment, I wanted to know what basic important steps I would have to take to achieve this?

    Mbugua,
    On the hardware end you'll need a GPIB cable to connect the card with your instrument. On the software side, you'll need the NI-488.2 driver. Please follow this link to download the proper driver version for your OS. I highly recommend that you use LabVIEW 7.0 to communicate with the instrument. If you prefer text-based programming LabWindows/CVI 7.0 would be a great choice. You can check out www.ni.com/idnet to download a library of functions to even further ease communication with t
    he HP3497A (currently there is a download designed for CVI).
    There are a great deal of manuals available online. Please navigate to www.ni.com and choose "support" to search through them as well as our Knowledge Base.
    Please follow the following procedure of installation:
    1) Install LabVIEW or LabWindows/CVI (or both)
    2) Install NI-488.2 (hardware driver for the PCI-GPIB)
    3) Insert the PCI-GPIB into your computer
    Regards,
    Alan
    Applications Engineer
    National Instruments

  • PCMCIA-GPIB for win 2000 running on cPCI bus via a cPCI PC Card Adapter

    We are trying to use a PCMCIA-GPIB for win 2000 running on cPCI bus via a cPCI PC Card Adapter. Our OS is WIN2K SP3 and we are running version 1.7 (latest) of the drivers. Unfortunately when using the "getting started" wizard and the "verify software and hardware installation" the system occasionally doesn't pass the third test. When it does, we try to scan for instruments using MAX Explorer to talk to a Agilent CW generator via GPIB but it cannot find the instrument. Doing the same thing on a laptop PC is successfully achieved. Any information on this matter would be greatly appreciated.

    Hi,
    Although it should be transparent to the PCMCIA card, I have also have had some problems with some adapters. Specifically, I have been able to install the card in a PCI-PCMCIA adapter form Qualtech, but not if I'm using a cPCI Cirrus Logig adapter. We haven't been able to find a cause for this.
    If you need a GPIB interface in a cPCI system, you might consider the PXI-GPIB. PXI fully compliant with the cPCI standard.
    DiegoF.

  • Installing a PCMCIA-GPIB with WIN-XP and I get an "Unknown Hardware Error"

    no resource conflicts. Config settings for GPIB0 are slot#ffffffff 500 nsec bus timing. Card worked with win-me, and ver 1.2 of install s/w - help!

    Hi Dave,
    You should try using the lastest driver for the PCMCIA-GPIB interfaces. This is NI-488.2 2.1. You can find it in the Driver and Updates page.
    DiegoF
    National Instruments.

Maybe you are looking for