Inverting Signal math

Hey all

Just wanting to know what the optimal way of inverting the math is on a simple signal light

For instance

My ABS light shows is on when it should be off and off when it should be on.

value targetId=“273” offset=“3” length=“1” > <!-- 0x20 ABS lamp ON –

is it easier to invert the math here or change the gauge to respond to the given data.

I think the actual problem is that you are reading entire byte for one bit of information. Instead of inverting the value, try to read only the correct bit that indicates the ABS light. That can be done with conversion attribute. For example, if your ABS light is in second bit:

units="bit" conversion="V>>1"

Or you can do this: conversion=“not V”