Access PCI-COM422/4 user manual Samples, PCIFind.exe

Page 13

SAMPLES

Samples for using ACCES32.DLL are provided in this directory. Using this DLL not only makes the hardware programming easier (MUCH easier), but also one source file can be used for both Windows 95/98 and WindowsNT. One executable can run under both operating systems and still have full access to the hardware registers. The DLL is used exactly like any other DLL, so it is compatible with any language capable of using 32-bit DLLs. Consult the manuals provided with your language's compiler for information on using DLLs in your specific environment.

VBACCES

This directory contains sixteen-bit DLL drivers for use with VisualBASIC 3.0 and Windows 3.1 only. These drivers provide four functions, similar to the ACCES32.DLL. However, this DLL is only compatible with 16-bit executables. Migration from 16-bit to 32-bit is simplified because of the similarity between VBACCES and ACCES32.

PCI

This directory contains PCI-bus specific programs and information. If you are not using a PCI card, this directory will not be installed.

SOURCE

A utility program is provided with source code you can use to determine allocated resources at run-time from your own programs in DOS.

PCIFind.exe

A utility for DOS and Windows to determine what base addresses and IRQs are allocated to installed PCI cards. This program runs two versions, depending on the operating system. Windows 95/98/NT displays a GUI interface, and modifies the registry. When run from DOS or Windows3.x, a text interface is used. For information about the format of the registry key, consult the card-specific samples provided with the hardware. In Windows NT, NTioPCI.SYS runs each time the computer is booted, thereby refreshing the registry as PCI hardware is added or removed. In Windows 95/98/NT PCIFind.EXE places itself in the boot-sequence of the OS to refresh the registry on each power-up.

This program also provides some COM configuration when used with PCI COM ports. Specifically, it will configure compatible COM cards for IRQ sharing and multiple port issues.

WIN32IRQ

This directory provides a generic interface for IRQ handling in Windows 95/98/NT. Source code is provided for the driver, greatly simplifying the creation of custom drivers for specific needs. Samples are provided to demonstrate the use of the generic driver. Note that the use of IRQs in near-real-time data acquisition programs requires multi-threaded application programming techniques and must be considered an intermediate to advanced programming topic. Delphi, C++ Builder, and Visual C++ samples are provided.

Manual MPCICOM422-4.E1b

Page 2-3

Image 13
Contents Model PCI-COM422/4 Page Page Terms and Conditions WarrantyCoverage Equipment Not Manufactured by AccesTable of Contents List of Tables List of FiguresCommunication Mode RS422 Balanced Mode OperationIntroduction COM Port CompatibilityBaud Rate Ranges SpecificationsCommunications Interface Environmental1PCI-COM422/4 Block Diagram Only One Serial Channel Shown PCI-COM422/4 Manual Manual MPCICOM422-4.E1b CD Installation InstallationInch Diskette Installation DOS/WIN3.xWinRisc.exe Directories Created on the Hard DiskPCIFind.exe SamplesInstalling the Card Input/Output Connections PCI-COM422/4 Manual Manual MPCICOM422-4.E1b Option Selection Data Cable WiringTerminations Baud Rate RangesSerial2 Subkey Interrupts2PCI-COM422/4 Option Selection Map Address Selection Sample Programs ProgrammingWindows Programming InitializationBaud Rate Divisor Max Diff. Cable Length Reception Transmission Connector Pin Assignments PCI-COM422/4 Manual Manual MPCICOM422-4.E1b Customer Comments