Page 1 of 1

Possible to create a table to change individual bits?

Posted: Thu Apr 07, 2022 12:26 am
by Phoenix
Hello,

I'm wondering if there is a way to set up a table in TunerPro so that it can change individual bits from 0 to 1 and 1 to 0 in an individual byte? I'm trying to define a parameter in the P59 GM OS that deals with engine protection and a cylinder group. In the byte each cylinder is represented by 1 bit so for example:

HEX value is 55, the Binary value is 01010101. The cylinders are defined as:
Cylinder H = 0, False
Cylinder G = 1, True
Cylinder F = 0, False
Etc.

I know I can set up a Flag and change the individual bit that way, but is there a way to group them them together and have 1 table instead of 8 flags?

Re: Possible to create a table to change individual bits?

Posted: Wed Oct 19, 2022 10:31 am
by Highlander
You can create a new table whose each row is linked to a different cal.

Like this:

https://prnt.sc/MsnFoYSXjHQx

https://prnt.sc/ov9pDfnGFFOv

https://prnt.sc/z-KTrwnJqKqg

Re: Possible to create a table to change individual bits?

Posted: Sun Nov 27, 2022 2:59 am
by Phoenix
Highlander wrote:You can create a new table whose each row is linked to a different cal.

Like this:

https://prnt.sc/MsnFoYSXjHQx

https://prnt.sc/ov9pDfnGFFOv

https://prnt.sc/z-KTrwnJqKqg
So basically I would have to create all the flags, then scroll through the 2800+ parameters of the XDF (I cannot find a way to search in the Linked Item XDF Browser) link it, then repeat 31 more times?