The Program Delay Manager (PDM) is a Profanity Delay from Telos Systems / 25-Seven. It allows you to delay not only audio, but also GPIO contact closure data. A common use for this feature is delaying contact closures for network stations (so they can insert local content such as advertisements). This guide shows you how to delay GPIO data with the PDM.

The PDM is quite clever in that logic will always stay in sync with the audio. This happens even if you are Exiting or Entering delay. The logic comes out again pretty much sample perfect with the audio.

GPIO on the PDM

The PDM supports four Livewire GPIO ports (5 pins each), and one physical GPIO port (with 8 pins).

Each pin in every GPIO port supports a number of functions. Here’s the list of functions:

INPUTS OUTPUTS
  • Build
  • Exit
  • Cough
  • Dump
  • Bypass
  • Cue 1-8
  • Flag 1-8
  • Util 1-4
  • Pause
  • Build Trigger
  • Full Trigger
  • Dump Trigger
  • Empty Trigger
  • Build Lamp
  • Exit Lamp
  • Dump Lamp
  • Cough Lamp
  • Bypass
  • Building
  • Exiting
  • Delay Full
  • Delay Safe
  • Delay Unsafe
  • Delay Empty
  • Muted
  • Cue 1-8
  • Flag 1-8
  • Util 1-4

Most of these Inputs and Outputs are to do with the status of the PDM itself. You would use these when connecting a remote control to the PDM.

However, the Cue and Flag options are used for delaying arbitrary data through the PDM.

  • The “Cue” will trigger an arbitrary 250ms pulse on it’s output, whenever the input is triggered.
  • The “Flag” will mirror the exact duration of the input pulse on it’s output (any duration).

How to Delay GPI Data

Let’s say you want to receive GPI from your Automation System and delay it before sending it to another device.

In one of the PDM GPIO ports, you need to specify the IP Address and GPIO Port Number in the Address field. For example, if the IP Address is 192.168.0.2 and the Channel Number is 2, the address would be “192.168.0.2/2”.

For each Input pin (inputs from your IP Driver), set it to a “Flag” or “Cue”. Use a Cue if you always want a 250ms output pulse, regardless of the input pulse duration. Use a Flag if you want the output pulse to be of identical duration to the input.

On another Port (not the same one), set the Outputs to the same Flags or Cues.

If you are receiving this data in Pathfinder, you can leave the Address field blank. If you are sending it to another LWRP Device (such as the IP Driver), use the same address format as the Input Address (e.g. “192.168.0.2/2”).

In Pathfinder, you can setup the PDM in your GPIO Router and set it as a qualifier for any Stack Event.

Remember: The Outputs from the PDM become Inputs into the next device. This always happens with GPIO in Livewire. It mimics physical wiring – outputs on one device become Inputs on another.