PCMCIA-GPIB and Windows 3.1 - Award CardWareHardware: GPIB>>Plug-in Controllers>>PCMCIA-GPIB
Problem: How do I use the PCMCIA-GPIB with Windows 3.1 - Award CardWare? Solution: In the past, CardWare has been one of the most widely used card services (CS) on the market. At the time National Instruments first started shipping PCMCIA products, CS was not necessarily standard on all PCs, even those that had PCMCIA slots. Some of the machines that did ship with CS had old versions or versions that would not work with National Instruments cards, so National Instruments cards shipped CardWare with all PCMCIA products (both DAQ and GPIB). PCMCIA has since become more popular and most vendors are shipping compliant card services, so there is no longer a need to ship CardWare. When installing CardWare it should always be done from Windows because of the following reasons: it can automatically detect which controller chip is being used, it can automatically detect some of the system resources that need to be reserved for the system and make the proper changes in cardware.ini, it installs the PC Card program which makes configuration easier, and it automatically includes records for the PCMCIA-GPIB and the DAQCard-700. The device level drivers for the DOS and Windows are exactly the same; if CardWare works in Windows, it will also work in DOS. To actually perform the setup, run setup in Windows and follow the prompts. Always choose the Controller Autodetect option, but do not try to pick a computer from the list.
Uninstalling CardWare is simple. Some versions of CardWare have an uninstall option from the setup as well, but it may be faster to uninstall it manually. Delete the \CARDWARE directory and all of the files within it. Edit the config.sys and delete the 5 device lines that CardWare added. Edit the win.ini file and remove the run=pccard.exe line in the [boot] section. Remove CardWare from the path statement in the autoexec.bat.
What Controllers CardWare Supports
Recognizing CardWare
devicehigh=c:\cardware\sspcic.exe Newer versions of CardWare install at addresses CF00-D7FF by default. Older versions install at D000-D8FF by default. If you are using a memory manager such as EMM386, there should be a memory exclusion for this area as well.
Reducing Memory Usage to a Minimum
Making CardWare not AutoConfigure the card / Using PCCard By default, if CardWare does not recognize a card as a standard ethernet or modem card, it will automatically assign resources to the card This is characterized by 3 beeps (for more information, see the section on beeps below). Since you do not want this to happen, you must add a record to the cardware.ini file to tell it what resources to use. The easiest way to do this is by using the PCCard program that CardWare installs. With the card installed, open PCCard. Select the Cards menu, then select Edit. You should edit the socket that the card is in and this will get you to the screen below. Here, make sure the type for the card is set to "Advanced". Using the include/remove buttons, make sure that there is nothing on the Associated side except for the [Do Not Config] as shown below. In the event that you have CardWare installed but do not have PCCard, you can do the same thing as described above by merely modifying the cardware.ini file. You will have to add a record in the [Cards] section as well as increment the NumberOfRecords. You will also have to add a record and increment the value in the [SpecificAssociations] section. See the cardware.ini file for an example of the records that need to be entered. Again, this is taken care of automatically by PCCard. Also note that if you have installed from Windows, there should already be records in cardware.ini for at least the PCMCIA-GPIB and possibly the PCMCIA-GPIB+. A common point of confusion is that CS will now not configure the card, but this is not the case. What this means is that CS will not configure the card automatically upon insertion. It will only configure the card after the driver (or ibdiag) registers with CS and at that time tells CS to configure the card. If the driver is inactive, the card should remain in the system unconfigured. This often comes up as "Not in use" or "Unconfigured" in many PCMCIA utilities.
Note: PC Card is not necessary for CardWare to operate correctly under DOS or Windows. It is a tool that you may use if you prefer. When CardWare is installed, it forces PCCard to run whenever Windows is opened. It does this by adding the run=c:\cardware\pccard.exe line to the [boot] section of win.ini. This line may be removed if you do not want PCCard to run every time Windows is opened without any degradation of performance.
Changing CS Resources You should not need to change the MEM lines unless you have a conflict in memory. The best way to check on this ahead of time is to boot clean (hit F5 when it says Starting MS-DOS) and then run msd and check memory usage.
ibconf Settings ; This file is used by CardWare for maintaining information required for ; using PC Cards ; V1.3 AS: - added devices LAN1 and LAN2 ; V1.2 AS: - changed ATA device to IRQ=None ; - removed ATA2 device ; - changed memory window in D-segment to 32K ; - added: IRQ=3,E to Resources-Section ; V1.1 AS: - added ATA2 device, and assigned this device to Generic-ATA. ; See the CWINI.TXT file for a description of the entries in the ; file [Resources] MEM=0xCF000,0x1000,E I/O=0x140,0x20,E,10 I/O=0x220,0x20,E,10 I/O=0x300,0x20,E,10 I/O=0x370,0x20,E,10 IRQ=3,E XIRQ=4 ; Used by mouse detected at COM1 xirq=15 XI/O=0x3F8,0x8,E,10 ; Used by mouse detected at COM1 xirq=11 [Cards] NumberOfRecords=5 1=National Instruments PCMCIA-GPIB, 14, 1, 267, National Instruments, PCMCIA-GPIB, 0, 2=National Instruments DAQCard-700, 14, 1, 267, National Instruments, DAQCard-700, 0, 3=3Com Corporation 3C589, 15, 6, 257, 3Com Corporation, 3C589, 0, 4=National Instruments PCMCIA-GPIB+, 14, 1, 267, National Instruments, PCMCIA-GPIB+, 0, 5=Deleted-Record [GenericCards] NumberOfRecords=2 1=Generic Modem, 1,2 2=Generic ATA Disk, 1,4 [SpecificAssociations] NumberOfRecords=5 1=0xFFFF 2=0xFFFF ; Added by National Instruments 3=0xFFFF 4=0xFFFF 5= [GenericAssociations] NumberOfRecords=2 1=1, 2, 3, 4 2=5 . . .
The Beeps In the ideal situation, there should be only two beeps. If there are three beeps, it means that CardWare is actively configuring the card upon insertion instead of whenever the card is in use by the GPIB driver. Related Links: Attachments:
Report Date: 07/17/2006 Last Updated: 08/18/2006 Document ID: 3ZG6H35N |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||


