User manual
Exorcist User Manual
27
Protection against running multiple routines to the same output device.
This problem can be something of a nuisance, during the development of Exorcist; we
were met with the dilemma of permitting Exorcist to run multiple routines
simultaneously, yet sidestepping the problems that can arise, should VSA try to send
multiple commands to a serial port from different routines.
Without limiting Exorcists power and versatility it was finally decided the leave the
control in the hands of the user.
The important thing to remember is that neither VSA nor Exorcist has any way of
knowing which routines will be played simultaneously to the same port and which
won’t. You as the programmer need to make this assessment and add protection,
otherwise you will suffer crashes or ‘interesting’ and potentially prop damaging
results.
This first example will use the All routines off, this methodology only works if you
have a single set of props with multiple routines, and should not be used in a multi
‘room’ setup otherwise actions on one set will disable the others.
VSA 1
Trigger: - Function 1 ON
Reset: - Timer 1 Done
VSA 2
Trigger: - Function 2 ON
Reset: - Timer 1 Done
Timer 1
Trigger: -Function 3 ON
Reset: -Timer 1 Done
Dwell: -100
Function 1
Condition 1: - Input 1 ON
Condition 2: - All VSA OFF
Operator: - AND
Function 2
Condition 1: - Input 2 ON
Condition 2: - All VSA OFF
Operator: - AND
Function 3
Condition 1: - VSA 1 Done