Latest LCode version

   #121  

NEtech

VCDS Distributor
VCDS Distributor
Joined
Feb 7, 2014
Messages
3,011
Reaction score
4,776
Location
Denmark
VCDS Serial number
C?ID=56995
Or do i use the ",I," code line function wrong?
I check the rest later, but yes you use it wrong ;)
I is for airbag info.
The info must be after the coding text or the red LC,00,6=, LC,00,7= ...
 
   #122  

etz2k

Verified VCDS User
Verified
Joined
Aug 4, 2021
Messages
455
Reaction score
545
Location
Germany
VCDS Serial number
C?ID=69430
I is for airbag info.
The info must be after the coding text or the red LC,00,6=, LC,00,7= ..
@NEtech can you give me an example how it should look like, please?
Seems i'm a fool, i only get errors.
 
   #123  

NEtech

VCDS Distributor
VCDS Distributor
Joined
Feb 7, 2014
Messages
3,011
Reaction score
4,776
Location
Denmark
VCDS Serial number
C?ID=56995
:confused: About what
"I", that is internal use, no use for your examples.
For "=":
LC,00,2=,Data i Byte 08 & Byte 23
LC,00,4=,Data i Byte 08 & Byte 23

lcode%3D.png
 
   #124  

etz2k

Verified VCDS User
Verified
Joined
Aug 4, 2021
Messages
455
Reaction score
545
Location
Germany
VCDS Serial number
C?ID=69430
For "=":
LC,00,2=,Data i Byte 08 & Byte 23
LC,00,4=,Data i Byte 08 & Byte 23
I think you like to kidding me a bit:thumbs:
 
   #126  

etz2k

Verified VCDS User
Verified
Joined
Aug 4, 2021
Messages
455
Reaction score
545
Location
Germany
VCDS Serial number
C?ID=69430
I tried the the "LC,00,X=, Info" between 2 pulldown menu, but then the 1. pulldown menu don't work properly. Seems like i do things, that are not intended by you. :rolleyes:
Sorry, it's my fault.
My goal was to insert infos in the MK60EC1 LBL (coding), so that the coding is a bit easier to understand, but it shouldn't look so unclear, because of to much text in a line/menu (but that's not easy).
But anyway your prog is really great:o.
 
   #127  

etz2k

Verified VCDS User
Verified
Joined
Aug 4, 2021
Messages
455
Reaction score
545
Location
Germany
VCDS Serial number
C?ID=69430
Hi @NEtech,
can you make it so, that the use of the "Ctrl + F12" function, to remove the VIN-Bytes, also pay attention to the LBL-file byte description? Because only remove the VIN-Bytes mix up the description for the bytes (if you don't use a special LBL that's w/o the VIN-Bytes).

The small window that show the mirrored Hex value is a nice help, but a function in the script language to define (for example) that the Hex value of byte 20 is the mirrored Hex value of byte 12, whould be so great for coding sometimes.
 
   #128  

NEtech

VCDS Distributor
VCDS Distributor
Joined
Feb 7, 2014
Messages
3,011
Reaction score
4,776
Location
Denmark
VCDS Serial number
C?ID=56995
can you make it so, that the use of the "Ctrl + F12" function, to remove the VIN-Bytes, also pay attention to the LBL-file byte description? Because only remove the VIN-Bytes mix up the description for the bytes (if you don't use a special LBL that's w/o the VIN-Bytes).
If possible, I don't think it is so easy.
I tried to change some of the xpl files and remove VIN, it takes about 2 minutes (used Visual Studio Code).

The small window that show the mirrored Hex value is a nice help, but a function in the script language to define (for example) that the Hex value of byte 20 is the mirrored Hex value of byte 12, whould be so great for coding sometimes.
Please explain with an example.
What script language?
I don't calculate between 2 different Bytes, if for example Byte 20 is 0x43, then the mirrored value is 0xC2
 
   #129  

etz2k

Verified VCDS User
Verified
Joined
Aug 4, 2021
Messages
455
Reaction score
545
Location
Germany
VCDS Serial number
C?ID=69430
If possible, I don't think it is so easy.
OK

What script language?

How do you call the language in the .LBL or .XPL files ?

I don't calculate between 2 different Bytes, if for example Byte 20 is 0x43, then the mirrored value is 0xC2
Yes, i know that, it only shows the mirrored value of the selected byte in the small window (on the right side).

Please explain with an example.

My question was/is, if you can add a commando in the "script language" of the LBL/XPL files, that can convert the hex value of a defined byte and automatic write this new hex value to another selected byte?

Example for a ABS Coding:

Code:
LC,00,4~7,10,|  Ibiza Hatch & ST (6J)
LC,00,4~7,20,|  Polo Hatch (6R)
LC,00,4~7,30,|  A1 (8X)
LC,00,4~7,40,|  Fabia / Roomster (5J)
LC,00,4~7,50,|  Polo Sedan (61) (rus)
LC,00,4~7,60,|  Polo Sedan (60)
LC,00,4~7,70,|  Fabia Sedan (Skoda Rapid)  (NA)
;
LC,14,#0       ;"New Commando" to read the hex value of byte 0 (or any other defined byte) and insert the mirrored hex value here (byte 14) automatic,
                 if hex value of byte 0 is edited by the user. Also disable to edit byte 14 by user. (Maybe only a info message like: "Mirror-Byte, use byte 0
                 to edit" or so.)
;
LC,15,0,Info

I hope you understand what i mean:o
 
   #131  

NEtech

VCDS Distributor
VCDS Distributor
Joined
Feb 7, 2014
Messages
3,011
Reaction score
4,776
Location
Denmark
VCDS Serial number
C?ID=56995
Here is an LCode test version, which can show some extra information for each Long coding Byte.

lc-info.jpg


LBL file Information example for Byte 00:
Code:
;
#,00,0,Test information 1
#,00,1,Test information 2
#,00,2,Test information 3
#,00,3,Test information 4
#,00,4,Test information 5
#,00,5,Test information 6
#,00,6,Test information 7
#,00,7,Test information 8
;

Another item:
Would anybody be missing the Menu text [Read lbl file], if I remove that?
You can still use "Ctrl O" and "drag and drop" to load an lbl file.
 
   #132  

Uwe

Benevolent Dictator
Administrator
Joined
Jan 29, 2014
Messages
42,359
Reaction score
29,977
Location
USA
VCDS Serial number
HC100001
Another item:
Would anybody be missing the Menu text [Read lbl file], if I remove that?
I would. I use it off-line quite regularly. But I guess I could learn to use Ctrl+O. :)

-Uwe-
 
   #133  

NEtech

VCDS Distributor
VCDS Distributor
Joined
Feb 7, 2014
Messages
3,011
Reaction score
4,776
Location
Denmark
VCDS Serial number
C?ID=56995
And I forgot "Ctrl Enter", I use it so much, I don't what keys I press.
Copy long coding, Ctrl K (my shortcut), Ctrl Enter :)
 
   #134  

etz2k

Verified VCDS User
Verified
Joined
Aug 4, 2021
Messages
455
Reaction score
545
Location
Germany
VCDS Serial number
C?ID=69430
This is a great new feature, but how can i use it correct ?

- I use copy and past for your 8 lines and insert it before the first "LC,00,0,..." line, but there appears only
"Test information 1" in the window nothing more.

- if i insert the 8 lines after "LC,00,7,..." and before "LC,01,0,..." there appears also only "Test information 1" in the window, but now LCode don't use the rest of the lines in the LBL (show no description of rest of the bytes/bits)

- if i change "#,00,0,Test ..." to "#,17,0,Test ..." it doesen't display anything and it seems to make no difference where i insert the lines (the coding and the description is 19 bytes)

Also everytime i change the byte like "#,00,0,Test ..." to "#,01,0,Test ..." i must exit LCode and restart, that it works.

Sorry, but i think i need some help :D
 
   #135  

NEtech

VCDS Distributor
VCDS Distributor
Joined
Feb 7, 2014
Messages
3,011
Reaction score
4,776
Location
Denmark
VCDS Serial number
C?ID=56995
Try to download again, it is changed.
Format for lbl file is also changed.
Code:
;
LC,00,0+,Test information 1
LC,00,1+,Test information 2
LC,00,2+,Test information 3
LC,00,3+,Test information 4
LC,00,4+,Test information 5
LC,00,5+,Test information 6
LC,00,6+,Test information 7
LC,00,7+,Test information 8
;
LC,01,0+,Test information Byte 1
;
etc
 
   #136  

AINils

VCDS Distributor
VCDS Distributor
Joined
Apr 3, 2020
Messages
533
Reaction score
438
Location
Germany (AIB)
VCDS Serial number
C?ID=56975
@NEtech it would be helpful to highlight the Byte in "String" to see in which place the actual byte ist placed. Like in older Lcode V1.

This is one of the things why iam actual using old Version. Its hard to find correct place in newer cars with coding with a lot of byte
 
   #137  

etz2k

Verified VCDS User
Verified
Joined
Aug 4, 2021
Messages
455
Reaction score
545
Location
Germany
VCDS Serial number
C?ID=69430
I downloadet it again used the last link "http://www.netech.dk/lctest/LCode.exe"

This is my test file:

Code:
;
LC,00,0,PLA (Park Steering Assist -J791) with brake intervention (V2.0-3.0)  (PR-7X5/7X6) [19 & 20-Byte Var.]
LC,00,1,ACC-FTS  (works not correct)  [20-Byte Var.]
LC,00,2,iTPMS reset via DIS (req. NIRA TPI active)  [19 & 20-Byte Var.]
LC,00,3,XDS (Extended Electronic Differential Lock, MY'10+)  [PR-UG3 / incl. HHC = PR-UG4]
LC,00,4,AWV1 (brake prefill)         [>>SW:121]        |    EDF  (Beetle, Golf Cabrio, Jetta[16], Passat-NMS)  [SW:133>>]
LC,00,5,AWV1 (HBA switchover)  [>>SW:121]        |    AWV1 (HBA switchover & brake prefill)                       [SW:133>>]
LC,00,6,AWV2 (warning jerk)                |
LC,00,7,AWV3 (deceleration)                |
;
;
LC,00,0+,Test information 1
LC,00,1+,Test information 2
LC,00,2+,Test information 3
LC,00,3+,Test information 4
LC,00,4+,Test information 5
LC,00,5+,Test information 6
LC,00,6+,Test information 7
LC,00,7+,Test information 8
;

8qhfvf75.jpg


But i'm not shure if it should look like this :confused:

And if i do it like this, i can't see any new/different thing (no window popup, etc.)
Code:
;
LC,00,0+,Test information 1
LC,00,1+,Test information 2
LC,00,2+,Test information 3
LC,00,3+,Test information 4
LC,00,4+,Test information 5
LC,00,5+,Test information 6
LC,00,6+,Test information 7
LC,00,7+,Test information 8
;
;
LC,00,0,PLA (Park Steering Assist -J791) with brake intervention (V2.0-3.0)  (PR-7X5/7X6) [19 & 20-Byte Var.]
LC,00,1,ACC-FTS  (works not correct)  [20-Byte Var.]
LC,00,2,iTPMS reset via DIS (req. NIRA TPI active)  [19 & 20-Byte Var.]
LC,00,3,XDS (Extended Electronic Differential Lock, MY'10+)  [PR-UG3 / incl. HHC = PR-UG4]
LC,00,4,AWV1 (brake prefill)         [>>SW:121]        |    EDF  (Beetle, Golf Cabrio, Jetta[16], Passat-NMS)  [SW:133>>]
LC,00,5,AWV1 (HBA switchover)  [>>SW:121]        |    AWV1 (HBA switchover & brake prefill)                       [SW:133>>]
LC,00,6,AWV2 (warning jerk)                |
LC,00,7,AWV3 (deceleration)                |
;

xe8pwyd2.jpg



I also restarted my small Win10 pad, but still no luck.

Maybe you can post a small example and a sreenshot how it should looks like?
 
Last edited:
   #138  

NEtech

VCDS Distributor
VCDS Distributor
Joined
Feb 7, 2014
Messages
3,011
Reaction score
4,776
Location
Denmark
VCDS Serial number
C?ID=56995
Please try again.
 
   #139  

etz2k

Verified VCDS User
Verified
Joined
Aug 4, 2021
Messages
455
Reaction score
545
Location
Germany
VCDS Serial number
C?ID=69430
Now it seems to work, but it ignore every 2nd line and if i write the "new info lines" after the "description lines" it overwrite it. :confused:
The sequence of the used LBLs is like before.

6ilxk6x9.png


7qosabqz.png
 
   #140  

NEtech

VCDS Distributor
VCDS Distributor
Joined
Feb 7, 2014
Messages
3,011
Reaction score
4,776
Location
Denmark
VCDS Serial number
C?ID=56995
Ups, one readln to many.
Updated.
 
Top