beautypg.com

Extron Electronics MS9400 HD FrEND User Manual

Page 48

background image

MS9400 HD FrEND User Guide

Chapter 7: Using the GPIO Interface

48 Rev.

1.54

The MS9400 will send out an inputstate (See description of GET INPUT) message whenever the state of an input
changes. The input state message will contain the current state of all inputs. It is up to the control system to
determine which input(s) changed and act accordingly.

A function is provided to read the input state at any time.

GET INPUT

This function will return the state of the digital inputs on the unit.

syntax:

getinput<0x0d>

return data:

inputstate 1[+|-] 2[+|-] 3[+|-] 4[+|-]<0x0d>

parameters: 1,2,3,4 represent the input number

+: input is currently active
-: input is currently inactive

Programming the IR Remote Functions

The Default Function Commands are triggered by the IR Remote buttons: LAST plus 1-9, and can be re-
programmed to effect other actions. The Default Function settings are:

FUNC/LAST +1 runs F1.mac: wait 00:00:00:00 "setoutputmode 1 rgbhv"

FUNC/LAST +2 runs F2.mac: wait 00:00:00:00 "setoutputmode 1 yprpb"

FUNC/LAST +3 runs F3.mac: wait 00:00:00:00 "setoutputresolution 1 1920 1080 i 29"

FUNC/LAST +4 runs F4.mac: wait 00:00:00:00 "setoutputresolution 1 1280 720 p 59"

FUNC/LAST +5 runs F5.mac: wait 00:00:00:00 "setoutputresolution 1 720 480 p 59"

FUNC/LAST +6 runs F6.mac: wait 00:00:00:00 "setoutputresolution 1 1920 1080 i 25"

FUNC/LAST +7 runs F7.mac: wait 00:00:00:00 "setoutputresolution 1 1280 720 p 50"

FUNC/LAST +8 runs F8.mac: wait 00:00:00:00 "setoutputresolution 1 720 576 p 50"

FUNC/LAST +9 runs F9.mac: wait 00:00:00:00 "loadplaylist 1 xxx" (Play MS9400 Playlist ‘xxx’)

wait 00:00:10:00 "stop 1" (Stop the file playing after 10 seconds)

NOTE: In the preceding command strings: ‘wait 00:00:00:00’ means that the command will occur at the time
specified (in this case instantly).

To ‘re-program’ the IR Function buttons simply write your command sequence in a text editor such as Notepad.
Use any available command string (from the MS9400 Control Protocol - Refer to Chapter 6) and name the file(s)
F1.mac – F9.mac. The text file (macro) will be saved in the .mac format.

Transfer the file(s) to the MS9400 media folder by means of ftp. The new command sequence will run when the
appropriate buttons are pressed on the IR Remote.