Home AMX User Forum NetLinx Modules & Duet Modules

AMX -Biamp Module

Dear All
Hi, can anybody help me to understand the code of AudiFlex - Biamp Module (Biamp_AudiaFlex_v1_0_5_dr1_0_0), for what did they use the code below :


// Add Audio Processor Components - Martix Mixer Input Control - Level & State Set Components
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-2,MATRIXMIXER.INPUT.SET:1.23.1.0'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-3,MATRIXMIXER.INPUT.SET:1.23.2.0'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-4,MATRIXMIXER.INPUT.SET:1.23.3.0'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-5,MATRIXMIXER.INPUT.SET:1.23.4.0'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-6,MATRIXMIXER.INPUT.SET:1.23.5.0'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-7,MATRIXMIXER.INPUT.SET:1.23.6.0'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-8,MATRIXMIXER.INPUT.SET:1.23.7.0'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-9,MATRIXMIXER.INPUT.SET:1.23.8.0'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-10,MATRIXMIXER.INPUT.SET:1.23.9.0'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-11,MATRIXMIXER.INPUT.SET:1.23.10.0'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-12,MATRIXMIXER.INPUT.SET:1.23.11.0'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-13,MATRIXMIXER.INPUT.SET:1.23.12.0'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-14,MATRIXMIXER.INPUT.SET:1.23.13.0'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-15,MATRIXMIXER.INPUT.SET:1.23.14.0'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-16,MATRIXMIXER.INPUT.SET:1.23.15.0'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-17,MATRIXMIXER.INPUT.SET:1.23.16.0'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-18,MATRIXMIXER.INPUT.SET:1.23.17.0'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-19,MATRIXMIXER.INPUT.SET:1.23.18.0'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-20,MATRIXMIXER.INPUT.SET:1.23.19.0'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-21,MATRIXMIXER.INPUT.SET:1.23.20.0'

// Add Audio Processor Components - Martix Mixer Output Control - Level & State Set Components
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-22,MATRIXMIXER.OUTPUT.SET:1.23.0.1 ,'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-23,MATRIXMIXER.OUTPUT.SET:1.23.0.2'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-24,MATRIXMIXER.OUTPUT.SET:1.23.0.3'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-25,MATRIXMIXER.OUTPUT.SET:1.23.0.4'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-26,MATRIXMIXER.OUTPUT.SET:1.23.0.5'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-27,MATRIXMIXER.OUTPUT.SET:1.23.0.6'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-28,MATRIXMIXER.OUTPUT.SET:1.23.0.7'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-29,MATRIXMIXER.OUTPUT.SET:1.23.0.8'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-30,MATRIXMIXER.OUTPUT.SET:1.23.0.9'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-31,MATRIXMIXER.OUTPUT.SET:1.23.0.10'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-32,MATRIXMIXER.OUTPUT.SET:1.23.0.11'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-33,MATRIXMIXER.OUTPUT.SET:1.23.0.12'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-34,MATRIXMIXER.OUTPUT.SET:1.23.0.13'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-35,MATRIXMIXER.OUTPUT.SET:1.23.0.14'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-36,MATRIXMIXER.OUTPUT.SET:1.23.0.15'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-37,MATRIXMIXER.OUTPUT.SET:1.23.0.16'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-38,MATRIXMIXER.OUTPUT.SET:1.23.0.17'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-39,MATRIXMIXER.OUTPUT.SET:1.23.0.18'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-40,MATRIXMIXER.OUTPUT.SET:1.23.0.19'
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-41,MATRIXMIXER.OUTPUT.SET:1.23.0.20'

// Add Audio Processor Components - Martix Mixer Crosspoint & CrosspointMute
// 20 Inputs & 20 Outputs
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-42,MATRIXMIXER.CROSSPOINT.ALL.SET:1.23.20.20'

// Add Audio Processor Components - ROUTER Crosspoints


// 20 Inputs & 20 Outputs
SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-43,ROUTER.CROSSPOINT.ALL:1.32.20.20'

// Add Dialer Components - VOIP.DIALER;
SEND_COMMAND vdvDuetDevice,'DIALERADD-2,VOIP.DIALER:1.35.1.0'

SEND_COMMAND vdvDuetDevice,'REINIT'
}
}
}



your help is highly appreciated

Comments

  • ericmedleyericmedley Posts: 4,177
    These are the initial setup commands for the device. They look pretty straight-forward to me. What specifically are you having trouble understanding?
  • many thanks Mr.Eric

    just I wann know from where they brought this part of the code ,can I find it in Netlinks keywords
    for example :

    SEND_COMMAND vdvDuetDevice,'AUDIOPROCADD-37,MATRIXMIXER.OUTPUT.SET:1.23.0.16'

    I know they send commend to the Audia Flex to give it initial commend ,but my question is from where can I Find this part of commend :

    AUDIOPROCADD-37,MATRIXMIXER.OUTPUT.SET:1.23.0.16




    thank you in advance
  • ericmedleyericmedley Posts: 4,177
    There's a couple places you might put it.

    The first and most common place is in a data_event>online of the virtual device you declare for the module. In most cases with AMX modules, you can rely on the module to know when the real device comes online and the module will send the necessary command to properly configure the device.

    The clue that thismismthe case is the REINIT command.

    However, there are times when it makes more sense to wait until notification from the module that it has established communication with the device. It depends upon the situation and who wrote the module.

    In most cases, the first method works just fine.

    Hope that helps.
    E
  • [Deleted User][Deleted User] Harman Integrated Technologies Group (ITG) Posts: 0
    hani_alnaji,
    When you download the module from the amx Tech Center, be sure to download the zip file. Inside that file is the module INTERFACE DOCUMENT, and from the looks of what you pasted into this post - you may already have this open. On page 17, it identifies what the AUDIOPROCADD add command is used for and what the acceptable values are.

    Does that answer your question?
  • yes thank you
Sign In or Register to comment.