ModbusTCPProtocolSetAllOutputLineStates Method |
Note: This API is now obsolete.
Set all output lines on the device open (0) or closed (1)
The bit position represents the line number
Namespace: Brainboxes.IOAssembly: Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax [ObsoleteAttribute("SetAllOutputLineStates is deprecated. Replaced by SetAllDigitalOutputLineStates")]
public void SetAllOutputLineStates(
int states,
int numberOfOutputs = 8
)
<ObsoleteAttribute("SetAllOutputLineStates is deprecated. Replaced by SetAllDigitalOutputLineStates")>
Public Sub SetAllOutputLineStates (
states As Integer,
Optional numberOfOutputs As Integer = 8
)
[<ObsoleteAttribute("SetAllOutputLineStates is deprecated. Replaced by SetAllDigitalOutputLineStates")>]
abstract SetAllOutputLineStates :
states : int *
?numberOfOutputs : int
(* Defaults:
let _numberOfOutputs = defaultArg numberOfOutputs 8
*)
-> unit
[<ObsoleteAttribute("SetAllOutputLineStates is deprecated. Replaced by SetAllDigitalOutputLineStates")>]
override SetAllOutputLineStates :
states : int *
?numberOfOutputs : int
(* Defaults:
let _numberOfOutputs = defaultArg numberOfOutputs 8
*)
-> unit
Parameters
- states Int32
- The bit position represents the line number
- numberOfOutputs Int32 (Optional)
- The number of outputs on the device
Implements
IIOProtocolSetAllOutputLineStates(Int32, Int32)See Also