xPCI-3009 API
PCI-3009 incremental counter write functions

Functions

_INT_ i_PCI3009_Write16BitCounterValue (DWORD_ dw_BoardHandle, BYTE_ b_SelectedCounter, WORD_ w_WriteValue)
 
_INT_ i_PCI3009_Write32BitCounterValue (DWORD_ dw_BoardHandle, DWORD_ dw_WriteValue)
 

Detailed Description

Function Documentation

_INT_ i_PCI3009_Write16BitCounterValue ( DWORD_  dw_BoardHandle,
BYTE_  b_SelectedCounter,
WORD_  w_WriteValue 
)

Write a 16-Bit value (ui_WriteValue) in to the selected 16-Bit counter (b_SelectedCounter)

Parameters
[in]dw_BoardHandle: Handle of board PCI-3009
[in]b_SelectedCounter: Selected 16-Bit counter (0 or 1)
[in]w_WriteValue: 16-Bit write value
Returns
0: No error
-1: The handle parameter of the board is wrong
-2: The module is not a counter module
-3: Counter not initialised see function "i_PCI3009_InitCounter"
-4: The selected 16-Bit counter parameter is wrong
_INT_ i_PCI3009_Write32BitCounterValue ( DWORD_  dw_BoardHandle,
DWORD_  dw_WriteValue 
)

Write a 32-Bit value (ui_WriteValue)

Parameters
[in]dw_BoardHandle: Handle of board PCI-3009
[in]dw_WriteValue: 32-Bit write value
Returns
0: No error
-1: The handle parameter of the board is wrong
-2: The module is not a counter module
-3: Counter not initialised see function "i_PCI3009_InitCounter"