Railroad Automation Class Library
Railroad Automation Class Library
Namespaces
RRAutoLib.Loconet
PkLocoIO Class
PkLocoIO Methods
BroadcastAddress Method
Read Method
RequestConfig Method
RequestSetup Method
RequestStates Method
ValidPacketResponse Method
WriteConfig Method
WriteSetup Method
WriteStates Method
PkLocoIO
Read Method
Reads requested data, returned from the LocoIO.
Namespace:
RRAutoLib.Loconet
Assembly:
RRAutoLib (in RRAutoLib.dll) Version: 4.0.8678.28884
Syntax
VB
C#
Copy
Public
Function
Read
As
Object
public
Object
Read
()
Return Value
Type:
Object
A
PkLocoIO
Setup
or
PkLocoIO
PortConfig
class instance, or a zero based boolean array of 16 values.
Remarks
When
RequestSetup(LoconetService, Byte, Byte)
is called, a Read() on the returned packet returns a
PkLocoIO
Setup
instance. When
RequestConfig(LoconetService, Byte, Byte, Byte)
is called, a Read() on the returned packet returns a
PkLocoIO
PortConfig
instance. When
RequestStates(LoconetService, Byte)
is called, a Read() on the returned packet returns a boolean array.
See Also
Reference
PkLocoIO Class
RRAutoLib.Loconet Namespace
PkLocoIO
RequestSetup(LoconetService, Byte, Byte)
PkLocoIO
RequestConfig(LoconetService, Byte, Byte, Byte)
PkLocoIO
RequestStates(LoconetService, Byte)
RRAutoLib.Loconet
PkLocoIO
Setup
RRAutoLib.Loconet
PkLocoIO
PortConfig
© Perecli Systems
Send comments on this topic to
perecli@live.com