Custom Result Format
In the custom format, you enter a format string with place holders to create a custom message. The default format string is "%time, %value[0], %decision[0]".
Format Value |
Name |
Explanation |
---|---|---|
%time |
Time |
Timestamp in microseconds of the last frame. |
%encoder |
Encoder Position |
Encoder position of the last frame when the image data was scanned/taken. |
%frame |
Frame Index |
Frame number of the last frame. |
%value[Measurement ID] |
Value |
Measurement value of the specified measurement ID. The ID must correspond to an existing measurement.
The value output will be displayed as an integer in micrometers. |
%decision[Measurement ID] |
Decision |
Measurement decision, where the selected measurement ID must correspond to an existing measurement.
Measurement decision is a bit mask where: Bit 0: 1 – Pass 0 – Fail Bits 1-7: 0 – Measurement value OK 1 – Invalid value 2 - Invalid anchor |
C language printf-style formatting is also supported: for example, %sprintf[%09d, %value[0]]. This allows fixed length formatting for easier input parsing in PLC and robot controller logic.