This driver controls the Anthem AVM and Statement series A/V processors.
Manufacturer:
AnthemPrimary Communications Port: Serial
Table of Contents [Hide/Show] Configuration Settings Events Ready State Changed Power State Changed Mute State Changed Source Selection Changed Volume Changed Instance Properties Connected Version MainZoneSourceText RadioTuning StateMessage ZoneProcessingModes ZonePowerStates ZoneMuteStates ZoneVolumes ZoneSources ZoneSimulcastAudioSources ZoneNames ZoneSourceNames SourceNames DeviceDisplayName DeviceStartTime DeviceLifecycleStage DeviceIsRunningAndReady Instance Methods TurnAllZonesOff ToggleZonePower ( Number ) TurnZoneOn ( Number ) TurnZoneOff ( Number ) ToggleZoneMute ( Number ) MuteZone ( Number ) UnmuteZone ( Number ) SetZoneVolume ( Number, Number ) IncrementZoneVolume ( Number ) DecrementZoneVolume ( Number ) OffsetVolume ( Number, Number ) SetZoneSource ( Number, Number ) CycleZoneSource ( Number ) SetSimulcastSource ( Number, Number, Number ) CycleTHX ( Number ) CycleProcessingMode ( Number ) DisplayMessage ( Number, String, String ) RequestProcessingMode ( Number ) SelectAMPreset ( Number ) SelectFMPreset ( Number, Number ) SendRawCommand ( String ) SetPropertyForDuration ( String, TimeSpan, Object, Object ) SetPropertyForDuration ( String, Number, TimeSpan, Object, Object )
|
Configuration Settings
- Serial Port Name : The name of the serial port that the Anthem A/V Processor is connected to. Ex. COM1
- Serial Port Baud : (optional) Baud rate for serial port. Anthem A/V Processors support: 2400, 4800, 9600, 19200, 38400, 57600 and 115200. The default is 19200.
Events
Ready State Changed
The device's running and ready state changed.
Whenever Filter:
none
EventArgs:
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Power State Changed
Occurs when the power state changes on a zone.
Whenever Filter:
- ZoneNumber : Specifies the zone that this rule applies to (1-3).
EventArgs:
- Number ZoneNumber : The zone that the event applies to (1-3).
Mute State Changed
Occurs when the mute state changes on a zone.
Whenever Filter:
- ZoneNumber : Specifies the zone that this rule applies to (1-3).
EventArgs:
- Number ZoneNumber : The zone that the event applies to (1-3).
Source Selection Changed
Occurs when the source selection changes on a zone.
Whenever Filter:
- ZoneNumber : Specifies the zone that this rule applies to (1-3).
EventArgs:
- Number ZoneNumber : The zone that the event applies to (1-3).
Volume Changed
Occurs when the volume changes on a zone.
Whenever Filter:
- ZoneNumber : Specifies the zone that this rule applies to (1-3).
EventArgs:
- Number ZoneNumber : The zone that the event applies to (1-3).
Instance Properties
Connected
Gets a value indicating if a connection is established with the Anthem Processor.
Accessibility : Read Only
Type:
BooleanVersion
Gets the model and firmware.
Accessibility : Read Only
Type:
StringMainZoneSourceText
Gets the Zone 1 decoder mode (source type).
Accessibility : Read Only
Type:
StringRadioTuning
Gets the current radio tuning band and frequency.
Accessibility : Read Only
Type:
StringStateMessage
Gets the most recent state message.
Accessibility : Read Only
Type:
StringZoneProcessingModes
Gets all zone processing modes (Zone 2 and 3 are always stereo).
Accessibility : Read Only
Type:
ArrayZonePowerStates
Gets all zone power states (on/off).
Accessibility : Read Only
Type:
ArrayZoneMuteStates
Gets all zone mute states.
Accessibility : Read Only
Type:
ArrayZoneVolumes
Gets all zone volume (-100 represent unknown state).
Accessibility : Read Only
Type:
ArrayZoneSources
Gets all zone source (-1 represent unknown state).
Accessibility : Read Only
Type:
ArrayZoneSimulcastAudioSources
Gets all zone simulcast audio source if applicable (-1 represents unknown state or no simulcast).
Accessibility : Read Only
Type:
ArrayZoneNames
Gets all the zone names.
Accessibility : Read Only
Type:
ArrayZoneSourceNames
Gets the current source name for all zones.
Accessibility : Read Only
Type:
ArraySourceNames
Gets all the source names.
Accessibility : Read Only
Type:
ArrayDeviceDisplayName
The display name for this device.
Accessibility : Read Only
Type:
StringDeviceStartTime
The date and time when this device was started.
Accessibility : Read Only
Type:
DateTimeDeviceLifecycleStage
The current lifecycle stage of the device. The stages in order are: Pending Start, Starting, Running, Stopping
Accessibility : Read Only
Type:
NumberDeviceIsRunningAndReady
Indicates if the device is ready for use, ie it is in the Running lifecycle stage and all properties are valid and all methods are ready to be used.
Accessibility : Read Only
Type:
Boolean
Instance Methods
TurnAllZonesOff
Turn all zones off.
SyntaxParametersnone
ToggleZonePower ( Number )
Toggle the specified zone on and off. This is the same as pushing the PWR button on the DisplayPad.
SyntaxParameterszoneNumber : The zone number to toggle the power.
TurnZoneOn ( Number )
Turn the specified zone on if it is not already on.
SyntaxParameterszoneNumber : The zone number to power on. (1-3)
TurnZoneOff ( Number )
Turn the specified zone off if it is not already off.
SyntaxParameterszoneNumber : The zone number to power off. (1-3)
ToggleZoneMute ( Number )
Toggle Mute for a specific zone.
SyntaxParameterszoneNumber : The zone number to toggle muting. (1-3)
MuteZone ( Number )
Turn the mute on for a zone.
SyntaxParameterszoneNumber : The zone number to mute. (1-3)
UnmuteZone ( Number )
Turn the mute off for a zone.
SyntaxParameterszoneNumber : The zone number to unmute. (1-3)
SetZoneVolume ( Number, Number )
Set Volume for a specific zone.
SyntaxParameterszone : Zone: 1, 2 or 3
volume : Volume from -95.5dB to maximum in 0.5dB steps
IncrementZoneVolume ( Number )
Increase volume by 0.5dB
SyntaxParameterszone : Zone: 1, 2 or 3
DecrementZoneVolume ( Number )
Decrease volume by 0.5dB
SyntaxParameterszone : Zone: 1, 2 or 3
OffsetVolume ( Number, Number )
Offsets the current volume setting for the processor. Positive numbers increase the volume by the specified number and negative numbers decrease the volume.
SyntaxParameterszone : The zone to offset the volume. (1-3)
volumeAdjustment : Error: The method 'OffsetVolume' is missing a ScriptObjectMethodParameterAttribute for 'volumeAdjustment'.
SetZoneSource ( Number, Number )
Set source for a specific zone.
SyntaxParameterszone : The zone to set the source on. (1-3)
source : Source (0-16)
0 = CD
1 = 2-Ch BAL
2 = 6-Ch S/E
3 = Tape
4 = FM/AM
5 = DVD1
6 = DVD2
7 = DVD3
8 = DVD4
9 = TV1
10 = TV2
11 = TV3
12 = TV4
13 = SAT1
14 = SAT2
15 = VCR
16 = AUX
CycleZoneSource ( Number )
Cycles through each of the available sources for a zone. When the last source is reached, the next source is the first available source.
SyntaxParameterszoneNumber : The zone number. (1-3)
SetSimulcastSource ( Number, Number, Number )
Set source for video and simulcast source for audio for a specific zone.
SyntaxParameterszone : Zone: 1, 2 or 3
source : Video source (0-16)
0 = CD
1 = 2-Ch BAL
2 = 6-Ch S/E
3 = Tape
4 = FM/AM
5 = DVD1
6 = DVD2
7 = DVD3
8 = DVD4
9 = TV1
10 = TV2
11 = TV3
12 = TV4
13 = SAT1
14 = SAT2
15 = VCR
16 = AUX
simulcastSource : Audio source (0-16)
0 = CD
1 = 2-Ch BAL
2 = 6-Ch S/E
3 = Tape
4 = FM/AM
5 = DVD1
6 = DVD2
7 = DVD3
8 = DVD4
9 = TV1
10 = TV2
11 = TV3
12 = TV4
13 = SAT1
14 = SAT2
15 = VCR
16 = AUX
CycleTHX ( Number )
Cycle up or down THX options for main zone.
SyntaxParametersdirection : 1 for up and 0 for down.
0 = down
1 = up
CycleProcessingMode ( Number )
Cycle the main zone processing mode up or down.
SyntaxParametersdirection : 1 for up and 0 for down.
0 = down
1 = up
DisplayMessage ( Number, String, String )
Display a message on the OSD of a specific zone and on the front panel LCD. Each line has a maximum of 20 char.
SyntaxParameterszone : Zone: 1, 2 or 3
line1 : Line 1 (top). Maximum 20 char.
line2 : Line 2 (bottom). Maximum 20 char.
RequestProcessingMode ( Number )
Requests the current processing mode for the specified zone.
SyntaxParameterszone : Zone: 1, 2 or 3
SelectAMPreset ( Number )
Switch to AM band using a preset (1 to 6).
SyntaxParameterspreset : 1 to 6
SelectFMPreset ( Number, Number )
Switch to FM band (1, 2 or 3) using a preset (1 to 6).
SyntaxParametersband : 1, 2 or 3
preset : 1 to 6
SendRawCommand ( String )
Sends a command that may otherwise not be supported by the processor.
SyntaxParameterscommand : The command string to send. The driver will append the command with a line-feed .
SetPropertyForDuration ( String, TimeSpan, Object, Object )
Sets a property for a duration of time and then sets the property to a subequent value asynchronously. This action returns after setting the first value and the timer and subsequent property set run in the background. Subsequent sets of the same property will reset the timer if the subsequent value has not yet been set. This is an advanced feature, be sure to set the property name correctly.
SyntaxParameterspropertyName : The name of the property to set.
duration : The amount of time to wait after setting the initial value to set the subsequent value.
initialValue : The value to set the property to initially.
finalValue : The value to set the property to after the duration of time has passed.
SetPropertyForDuration ( String, Number, TimeSpan, Object, Object )
Sets a property for a duration of time and then sets the property to a subequent value asynchronously. This action returns after setting the first value and the timer and subsequent property set run in the background. Subsequent sets of the same property will reset the timer if the subsequent value has not yet been set. This is an advanced feature, be sure to set the property name correctly.
SyntaxParameterspropertyName : The name of the property to set.
arrayIndex : The property's array index to set.
duration : The amount of time to wait after setting the initial value to set the subsequent value.
initialValue : The value to set the property to initially.
finalValue : The value to set the property to after the duration of time has passed.