K8055 blinking in auto mode

we can make so Velleman K8055 blinking when in auto mode.

like that ?

"With these card you just need to connect your 5 fader- buttonstarts to digital inputs.
How?
On a standard switch you have 2 connections,
Button for Player1 : Mount one cable of the button on digital 1 of the card, the other on gnd.
Button for Player2 : Mount one cable of the button on digital 2 of the card, the other on gnd.
Button for Player3 : Mount one cable of the button on digital 3 of the card, the other on gnd.
Button for Player4 : Mount one cable of the button on digital 4 of the card, the other on gnd.
Button for IPlayer : Mount one cable of the button on digital 5 of the card, the other on gnd.
Thats all :slight_smile: , when you have the USB card connected to your computer.

You can also make leds or lamps blink on your mixer with these cards.

Schematic for attaching your buttonstart lights to the Velleman Vm110/K8055 Usb kit.
Freeplayer sends the following outputs to the Velleman USB card:

when player 1 starts it sets digital “O1” on high,
when player 2 starts it sets digital “O2” on high,
when player 3 starts it sets digital “O3” on high,
when player 4 starts it sets digital “O4” on high,
when the I-Player starts it sets digital “O5” on high,
when using the mixeditor it sets digital “O6” on high,
when in automatic mode it blinks “O7” and “O8” on and off.

On the GND attach the Ground (-) of your external power supply.
On the CLAMP attach the + of your external power supply.
On CLAMP (+) attach your leds or lights you want to brighten up.
The R = a resitor when usings leds or lights, mostly when using 1K it works with small voltage lights or leds."


k8055_outputs.jpg

The commands used to set the outputs on the K8055 are explained in this thread:

https://www.mairlist.com/forum/index.php/topic,8288.msg55844.html#msg55844

For the flashing, I would use a background script with a timer like this:

var
  toggle: boolean;

procedure OnTimer;
begin
  toggle := not toggle;
  if toggle then begin
    K8055Remote(0).SetDigitalChannel(7);
    K8055Remote(0).ClearDigitalChannel(8);
  end
  else begin
    K8055Remote(0).SetDigitalChannel(8);
    K8055Remote(0).ClearDigitalChannel(7);
  end;
end;

procedure OnAutomationOn(Playlist: integer);
begin
  EnableTimer(500);
end;

procedure OnAutomationOff(Playlist: integer);
begin
  DisableTimer;
end;

Save as K8055Automation.mls and register as background script in the config.

When automation goes on, the timer is started, which will run every 500ms, toggle an internal variable from true to false and back every time it runs, and then set the outputs accordingly.

Danke Torben :wink:

Det var så lidt.