HP-48SX Programmable Keys



#7

When I attempt to execute a command from a custom programmed key, I receive the command assigned to the
key, but it does not execute.

What is the problem and how do I fix it?

Thanks


#8

Hello, Hai;

when you mention that you 'receive the command assigned to the key' you mean the name of the command is placed in the stack? Does it happen to any assignment, to internal commands, to functions and to your own programs or to a particlar object class? If you assign the name of an object, this object is evaluated when you press the custom key assigned to it. Bill Wickes mentions the difference between evaluation and execution of an object in his book, 'HP48 Insights'. Maybe the calculator behavior is correct. Also, is there any flag you should check? (I don't remember the HP48 system flags by heart, only the HP41/42S and previous models)

If I get to a possible answer and no one else posts and solve the problem, I'll post again.

Sorry not helping too much... q8^(

Luiz (Brazil)


#9

Luiz,
Thanks for the fast response.
It happens when I assign a command to a key and then attempt to execute the command by pressing. For example, if I assign "beep" to a key, when I attempt to execute the command, the screen shows "beep" butg there is no sound.

I think the caculator is working properly(passes al the internal tests). I will check the flags.

Outro vez, muinto obrigago y abrocos fortes.

Hai


#10

Hello, Hai; me again;

thanks for the kind words.

Let me ask you another thing: do you let the function name in the custom list with the string delimiters " ? If so, you are actually assigning the string "BEEP" to the key. Instead of:

{ "BEEP" }
you should use
{ BEEP }
without the quotes. Would you check for these, please?

Sucesso!

Luiz (Brazil)


#11

Luiz,

Sem Sucseso!

I have been entering the commands without the quotes. No luck.

Que mais agora?


#12

Hello, Hai;

I'm sad you did not succeed... Too bad!

Let's take some steps, now. First, would you let us know exactly what did you store in CST variable? I mean, the exact contents of the list.

Now, if you follow me, please... I know it 'sounds' silly, but if you do what I ask you to, you should have the BEEP command assigned to the leftmost softkey. I have my HP48SX in hands right now and I'd like you to do this, please:

1 - create the list

{ BEEP }
and send it to stack level 1 with [ENTER] key. Keep the upper-case letters!

2 - place the following in the command line:

'CST'
and send it to the stack (press [ENTER]). You should see:
___________________
|4: |
|3: |
|2: { BEEP }|
|1: 'CST'|
|XX XX XX XX XX XX|
3 - Now press [STO] and then press [CST].

Now you must see the small [BEEP] in the first softkey, right? Enter the following data:

440
1
When executing BEEP, the object in stack level 2 will be taken as frequency (440Hz) and the object in stack level 1 will be taken as duration (1 second). Press the softkey, now. If after all of this you still have a string "BEEP" in stack level 1, then there is something very weird going on here... I mean, there, with your HP48SX. There is no way to have such a 'BEEP' in stack level 1 because BEEP is the name of an internal command, and it can not be taken as a name, I mean, there is no way to store an object with the name BEEP. Hence, the only two ways to have BEEP in the stack are as a string or as an unquoted command, and the only way I know hwo to do this is by putting the list { BEEP } in stack level 1 and executing [LIST->]. If BEEP is assigned to a softkey with CST, it will always try to generate a sound.

Or else I need to read Bill Wickes' HP48 Insights again... Well. this is not bad at all, it's always a good reading.

Let us know what happens, Hai.

Success!

Luiz (Brazil)


Edited: 2 June 2005, 4:48 a.m.

#13

Left Shift (is it orange on the 48S or blue?), User (Alpha Key), key


#14

User is left shift(orange) alpha key. Do it twice and the user mode is locked in. A third time cancels the user mode.


Possibly Related Threads...
Thread Author Replies Views Last Post
  Broken keys on HP Prime? Tarcisi C 0 303 12-10-2013, 05:59 PM
Last Post: Tarcisi C
  HP 50g switching two keys in the user keyboard Sean Freeman 9 876 12-05-2013, 11:44 AM
Last Post: Mark Puscas
  [HP-Prime] off-center [0], ... [9] num keys CompSystems 1 310 10-18-2013, 10:44 PM
Last Post: Han
  HP Prime - Home and CAS keys BruceH 0 228 10-15-2013, 07:19 PM
Last Post: BruceH
  HP Prime Tip: Setting Up User Keys Eddie W. Shore 2 374 09-27-2013, 09:53 PM
Last Post: Eddie W. Shore
  [HP-Prime] Lack of user soft keys Andy B (Australia) 1 301 08-17-2013, 11:00 AM
Last Post: Tim Wessman
  who uses programmable calculators? John Ioannidis 24 1,690 06-18-2013, 04:11 PM
Last Post: Steve Simpkin
  HP prime keys Mic 27 1,567 04-27-2013, 12:25 PM
Last Post: CompSystems
  HP85 Programmable ROM cardtridge 82929A-service ROM not working- inaki 2 423 04-25-2013, 08:08 AM
Last Post: inaki
  The HP Graphers 48SX - 50G Jedidiah Smith 11 761 04-08-2013, 08:35 PM
Last Post: gene wright

Forum Jump: