QuickBasic GPIB PCII Help

Hi-
I'm new to QuickBasic and the world of GPIB but I'm not new to programming. I need help on something I'm completely stumped on. I have a feeling this is an easy and quick fix. I'll try to provide as much information as possible.
I have a Windows 98 SE (yuck!) machine with a NI GPIB ISA/AT card in it. Connected to the card is a Sony RTD710 Digitizer. I created a QuickBasic program with the code that came in the manual and it doesn't seem to be working. The only thing it does is return the ID of the digitizer. However, when I use the Interactive Control (in the Measurement and Automation Explorer), I can successfully communicate with the machine.
Here is my code:
REM $INCLUDE: 'QBDECL.BAS'
DIM READING AS STRING * 30
CALL IBDEV(0, 7, 0, 10, 1, 0, RTD710%)
CALL IBCLR(RTD710%)
CALL IBWRT(RTD710%, "ID?")
CALL IBRD(RTD710%, READING$)
PRINT READING$
CALL IBONL(RTD710%, 0)
END
This is what I'm doing in the Interactive Control:
ibdev 0, 7, 0, 10, 1, 0
ibclr
ibwrt "ID?"
ibrd 50
ibonl 0
The QuickBasic code compiles with no errors. The variable RTD710% returns as -1 and the variable READING$ does not return anything. In the Interactive Control, the variables are inputed one by one when prompted. When calling the ibrd function, the ID of the machine is returned "SONY TK/RTD710 ....." as it should.
I also noticed that when I used the NI Spy program, I can see the functions being logged when using Interactive Control but I don't see the functions being logged with the compiled QuickBasic program.
I followed the instructions here: http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DE7556A4E034080020E74861&p_node=DZ52353&p_source=external
Again, I'm very new to GPIB and I tried searching the forums to see if this topic has been covered before. But I don't know what to search for. So, I apologize if this has come up before. Any help would be greatly appreciated.

You mentioned that you are new to QuickBasic, but QuickBasic is a very old application that dates back to the days of DOS.
You didn't happen to mention which version of NI-488.2 that you have installed on Win 98. From the problem you describe, it seems as if you have a Win 32 version installed. With a Win 32 version of the driver, by default, it does not have DOS support enabled (for applications such as QuickBasic). This type of problem is described in:
http://digital.ni.com/public.nsf/allkb/D8AFF54234E2788486256A760070FB2E
If this is the case, it is very easy to enable DOS support with the Win 32 driver. Please refer to this KnowledgeBase article:
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/c293f23d6b87992c86256ab6000afbeb?O...
Hope this information helps. If not, please report back with additional information about which NI-488.2 driver you have installed.

Similar Messages

  • GPIB-PCII/IIA Drivers for Windows 98

    Hello , Could someone can help me ? I got a trouble in GPIB-PCII/IIA card.
    I want to driver it in Windows 98 , but Windows hardware manager can not find this card.
    Could someone can tell me how to do for complete step .
    Thanks a lot !!

    大家好,我现在遇到了问题了,希望大家可以帮帮我。
        我最近在做轻集料混凝土的交流阻抗谱测试,我先叙述一下遇到的问题:
       我的电脑是windows98、仪器是PARC公司的M273A/锁相5210,所用GPIB卡为:GPIB PCIIA IEEE488.2,测试软件为M398,程序时在DOS下运行的。运行Eis.bat程序run时,出现
         potentiostat not found,
         Dev_poll 1 error caused error in gpib_ error _check
    32768 _0
         Dev_poll 3 error caused error in gpib_error_check
    32768 _0
         当运行M398.exe时,提示:
    ibfind board 1caused error in gpib_error_check 32768_7
        gpib.com improperly configured,
         gpib card not installed,
    GSS is either not loaded or improperly installed.
    ABORTED:Error Level 1,Error Code 8
         请问是驱动问题还是GPIB卡出了问题?前几次也出现过类似的问题,当时关闭电脑,关闭仪器,过一会重新开机就正常了,今天有出现了类似的问题,可是关机,关闭程序之后再开机就不再正常工作了,
          还有好多次测试快运行完在读取数据时程序突然就没有反应了,只能强制关闭程序,之后重新启动就再不能正常运行了,出现和上面一样的问题。
    期待大家的帮助!

  • LV6.1/GPIB-PCII/Keithley 617

    hi,
    just found some old stuff i wanted to try out while getting to know
    lv. gpib device works ok, although WinMe(card not happy with NT/2K)
    did not assign DAK/IRQ, I changed this and it appears to be working
    with them as well.
    when i tried to connect the 617 i did find a device that did respond,
    but when i dl'd the 617 drivers all i get is a unknown VISA device?
    anyone got any experience with this? i could not find anything on the
    subject in the lv manuals.
    Thor Anders

    On Fri, 11 Jan 2002 07:12:41 -0800 (PST), Dennis Knutson
    wrote:
    >I'm a liitle confused. Do you get the error in LabVIEW or in MAX? The
    >driver is for LabVIEW to communicate to the instrument. LabVIEW uses
    >the GPIB card configured in MAX to talk to the instrument via the VISA
    >api or direct GPIB calls. If the card is correctly configued in MAX,
    >you should be able to open Devices and Interfaces, right click on the
    >GPIB card and select Scan for Instruments. Any instrument found, you
    >should be able to use MAX to read and write to. Also, what version of
    >MAX and NI.488.2 are you using? MAX 2.1 and NI.488.2 doesn't list the
    >GPIB-PCII card as supported. If you're using an older version, you
    >might be having a compata
    bility problem with either VISA or GPIB
    >driver and Win/ME. What did you use to successfully communicate with
    >the one instrument?
    ok, from the top:
    I have LabView 6.0 installed, running MAX 2.0.3.6 and NI-488.2 driver
    1.60 on Windows ME.
    I installed the GPIB-PCII and windows installed it at a certain IO
    adress. I set the jumpers for this IO and when I then scanned for the
    instrument I found 'something that I could communicate with.'
    I figured the GPIB should use IRQ and DMA so I reinstalled the card
    until MAX were satisfied with it using DMA and IRQ.
    I then created a ke617 folder under instr.lib and put the ke617.lib
    and dir.mnu files there.
    now, in MAX, i cannot find an instrument when I scan for it, and the
    'unknown VISA resource' pops up.
    I'll try to upgrade max and the NI-488-2 driver and se what happens.
    Thor A

  • I AM LOOKING FOR ADVANTEST R3271 LABVIEW6.1 DRIVER(GPIB),PLEASE HELP ME. THANKS.

    I AM LOOKING FOR ADVANTEST R3271 LABVIEW6.1 DRIVER(GPIB),PLEASE HELP ME. THANKS.

    Hi,
    I am not sure what the R3271 is, but we have a driver for the R3272 (Spectrum Analyzer with GSM option). Normally API's do not change significantly and so it is very likely that you will be able to use this driver for your application. You can get it by going to www.ni.com/idnet. The easiest way to get the the page is just to seach by vendor.
    Hope this helps out.
    Aaron K.
    Application Engineer
    National Instruments

  • GPIB-PCII software for Windows 2000

    My system is running Windows 2000, but the NI-488.2 software does not support my GPIB-PCII board under Windows 2000. Where can I find softward that will support my board under Windows 2000?

    These links provide additional information on GPIB-PCII/IIA board. I'm facing the same problem but I don't want to part away with the boards yet so I continue to use them with Windows 95.
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/2499c1cf1322e98e8625659500026d0b?OpenDocument
    http://www.ni.com/support/gpib/versions.htm

  • MAX for GPIB/PCIIA card

    Why MAX 3.0 can not see GPIB/PCIIA card?
    What software allow me to see it?

    Hi,
    You need the NI-488.2 driver to detect the boards. MAX is just a configuration utility, the driver detects and configures the device.
    You may have NI-488.2 installed, but this is an old GPIB interface, so it is not supported in the newest version of the driver. You can find the available driver version for at this page
    DiegoF
    National Instruments.

  • Fluke 6060B Frequency, Amplitude GPIB commands HELP!

    fluke 6060B Frequency, Amplitude GPIB commands HELP! The very old and useless scanned copy of the manual showed the GPIB commands: FR230MZ but it NEVER worked, same for amplitude, anyone can send the WORKING vi that can set any number with any significant digits for frequency and amplitude, GREATLY appreciated!

    Please don't shout.  It doesn't help at all to do that.
    When you use the driver, what VI are you using? Do you get any kind of error code back from the VI? What is it if you do? When you send your frequency command, is this with the driver of in MAX? When the frequency command does not execute, have you done an errory query of the instrument? There is a funciton in the driver for that. It would be extremely helpful to know if the instrument replies back with some error message or code. I don't know if it's related to the problem you are seeing but the driver I downloaded needs to be modified to work with newer versions of VISA. The initialize function has an 'Old' VISA Open. This should be replaced with the normal VISA Open on the palette. I modified this and the Getting Started function to be correct and attached them.
    Attachments:
    FL6060X Initialize.vi ‏79 KB
    FL6060A Getting Started.vi ‏57 KB

  • Can I install a GPIB-PCII/IIA Card into a windows XP computer and if so how?

    Can I install a GPIB-PCII/IIA ISA Card into a windows XP computer? If this is possible can you give me the stsps needed to do so.

    Hello,
    No, this is not possible. This "old" board isn't supported under Windows XP. Check this site for an overview: http://www.ni.com/support/gpib/versions.htm#pc
    Regards,
    Luca
    Regards,
    Luca

  • Driver W3.1 for GPIB - PCII/IIA

    It's not possible to download on this web site the driver W3.1 for GPIB - PCII / IIA. If someone have this "antic" version thanks.

    Hi,
    You should be able to download the driver at http://www.ni.com/support/gpib/versions.htm#pc_dos. Did you find a link to the driver elsewhere that was broken?
    Best Regards,
    Aaron K.
    Application Engineer
    National Instruments

  • Win2000 support for GPIB-PCII/IIA

    Is there a driver that allows to use the:
    GPIB-PCII/IIA (rev.5)
    with Win2000 or must I downgrade to win98 and use the drivers present in NI webpage.
    Thanks in advance.

    ThomasD wrote in message news:<[email protected]>...
    > Hello,
    >
    > the GPIB-PCII/IIA is not supported under Win 2000. You can also see
    > this on the following link:
    > http://digital.ni.com/public.nsf/websearch/0AE0DAD0C1142EF8862565230058DAE2?OpenDocument
    > So, you have to downgrade your system to Win 9x and download the
    > driver on this page:
    > http://www.ni.com/support/gpib/versions.htm
    >
    I feared the worst...back to instability and blue screen.
    Thank you!

  • Gpib pcii

    need to use under win2000. card not found. any emulation or drivers available or do I have to revert back to an old win98 machine. I have several cards and this seem a poor choice for upgradability.

    Hi,
    The GPIB-PCII is an obselete product. The newer drivers will not support this board. You can find the supported GPIB hardware vs OS and the appropriate driver version to use, in the following page:
    http://www.ni.com/support/gpib/versions.htm
    DiegoF

  • Whereis the gpib pcii/iia driver for windows 98 ?or 95

    ok

    Jo18,
    Visit the following link: http://www.ni.com/support/gpib/versions.htm
    Hope this helps,
    L Aguila
    Applications Engineer
    National Instruments

  • Help ID this board #A8CA5B

    I recieved a pc with a crashed hard drive and cannot find out what drivers to use with this board. The only information I find on this board is: National Instruments GPIB-PCII/IIA, serial #A8CA5B. Can someone help me id it and find the drivers? It is for a lab. Some testing must be done through this card. Thanks

    As Rob said the drivers are located on NI's site. More specifically try this link: http://digital.ni.com/softlib.nsf/display?ReadForm​&lookup=GPIB%20Plug-In%20Controllers&view=current&​node=132060_US pick your OS from the list and you should be good to go! You can also find some more information including the data sheet for it here: http://sine.ni.com/apps/we/nioc.vp?lang=US&cid=123​8 .
    Good luck!
    Brian

  • I have problems with pci-gpib card under windows me, What I need to know what to do in order to fix this problems?

    Hi, I have installed a pci-gpib card in my computer, I have a problem with
    installation, the message of troubleshooting wizard is as follow:
    "One or more missing GPIB interfaces.
    There are several reasons why you might encounter this problem:
    Reason: Your GPIB interface is incorrectly installed.
    Solution: Please verify that your GPIB interface is correctly installed
    and rerun the NI-488.2 Troubleshooting Wizard.
    Reason: You are using a non-Plug-and-Play interface (e.g., AT-GPIB/TNT,
    GPIB-PCII/IIA, GPIB-ENET) and you did not use the Add New Hardware Wizard
    to add the interface to your system properly.
    Solution: Click th
    e Add Hardware button and the Add GPIB Hardware wizard
    will guide you through the process of adding GPIB hardware.
    Reason: For the GPIB-USB and GPIB-1394, the host controller (USB or 1394)
    must be working properly in order to use the GPIB interface.
    Solution: Click on the System Details button for details about the USB and
    1394 host controllers.
    Reason: For the PCMCIA-GPIB and PCMCIA-GPIB+, the PCMCIA host controller
    must be working properly in order to use the GPIB interface.
    Solution: Use the Windows Device Manager to verify that your PCMCIA host
    controller is functioning correctly. Start the control panel by selecting
    "Start>>Settings>>Control Panel", open the System icon and select the
    Device Manager page. If you select "View devices by type", you can look at
    the PCMCIA socket properties to ensure it is correctly enabled."
    And on system details the message is the next:
    "USB Driver type: USB universal host controller"
    "This version of windows does not su
    pport IEEE 1394."
    I am using Windows Me, so i want to know what i need to do to fix this
    problems.
    Best regards.

    If you have a PCI-GPIB card, you needn't worry about the USB port or whether or not Windows ME supports 1394. All you need in NI-488.2 version 1.70 from National Instruments. Install this driver and then insert your card. Windows should detect the card and find the proper driver.
    If this did not happen in the proper sequence, look in the device manager and see if the card was installed as an "other device". If this happens, remove the card in the device manager and have windows redetect it. If this is not a solution, you may consider the ask an engineer page at www.ni.com/ask. Provide as many details as possible.

  • Instrument not recognized - computer too fast for AT-GPIB/TNT board

    I have a problem with a potentiostat (PAR 283) connected to ISA AT-GPIB/TNT (not pnp) board. I recently upgraded to a motherboard with 1.8GHz AMD processor. Potentiostat is recognized by other software as "28PD", "28PE" or sometimes just some garbage characters, instead of "283". I'm using driver version 1.6 (1.7 could not recognize the board). In "Measurement&Automation" potentiostat doesn't respond to *IDN? query (error EAB0). FRA analyzer connected to the same board is recognized without a problem. None of the Windows programs can control potentiostat (it's not recognized as "283). One DOS program, however, is able to recognize and control the potentiostat. I tested the whole system with 166MHz compu
    ter, and everything worked fine.
    My operating system is Win98
    Does anyone have idea what could solve the problem?
    Thanks
    Darko

    I don't necessarily have an answer to your problem, but I want to assure you those usually these problems are with the instrument. The IEEE 488.1 standard defines a 3-wire interlocked handshake to prevent any problems due to computer/device speeds.
    However, some devices violate this protocol. They rely on internal timing to determine when things should occur on the bus. For example, the talker asserts the DAV hardware line to indicate that data is valid on the bus. Following that, the listener is supposed to latch the data from the bus and then assert NDAC to indicate that it has taken the data from the bus. At the moment that NDAC has been asserted, the talker is allowed to modify the data lines since they have already been latched. However, some devices have noted in the past that their is usually X amount of time that passes from when NDAC is asserted until the data is removed from the wire. In order to improve peformance, they actually assert NDAC sometime before the data has been latched, assuming that the data will be there when they are actually ready to receive this data. In the case of moving to a faster computer, this data is actually staying on the bus for a shorter period of time than expected and the device receives garbage data.
    A similar phenomenon can occur when the device is the talker where is violates the proper 3-wire handshake.
    Note that not all failures are intential on the side of the device, it could be a legitimate bug.
    Now that I have given a somewhat long-winded description of how problems like this can manifest, I can give you a few recommendations.
    1) Obtain a GPIB bus analyzer and examine the handshake sequence to determine where the failure is.
    2) Talk to the equipment manufacturer to see if they have any updates
    3) Modify the bus timing in NI-488.2 from 500ns to 2ms. This is not likely to work since you are on the receiving end.
    4) Try to procure a GPIB-PCII/IIA board. This is a slower board that overall responds to handshaking slower than the AT-GPIB/TNT board and may mask the problem.
    5) Increase your cable length (including to "illegal" lengths such as 8m). This can add propegation delays that can mask this problem. I have seen work in teh past with troubled instruments.
    Good luck.

Maybe you are looking for