Transmits a packet asynchronously with normal priority.
Namespace: RRAutoLib.LoconetAssembly: RRAutoLib (in RRAutoLib.dll) Version: 1.4.4420.16901
Syntax
| C# |
|---|
public void TxPacket( Packet objPacket ) |
| Visual Basic |
|---|
Public Sub TxPacket ( _ objPacket As Packet _ ) |
Parameters
- objPacket
- Type: RRAutoLib.Loconet..::..Packet
The Packet to be transmited.
Remarks
The Loconet service has two transmition queues; a normal queue accessed by TxPacket and a priority queue accessed by TxPriorityPacket(Packet).
Packets placed in the priority queue will jump in line to be transmited ahead of packets placed in the normal queue.
For example, TxPriorityPacket(Packet) is better suited for locomotive control where responsiveness is more important.
Examples
See the Start()()()() method for a code example.