Download Print this page

Mirage Autonomic AMX v1.0 Programming Manual page 4

Driver for digital amplifier

Advertisement

Configuration
The module supports a panel array. This allows multiple panels to control one instance of the
module. This configuration reduces resource utilization on the processor. A panel array is simply
a device array containing panel devices. If the main program contains three panel devices, dvTP1,
dvTP2, and dvTP3, the panel array to include all three would look like:
dev dvTP_Array = { dvTP1, dvTP2, dvTP3 }
To set the sample program up, make sure you have the latest versions of Netlinx Studio and
TP4Design. Both are available from the AMX website under Development Tools (http://www.amx.
com/products/categoryDevelopmentTools.asp).
Once those programs are installed, simply open the Netlinx workspace included in the download.
Start by setting the IP address of the amp stack by changing the value of
Configure the panel to match the device ID in the program. This is
important to note that channel 1 on the virtual device must be held on for the duration
control is required.
on[vdvAmp, 1]
Defining the module
To use this module in a full program, add a definition of our module to the main program. That
configuration looks like the below code snippet.
DEFINE_DEVICE
dvAmp = 0:FIRST_LOCAL_PORT:0
dvTP1 = 10001:5:0
dvTP2 = 10002:5:0
dvTP3 = 10003:5:0
vdvAmp = 33001:1:0 // the virtual device that represents the
connection of the amp stack
DEFINE_VARIABLE
char AMP_IP_ADDRESS[] = '192.168.1.54' // for example, replace
with the IP of the amp stack
integer AMP_CONTROL_PORT = 17037
dev dvTP_Array[] = { dvTP1, dvTP2, dvTP3 }
DEFINE_MODULE 'Autonomic Mirage Amp' ACAMP (vdvAmp, dvAmp,
dvTP_Array, AMP_IP_ADDRESS, AMP_CONTROL_PORT)
MirageAudioSystem.com
AMX Driver v1.0 for Mirage Digital Amplifiers |
AMP_IP_ADDRESS
.
10001:5:0
by default.
It's
4 of 54

Advertisement

loading

Related Products for Mirage Autonomic AMX v1.0