Codecore Logo
Quick Search
»
Advanced Search »

Anthem D2 A/V Processor Driver

RSS
Image
This driver controls the Anthem AVM and Statement series A/V processors.

Manufacturer: Anthem

Primary Communications Port: Serial


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: Boolean

Version

Gets the model and firmware.

Accessibility : Read Only

Type: String

MainZoneSourceText

Gets the Zone 1 decoder mode (source type).

Accessibility : Read Only

Type: String

RadioTuning

Gets the current radio tuning band and frequency.

Accessibility : Read Only

Type: String

StateMessage

Gets the most recent state message.

Accessibility : Read Only

Type: String

ZoneProcessingModes

Gets all zone processing modes (Zone 2 and 3 are always stereo).

Accessibility : Read Only

Type: Array

ZonePowerStates

Gets all zone power states (on/off).

Accessibility : Read Only

Type: Array

ZoneMuteStates

Gets all zone mute states.

Accessibility : Read Only

Type: Array

ZoneVolumes

Gets all zone volume (-100 represent unknown state).

Accessibility : Read Only

Type: Array

ZoneSources

Gets all zone source (-1 represent unknown state).

Accessibility : Read Only

Type: Array

ZoneSimulcastAudioSources

Gets all zone simulcast audio source if applicable (-1 represents unknown state or no simulcast).

Accessibility : Read Only

Type: Array

ZoneNames

Gets all the zone names.

Accessibility : Read Only

Type: Array

ZoneSourceNames

Gets the current source name for all zones.

Accessibility : Read Only

Type: Array

SourceNames

Gets all the source names.

Accessibility : Read Only

Type: Array

DeviceDisplayName

The display name for this device.

Accessibility : Read Only

Type: String

DeviceStartTime

The date and time when this device was started.

Accessibility : Read Only

Type: DateTime

DeviceLifecycleStage

The current lifecycle stage of the device. The stages in order are: Pending Start, Starting, Running, Stopping

Accessibility : Read Only

Type: Number

DeviceIsRunningAndReady

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.

Syntax

void TurnAllZonesOff( )

Parameters

none

ToggleZonePower ( Number )

Toggle the specified zone on and off. This is the same as pushing the PWR button on the DisplayPad.

Syntax

void ToggleZonePower( Number zoneNumber )

Parameters

zoneNumber : The zone number to toggle the power.

TurnZoneOn ( Number )

Turn the specified zone on if it is not already on.

Syntax

void TurnZoneOn( Number zoneNumber )

Parameters

zoneNumber : The zone number to power on. (1-3)

TurnZoneOff ( Number )

Turn the specified zone off if it is not already off.

Syntax

void TurnZoneOff( Number zoneNumber )

Parameters

zoneNumber : The zone number to power off. (1-3)

ToggleZoneMute ( Number )

Toggle Mute for a specific zone.

Syntax

void ToggleZoneMute( Number zoneNumber )

Parameters

zoneNumber : The zone number to toggle muting. (1-3)

MuteZone ( Number )

Turn the mute on for a zone.

Syntax

void MuteZone( Number zoneNumber )

Parameters

zoneNumber : The zone number to mute. (1-3)

UnmuteZone ( Number )

Turn the mute off for a zone.

Syntax

void UnmuteZone( Number zoneNumber )

Parameters

zoneNumber : The zone number to unmute. (1-3)

SetZoneVolume ( Number, Number )

Set Volume for a specific zone.

Syntax

void SetZoneVolume( Number zone, Number volume )

Parameters

zone : Zone: 1, 2 or 3
volume : Volume from -95.5dB to maximum in 0.5dB steps

IncrementZoneVolume ( Number )

Increase volume by 0.5dB

Syntax

void IncrementZoneVolume( Number zone )

Parameters

zone : Zone: 1, 2 or 3

DecrementZoneVolume ( Number )

Decrease volume by 0.5dB

Syntax

void DecrementZoneVolume( Number zone )

Parameters

zone : 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.

Syntax

void OffsetVolume( Number zone, Number volumeAdjustment )

Parameters

zone : 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.

Syntax

void SetZoneSource( Number zone, Number source )

Parameters

zone : 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.

Syntax

void CycleZoneSource( Number zoneNumber )

Parameters

zoneNumber : The zone number. (1-3)

SetSimulcastSource ( Number, Number, Number )

Set source for video and simulcast source for audio for a specific zone.

Syntax

void SetSimulcastSource( Number zone, Number source, Number simulcastSource )

Parameters

zone : 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.

Syntax

void CycleTHX( Number direction )

Parameters

direction : 1 for up and 0 for down.

0 = down
1 = up

CycleProcessingMode ( Number )

Cycle the main zone processing mode up or down.

Syntax

void CycleProcessingMode( Number direction )

Parameters

direction : 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.

Syntax

void DisplayMessage( Number zone, String line1, String line2 )

Parameters

zone : 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.

Syntax

void RequestProcessingMode( Number zone )

Parameters

zone : Zone: 1, 2 or 3

SelectAMPreset ( Number )

Switch to AM band using a preset (1 to 6).

Syntax

void SelectAMPreset( Number preset )

Parameters

preset : 1 to 6

SelectFMPreset ( Number, Number )

Switch to FM band (1, 2 or 3) using a preset (1 to 6).

Syntax

void SelectFMPreset( Number band, Number preset )

Parameters

band : 1, 2 or 3
preset : 1 to 6

SendRawCommand ( String )

Sends a command that may otherwise not be supported by the processor.

Syntax

void SendRawCommand( String command )

Parameters

command : 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.

Syntax

void SetPropertyForDuration( String propertyName, unknown duration, Object initialValue, Object finalValue )

Parameters

propertyName : 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.

Syntax

void SetPropertyForDuration( String propertyName, Number arrayIndex, unknown duration, Object initialValue, Object finalValue )

Parameters

propertyName : 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.
Privacy Policy | Conditions Of Use

Copyright ©2014 Codecore Technologies, All rights reserved.