Yellow box edition

  • Hi

    Folks!



    In what way can I edit a Yellow box?


    I need to add a selection to ask:


    Do you want to take the current value of the tracking encoder?


    Yes No




    It needs to be in the yellow box. (Mandatory)



    Regards

    Tlalóc<br />Always take it easy!!!!!

  • Go to Menu > Setup > Menu Utility


    Select "2 Prompt box yes/no" and hit F2 - "detail." Hit F3 - "create." You'll have to assign it a menu number; the next screen will let you add your text.


    To use the menu in your program, go to [INST] > MACRO > Prompt Box YN. You'll need to pass it two arguments, the first argument is the menu number and the second is the register you want to store the response.


    So for example, if you gave it menu number 1 and you want the y/n response in R[20], this would look like "Prompt Box YN(1,20)" A yes is a 1, a no is a 0.

Advertising from our partners