Click or drag to resize

ASCIIProtocolGetDigitalLineState Method

Get the state of a digital IO Line

Namespace: Brainboxes.IO
Assembly: Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public int GetDigitalLineState(
	int line,
	bool isInput = true
)

Parameters

line  Int32
Line number
isInput  Boolean  (Optional)
ignored by ASCII protocol

Return Value

Int32
1: Line closed/High/On, 0: Line Open/Low/Off

Implements

IIOProtocolGetDigitalLineState(Int32, Boolean)
See Also