xPCI-3009 API
|
Functions | |
_INT_ | i_PCI3009_DigitalInputEnableDisableFilter (DWORD_ dw_BoardHandle, BYTE_ b_Filter, DWORD_ dw_FilterTime) |
_INT_ | i_PCI3009_DigitalInputRead1 (DWORD_ dw_BoardHandle, BYTE_ b_Channel, PBYTE_ pb_State) |
_INT_ | i_PCI3009_DigitalInputReadAll (DWORD_ dw_BoardHandle, PBYTE_ pb_State) |
_INT_ i_PCI3009_DigitalInputEnableDisableFilter | ( | DWORD_ | dw_BoardHandle, |
BYTE_ | b_Filter, | ||
DWORD_ | dw_FilterTime | ||
) |
Enable/disable the digital input filter. The filter time base is 1 micro s.
[in] | dw_BoardHandle | : Handle of board PCI-3009 |
[in] | b_Filter | : PCI3009_DISABLE: Disable the digital input filter PCI3009_ENABLE : Enable the digital input filter |
[in] | dw_FilterTime | : Digital input filter time (1 to 2047). Time base is 1 micro s |
_INT_ i_PCI3009_DigitalInputRead1 | ( | DWORD_ | dw_BoardHandle, |
BYTE_ | b_Channel, | ||
PBYTE_ | pb_State | ||
) |
Read the selected digital input channel
[in] | dw_BoardHandle | : Handle of board PCI-3009 |
[in] | b_Channel | : Selected digital input channel (0 to 3) |
[out] | pb_State | : 0: Input is low (0V) 1: Ínput is high (24V) |
_INT_ i_PCI3009_DigitalInputReadAll | ( | DWORD_ | dw_BoardHandle, |
PBYTE_ | pb_State | ||
) |
Read all digital input channels
[in] | dw_BoardHandle | : Handle of board PCI-3009 |
[out] | pb_State | : D0: Digital input 0 state D1: Digital input 1 state D2: Digital input 2 state D3: Digital input 3 state |