LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

AT-GPIB card illegal operation

I have recently installed the software for the AT-GPIB card onto my PC, running WIN98. When I click on the icon for GPIB.com I receive an error message of an illegal operation. The program tried to execute an invalid instruction. Fault location 2B12:0102. Interrupts in service: none.
Many of the icons work such as ibdiag and ibtest, but many that apparently work off of GPIB.com give the same message. What do I need to do to get my card to work properly so I no longer recieve this message and can use my card properly. Thanks
0 Kudos
Message 1 of 4
(2,891 Views)
Hello Chris,

It sounds like you have the older DOS version of our GPIB driver. The GPIB.COM is not meant to be executed, but is intended to be loaded in your config.sys file with a "DEVICE=C:\path\GPIB.COM" call.

If you are using an AT-GPIB card, note that you are using an obsolete card on your Windows 98 system. You can use the Win98 compatibility release to get this up and running. See here for instructions on doing this: http://www.ni.com/support/gpib/win98_95cr.htm

Hope this helps.

Scott B.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 4
(2,891 Views)
I have changed the device path a few different times with no success.

What I am trying to do is run a DOS program written for Win3 on this new PC with Win98. It will not talk with the devices. I have loaded both ATDOS272 & ATWIN271 to the hard drive and copied both the GPIB-32 & GPIB-16.dll files to the windows/system directory from the compatibility download, but I am unsure what to do with the subdirectories that discuss the different languages.

In version 2.7.2 the program "ibtrap" gives a fatal error. And the Win32 Interactive Control under the version 2.7.1 cannot find the board. It displays:
ID=-1, 8000 (err), EDVR (1114). But the Win16 Interactive control works fine and I can configure the board. And the Ni-PnP 1.1 runs.

Wh
en I try and use the DOS program to talk to my devices, the GPIB appears to not even talk to them and the program idles waiting for a response. Though the old PC can still control them.

Have I missed something that I need to do to get the GPIB to talk, it looks like everything between the two PC's are identical but I have done everything I can to make it work.
Thank you for any help, I need to get this working before my internship is over.
0 Kudos
Message 3 of 4
(2,891 Views)
Chris,

Are you using a DOS program, or a Windows 3.x program? This changes the method that you need to use to install the driver and which driver you need.

If you are using a DOS-only application that is not Windows 3.x aware, note the following paragraph on the link I gave you previously:
"Information about DOS GPIB applications
For DOS GPIB applications, you need to download the latest DOS software for your GPIB hardware. Below is the list of the GPIB Software for DOS that is in PKZIP format. Then to help you configure your GPIB hardware and software, please refer to the Using Your NI-488.2 Software for DOS or Windows 3 with Windows 98/95 Manual. This manual also explains how to create a special DOS Shell from which you can run DOS type
GPIB applications."

It sounds as though you have the Win16 driver working properly right now (since the Win16 interactive control can presumably do an "ibfind gpib0" and not get EDVR), so I assume you have a DOS program. If this is the case, you need to focus on the directions for "DOS Only" in the manual mentioned above. Once you get IBIC working properly inside of DOS, you should be all set.

Scott B.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(2,891 Views)