xPCI-3009 API
|
Functions | |
_INT_ | i_PCI3009_InitSSIRawData (DWORD_ dw_BoardHandle, BYTE_ b_SSIProfile, DWORD_ dw_SSIOutputClock) |
_INT_ | i_PCI3009_Read1SSIRawDataValue (DWORD_ dw_BoardHandle, BYTE_ b_SelectedSSI, PDWORD_ pdw_ValueArray, BYTE_ b_ValueArraySize) |
_INT_ | i_PCI3009_ReadAllSSIRawDataValue (DWORD_ dw_BoardHandle, PDWORD_ pdw_ValueArray, BYTE_ b_ValueArraySize) |
_INT_ | i_PCI3009_StartSSIAcquisition (DWORD_ dw_BoardHandle) |
_INT_ | i_PCI3009_GetSSIAcquisitionStatus (DWORD_ dw_BoardHandle, PBYTE_ pb_Status) |
_INT_ | i_PCI3009_GetSSIValue (DWORD_ dw_BoardHandle, BYTE_ b_SelectedSSI, PDWORD_ pdw_Position, PDWORD_ pdw_TurnCpt) |
_INT_ | i_PCI3009_GetSSIRawDataValue (DWORD_ dw_BoardHandle, BYTE_ b_SelectedSSI, PDWORD_ pdw_ValueArray, BYTE_ b_ValueArraySize) |
_INT_ i_PCI3009_InitSSIRawData | ( | DWORD_ | dw_BoardHandle, |
BYTE_ | b_SSIProfile, | ||
DWORD_ | dw_SSIOutputClock | ||
) |
Configure the SSI operating mode.
You must calling this function be for you call any other function witch access of SSI.
[in] | dw_BoardHandle | : Handle of board PCI-3009 |
[in] | b_SSIProfile | : Selection from SSI profile length (1 to 49). |
[in] | dw_SSIOutputClock | : Selection from SSI output clock. From 252 to 5 000 000 Hz |
_INT_ i_PCI3009_Read1SSIRawDataValue | ( | DWORD_ | dw_BoardHandle, |
BYTE_ | b_SelectedSSI, | ||
PDWORD_ | pdw_ValueArray, | ||
BYTE_ | b_ValueArraySize | ||
) |
Read the selected SSI counter (b_SelectedSSI)
[in] | dw_BoardHandle | : Handle of board PCI-3009 |
[in] | b_SelectedSSI | : Selection from SSI counter (0 to 2) |
[in] | b_ValueArraySize | : Size of the pdw_ValueArray in dword |
[out] | pdw_ValueArray | : Array of the raw data from the SSI counter |
_INT_ i_PCI3009_ReadAllSSIRawDataValue | ( | DWORD_ | dw_BoardHandle, |
PDWORD_ | pdw_ValueArray, | ||
BYTE_ | b_ValueArraySize | ||
) |
Read all SSI counter
[in] | dw_BoardHandle | : Handle of board PCI-3009 |
[in] | b_ValueArraySize | : Size of the pdw_ValueArray in dword |
[out] | pdw_ValueArray | : Array of the raw data from the SSI counter |
_INT_ i_PCI3009_StartSSIAcquisition | ( | DWORD_ | dw_BoardHandle | ) |
Start the SSI acquisition
[in] | dw_BoardHandle | : Handle of board PCI-3009 |
_INT_ i_PCI3009_GetSSIAcquisitionStatus | ( | DWORD_ | dw_BoardHandle, |
PBYTE_ | pb_Status | ||
) |
Return the SSI acquisition status
[in] | dw_BoardHandle | : Handle of board PCI-3009 |
[out] | pb_Status | : 1 Acquisition in progress 0 Acquisition beend |
_INT_ i_PCI3009_GetSSIValue | ( | DWORD_ | dw_BoardHandle, |
BYTE_ | b_SelectedSSI, | ||
PDWORD_ | pdw_Position, | ||
PDWORD_ | pdw_TurnCpt | ||
) |
Read the selected SSI counter
[in] | dw_BoardHandle | : Handle of board PCI-3009 |
[in] | b_SelectedSSI | : Selection from SSI counter (0 to 2) |
[out] | pdw_Position | : SSI position in the turn |
[out] | pdw_TurnCpt | : Number of turns |
_INT_ i_PCI3009_GetSSIRawDataValue | ( | DWORD_ | dw_BoardHandle, |
BYTE_ | b_SelectedSSI, | ||
PDWORD_ | pdw_ValueArray, | ||
BYTE_ | b_ValueArraySize | ||
) |
Read the selected SSI counter
[in] | dw_BoardHandle | : Handle of board PCI-3009 |
[in] | b_SelectedSSI | : Selection from SSI |
[in] | b_ValueArraySize | : Size of the pdw_ValueArray in dword |
[out] | pdw_ValueArray | : Array of the raw data from the SSI counter |