
• char PCI1389S02_StartCounter (unsigned char Card, unsigned char Flags);
This function will start the counters. The counters can be started separatly or
together if ORed. See file PCI1389S02.H.
• char PCI1389S02_StopCounter (unsigned char Card, unsigned char Flags);
This function will stop the counter. As described in StartCounter, the counters
can be stopped separatly or together.
• char
PCI1389S02_GetStatus
(unsigned
char
Card,
struct
_PCI1389S02_STAT *Status);
This function reads the state of all 3 counters. The meaning of the bits can be
seen in the file PCI1389S02.H.
• char PCI1389S02_GetCNT1Values (unsigned char Card, long (*buffer)[], un-
signed long buffersize, unsigned long *n);
This function will read counter-values out of the fifo. If no values are saved, n
will be set to 0. If values are read, n will show the amount of values (not bytes!).
• char PCI1389S02_GetCNT2Values (unsigned char Card, long (*buffer)[], un-
signed long buffersize, unsigned long *n);
See function GetCNT1Values, but used for counter 2.
• char PCI1389S02_LatchCounter (unsigned char Card, unsigned char Flags);
This function will latch the counters if softwaretrigger is enabled. The counters
can be latched separately or together.
• char PCI1389S02_SetPorts
(unsigned char Card, unsigned char Flags);
This function will set the digital outputs (bit 3 to 0).
• char PCI1389S02_GetPorts
(unsigned char Card, unsigned char *Flags);
This function will read the digital inputs (bit 7 to 4) and will read back the digital
outputs (bit 3 to 0).
9. Programming
ERMA-Electronic GmbH
22
Содержание PCI 1389-S02
Страница 10: ...7 1 1 Component layout 7 Installation 9 ERMA Electronic GmbH ...
Страница 27: ......