The Museum of HP Calculators

HP Forum Archive 08

[ Return to Index | Top of Index ]

Menu's on HP42s
Message #1 Posted by Steffen Bräuner on 6 Aug 2002, 5:25 a.m.

Hi

I am new to this forum. I made a handfull of survey field programs for the 42s. In some of the programs I am using menus with more than 6 choices. How do you set the arrows that show the user that more menu-choices are available from within a program ?

Steffen

      
Re: Menu's on HP42s
Message #2 Posted by John K. (US) on 6 Aug 2002, 8:19 a.m.,
in response to message #1 by Steffen Bräuner

IIRC, button numbers "7" and "8" are the up and down arrows, respectivly, (numbers 1-6 are the menu keys and 9 is the [EXIT] button) and are handled just like the programmable menu buttons, except that you don't specify the labels. If either of those are selected, you simply branch to a new set of menu declarations. Off hand, I don't remember if the "up & down" arrow segment of the LCD is set as a result of this, but there may be a flag which will turn it on. I don't have my manual handy, but I'll take a look at it later and post that info if nobody beats me to it.

            
Re: Menu's on HP42s
Message #3 Posted by Randy Sloyer (US) on 6 Aug 2002, 7:48 p.m.,
in response to message #2 by John K. (US)

The "multirow menu" annunciator should appear automatically when you have more than 6 progammable menu choices.

I can find no flag to set or test the state of this annunciator.

                  
Re: Menu's on HP42s
Message #4 Posted by John K. (US) on 6 Aug 2002, 10:40 p.m.,
in response to message #3 by Randy Sloyer (US)

<nod> Yeah, that's what I found, too. It's been a while since I did any serious programming on my 42, and I'd forgotten whether or not I had to set it manually. In any event, the up arrow is menu key 7 and the down is 8.

                  
Re: Menu's on HP42s
Message #5 Posted by Vieira, Luiz C. (Brazil) on 7 Aug 2002, 1:07 a.m.,
in response to message #3 by Randy Sloyer (US)

Hello;

I agree with you both, Randy and John, but there are two specific situations: a menu with variables created internatlly by, say, SOLVER (in this case, [UP] and {DOWN] arrows are automatically active), and a menu created buy KEYG or KEYX, that demands the key number; in this case, activating [UP] and [DOWN] arrow will need KEY 7 GO somewhere or KEY 8 XEQ something. There will be only six options at a time. There is a very good example of this feature at the HP42S User's Manual, Part 10 - Programming Techniques, The programmabel Menu (my manual is in Portuguese, and this subject is found at page 145; I believe in the original English manual it will be closed to it).

Hope this helps.

                        
Re: Menu's on HP42s
Message #6 Posted by John K. (US) on 7 Aug 2002, 3:43 a.m.,
in response to message #5 by Vieira, Luiz C. (Brazil)

> I agree with you both, Randy and John, but there are two specific situations[..]

True, but I assumed -- perhaps incorrectly -- that he was not talking about the automatic menus (or local variable mode, for that matter). I guess the real question is, assuming the program is using the programmable menu (e.g. KEYG/KEYX sequences), does the annunciator come on automatically if the KEY 7 and/or KEY 8 instructions are executed? I honestly can't remember, and I haven't had a chance to check. As Randy Sloyer indicated, there doesn't seem to be a way to set it manually, though there seem to be flags for almost all of the other annunciator segments -- go figure. :^/

                              
Re: Menu's on HP42s
Message #7 Posted by Vieira, Luiz C. (Brazil) on 7 Aug 2002, 7:08 a.m.,
in response to message #6 by John K. (US)

Hi;

For testing purposes, I typed a small program in and it did no set up/down arrows on, meaning no up/down option indication for user KEYG/KEYX in the display. You know, I never thought about this. In fact, KEYG/KEYX will only redefine the first row keys, one at a time. If we try to "roll-down" or "roll-up", "7" or "8" will appear, meaning down-arrow or up-arrow will be redefined.

That's completely normal to expect that, in this particular situation, the annunciator would turn on, as it happens with other menus, CUSTON and LOCAL LABEL included.

Now I get your point. But it seems to me this is an internal set; maybe J.F.Garnier, Hrast and others will find some shortcut for this annunciator.

Thanks teasing my mind.

      
Re: Menu's on HP42s
Message #8 Posted by Hiroshi Ito on 6 Aug 2002, 12:05 p.m.,
in response to message #1 by Steffen Bräuner

Thank you for responding to me. I have 82160A HP-IL printer. But I have neither a bar cord leader for HP-41C nor a bar cord leader for HP-71B. Where can I find a change program? Or, where can I find a bar cord printing program? I am the best if there is a HP-71B BASIC program to collect a text file in the binary file and to change. If such a program is here, I can do most work on HP-71B. I tried another method. I am not found though I looked for the emulator which had a change function. If a binary file can be formed, it lets 41CV read it via 9114B.

      
Re: Menu's on HP42s
Message #9 Posted by Steffen on 7 Aug 2002, 2:25 a.m.,
in response to message #1 by Steffen Bräuner

Thanks for your reply

It seems you've got the same experiences as I do. When you use one of the set menu's (Solver for example) the multirow menu announciater is set, but when You program one your yourself they are not. I have been looking for a flag to set but can't find any in the manual ? Maybe it is impossible ?

Steffen

            
Re: Menu's on HP42s
Message #10 Posted by John K. (US) on 7 Aug 2002, 3:52 a.m.,
in response to message #9 by Steffen

Well, assuming they don't come on automatically, then it doesn't look like there is, no. At least, not according to the documentation I have. It might be interesting to play around with flags 31-33 though, just in case they "hid" it in plain sight. I believe they are in the unprotected range, so it should be possible to set and clear them directly.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall