Transmits a packet asynchronously with high priority.
Namespace: RRAutoLib.LoconetAssembly: RRAutoLib (in RRAutoLib.dll) Version: 1.4.4420.16901
Syntax
| C# |
|---|
public void TxPriorityPacket( Packet objPacket ) |
| Visual Basic |
|---|
Public Sub TxPriorityPacket ( _ 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(Packet) and a priority queue accessed by TxPriorityPacket.
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.