Click or drag to resize

PkLocoIORead Method

Reads requested data, returned from the LocoIO.

Namespace:  RRAutoLib.Loconet
Assembly:  RRAutoLib (in RRAutoLib.dll) Version: 4.0.8678.28884
Syntax
Public Function Read As Object

Return Value

Type: Object
A PkLocoIOSetup or PkLocoIOPortConfig 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 PkLocoIOSetup instance. When RequestConfig(LoconetService, Byte, Byte, Byte) is called, a Read() on the returned packet returns a PkLocoIOPortConfig instance. When RequestStates(LoconetService, Byte) is called, a Read() on the returned packet returns a boolean array.
See Also