Resolution of data passed through GoTo block
-
Hi All,
I'm reading some registers on a device and passing them to other parts within the REX program.
My question is why am I dropping the decimal point? on the left you can see the true values and on the right you can see the value has now dropped a decimal. What would cause this?

Cheers,
Mike -
@MikeyH
Hi Mike,Without seeing the full schema, my guess would be a data type mismatch. It looks like the block with the val0-2 inputs might be expecting an integer (long) data type. If that's the case, any incoming real number would get automatically rounded or truncated, which would explain the lost decimal places.

Cheers,
Jan