DAQNavi_SetPortDirection


Sets the port direction (input or output).

Syntax

C++
Python
 
def DAQNavi_SetPortDirection(
	state: DAQNavi_State,
	/,
	*,
	inDeviceID: str | None = None,
	inPort: int = 0,
	inPortIsOutput: bool = False
)
-> None

Parameters

Name Type Range Default Description
Input will be modified ioState DAQNavi_State
Input value inDeviceID str | None None Description or index of device
Input value inPort int 0 - + 0 Port number
Input value inPortIsOutput bool False True if port should be an output, false if port should be an input