UNIQUE_DEVICE_REF

UNIQUE_DEVICE_REF is a read-only built-in string containing the device name of the current test device. If there is more than one board in the project then this will also contain the board name. UNIQUE_DEVICE_REF is defined only within a device file.

UNIQUE_DEVICE_REF is guaranteed to work with any built-in functions that require a device name.

UNIQUE_DEVICE_REF was added in version 3.3.12 and 3.4.1 and so is not automatically defined in versions prior to that.

Example

PRINT(UNIQUE_DEVICE_REF, ": Test failed\n");
EXIT;