xPCI-3009 API
|
Functions | |
_INT_ | i_PCI3009_AnalogInputEnableDisableHardwareTrigger (DWORD_ dw_BoardHandle, BYTE_ b_HardwareTriggerAction, BYTE_ b_HardwareTriggerLevel, DWORD_ dw_HardwareTriggerCount, DWORD_ dw_HardwareTriggerCycleCount) |
_INT_ | i_PCI3009_AnalogInputGetHardwareTriggerStatus (DWORD_ dw_BoardHandle, PBYTE_ pb_HardwareTriggerAction, PBYTE_ pb_HardwareTriggerStatus, PDWORD_ pdw_HardwareTriggerCount, PBYTE_ pb_HardwareTriggerState) |
_INT_ i_PCI3009_AnalogInputEnableDisableHardwareTrigger | ( | DWORD_ | dw_BoardHandle, |
BYTE_ | b_HardwareTriggerAction, | ||
BYTE_ | b_HardwareTriggerLevel, | ||
DWORD_ | dw_HardwareTriggerCount, | ||
DWORD_ | dw_HardwareTriggerCycleCount | ||
) |
Enable/disable the hardware trigger action.
The user have the posibility via b_HardwareTriggerAction to define the action to make
[in] | dw_BoardHandle | : Handle of board PCI-3009 |
[in] | b_HardwareTriggerAction | : Trigger action selection PCI3009_DISABLE : Disable the hardware trigger action PCI3009_ONE_SHOT_TRIGGER : After the first dw_HardwareTriggerCount trigger the conversion are started. All next trigger have not effect. The trigger are rearmed after the next call from the function "i_PCI3009_AnalogInputRead1Channel" or "i_PCI3009_AnalogInputReadMoreChannels" or "i_PCI3009_AnalogInputStartAutoRefresh" or "i_PCI3009_AnalogInputStartSequence" PCI3009_TRIGGER_START_A_SERIES: After each dw_HardwareTriggerCount trigger a series of dw_HardwareTriggerCycleCount acqisition cycles is started. Only available for sequence and auto refresh |
[in] | b_HardwareTriggerLevel | : PCI3009_LOW_FRONT: If the hardware trigger is ued, it triggers from "1" to "0" PCI3009_HIGH_FRONT: If the hardware trigger is used, it triggers from "0" to "1" PCI3009_HIGH_LOW_FRONT: If the hardware trigger is used, it triggers from "0" to "1" or from "1" to "0" |
[in] | dw_HardwareTriggerCount | : Hardware trigger counter. Define the number of trigger events before the action occur (> 0 and < 65536) |
[in] | dw_HardwareTriggerCycleCount | : Define the number of sequences or auto refresh cycles to trigger. |
_INT_ i_PCI3009_AnalogInputGetHardwareTriggerStatus | ( | DWORD_ | dw_BoardHandle, |
PBYTE_ | pb_HardwareTriggerAction, | ||
PBYTE_ | pb_HardwareTriggerStatus, | ||
PDWORD_ | pdw_HardwareTriggerCount, | ||
PBYTE_ | pb_HardwareTriggerState | ||
) |
Returns the status (occur or not), the state from input (active or not) and the number of that fail before the next trigger occur
[in] | dw_BoardHandle | : Handle of board PCI-3009 |
[out] | pb_HardwareTriggerAction | : Trigger action selection PCI3009_DISABLE : Disable the hardware trigger action PCI3009_ONE_SHOT_TRIGGER : After the first dw_HardwareTriggerCount trigger the conversion are started. All next trigger have not effect. The trigger are rearmed after the next call from the function "i_PCI3009_AnalogInputRead1Channel" or "i_PCI3009_AnalogInputReadMoreChannels" or "i_PCI3009_AnalogInputStartAutoRefresh" or "i_PCI3009_AnalogInputStartSequence" PCI3009_TRIGGER_START_A_SERIES: After each dw_HardwareTriggerCount trigger a series of dw_HardwareTriggerCycleCount acqisition cycles is started. Only available for sequence and auto refresh |
[out] | pb_HardwareTriggerStatus | : 0: Hardware trigger did not occur 1: Hardware trigger occurred |
[out] | pdw_HardwareTriggerCount | : Number of pulse that fail before the next trigger occur |
[out] | pb_HardwareTriggerState | : 0: Hardware trigger input is not active (Low state) 1: Hardware trigger input is active (High state) |