5-4
Programming
DriverLINX interface
For maximum portability and versatility, it is recommended that the DriverLINX
interface be used. The DriverLINX interface has the following advantages:
•
Hardware independence
— DriverLINX supports ISA, PCMCIA, and PCI
digital I/O boards with a common interface as well as digital ports on analog
I/O and counter/timer boards.
•
Operating system independence
— DriverLINX supports Windows 95/98
and Windows NT with a common interface.
•
Shared hardware access
— DriverLINX allows multiple processes or
threads to cooperatively share hardware resources.
•
Multi-tasking, multi-threading support
— DriverLINX provides the syn-
chronization and coordination for multi-tasking, multi-threading applications
to safely access shared hardware resources.
•
Portability
— DriverLINX supports older and newer hardware with a
common interface for 16- and 32-bit applications on Windows 95/98 and
Windows NT.
•
Versatility
— DriverLINX supports a wide variety of programming styles
and languages including C/C++, Visual Basic, Delphi, and LabVIEW.
•
Background I/O
— DriverLINX supports background I/O using interrupts or
other techniques so your application can overlap processing and data
acquisition.
•
Full hardware support
— DriverLINX supports all the hardware’s features.
The DriverLINX interface has a few disadvantages compared to the alternative
interfaces:
•
Software modifications
— Existing applications will require rewriting to use
DriverLINX.
•
No direct hardware access
— Before Windows NT, Microsoft discouraged,
but nevertheless allowed, direct application program access to hardware.
•
Speed of single-value I/O
— Applications, especially those ported from
DOS, that depend on rapid software polling of I/O ports will notice that the
operating system time cost for multi-tasking, multithreading synchronization
is higher than direct hardware access.
While writing your application to use a multi-product (portable application pro-
gramming interface is the best long-term solution) you should consider the alternative
API only for special purpose or short-term needs.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Содержание PIO-24
Страница 14: ...1 Introduction Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 21: ...2 Installation Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 29: ...3 I OAddressMap Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 42: ...5 Programming Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 49: ...6 Troubleshooting Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...