xPCI-3009 API
PCI-3009 Chronos digital output functions

Functions

_INT_ i_PCI3009_SetChronoChlOn (DWORD_ dw_BoardHandle, BYTE_ b_OutputChannel)
 
_INT_ i_PCI3009_SetChronoChlOff (DWORD_ dw_BoardHandle, BYTE_ b_OutputChannel)
 

Detailed Description

Function Documentation

_INT_ i_PCI3009_SetChronoChlOn ( DWORD_  dw_BoardHandle,
BYTE_  b_OutputChannel 
)

Sets the output witch has been passed with the parameter b_Channel. Setting an output means setting an output high.

Parameters
[in]dw_BoardHandle: Handle of board PCI-3009
[in]b_OutputChannel: Selection from digital output channel (0 to 2)
0 : Channel H
1 : Channel A
2 : Channel B
Returns
0: No error
-1: The handle parameter of the board is wrong
-2: The module is not a Chronometer module
-3: Chronometer not initialised see function "i_PCI3009_InitChrono"
-4: The selected digital output is wrong
_INT_ i_PCI3009_SetChronoChlOff ( DWORD_  dw_BoardHandle,
BYTE_  b_OutputChannel 
)

Resets the output witch has been passed with the parameter b_Channel. Reseting an output means setting an output low.

Parameters
[in]dw_BoardHandle: Handle of board PCI-3009
[in]b_OutputChannel: Selection from digital output channel (0 to 2)
0 : Channel H
1 : Channel A
2 : Channel B
Returns
0: No error
-1: The handle parameter of the board is wrong
-2: The module is not a Chronometer module
-3: Chronometer not initialised see function "i_PCI3009_InitChrono"
-4: The selected digital output is wrong