Skip to main content

Useful Utility Classes

Driver API

These byte utility classes are provided by the driver API and are very useful when writing protocol based drivers.

ClassDescription
ByteUtilitiesUseful functions for serializing most basic data types to byte arrays.
BCDByteUtilitiesSimilar to ByteUtilies, but for BCD encoding, with both Little and Big Endian support.

Designer API

These classes are provided by the Designer API:

ClassDescription
EDTUtilProvides convenience functions for working with the EDT, and a useful coalescingInvokeLater() function that can be used to group multiple calls into a single event.
ErrorUtilMany functions for displaying errors, but also other dialogs such as info and warning messages, and prompts.
IconUtilUsed for retrieving icons provided with Ignition.