Example 2: 8-Level Switch On A Pesa Switcher - Crestron SIMPL+ Reference Manual

Language reference guide
Hide thumbs Also See for SIMPL+:
Table of Contents

Advertisement

Software
Crestron SIMPL+
®

Example 2: 8-Level switch on a Pesa switcher

#SYMBOL_NAME "Pesa Switcher - 8 Levels"
#HINT "Creates Pesa CPU-Link H command for Switching"
/
************************************************************
******
DIGITAL, ANALOG and SERIAL INPUTS and OUTPUTS
************************************************************
******/
// Digital trigger from the SIMPL program - this sends the
command
// string out.
DIGITAL_INPUT TRIG;
// Analogs for the output and 8 levels of the switcher from the
// SIMPL program.
ANALOG_INPUT
OUTPUT,LEVEL1,LEVEL2,LEVEL3,LEVEL4,LEVEL5,LEVEL6,LEVEL7,LEVE
L8;
// The output string that is to be sent from the SIMPL+ program
to
// the SIMPL program to the switcher.
STRING_OUTPUT COMMAND$;
/
************************************************************
Global Variables
(Uncomment and declare global variables as needed)
************************************************************
*/
INTEGER I, COUNT, CKSLOW, CKSHI;
STRING PESABUF[30];
/
************************************************************
Event Handlers
(Uncomment and declare additional event handlers as needed)
************************************************************
*/
PUSH TRIG
{
// Format command which stores the switcher command in a
®
280
SIMPL+
Language Reference Guide - DOC. 5797G

Advertisement

Table of Contents
loading

Table of Contents