Driver Details

PTN PA2 / ISLink DPA-22

By: My Device
Updated: April 13, 2011
Version: 1.2

This driver controls the PTN PA2/ISLink DPA-22 mini amplifier. Integration via direct RS232 or IP (with the help of a Global Cache module).

Add full 2-way control over this feature packed mini amp.

Features:

  • 2 Selectable inputs
  • MIC and Line volume control (incremental and absolute)
  • Bass and Treble control (incremental and absolute)
  • Connected variable
  • Mode (Stereo/Mono/Bridged)
  • Mute either input
  • Sample project file included
  • IP control with an optional Global Cache GC-100/iTach

PTN PA2 / ISLink DPA-22 Interface

(c) 2011 My Device.

www.mydevice.com.au

This driver provides 2-way feedback and control of the PA2/DPA-22 mini amplifier.

Note:

Please report any bugs found to bugs@mydevice.com.au. Include driver version number and steps to reproduce the issue where possible.

RS232 Wiring:

The simplest way to connect your PA2 to the XP8 is grab a straight through (not crossover!) cat5 568a/b cable and cut one end off. Wire this end directly to the PA2 RS232 phoenix socket as follows:

568a

TX: Blue/White

Gnd: Blue

RX: Green

568b

TX: Blue/White

Gnd: Blue

RX: Orange

Then simply plug the other end into the 2-way RS232 socket on the XP8.

If you plan to use a Global Cache, instead of plugging directly into the XP8, add an RTI cat5->rs232 adapter (one of the 8 dongle looking things that came with your XP8) and plug it via a gender changer (female/female) into the GC.

This driver has been tested using both direct connect and via a GC-100 on a local LAN and across the country via the Internet.

Driver Configuration Settings:

Serial Settings:

Serial Port - The port the PA2 is connected to. This must be a 2-way port!

Global Cache Support:

Note: If you plan to use this outside your DMZ you need to NAT ports 4998 and 4999 to the outside world.

Enable Global Cache - Check this box if you plan to use a GC-100/iTach to remotely control the PA2. If you are directly connecting the XP8 to the PA2 leave this box unticked.

IP Address - The IP address of the Global Cache unit.

Serial Port - The port the PA2 is connected to on the Global Cache unit. Select serial port 1 or 2.

Licensing:

Unlock Code - Once you have purchased a license for this driver, enter the unlock code here. Without an unlock code the driver will for for 60 minutes at a time. After 60 minutes the driver will cease to function until the XP8 is reset/power cycled.

Functions:

Select Input

This changes the input.

Input: 1 or 2.

Get Status

This function requests the current volume, bass, treble and input selected. The driver automatically calls this during startup.

Factory Reset

This function sets all parameters back to a known state.

Volume: 50

Bass: 4

Treble: 4

Bass

This function increments/decrements the bass setting.

Bass: Increment/Decrement.

Bass Absolute

This function sets the absolute bass level.

Level: 0 - 8.

Treble

This function increments/decrements the treble setting.

Treble: Increment/Decrement.

Treble Absolute

This function sets the absolute treble level.

Level: 0 - 8.

Line Volume

This function increments/decrements the line volume.

Volume: Increment/Decrement.

MIC Volume

This function increments/decrements the MIC volume.

Volume: Increment/Decrement.

Volume Absolute

This function sets the absolute volume level of either the line or MIC.

Volume: Line/MIC.

Level: 0 - 60.

Mute

This mutes the input and/or output of the PA2.

Mute: MIC and Line out, MIC, Line Out, Unmute.

Variables:

System:

Input

This is an integer variable which indicates the current input (1 or 2).

Input 1

This is a boolean variable which is true when input 1 is selected, false when input 2 is selected.

Input 2

This is a boolean variable which is true when input 2 is selected, false when input 1 is selected.

MIC Mute

This is a boolean variable which is true when the MIC is muted.

Line Out Mute

This is a boolean variable which is true when the Line Out is muted.

MIC Volume

This is an integer variable which indicates the current volume level (0 - 60). Use this for slider feedback, but make sure you set the min/max values to 0/60 on the "Graph" tab under properties.

Line Out Volume

This is an integer variable which indicates the current volume level (0 - 60). Use this for slider feedback, but make sure you set the min/max values to 0/60 on the "Graph" tab under properties.

Bass

This is an integer variable which indicates the bass level (0 - 8).

Treble

This is an integer variable which indicates the treble level (0 - 8).

Mode

This is a string variable which indicates the current mode of the amp (stereo, mono or bridged).

Connected

This is a boolean variable which is true when the amp is connected and responding, false otherwise.

License:

Unique Id

This is a string variable which displays the MAC address of your XP8. This is required to obtain a license unlock code.

Licensed

This is a boolean which indicates when a valid license code has been entered in the driver settings tab.

Unlicensed

This is a boolean which indicates when either no license code has been entered in the driver settings tab, or the license code is invalid.

A free license is available by clicking the Get License button above and entering your processor's MAC address.