16-3
RLC-4 V1.79 Copyright © 1998 Link Communications Inc. 9/18/98
065: Restore Audio Routing Variable (Undo 037 and 038)
This command allows you to restore the audio routing within a macro to whatever it was at the
beginning of the macro. In other words, if commands 037 or 038 have been executed earlier in the
macro, their effects will be negated. It has no effect if used outside of a macro.
<065>
Example:
I want to make a macro to connect ports 1 and 2 and send CW "L ON" to whichever port entered
the command (which is the default, see command 050).
055 161 ; erase whatever is in macro 161
056 161 038 ; be quiet for the rest of this macro, unless command
037 or 065 are executed
056 161 000 1 2 ; connect ports 1 and 2
056 161 065 ; set the audio routing back to what it was at the
beginning of this macro
056 161 030 21 40 24 23 ; send "l on"
Note that the ports are connected first, then the audio routing is restored and the message is sent. It
takes one more command in the macro (065) to put things in this order, but if it makes more sense
to you do program your macros this way, there is no harm in doing it. Command 038 is needed to
keep the default response of command 000 from being sent: "1 n 1".