c4:av_gen Copyright 2009 Avocation Systems, Inc. All rights reserved. Avocation Systems 00.92 BMC 3/3/2009 01:08:00 PM 4/9/2009 09:34:00 AM MX-0404NAD/R [Serial][DriverWorks] devices_sm/KnoxRS8x8HB.GIF devices_lg/KnoxRS8x8HB.GIF Avocation Systems MX-0404NAD/R [Serial][DriverWorks] lua_gen avswitch DriverWorks Avocation Systems, Copyright 2009. Version 00.92 This driver is written for the MX series matrices. This section describes the functionality of the Properties and Actions. See below for GENERAL INFORMATION. PROPERTIES: Debug Mode -> This property configures how textual debug information is displayed. -- "Off" means that no debug information is displayed. -- "Print" means that the debug information is displayed in the Lua Output window of the Lua tab in Composer. -- "Log" means that the debug information is displyed in the Error Log file for the next 15 minutes. After 15 minutes this property reverts to "Print". -- "Print and Log" means that the debug information is displayed in both the Lua Output window and the Error Log file for 15 minutes. After 15 minutes this property reverts to "Print". -- The default value of this property is "Off" Power On Delay-Seconds -> This property is not used. Command Delay-Milliseconds -> This property sets the time interval between successive commands sent to the Matrix. -- The range of values for this property is 50 ms to 2500 ms (2.5 s). -- The default value of this property is 100 ms. Volume Ramp Delay-Milliseconds -> This property sets the time interval between successive Volume commands sent to the Matrix when the Volume Ramping functionality is active. -- The Volume Ramping functionality is activated by a START_VOL_UP or START_VOL_DOWN command from the Proxy and is deactivated by a STOP_VOL_UP or STOP_VOL_DOWN command. -- The range of values for this property is 50 ms to 500 ms (0.5 s). -- The default value of this property is 100 ms. Unit Address -> This property sets the two digit ID Code that is used to identify which Matrix is the intended recipient of the commands sent by this driver. -- The ID Code of the Matrix is set by the DIP switches inside the Matrix. -- The range of values for this property is "00" to "15". -- The default value of this property is "00". Front Panel Enabled -> This property is used to configure the Front Panel Controls of the Matrix. -- "True" means that the Front Panel Controls are Enabled. -- "False" means that the Front Panel Controls are Disabled. -- The default value of this property is "True". Audio Input To All Outputs -> This property is used to instruct the Matrix to route the selected Audio Input to all Audio Outputs. -- The range of values for this property is 1 to 4. -- The default value of this property is 1. Video Input To All Outputs -> This property is used to instruct the Matrix to route the selected Video Input to all Video Outputs. -- The range of values for this property is 1 to 4. -- The default value of this property is 1. A/V Input To All Outputs -> This property is used to instruct the Matrix to route the selected Audio & Video Input to all Audio & Video Outputs. -- The range of values for this property is 1 to 4. -- The default value of this property is 1. Balance To All Outputs -> This property is used to instruct the Matrix to set the Balance Level for all Audio Outputs. -- The range of values for this property is 1 to 100. -- The default value of this property is 50. -- NOTE: The Balance Level displayed on the Front Panel of the Matrix will be one less than the value set here. Sensitivity To All Inputs -> This property is used to instruct the Matrix to set the Sensitivity Level for all Audio Inputs. -- The range of values for this property is 0 to 32. -- The default value of this property is 32. This corresponds to a 0 dB gain. Volume To All Outputs -> This property is used to instruct the Matrix to set the Volume Level for all Audio Outputs. -- The range of values for this property is 1 to 49. -- The default value of this property is 33. This corresponds to a 0 dB gain. -- NOTE: The Volume Level displayed on the Front Panel of the Matrix will be one less than the value set here. Input XX Sensitivity -> These properties are used to instruct the Matrix to set the Sensitivity Level for Audio Input XX. -- The range of values for this property is 0 to 32. -- The default value of this property is 32. This corresponds to a 0 dB gain. Output XX Max Volume -> These properties are used to instruct the Matrix to set the Maximum Volume Level for Audio Output XX. -- The range of values for this property is 1 to 49. -- The default value of this property is 33. This corresponds to a 0 dB gain. -- NOTE: The Volume Level displayed on the Front Panel of the Matrix will be one less than the value set here. ACTIONS: Destroy All Timers -> This action kills all timers that are running for this driver. Disable Audio Controls -> This action will Disable the control of Output Volume and Input Sensitivity. This Disables control by both the Control4 system and the Front Panel of the Matrix. This action does not change the Output Volume level for any outputs, nor does it change the Input Sensitivity level for any inputs. Enable Audio Controls -> This action will Enable the control of Output Volume and Input Sensitivity. This Enables control by both the Control4 system and the Front Panel of the Matrix. This action does not change the Output Volume level for any outputs, nor does it change the Input Sensitivity level for any inputs. All Inputs to 0dB Sensitivity -> This action will instruct the Matrix to set the Sensitivity Level of all Audio Inputs to 32 (0 dB). All Outputs to 0dB Volume -> This action will instruct the Matrix to set the Volume Level for all Audio Outputs to 33 (0 dB). All Outputs to 1 Volume -> This action will instruct the Matrix to set the Volume Level for all Audio Outputs to 1. All Inputs Straight Through -> This action will instruct the Matrix to route all Audio & Video Inputs to their corresponding Audio & Video Outputs. -- A/V Input 01 will be routed to A/V Output 01 -- A/V Input 02 will be routed to A/V Output 02 -- A/V Input 03 will be routed to A/V Output 03 -- A/V Input 04 will be routed to A/V Output 04 Read Max Volume for All Outputs -> This action will ask the Matrix to output the current Maximum Volume Level for each Audio Output. This action will update the values of the "Output XX Max Volume" properties. Read Sensitivity for All Inputs -> This action will ask the Matrix to output the current Sensitivity Level for each Audio Input. This action will update the values of the "Input XX Sensitivity" properties. GENERAL INFORMATION: In addition to the functionality of the Properties and Actions noted above, this driver implements the following controls: Volume Controls: -- PULSE_VOL_UP -- PULSE_VOL_DOWN -- START_VOL_UP -- STOP_VOL_UP -- START_VOL_DOWN -- START_VOL_DOWN -- SET_VOLUME_LEVEL -- MUTE_TOGGLE -- MUTE_ON -- MUTE_OFF Balance Controls: -- SET_BALANCE Routing Controls: -- SET_INPUT -- DISCONNECT_OUTPUT END OF DOCUMENTATION Debug Mode LIST Off Print Log Print and Log Off false Power On Delay-Seconds RANGED_INTEGER 0 25 2 false Command Delay-Milliseconds RANGED_INTEGER 50 2500 100 false Volume Ramp Delay-Milliseconds RANGED_INTEGER 50 500 100 false Unit Address STRING 00 false Front Panel Enabled LIST True False True false Audio Input To All Outputs RANGED_INTEGER 1 4 1 false Video Input To All Outputs RANGED_INTEGER 1 4 1 false A/V Input To All Outputs RANGED_INTEGER 1 4 1 false Balance To All Outputs RANGED_INTEGER 1 100 50 false Sensitivity To All Inputs RANGED_INTEGER 0 32 32 false Volume To All Outputs RANGED_INTEGER 1 49 33 false Input 01 Sensitivity RANGED_INTEGER 0 32 32 false Input 02 Sensitivity RANGED_INTEGER 0 32 32 false Input 03 Sensitivity RANGED_INTEGER 0 32 32 false Input 04 Sensitivity RANGED_INTEGER 0 32 32 false Output 01 Max Volume RANGED_INTEGER 1 49 33 false Output 02 Max Volume RANGED_INTEGER 1 49 33 false Output 03 Max Volume RANGED_INTEGER 1 49 33 false Output 04 Max Volume RANGED_INTEGER 1 49 33 false Destroy All Timers Destroy Timers Disable Audio Controls Disable Audio Controls Enable Audio Controls Enable Audio Controls Read Max Volume for All Outputs Read Max Volume for All Outputs Read Sensitivity for All Inputs Read Sensitivity for All Inputs All Inputs to 0dB Sensitivity All Inputs to 0dB Sensitivity All Outputs to 0dB Volume All Outputs to 0dB Volume All Outputs to 1 Volume All Outputs to 1 Volume All Inputs Straight Through All Inputs Straight Through AlwaysOn 0 5 True 19200 8 none 1 none 232 This driver uses AlwaysOn power managenment. Up/Down Balance Control, Up/Down Bass Control, Up/Down Treble Control, Toggle Loudness Control 32% 55% 5001 6 AVSWITCH 2 False False False False AVSWITCH 1 6 Serial RS-232 1 True False False True RS_232 4001 6 OUTPUT01 6 False True False True STEREO DIGITAL_COAX 2001 6 OUTPUT01 5 False False True True COMPONENT 7001 6 Room Selection - OUTPUT01 7 False True True True AUDIO_SELECTION AUDIO_VOLUME VIDEO_SELECTION 4002 6 OUTPUT02 6 False True False True STEREO DIGITAL_COAX 2002 6 OUTPUT02 5 False False True True COMPONENT 7002 6 Room Selection - OUTPUT02 7 False True True True AUDIO_SELECTION AUDIO_VOLUME VIDEO_SELECTION 4003 6 OUTPUT03 6 False True False True STEREO DIGITAL_COAX 2003 6 OUTPUT03 5 False False True True COMPONENT 7003 6 Room Selection - OUTPUT03 7 False True True True AUDIO_SELECTION AUDIO_VOLUME VIDEO_SELECTION 4004 6 OUTPUT04 6 False True False True STEREO DIGITAL_COAX 2004 6 OUTPUT04 5 False False True True COMPONENT 7004 6 Room Selection - OUTPUT04 7 False True True True AUDIO_SELECTION AUDIO_VOLUME VIDEO_SELECTION 3001 6 INPUT01 6 True False False True STEREO DIGITAL_COAX 1001 6 INPUT01 5 True False False True COMPONENT 3002 6 INPUT02 6 True False False True STEREO DIGITAL_COAX 1002 6 INPUT02 5 True False False True COMPONENT 3003 6 INPUT03 6 True False False True STEREO DIGITAL_COAX 1003 6 INPUT03 5 True False False True COMPONENT 3004 6 INPUT04 6 True False False True STEREO DIGITAL_COAX 1004 6 INPUT04 5 True False False True COMPONENT 4 4 4 4 False False True True True True True True False