xPCI-3009 API
|
Functions | |
_INT_ | i_PCI3009_ReadPotis (DWORD_ dw_BoardHandle, BYTE_ b_PotisCs, PDWORD_ pdw_Value) |
_INT_ | i_PCI3009_WritePotis (DWORD_ dw_BoardHandle, BYTE_ b_PotisCs, DWORD_ dw_Value) |
_INT_ | i_PCI3009_SavePotis (DWORD_ dw_BoardHandle) |
_INT_ i_PCI3009_ReadPotis | ( | DWORD_ | dw_BoardHandle, |
BYTE_ | b_PotisCs, | ||
PDWORD_ | pdw_Value | ||
) |
Read the value of the potentiometer
[in] | dw_BoardHandle | Handle of PCI-3009 board |
[in] | b_PotisCs | Poti chip select 000: ADC0 offset (bipolar) 001: ADC1 offset (bipolar) 010: ADC0 gain (bipolar) 011: ADC1 gain (bipolar) 100: ADC2 offset (unipolar) 101: ADC2 gain (unipolar) 110: Analog output +10V reference 111: Analog output -10V reference |
[out] | pdw_Value | Value of the selected potentiometer |
_INT_ i_PCI3009_WritePotis | ( | DWORD_ | dw_BoardHandle, |
BYTE_ | b_PotisCs, | ||
DWORD_ | dw_Value | ||
) |
Write the value of the potentiometer
[in] | dw_BoardHandle | Handle of PCI-3009 board |
[in] | b_PotisCs | Poti chip select 000: ADC0 offset (bipolar) 001: ADC1 offset (bipolar) 010: ADC0 gain (bipolar) 011: ADC1 gain (bipolar) 100: ADC2 offset (unipolar) 101: ADC2 gain (unipolar) 110: Analog output +10V reference 111: Analog output -10V reference |
[out] | dw_Value | Value of the selected potentiometer |
_INT_ i_PCI3009_SavePotis | ( | DWORD_ | dw_BoardHandle | ) |
Save the value of all the potentiometers in the EEPROM
[in] | dw_BoardHandle | Handle of PCI-3009 board |