XSight_ReadInputLevel_Single


Reads input port level from device.

Syntax

C++
Python
 
def XSight_ReadInputLevel_Single(
	state: XSight_State,
	inPort: int,
	/,
	*,
	inDeviceIndex: int | None = None
)
-> outLevel: XSightIOLevel

Parameters

Name Type Range Default Description
Input will be modified ioState XSight_State
Input value inDeviceIndex int | None 0 - None Device identifying number
Input value inPort int 1 - 16 IO port description number.
Output value outLevel XSightIOLevel