PDA

View Full Version : Problem with REG25



bcdaus
February 12th, 2004, 10:59 PM
I am trying to make some modifications to the Yet Another Volume Control script, but run in to the following error (using the Hardware Event Logger to see whats happening)


15:47:39 Friday, February 13, 2004 LUA: --> return C _ERRORMESSAGE global
15:47:39 Friday, February 13, 2004 ALERT: 1: main of (none)
15:47:39 Friday, February 13, 2004 ALERT: stack traceback:
15:47:39 Friday, February 13, 2004 ALERT: error: attempt to perform arithmetic on global `reg25' (a nil value)


Do I need to define Reg25 somewhere - I thought it was a system register that is automagically pulled into girder.

thanks,

bill

orka
February 12th, 2004, 11:35 PM
Before executing that script, you must get a system volume to reg25.
Thats can be done in this way:
O.S.->Volume Change
From Volume dialog, select what you ar controling to.
Then in step size enter 0
And select check box under "Register"
And press Apply! :D

bcdaus
February 13th, 2004, 12:17 AM
Excellent. Thanks you for your help.

bill.