Click or drag to resize

ModbusTCPProtocolGetLineState Method

Note: This API is now obsolete.

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
[ObsoleteAttribute("GetLineState is deprecated. Replaced by GetDigitalLineState")]
public int GetLineState(
	int line,
	bool isInput = true
)

Parameters

line  Int32

[Missing <param name="line"/> documentation for "M:Brainboxes.IO.ModbusTCPProtocol.GetLineState(System.Int32,System.Boolean)"]

isInput  Boolean  (Optional)

[Missing <param name="isInput"/> documentation for "M:Brainboxes.IO.ModbusTCPProtocol.GetLineState(System.Int32,System.Boolean)"]

Return Value

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

Implements

IIOProtocolGetLineState(Int32, Boolean)
See Also