SqNode.DigitalOut
Reads or sets the current state of a set of SynqNet node digital outputs.
This property cannot be saved to flash memory.
Version History
Introduced in MPX 2.0.
Arguments
|
Argument |
Type |
Description |
Default Value |
bitStart |
Long |
The first digital output bit to read. |
|
bitCount |
Long |
The number of bits to read. |
|
wait |
Boolean |
Boolean flag indicating if the new output state is applied immediately or if a wait is inserted so that any previous output set is transmitted over SynqNet and applied to the output before this function.
This argument is only used when setting digital output states. |
True |
|
Type
Array of Booleans
Visual Basic
Syntax
Propetry DigitalOut(bitStart As Long,
bitCount As Long,
wait = False As Boolean) As Variant
Sample Code
|
digitalOut3to5 = Controller.SqNode(0).DigitalOut(3, 5)
Controller.SqNode(0).DigitalOut(3, 5) = Array(False, True, False) |
Sample Application
See Also
DigitalInBit
DigitalInCount
DigitalOutBit
DigitalOutCount
SqNodeSegment
DigitalInBit
DigitalInCount
DigitalOutBit
DigitalOut
DigitalOutCount
Overview of MPX I/O
|