ASYNC trouble

You have a question or need an advice about how to do something? Ask it here!
Post Reply
moogwill
Posts: 420
Joined: 28 Feb 2016 12:31
ASYNC trouble

Post by moogwill »

Hi bernd,

It seems an old issue is back,

here's the commands used on the event streaming/on songtitle changed


EXEC_WRITE_FILE d:\baseplayloud\nowplaying\nowonair.txt|nd|${artist} - ${title}
EXEC_WRITE_JPEG_FILE d:\baseplayloud\nowplaying\now.jpg|0|300
ASYNC
EXEC_SEND_MIDI_SYSEXMSG 0x90 0x46 0x64
SLEEP 10000
EXEC_SEND_MIDI_SYSEXMSG 0x90 0x46 0x64

as we did change this using async in the past, everything went fine for a long time but now, all command buttons from airence mixdesk are useless until sleep time is over (that was the original issue) is this comes from the last update?
moogwill
Posts: 420
Joined: 28 Feb 2016 12:31
Re: ASYNC trouble

Post by moogwill »

it seems I maybe found a working solution by myself using this, correct me if I'm wrong

EXEC_WRITE_FILE d:\baseplayloud\nowplaying\nowonair.txt|nd|${artist} - ${title}
EXEC_WRITE_JPEG_FILE d:\baseplayloud\nowplaying\now.jpg|0|300
EXEC_ASYNC EXEC_SEND_MIDI_SYSEXMSG 0x90 0x46 0x64${CRLF}SLEEP 10000${CRLF}EXEC_SEND_MIDI_SYSEXMSG 0x90 0x46 0x64
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: ASYNC trouble

Post by radio42 »

This is not back, you just used it 'incorrectly' ;-)
Your 2nd post is correct, as the ASYNC keyword stand-alone is ONLY recognized when given at the very beginning and would then apply to all commands.
moogwill
Posts: 420
Joined: 28 Feb 2016 12:31
Re: ASYNC trouble

Post by moogwill »

thanks...
is there any trouble using this alternative above??
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: ASYNC trouble

Post by radio42 »

No, that is perfectly good!

Post Reply