Singer Instruments PIXL Client
Removing Plates
This topic assumes that there is an instance of the PIXLClient object called pixl. If this is not the case, please see the Connecting To The PIXL topic.

Whenever a plate has been removed from the PIXL the client should notify the PIXL so that it is aware of the change.

The PIXL can be notified of a plate removal with the PlateRemoved method on the PIXLClient.

Notifying the PIXL that a plate has been removed from the Red bay
Copy Code
pixl.PlateRemoved(Bays.Red);

By iterating the Bays, all plates can easily be removed from the PIXL.

Notifying the PIXL that the plates haves been removed from all bays
Copy Code
// Remove all plates from all bays.
foreach (var bay in new[] { Bays.Black, Bays.Red, Bays.Blue, Bays.Yellow, Bays.Green })
{
    // Notify PIXL that plate has been removed.
    PIXL.PlateRemoved(bay);
}
See Also

Getting Started

Reference