
9.
Programming
9.1.
Programming under Windows 95/98/ME
For the programming under windows 95/98/ME the card comes with a appropriate
driver. To keep the programming as easy as possible, all functions for the PCI
1389-S02 are placed in a dll. So there is no need to program the PCI 1389-S02
directly.
This dll contains 2 types of functions. At first there are low-level function which
can be used to handle the cards register. The second set of functions are
high-level functions. These high-level functions are using a bigger software-fifo
to handle higher trigger rates.
The PCI1389S02.DLL should be copied out of the corresponding driver directory
into the system folder or the project folder of the application.
9.2.
Programming under Windows NT4.0/2000
For the programming under windows NT4.0/2000 the card comes with a appro-
priate driver. To keep the programming as easy as possible, all functions for the
PCI 1389-S02 are placed in a dll. So there is no need to program the PCI 1389-S02
directly.
This dll contains 2 types of functions. At first there are low-level function which
can be used to handle the cards register. The second set of functions are
high-level functions. These high-level functions are using a bigger software-fifo
to handle higher trigger rates.
The PCI1389S02.DLL should be copied out of the corresponding driver directory
into the system folder or the project folder of the application.
9.3.
Programming via the PCI1389S02-DLL
The DLL PCI1389S02.DLL provides the basic and the extended functions for the
work with the PCI 1389-S02. The low-level and high-level functions should not
be mixed, because this can result in mistakes. The return value of all functions
will show an incorrect execution if a 0 is returned. The function GetLastError can
be used to get a more detailed error message. Programs designed for
PCI1389S02-DLL can be used on Windows 9x/ME and also on NT 4.0/2000, if
the corresponding DLL is used.
9. Programming
19
ERMA-Electronic GmbH
Содержание PCI 1389-S02
Страница 10: ...7 1 1 Component layout 7 Installation 9 ERMA Electronic GmbH ...
Страница 27: ......