It is much easier: If you press the hotkey the NAME of the hotkey will be shown (remain displayd) forever. ONLY if you enter and exit the menu you will get "CUSTOM" replacing the hotkey name and replacing "CUSTOM" with the selected unit (e.g. dBm) after the first sweep.
If you want your label ALLWAYS to be seen simply add
- Code: Select all
PRINTSTR 03h, "labelname"
on TOP of program 150 (scanprog). Aftger that this label will show up after every sweep since program 150 will be called after each sweep.
But if you want to do some own P-Code programming please have a look at P-Code samples we offer so far e.g.viewtopic.php?f=23&t=191viewtopic.php?f=23&t=161