15
www.rsf.at
6.1.3 Functions for Error Messages and Status
Description
Brief reference
Clear error messages
integer UFC_ClearError
(unsigned char card,
unsigned char Clear)
Read out counter status
integer UFC_GetCounterStatus
(unsigned char card,
unsigned char Axis,
unsigned short *Status)
Table 14: Functions for error messages and status
6.1.4 Functions for load and clear Counter
Description
Brief reference
Write counter load and clear mode
integer UFC_SetLoadClearMode
(unsigned char module,
unsigned char axis,
unsigned char mode)
Read out counter load and
clear mode
integer UFC_GetLoadClearMode
(unsigned char card,
unsigned char Axis,
unsigned char *Mode)
Clear counter
integer UFC_ClearCounter
(unsigned char card,
unsigned char Clear)
Load contents of load register
to counter
integer UFC_LoadCounter
(unsigned char card,
unsigned char Load)
Write load register
integer UFC_SetLoadReg
(unsigned char card,
unsigned char Axis,
unsigned long Data)
Table 15: Functions for load and clear counter
6.1.5 Functions for latching and reading out Count Values
Description
Brief reference
Write latch register mode
integer UFC_SetLatchMode
(unsigned char module,
unsigned char axis,
unsigned char reg,
unsigned char mode)
Read out latch register mode
integer UFC_GetLatchMode
(unsigned char card,
unsigned char Axis,
unsigned char Reg,
unsigned char *Mode)
Generate latch pulse
integer UFC_LatchImpuls
(unsigned char card)
Copy count value to
latch register
integer UFC_LatchCounter
(unsigned char card,
unsigned char Latch)
Read out latch register
integer UFC_GetLatchReg
(unsigned char card,
unsigned char Axis,
unsigned char Reg,
unsigned long *Data)
Table 16: Functions for latching and reading out count values