VisionBox_GetDigitalInput
Reads a digital input state of Imago VisionBox computers.
Syntax
C++
Python
def VisionBox_GetDigitalInput( state: VisionBox_State, inPort: int, inInput: int, / ) -> outState: bool
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
ioState | VisionBox_State | ||
![]() |
inPort | int | Number of DigitalInput device to use | |
![]() |
inInput | int | Number of input to read | |
![]() |
outState | bool | State of selected input pin |
Multithreaded environment
This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.



