Subject: RE: LINK- RCL-CLUB Date: Wed, 3 Feb 1999 10:56:07 -0800 From: "Riches, Steven" Reply-To: linklist@link-comm.com To: "'linklist@link-comm.com'" X-Misc: Welcome to the linklist mailing list! X-Misc: Indicate RLC type/version # in SUBJECT 1.94.4 linklist "Riches, Steven" As requested.,.. here is some sample code for muting audio from port 2 when there is activity on port 1 on an RLC-CLUB controller. I use the following macros and trigger events when I play NASA Select Space Shuttle Audio over the remote base. The following code is a VERY SIMPLE example, and it assumes that you already have the Remote Base turned on and in use... If you DO NOT have the remote base on, then the following Macros WILL turn it on. I use a Link Communications RLC-ICM Remote Base interface with ICOM IC-9000 band modules. The following code has been tested on RLC-Club Firmware versions V1.78 and V1.79. The first thing you need to do is to define the Macros that will be called by the Trigger Events... ; *** The following two macros are used when the Remote Base is active. *** ; *** The RLC-Club does not mute audio from the Remote Base when a user *** ; *** is trying to access the primary port, as was the case with ACC *** ; *** repeater controllers. These two macros, along with Trigger Events *** ; *** 012 and 015, program around this limitation. If the Remote Base *** ; *** is turned on, and there is activity on the primary port (Port 1 *** ; *** Active), then audio from the Remote Base Port (Port 2) is muted. *** ; ; Macro 428 - Restore Remote Base audio if a user unkeys. This macro is used ; with Trigger Event 015 - Port 1 INACTIVE. This trigger event ; is activated when the Remote Base is turned on. N055 428 ; Clear macro 428 N056 428 038 ; - Cancel response for command. N056 428 000 1 2 ; - Full connect between ports 1 and 2 ; ; Macro 429 - Mute Port 2 Remote Base audio if Port 1 becomes active. This ; macro is used with trigger event 012 - Port 1 ACTIVE. N055 429 ; Clear macro 429 N056 429 038 ; - Cancel response for command. N056 429 001 2 1 ; - Port 2 MONITORS Port 1 ONLY .....Next, you define the Trigger Events and their actions... ; ; Event 012 - Port 1 Active N157 012 429 ; Execute Macro 427 to mute Port 2 ; audio ; ; Event 015 - Port 1 Inactive N157 015 428 ; Execute Macro 428 to restore Port 2 ; audio .....Finally, you need to enable the Trigger Events... N159 012 1 ; Enable event 012; Port 1 Active N159 015 1 ; Enable event 015; Port 1 Inactive Again, this is a very simple example. You could get very complex with this, i.e. testing to see if the Remote Base was already turned on, programming in a delay between Port 1 going inactive and Port 2 audio coming back, etc... Hope this helps!!! /steve n6sog