VisionBox_SetCameraTrigger
Sets camera trigger configuration.
Syntax
C++
Python
def VisionBox_SetCameraTrigger( state: VisionBox_State, inDeviceNumber: int, inTriggerSource: VisionBoxTriggerSource, inTrgPOff: bool, inTrgPOn: bool, inTrgNOff: bool, inTrgNOn: bool, /, *, inChannelNumber: int | None = None ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
ioState | VisionBox_State | ||
![]() |
inDeviceNumber | int | Device number | |
![]() |
inChannelNumber | int | None | None | Channel in device - when set to auto all channels will be configured at the same time |
![]() |
inTriggerSource | VisionBoxTriggerSource | Signal used to issue the trigger | |
![]() |
inTrgPOff | bool | P Gate OFF signal | |
![]() |
inTrgPOn | bool | P Gate ON signal | |
![]() |
inTrgNOff | bool | N Gate OFF signal | |
![]() |
inTrgNOn | bool | N Gate ON signal |
Multithreaded environment
This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.


