.

SqNodeSegment.DigitalOutBit

A digital output bit on a SynqNet node segment.

This property cannot be saved to flash memory.

Version History

Introduced in MPX 2.0.

Arguments

 
Argument Type Description
bit Long The bit to read.
wait Boolean Used only when setting the digital output state.

Type

Boolean

Visual Basic

Syntax

Property DigitalOutBit(bit As Long, wait = False As Boolean) As Variant

Sample Code

 

Example 1
x = Controller.SqNode(3).SqNodeSegment(1).DigitalOutBit(5)

Controller.SqNode(3).SqNodeSegment(1).DigitalOutBit(5, True) = False

Example 2
Dim RobotIoSegment As MPXCtl.SqNodeSegment
Set RobotIoSegment = Controller.SqNode(3).SqNodeSegment(1)

robotLedState = RobotIoSegment.DigitalOutBit(4) = True


Sample Application

 

C#

Syntax

 

 

Sample Code

 

See Also

DigitalInBit

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering