VisionBox_GetNumberOfDigitalInputs
Gets number of available digital inputs.
Syntax
C++
Python
def VisionBox_GetNumberOfDigitalInputs( state: VisionBox_State, inPort: int, / ) -> outNumberOfInputs: int
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
ioState | VisionBox_State | ||
![]() |
inPort | int | Number of DigitalInput device to use | |
![]() |
outNumberOfInputs | int | Number of Digital Inputs |
Multithreaded environment
This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.



