DAD Command Language
(DCLs)
|
One of the most powerful aspects of DAD is the Command Language. DCLs allow you to trigger events within DAD from external devices or trigger external devices from within DAD. You can send commands to other machines on your network or use commands to automate tasks in a playlist. DCLs can be executed via the Command Editor in the Library, by creating a Command Cut, or even just by typing the command onto a Priority Play button. Listed below are the available commands as well as an example of how to use them.
|
|
|
DCL |
USE | DESCRIPTION / EXAMPLE |
| ACTIVATE | ACTIVATE <playlist> <from drive> [to drive] | Load archived playlist:
ACTIVATE wxyz0731 e: g: |
| ADJUST | ADJUST <HEAD,TAIL,SEC,TER> <cut#> <+/-secs> | Adjusts head/tail of the specified cut:
ADJUST HEAD 12345 2.2 |
| AGPI | AGPI <ON or OFF> | Enables/disables auxilliary GPIs:
AGPI ON |
| AGPO | AGPO <ON or OFF> | Enables/disables auxilliary GPOs:
AGPO OFF |
| ALERT | ALERT 'string' [timeout] [color] | Displays message for # seconds:
ALERT 'Someone is at the door' 5 BLUE |
| ALERT STACK | ALERT STACK <on | off> | Allows Alert messages to be stacked instead of replaced:
Alert Stack On |
| APPEND CUT PBKx | APPEND CUT PBKx <cut> [<altcut>] | Adds the specified cut to the playlist in PBKx:
APPEND CUT PBK1 12345 |
| APPEND RECx | APPEND <REC machine> [BETWEEN|SWITCHER|MAX] | Appends to the cut loaded in the specified machine:
APPEND REC1 |
| APPEND RECLIST | APPEND RECLIST /REC<data> /CUT<data> /LOC<data> /START<data> /END<data> /SWITCHER<data> /GPI<data> /DISCARD </DAYSxxxx> | Appends event to the current RECLIST:
APPEND RECLIST /CUT12345 /DAYS135 |
| ARCHIVE | ARCHIVE <playlist> <to drive or filename> | Archive a playlist to a drive or filename:
ARCHIVE wxyz0731 e: |
| AUDIO STATUS | AUDIO STATUS <machine> | Returns the status of the audio device:
AUDIO STATUS PBK1 |
| AUTO | AUTO <machine> | Select auto mode on specified machine:
AUTO PBK1 |
| BACKUP FILES | BACKUP FILES | Backup files specified in \dad\files\dad.ini:
BACKUP FILES |
| BMX SESSION | BMX SESSION <session name> | Load a session into the BMX console:
BMX SESSION NICK |
| BMX <channel> <on | off> | BMX <channel> <on | off> | Turns a BMX module on or off:
BMX <channel> <on | off> |
| BMX <channel> <on | off> | BMX <channel> <add | subtract> <pgm1 | pgm2 | pgm3 | pgm4 | cue | a | b> | Control BMX channels/mixes:
BMX 1 ADD PGM2 |
| CHANGE | CHANGE <machine> | Select highlighted cut to play next:
CHANGE MLOG |
| CHANNEL STATUS | CHANNEL STATUS <board#> <channel#> | Returns status of specified channel:
CHANNEL STATUS 1 1 |
| CLOSE FILE | CLOSE FILE | Close user file:
CLOSE FILE |
| CLOSE GPO | CLOSE GPO <output> | Close specified relay on GPI board:
CLOSE GPO 7 |
| CLOSE AGPO (brick/cube only) | CLOSE AGPO <unit> <output> | Close specified brick/cube relay:
CLOSE AGPO 1 4 |
| CLOSE MGPO | CLOSE MGPO [list] | Close multiple relays simultaneously: CLOSE MGPO 1 3 5 |
| CLOSE LOG BRANCH | CLOSE LOG BRANCH | Closes the Branch commands LOG file (if open) |
| CLOSE LOG GPI|GPO | CLOSE LOG GPI|GPO | Closes the GPI commands LOG file (if open) |
| CLOSE LOG ASPLAY | CLOSE LOG ASPLAY | Closes the ASPLAY LOG file (if open) |
| COPY ASPLAY | COPY ASPLAY <source> <target> | Copy ASPLAY report:
COPY ASPLAY ONAIR.WED WED.DBF |
| COPY CUT | COPY CUT <cut#> <cut#> ENTIRE or HEADTAIL | Copy source cut# to dest cut#:
COPY CUT 00010 00012 HEADTAIL |
| COPY FILE | COPY FILE <source> <dest> | Copy file from source to dest: COPY FILE temp.cfg dad.cfg |
| CUE | CUE <machine> <head | tail> <play|ff|rew|rev|stop|clear|loop|inc|dec> | Control CUEs:
CUE PBK1 head play |
| CURRENT TIME | CURRENT TIME <machine> | Return current record or playback time.
FOR SERIAL USE ONLY. |
| CURRENT TIMEOFDAY | CURRENT TIMEOFDAY | Return the current time of day. |
| DELAY NEXT CMD | DELAY NEXT CMD <milliseconds> | Delay the execution of the next CMD:
DELAY NEXT CMD 1000 |
| DELETE CUT | DELETE CUT <cut#> [cut#] | Delete and purge 1 or more cuts:
DELETE CUT 10272 13575 |
| DELETE CUT EXPIRED | DELETE CUT EXPIRED | Delete and purge cuts if today > killdate:
DELETE CUT EXPIRED |
| DELETE CUT RANGE | DELETE CUT RANGE <cut#1>-<cut#2> | Delete and purge a range of cuts:
DELETE CUT RANGE 10200-10299 |
| DELETE CUT USING | DELETE CUT USING <filespec> | Delete and purge cuts listed in file:
DELETE CUT USING LIST.TXT |
| DELETE DISCARDS | DELETE DISCARDS | Delete discarded events from RECLIST:
DELETE DISCARDS |
| DELETE EDL | DELETE EDL <cut#> | Delete cut/pastes (edl):
DELETE EDL 12345 |
| DELETE PLAYLIST | DELETE PLAYLIST <playlist> | Delete playlist:
DELETE PLAYLIST MONDAY |
| DISABLE AGPI | DISABLE AGPI | Suppress all auxilliary GPI activity:
DISABLE AGPI |
| DISABLE AGPO | DISABLE AGPO | Suppress all auxilliary GPO activity:
DISABLE AGPO |
| DISABLE BRANCHING | DISABLE BRANCHING <machine> | Disables branching on specified machine:
DISABLE BRANCHING PBK1 |
| DISABLE GPI | DISABLE GPI | Suppress all GPI activity:
DISABLE GPI |
| DISABLE GPI ALL | DISABLE GPI ALL | Flag all GPIs inactive:
DISABLE GPI ALL |
| DISABLE GPI [list] | DISABLE GPI <input> [input...] | Flag specific GPI(s) inactive:
DISABLE GPI 1 3 6 |
| DISABLE GPI [list] FOR seconds | DISABLE GPI <input> [input...] FOR seconds | Flag GPI(s) inactive for a duration:
DISABLE GPI 1 FOR 25 |
| DISABLE GPO | DISABLE GPO | Suppress all GPO activity:
DISABLE GPO |
| DISABLE GPO ALL | DISABLE GPO ALL | Flag all GPOs inactive:
DISABLE GPO ALL |
| DISABLE GPO [list] | DISABLE GPO <output> [output...] | Flag specific GPO(s) inactive:
DISABLE GPO 1 3 6 |
| DISABLE GPO [list] FOR seconds | DISABLE GPO <output> [output...] FOR seconds | Flag GPO(s) inactive for a duration:
DISABLE GPO 1 FOR 25 |
| DISPLAY CUE or TRACKER | DISPLAY <CUE | TRACKER> <machine> | Show cues or tracker for specified machine:
DISPLAY CUE PBK1 |
| DISPLAY EMAIL | DISPLAY EMAIL <filename> | Display E-MAIL from DADSAT uplink:
DISPLAY EMAIL NEWPROMO |
| DOWN | DOWN <playback machine> | Step specified machines playlist down one event:
DOWN PBK2 |
| DOWNLOAD ASCIIFILE | DOWNLOAD ASCIIFILE <filespec> | Download FROM remote (DADSAT):
DOWNLOAD ASCIIFILE '062196.log' |
| EDIT CUT | EDIT CUT <cut1> [cut2] | Edit a cut. [cut2] is optional load/swap cut:
EDIT CUT 12345 |
| EDIT <machine> | EDIT <machine> | Edit a cut on specified machine:
EDIT PBK1 |
| ENABLE AGPI | ENABLE AGPI | Enables aux. GPIs which are flagged active:
ENABLE AGPI |
| ENABLE AGPO | ENABLE AGPO | Enables aux. GPOs which are flagged active:
ENABLE AGPO |
| ENABLE BRANCHING | ENABLE BRANCHING <machine> | Enables branching on specified machine:
ENABLE BRANCHING PBK1 |
| ENABLE GPI | ENABLE GPI | Enables GPIs which are flagged active:
ENABLE GPI |
| ENABLE GPI ALL | ENABLE GPI ALL | Flag all GPIs active:
ENABLE GPI ALL |
| ENABLE GPI [list] | ENABLE GPI <input> [input...] | Flag specific GPI(s) active:
ENABLE GPI 2 3 4 |
| ENABLE GPI [list] FOR seconds | ENABLE GPI <input> [input...] FOR seconds | Flag GPI(s) active for a duration:
ENABLE GPI 1 FOR 25 |
| ENABLE GPO | ENABLE GPO | Enables GPOs which are flagged active:
ENABLE GPO |
| ENABLE GPO ALL | ENABLE GPO ALL | Flag all GPOs active:
ENABLE GPO ALL |
| ENABLE GPO [list] | ENABLE GPO <output> [output...] | Flag specific GPO(s) active:
ENABLE GPO 2 3 4 |
| ENABLE GPO [list] FOR seconds | ENABLE GPO <output> [output...] FOR seconds | Flag GPO(s) active for a duration:
ENABLE GPO 1 FOR 25 |
| EXECUTE or X | EXECUTE <cut#> | Execute specified command cut directly:
EXECUTE 01200 |
| EXIT | EXIT | Shuts down DAD |
| EXTRACT | EXTRACT <cut#> | Extract cut information from library:
EXTRACT 06743 |
| EXTRACT PLAYLIST | EXTRACT PLAYLIST <plist name> | Extract a playlist (DADSAT):
EXTRACT PLAYLIST MONDAY |
| EXTRACT PLAYLISTS | EXTRACT PLAYLISTS <to filename> | Make file of all playlists (DADSAT):
EXTRACT PLAYLISTS ALLPLIST |
| EXTRACT XML | EXTRACT XML <specific cut# or CUTS> | Create XML file for one or all cuts:
EXTRACT XML 12345 |
| EXTRACT XML PLAYLIST | EXTRACT XML PLAYLIST <playlist name> | Create XML playlist file:
EXTRACT XML PLAYLIST 071800S1 |
| FLUSH DEBUG | FLUSH DEBUG <filename> | Flush debug information to file:
FLUSH DEBUG CHECK.TXT |
| FULLAUTO | FULLAUTO <machine> <on | off> | Puts machine into FULLAUTO mode (no stops):
FULLAUTO AIRPLAY ON |
| GATEWAY SCAN | GATEWAY SCAN | Tells a GATEWAY on the network to do a SCAN |
| GENERATE | GENERATE <report> <source | wildcard> <target> | Generate a report:
GENERATE ASPLAY ONAIR.WED WEDLOG.TXT |
| GPI ON | GPI ON | Suppress all GPI activity:
GPI ON |
| GPI OFF | GPI OFF | Enables GPIs which are flagged active:
GPI OFF |
| GPO ON | GPO ON | Enables GPOs which are flagged active:
GPO ON |
| GPO OFF | GPO OFF | Suppress all GPO activity:
GPO OFF |
| IMPULSE <channel> | IMPULSE <channel> ON | Turns on a channel on an Impulse console:
IMPULSE 4 ON |
| IMPULSE RESET | IMPULSE RESET | Resets an Impulse console commumications port:
IMPULSE RESET |
| INJECT | INJECT <cut#> [drive location] | Add EXTRACTed cut info to library:
INJECT 05746 [G] |
| INJECT PLAYLIST | INJECT PLAYLIST <playlist> | Add EXTRACTed playlist to your system:
INJECT PLAYLIST MONDAY |
| INJECT XML | INJECT XML <specific cut# or CUTS> | Inject 1 or more cuts via an XML file:
INJECT XML CUTS |
| INJECT XML PLAYLIST | INJECT XML PLAYLIST <playlist name> | Inject playlist via an XML file:
INJECT XML PLAYLIST JINGLES |
| INSTATRIM | INSTATRIM <cut id> [trim level] | Trim head and tail to dB level:
INSTATRIM 24025 -35 |
| INSTATRIM RANGE | INSTATRIM RANGE <FromCut ToCut> [trim level] | Trim head and tail to dB level:
INSTATRIM RANGE 24025 24030 -35 |
| INTRO | INTRO <mach> <length> | Plays the intro of the cut in the specified machine for [length]:
INTRO PBK1 5 |
| LIST PLAYLIST | LIST PLAYLIST | Return names of all existing playlists.
FOR SERIAL USE ONLY |
| LOAD CONFIG ALL | LOAD CONFIG ALL | Load all updated GPI GPO IS_ AND OS_ files:
LOAD CONFIG ALL |
| LOAD CONFIG GPI | LOAD CONFIG GPI | Load updated GPI file. Network only:
LOAD CONFIG GPI |
| LOAD CONFIG GPO | LOAD CONFIG GPO | Load updated GPO file. Network only:
LOAD CONFIG GPO |
| LOAD CONFIG IS | LOAD CONFIG IS | Load input switcher files. Network only:
LOAD CONFIG IS |
| LOAD CONFIG OS | LOAD CONFIG OS | Load output switcher files. Network only:
LOAD CONFIG OS |
| LOAD CUT or LC | LOAD CUT <machine> <cut#> [transition] | Load specified cut into specified machine:
LOAD CUT REC1 01234 |
| LOAD CUT ARRAY | LOAD CUT <array> <cut#> <page> <row> <column> | Load cut into array button:
LOAD CUT MINAR1 01234 5 2 1 |
| LOAD GPI STATES | LOAD GPI STATES | Load most recently saved GPI/GPO active list:
LOAD GPI STATES |
| LOAD PLAYLIST | LOAD PLAYLIST <playback machine> <filespec> | Load playlist into playback machine:
LOAD PLAYLIST PBK1 MORNING |
| LOAD RECLIST | LOAD RECLIST <reclist file> | Load a timed record list:
LOAD RECLIST LONGFORM |
| LOAD REGIONS | LOAD REGIONS | This command is reserved for DADsat use. |
| LOAD SCRIPT | LOAD SCRIPT <filename> | Load script file into script machine:
LOAD SCRIPT NEWS |
| LOAD SETUP | LOAD SETUP <filespec> | Load user setup into workstation:
LOAD SETUP JOCK1 |
| LOAD TONE DETECTION | LOAD TONE DETECTION (AirTrans only) | Causes tone.txt file to be reloaded:
LOAD TONE DETECTION |
| LOG GPI | LOG GPI n <ontext> <offtext> | Logs gpi# and specified text to
ASPLAY:
LOG GPI 3 'on text' 'off text' |
| LOG TEXT | LOG TEXT <text> | Logs specified text to ASPLAY:
LOG TEXT 'your text' |
| LOGIN | LOGIN [user] [password] | Display login popup or login indicated user:
LOGIN NOAH FLOOD |
| LOGOUT | LOGOUT | Logout current security user:
LOGOUT |
| LOOP | LOOP <machine> ON | OFF | Enables/Disables LOOP mode for specified machine:
LOOP QUAD1 ON |
| LOOP ARRAY | LOOP <array | minar1 | minar2> <page> <row> <column> <on | off> | Enables/Disables LOOP mode for specified array button:
LOOP ARRAY 1 2 3 ON |
| MACHINE STATUS | MACHINE STATUS <machine> | Returns machine status on serial_io port:
MACHINE STATUS PBK1 |
| MAKEUP | MAKEUP MLOG | Positions mlog machine to first unplayed cut:
MAKEUP MLOG |
| MANUAL | MANUAL <machine> | Select manual mode on specified machine:
MANUAL PBK1 |
| MODE | MODE <MOUSE or TOUCH> | Select Mouse or Touch mode:
MODE MOUSE DOS ONLY |
| MODIFY CUT | MODIFY CUT <field> 'string' [/i] | Changes data for the specified cut:
MODIFY CUT 12345 Title 'New Title' |
| MODIFY CUT RANGE | MODIFY CUT RANGE <start> <end> <field> 'string' | Changes data for the specified cuts:
MODIFY CUT RANGE 00010 00200 Artist 'Billy Joel' |
| NEXT | NEXT <machine> | Sequence playback machine to next cut:
NEXT PBK1 |
| OPEN AGPO (brick/cube only) | OPEN AGPO <unit> <output> | Open specified brick/cube relay:
OPEN AGPO 1 4 |
| OPEN FILE | OPEN FILE <filename> | Open file for SEND FILELINE/FILECHAR:
OPEN FILE CAPTIONS.TXT |
| OPEN GPO | OPEN GPO <output> | Open specified relay on GPI board:
OPEN GPO 7 |
| OPEN LOG ASPLAY | OPEN LOG ASPLAY | Opens the ASPLAY event tracking file (if closed) |
| OPEN LOG BRANCH | OPEN LOG BRANCH | Opens the Timed Branch event tracking file (if closed) |
| OPEN LOG GPI | OPEN LOG GPI | GPO | Opens the GPI/GPO event tracking file (if closed) |
| OPEN MGPO | OPEN MGPO [list] | Open multiple relays simultaneously: OPEN MGPO 1 3 5 |
| OUTPUT LEVEL | OUTPUT LEVEL <playback machine> <absolute dB level> | Set audio output level:
OUTPUT LEVEL PBK2 -20 |
| OUTRO | OUTRO <mach> <length> | Plays the end of the cut in the specified machine for [length]:
OUTRO QUAD4 6 |
| PAUSE | PAUSE <machine> | Pause playback of specified machine:
PAUSE PBK1 |
| PBKDELAY | PBKDELAY <machine> <seconds> | Insert a delay in the specified machine:
PBKDELAY PBK1 10.50 |
| PHONEIO KEYx | PHONEIO <KEYx> x=0-9 or * to clear | Build a cut number buffer: PHONEIO KEY1 - then use the buffer:
LOAD CUT QUAD2 PHONEIO |
| PLAY | PLAY <machine> [board] [<mode> <share>] | Start playback on specified machine:
PLAY P_PLAY6 |
| PLAY (array) | PLAY <array> <panel> <row> <column> | Play specified array button:
PLAY MINAR1 3 1 2 |
| PLAYBACK STATE | PLAYBACK STATE <machine> <filename | OFF> [IP port/address [UDP]] ['[drive]\dir\uniquename'] | Update/send machine state XML file:
PLAYBACK STATE PBK1 'play1.xml' 4444 10.44.44.44 |
| PLAYWHILERECORD | PLAYWHILERECORD <ON or OFF> | Allow/disallow play while record:
PLAYWHILERECORD ON or OFF |
| POPUP COMMAND | POPUP COMMAND | Displays the LIBRARY/COMMAND windows:
POPUP COMMAND |
| POSITION (time) | POSITION <machine> <'field=string' [-CUR]> | Positions playlist to specified string match:
POSITION PBK2 'comment=Tag A' |
| POSITION (string match) | POSITION <machine> <'hh:mm:ss'> | Positions playlist to specified time:
POSITION PBK2 '14:30:00' |
| PRINT <filespec> | Print an ASCII file:
PRINT \dad\files\dad.cfi |
|
| PRINT ASPLAY | PRINT ASPLAY <filespec> | Print a formatted ASPLAY report:
PRINT ASPLAY AM_ONAIR.FRI or PRINT ASPLAY DAD110107.DBF |
| PULSE GPO | PULSE GPO <output> <duration> | Close GPI relay for duration then re-open:
PULSE GPO 8 1000" |
| PULSE AGPO (brick/cube only) | PULSE AGPO <unit> <output> <duration> | Pulse specified brick/cube relay:
PULSE AGPO 1 4 500 |
| PULSE MGPO | PULSE MGPO | Pulse multiple relays simultaneously:
PULSE MGPO 1 3 5 200 |
| PURGE ASPLAY | PURGE ASPLAY <filespec> | Purge an ASPLAY file:
PURGE ASPLAY FM_ONAIR |
| PURGE LIBRARY | PURGE LIBRARY [<from> <to>] | Purge cuts from the Library:
PURGE LIBRARY 11000 12000 |
| RE-PLIST | RE-PLIST | Run the re-plist program to update playlists:
RE-PLIST |
| REBOOT | REBOOT | Closes all files, shuts DAD down gracefully, and reboots:
REBOOT |
| RECALC | RECALC <mach> | Recalculates the Scheduled times of events after the current position:
RECALC PBK1 |
| RECORD | RECORD <machine> [SWITCHER '<mnemonic>'] [BETWEEN <time1> <time2>] [MAX <value>] | Start recording (switcher optional):
RECORD REC1 SWITCHER 'CNN' |
| REFRESH (library) | REFRESH LIBRARY | Refresh library listing to show new cuts:
REFRESH LIBRARY |
| REFRESH (playlist) | REFRESH <playback machine> | Refresh playlist in specified playback machine:
REFRESH PBK4 |
| REFRESH RECLIST | REFRESH RECLIST | Refresh the timed record list:
REFRESH RECLIST |
| REINDEX | REINDEX [ALL | CUTS | GROUPS | PLIST | SEARCH | CUTSEC] | Reindexs all or specified index:
REINDEX ALL |
| REINIT AUDIO | REINIT AUDIO | Reinitializes audio cards (like SHIFT-F1):
REINIT AUDIO |
| REINIT DISPLAY | REINIT DISPLAY | Redraw graphics screen:
REINIT DISPLAY |
| RENAME FILE | RENAME FILE <old> <new> | Rename a file from old to new:
RENAME FILE test.cfg new.cfg |
| RENUMBER | RENUMBER <fromcutid> <tocutid> [location] | Renumber DAD cut:
RENUMBER 99201 59201 |
| RESET COLOR (array) | RESET COLOR <array> | Returns grayed out array buttons to normal:
RESET COLOR MINAR1 |
| RESET ROTATE | RESET ROTATE <cut> | Reset rotate cut to first element:
RESET ROTATE 50012 |
| RESTART MLOG | RESTART MLOG | Restarts a stopped MLOG cut:
RESTART MLOG |
| RESUME | RESUME <playback machine> <punch in time | 'LAST'> | Resumes from last stop time, or punches in:
RESUME PBK1 20:00 |
| RETRIEVE | RETRIEVE [<libloc> <libname>] <cutid> <fieldname> | Returns the field data for the specified cut:
RETRIEVE D CUTS 12345 TITLE |
| RETURN | RETURN <machine> | Return playlist to next scheduled cut:
RETURN MLOG |
| SAVE GPI STATES | SAVE GPI STATES | Save GPI/GPO active list:
SAVE GPI STATES |
| SAVE PLAYLIST | SAVE PLAYLIST <mach> [playlistname] | Saves the playlist currently in the specified machine:
SAVE PLAYLIST PBK1 SONGS |
| SELECT GROUP | SELECT GROUP | Sets the Library to display the specified group:
SELECT GROUP JINGLES |
| SELECT MACHINE | SELECT MACHINE <machine> | Display a machine in EXPERT Mode:
SELECT MACHINE PBK2 |
| SELECT MACHINE LEFT/RIGHT | SELECT MACHINE <LEFT or RIGHT> <machine> | Display a machine in non-EXPERT Mode:
SELECT MACHINE LEFT REC1 |
| SEND BINARY | SEND BINARY <channel> <filename> | Send file without character translation:
SEND BINARY A HEX.BIN |
| SEND COMMAND or SC | SEND COMMAND <location | sendlistX> <'dcl string'> | Send dcl to workstation(s):
SC ONAIR 'PLAY PBK1' or SC 10.4.4.4 'alert\'msg\'' |
| SEND FILECHAR | SEND FILECHAR <channel> | Send next character from user file:
SEND FILECHAR A |
| SEND FILELINE | SEND FILELINE <channel> | Send next line (up to CR/LF) from user file:
SEND FILELINE B |
| SEND TEXT (string) | SEND TEXT <channel> <'string'> | Send 'string' out SEND_TXT serial port:
SEND TEXT A 'DT15508' |
| SEND TEXT (file) | SEND TEXT <channel> [<path>]<filespec>] | Send file contents out SEND_TXT serial port:
SEND TEXT B SCRIPT1 |
| SEND PLAYBACK STATE | SEND PLAYBACK STATE <mach> | Triggers the PLAYBACK STATE to send an XML file/stream:
SEND PLAYBACK STATE PBK1 |
| SET CHANNEL | SET CHANNEL <machine> [Px][Sx][Ox][Ax] | Allows you to redefine the channel assignment of any machine:
SET CHANNEL PBK1 P1 S1 O3 |
| SET CLOCK OFFSET | SET CLOCK OFFSET <offset> | Allows the DAD clock to be offset by a specific number of seconds:
SET CLOCK OFFSET -7 |
| SET COLOR (array) | SET COLOR <array> <panel> <row> <column> <color> | Sets array button colors:
SET COLOR MINAR1 2 1 3 40 |
| SET COLOR (P-Play) | SET COLOR P_PLAY<n> <color> | Sets Priority Play button colors:
SET COLOR P_PLAY3 24 |
| SET DEVICE | SET DEVICE <machine> <priority level> <board> <mode> [share] | Assign channels to PBK machines 5-8:
SET DEVICE PBK5 1 1 L SH |
| SET END_TALK | SET END_TALK <recmachine> | Set END_TALK cue to current elapsed time:
SET END_TALK REC1 |
| SET FADEIN | SET FADEIN <recmachine> | Set FADEIN cue to current elapsed time:
SET FADEIN REC4 |
| SET FADEOUT | SET FADEOUT <recmachine> | Set FADEOUT cue to current elapsed time:
SET FADEOUT REC1 |
| SET HEAD | TAIL | SET HEAD | TAIL <recmachine> | Set HEAD or TAIL cue to current elapsed time:
SET HEAD REC1 |
| SET HOOKPLAY | SET HOOKPLAY <playback machine> <ON | OFF> | Sets machine to play hooks only:
SET HOOKPLAY PBK1 ON |
| SET HOOKPLAY | SET HOOKPLAY <array> <panel> <row> <column> <ON | OFF> | Sets array to play hooks only: SET HOOKPLAY MINAR1 3 1 1 ON |
| SET LOAD COMMAND | SET LOAD COMMAND <machine> <'DCL string'> | DCL to issue on load cut:
SET LOAD COMMAND PBK1 'EXECUTE 10000' |
| SET MIXER LEVEL | SET MIXER LEVEL 'source' 'dest' <dB> [<ramp time ms>] | Controls the ASI MIXER:
SET MIXER LEVEL'PLAY 1' 'LINE OUT 1' 0 |
| SET P_PLAY | SET P_PLAY <n> <'string'> <cut#> | Assign cut & text to a P_PLAY button:
SET P_PLAY 5 'NEWS' 01201 |
| SET RECORD AUTO STOP | SET RECORD AUTO STOP <machine> <level> <duration> [Auto] | Stop a recording based on duration of level:
SET RECORD AUTO STOP REC1 -35 500 |
| SET RECORD GROUP | SET RECORD GROUP <groupname> | Changes current record Group setting:
SET RECORD GROUP SONGS |
| SET RECORD MAX | SET RECORD MAX <rec machine> <HHMMSS or MMSS> | Sets max record length:
SET RECORD MAX REC1 010002 |
| SET RECORD MODE | SET RECORD MODE <machine> <mode> | Sets mode for record machine:
SET RECORD MODE REC1 L |
| SET RECORD THRESHOLD | SET RECORD THRESHOLD <machine> <dB> | Sets autorecord threshold:
SET RECORD THRESHOLD REC1 -23 |
| SET SEC | SET SEC <recmachine> | Set SEC cue to machines current elapsed time:
SET SEC REC1 |
| SET SEGUE_END | SET SEGUE_END <recmachine> | Set SEGUE_END cue to current elapsed time:
SET SEGUE_END REC1 |
| SET SEGUE_START | SET SEGUE_START <recmachine> | Set SEGUE_START cue to current elapsed time:
SET SEGUE_START REC2 |
| SET SERIAL IN ON | OFF | SET SERIAL IN [x] ON | OFF | Enables/Disables Serial Input:
SET SERIAL IN ON or OFF |
| SET SERIAL [out a...out z] ON | OFF | SET SERIAL [out a...out z] ON | OFF | Enables/Disables Serial Output:
SET SERIAL OUT A ON or OFF |
| SET SLATE | SET SLATE <recmachine> | Set slate marker on cut in specified machine:
SET SLATE REC1 |
| SET START_TALK | SET START_TALK <recmachine> | Set START_TALK cue to current elapsed time:
SET START_TALK REC1 |
| SET TER | SET TER <recmachine> | Set TER cue to machines current elapsed time:
SET TER PBK2 |
| SET TRANSITION AIRPLAYx | SET TRANSITION AIRPLAY(slot=1-6> <trans=A,L,S,N> | Changes the transition of the specified slot:
SET TRANSITION AIRPLAY2 S |
| SET UNLOAD COMMAND | SET UNLOAD COMMAND <machine> <'DCL string'> | DCL on unload cut:
SET UNLOAD COMMAND PBK1 'EXECUTE 10001' |
| SETENV <variable> '<value string>' | SETENV <variable> '<value string>' | Sets a local environment variable:
SETENV myvar 'some value' |
| SHUFFLE PLAYLIST | SHUFFLE PLAYLIST <playlist> [target playlist] | Randomize a playlist:
SHUFFLE PLAYLIST ODD EVEN |
| STOP | STOP <machine> | Stop audio operation on specified machine:
STOP REC1 |
| STOP [fade] | STOP <playback machine> [secs] | Fade audio out in specified # of seconds and stop:
STOP PBK1 3 |
| SUPERPLAY | SUPERPLAY <machine> [board] [<mode> <share> </Fx.x>] | Play PBK/MLOG if stopped, or Next if playing:
SUPERPLAY PBK1 |
| SYNC | SYNC <MMSS> [MAX secs] | Set clock min/sec to specified value:
SYNC 5910 MAX 300 |
| SYSTEM | SYSTEM 'application' | Run application specified:
SYSTEM 'command.com' |
| TAKE MLOG | TAKE MLOG | Take the next MLOG cut (superplay if already playing) |
| TIMESYNC | TIMESYNC <LOCAL or SERVER> | Set time to or from server:
TIMESYNC LOCAL |
| TONE | TONE <START or STOP> (AirTrans only) | Start or stop 25/35 Hz tone detection:
TONE START |
| TRACKER or TR | TRACKER <OUTRO INTRO REC OVER TEST SAVE NEXT PREV EXIT> <START STOP> | Trigger a Tracker event:
TRACKER OUTRO START |
| TRACKER STYLE or TR STYLE | TRACKER STYLE <1 | 2 | 3> 1=Segue, 2=Prod Element, 3=Record VO | Tracker mode:
TRACKER STYLE 1 |
| UNLOAD | UNLOAD <machine> | Unload playlist from PBK or cut from REC machine:
UNLOAD PBK2 |
| UNLOAD RECLIST | UNLOAD RECLIST | Unloads a Record List from the Timed Recorder:
UNLOAD RECLIST |
| UNSELECT MACHINE | UNSELECT MACHINE <machine> | Hide the specified machine (if displayed):
UNSELECT MACHINE PBK1 |
| UP | UP <playback machine> | Position specified machines playlist up one event:
UP PBK4 |
| UPDATE XML <cutid> [<location>] | UPDATE XML <cutid> [<location>] | This command is not yet implemented. |
| UPDATE XML CUTS | UPDATE XML CUTS | This command is not yet implemented. |
| UPLOAD ASCIIFILE | UPLOAD ASCIIFILE <filespec> | Upload file TO remote (DADSAT):
UPLOAD ASCIIFILE PLISTS.TXT |
| VALIDATE | VALIDATE '<dcl string> | Returns validation of command string.
FOR SERIAL USE ONLY |
| VERIFY | VERIFY <cut#> | Verify cut is loaded and return length. |
| WAIT | WAIT <length> | Wait specified length before executing following DCL:
WAIT 10 |
|
Variables Used in DCLs |
|
| ARRAY (3 choices) | ARRAY MINAR1 MINAR2 |
| BOARD (1 digit) | 1 through 4 |
| CHANNEL (1 letter) | A, B, C or D |
| COLOR (2 digits or color name) | 01 = Blue 02 = Chartreuse 03 = Aqua 04 = Red 05 = Magenta 06 = Yellow 07 = White 08 = Navy 09 = Green 10 = Teal 11 = Maroon 12 = Purple 13 = Olive 14 = Gray 15 = Silver 16 = DarkSeaGreen 17 = LightSkyBlue 18 = FloralWhite 19 = DarkGray For additional color names see 'Background Color' on Setup screen |
| CUT# (5 digits) | 00230 |
| DAYS (up to 7 digits) |
1 = Sunday 2 = Monday etc |
| DURATION (milliseconds) | 750 |
| FILESPEC (<8 char) | MORNING |
| INPUT (digits) | 1 through 192 |
| LENGTH (SSSS.TH) | 203.85 |
| LEVEL (0-100) | 87 |
| MACHINE (no spaces) | PBK1, PBK2, PBK3, PBK4 PBK5, PBK6, PBK7, PBK8 PBK9, PBK10, PBK11, PBK12 PBK13, PBK14, PBK15, PBK16 AIRPLAY PLMOD, 4PLAY, MLOG REC1, REC2, REC3, REC4 QUAD1, QUAD2, QUAD3, QUAD4 QUAD5, QUAD6, QUAD7, QUAD8 QUAD9, QUAD10, QUAD11, QUAD12 QUAD13, QUAD14, QUAD15, QUAD16 P_PLAY1, P_PLAY2, P_PLAY3 P_PLAY4, P_PLAY5, P_PLAY6 ARRRAY, MINAR1, MINAR2 |
| MMSS (mins/secs) | 5856 |
| MODE (1 char) | L, R or S |
| OFFSET (SSSS.TH) | 3.25 |
| OUTPUT (digits) | 1 through 192 |
| PATH (DOS subdirectory) | \dad\scripts\ Enclose drive letter in brackets: [c]\ |
| PRIORITY LEVEL (1 digit) | 1 through 4: Primary and three alternates |
| REPORT | asplay exception groups library playlist <name> |
| SHARE | SH = Share NS = No share (Default is NS) |
| STARTTIME(SSSS.TH) | 1.45 |
| STOPTIME (SSSS.TH) | 305.27 |
| TIME (HH:MM:SS) | 21:45:00 |
(DPL)
DAD Programming Language, or DPL, is a feature added to DAD in version 4.2a. It allows you to create logic based command cuts.
For example, if you have cut #10000 and you want it to play on Friday and Saturday only, while cut #20000 plays the other days,
you could create a command cut like this:
if '(day .eq. fri .or. day .eq. sat)'
load cut p_play1 10000
play p_play1
else
load cut p_play1 20000
play p_play1
One could also use "elseif" statements to add more logic into the command.
if '((day .ge. mon .and. day .le. fri) .and. (hod .eq. 12 .or. hod .eq. 18))'
any dcl
elseif '<any logic statement>'
any dcl
elseif '<more logic>'
any dcl
else
any dcl
|
Valid Operators |
|
| .gt. or > greater than | |
| .lt. or < less than | |
| .ge. or >= greater than or equal | |
| .le. or <= less than or equal | |
| .eq. or == equal to | |
| .ne. or != not equal to | |
| .t. true | |
| .f. false | |
|
Valid Conjunctions |
|
| .and. or && | |
| .or. or || | |
|
Valid Variables |
|
| day | mon, tue, ... |
| month | jan, feb, ... |
| year | 1999, 02 |
| dow | day of week 0, 2, .., 6 (sunday = 0) |
| dom | day of month 1, 2, ..., 31 |
| doy | day of year 1, 2, ..., 365 |
| moy | month of year 1, 2, ..., 12 |
| hod | hour of day 0, 1, ..., 23 |
| moh | minute of hour 0,1, ..., 59 |
| som | second of minute 0,1, ...., 59 |
| %name% | external environment variable (ie: if '%LOCATION% == onair') |
| GPIx | condition of GPI number "x" (ie: if 'GPI1 == 1') |
DPL command cuts can also support this model:
command1
command2
if (conditional A)
command3
command4
elseif (conditional B)
command5
command6
else
command7
command8
endif (this endif is the new directive)
command9
command10
Summary: command1 and 2 will run no matter what.
command3 and 4 will run only if condition A is met
command5 and 6 will run only if condition B is met
command7 and 8 will run only if conditions A and B are not met
command9 and 10 will run no matter what.
|
|
NOTE: There can currently be only one "IF BLOCK" within a single command cut. Nested "if" statement are not supported. |