config:remotecontrol:sas
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| config:remotecontrol:sas [2016/08/31 09:06] – [Monitor] tw | config:remotecontrol:sas [2019/07/09 16:18] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| * Lawo sapphire | * Lawo sapphire | ||
| + | * Lawo ruby | ||
| * Lawo crystal (all versions including crystal clear) | * Lawo crystal (all versions including crystal clear) | ||
| * Lawo zirkon | * Lawo zirkon | ||
| Line 90: | Line 91: | ||
| ===== Actions ===== | ===== Actions ===== | ||
| + | The SAS remote control offers a couple of actions that can e.g. be used from events, or as " | ||
| + | |||
| + | * Set fader level | ||
| + | * Set fader input gain | ||
| + | * Turn on PFL for a channel | ||
| + | * Turn off PFL for a channel | ||
| + | * Turn on fader start button light | ||
| + | * Turn off fader start button light | ||
| + | * Turn on GPI | ||
| + | * Turn off GPI | ||
| + | |||
| + | Most of the actions are self-explaining. For those affecting a channel/ | ||
| ===== Scripting ===== | ===== Scripting ===== | ||
| + | |||
| + | The SAS module provides a number of callback functions to be used in background scripts. The first one is a generic one that is called for any SAS packet received: | ||
| + | |||
| + | // Called when a command is received from an SAS remote | ||
| + | procedure OnSASCommand(Remote: | ||
| + | begin | ||
| + | end; | ||
| + | | ||
| + | The other functions are " | ||
| + | |||
| + | // Called when an SAS GPI goes ON | ||
| + | procedure OnSASGPIOn(Remote: | ||
| + | begin | ||
| + | end; | ||
| + | |||
| + | // Called when an SAS GPI goes OFF | ||
| + | procedure OnSASGPIOff(Remote: | ||
| + | begin | ||
| + | end; | ||
| + | |||
| + | // Called when an SAS sources goes PFL ON | ||
| + | procedure OnSASPFLOn(Remote: | ||
| + | begin | ||
| + | end; | ||
| + | |||
| + | // Called when an SAS sources goes PFL OFF | ||
| + | procedure OnSASPFLOff(Remote: | ||
| + | begin | ||
| + | end; | ||
| + | | ||
| + | To interact with the console over the SAS protocol, you must first get a reference to an '' | ||
| + | |||
| + | function SASRemote(iIndex: | ||
| + | | ||
| + | Remotes are 0-based, so '' | ||
| + | |||
| + | The '' | ||
| + | |||
| + | procedure SendCommand(iCommand: | ||
| + | | ||
| + | Then there are a couple of high-level functions (they will use '' | ||
| + | |||
| + | procedure SetFaderInputGain(iSourceName: | ||
| + | procedure SetFaderLevel(iSourceName: | ||
| + | procedure SetPrelisten1On(iSourceName: | ||
| + | procedure SetPrelisten1Off(iSourceName: | ||
| + | procedure SetGPI(iNumber, | ||
| + | procedure SetFaderStart(iSourceName: | ||
| + | |||
| + | It is also possible to retrieve the fader status and fader level for a particular source. As this is an asynchronous operation, you must first use a " | ||
| + | |||
| + | procedure FetchFaderStatus(iSourceName: | ||
| + | function GetFaderStatus(iSourceName: | ||
| + | procedure FetchFaderLevel(iSourceName: | ||
| + | function GetFaderLevel(iSourceName: | ||
config/remotecontrol/sas.1472634388.txt.gz · Last modified: (external edit)