Click or drag to resize

LoconetService Methods

The LoconetService type exposes the following members.

Methods
  NameDescription
Public methodCode exampleStart
Starts the Loconet service and connects to the serial port.
Public methodCode exampleStop
Stops the Loconet service and disconnects from the serial port.
Public methodCode exampleTxPacket
Transmits a packet asynchronously with normal priority.
Public methodTxPriorityPacket
Transmits a packet asynchronously with high priority.
Public methodCode exampleTxPrioritySpeed
Transmits a locomotive speed control packet asynchronously with high priority.
Top
See Also