GPI Commander 2 User Manual

Similar documents
Multicam Logger User Manual. Multicam Logger 2. User Manual. Version 1.0 December Multicam Logger User Manual

The Playlists User Interface. Each feature of the above UI is described briefly hereafter:

Installation Manual. ID station. CamFi controller

The IC can be used in new installations or as a replacement for an existing sprinkler control system.

Omega 4K HDR 3x2 Matrix Switcher for HDMI and USB-C with HDMI Outputs

ipod Tutorial Includes lessons on transferring music to ipod, playing music, and storing files on ipod

How To Access Everything Quicker With Alfred [Mac]

Essential Connections You will need to connect the following things to get started:

Recording KMO in cubase, on Windows seven 32 bits, with Motif XF in remote mode.

WordPress site Import/Export Procedure

TimeSlipping with MovieRecorder 3 and OnTheAir Video/Express 3

Working with AppleScript

GPIO CONFIGURATION. Screen Touch-Pads <LOCAL RACK> Selects the GPIO in the Local Rack (16 GPIO channels).

Guide to Triggering PopClip with Other Mac Automation Applications

Master Your Mac. simple ways to tweak, customize, and secure os x

(Note if updating the software, delete the old application file from your desktop first, by dragging it to the trash.)

STT41AS1 v7.0 FUNCTIONAL DESCRIPTION

Source Control. Deployment. What usync Does. usync Versions

Installing the Software

IBM Atlas Policy Distribution Administrators Guide: IER Connector. for IBM Atlas Suite v6

Clickfree C2 Slim Line (Special Edition) Portable Backup Drive. Model: C2SE or 527SE USER GUIDE. for Apple MAC users. Version 1.01

Docking station. Technical Documentation

Apollo I Breakout Board User s Manual

Verizon One Talk DECT IP Phone

8 Setting Preferences

Chapter 31 Using the Optical Character Reader

HD DIGITAL VIDEO A/B SWITCH INSTALLATION MANUAL

TMX-1608VGA 16 8 VGA Ultra Wideband Matrix Switcher

Kvaser Memorator Setup Tool - Trigger Guide

MicroHAWK ID Demo Kit Setup Guide. P/N Rev A

Alarm Distribution Shelf (ADS)

Section 5. 5 Service Editor. 5.1Edit logging services Details

Working with AppleScript

WORDSYNC ADDENDUM to the SupraDrive Operator s Manual

ETHERNET IRRIGATION CONTROLLER. Irrigation Caddy Model: ICEthS1. User Manual and Installation Instructions

Once you have obtained a username and password you must open one of the compatible web browsers and go to the following address to begin:

Organizing Screens with Mission Control

DX-10 tm Digital Interface User s Guide

Tutorial. Includes lessons on transferring music to ipod, playing music, and storing files on ipod

Table of Contents... 1 Operation Mode... 2 Connecting System Menu... 14

RTBox v5/6: USTC Response Time Box

USB to RS-422/485 Serial Adapter

Domain 3000 Back Panel

The WideRuled Story Generator Tutorial Alex Mitchell Communications and New Media Programme National University of Singapore

Contents. Getting Started...1. Managing Your Drives...9. Backing Up & Restoring Folders Synchronizing Folders...52

Hybrid DVR Quick Start Guide

Installation Guide AT-OME-EX-RX

4K/UHD Five-Input Universal Switcher with Wireless Presentation Link

TI-83+ Z80 ASM for the Absolute Beginner

MovieRecorder 4 & MovieRecorder Express 4

Release Notes. Version Gene Codes Corporation

Welcome to Mac OS X, the world s most advanced operating system. This book helps you start using Mac OS X. First install the software, then discover h

LayoutZone. Automatication

This is a tutorial about sensing the environment using a Raspberry Pi. measure a digital input (from a button) output a digital signal (to an LED)

Tim Hortons EI30 Ethernet Interface Circuit Board

BRIGHTSIGN QUICK START GUIDE. BrightSign, LLC Lark Ave., Suite 200 Los Gatos, CA

Connecting Opencockpits modules in ProSim737

The SIR State Database Chapter 2 Page 1 of 8

Mr.Kailley s AP Chem programming Unit Set up instruction sheet for PC s (Mac will be kind of similar: good luck) 1) Go to the following website:

INTERFACES USB-DMX 512 & 1024 CHANNELS V.1.0.5

ired Lite - Manual Usage The Features

USB Server User Manual. USB Server Manual (DN-13010)

Quicky 5 USB a/b/g/n Dual Band. Kit Contains the following items:

Emax SE SCSI Port Emax Plus Retrofit Instructions (Fl360)

576 E USA

How to create a percussion SoundFont using the Keys file feature in Viena version 0.998

EPIC board ensures reliability in the toughest environment

Master Your Mac. simple ways to tweak, customize, and secure os x

Omega 4K/UHD Scaler for HDBaseT and HDMI with USB

Mini DisplayPort Video Dock with USB 3.0 LAN Hub - Black

CSE P567 - Winter 2010 Lab 1 Introduction to FGPA CAD Tools

Delta T Dew Heater for CDK

Bridge Cable User s Guide

MB8450 USB-CarSonar-WR 2 USB Ultrasonic Proximity Sensor

Quick installation guide.

Transferring photos from iphone to a PC

TMG Clerk. User Guide

Creating and Triggering Animations

Turbo.264 HD Manual Elgato Systems LLC 900 Kearny Street Suite 750 San Francisco, CA United States of America

62G from 1.0 from surface. K&J D x.50, N42. 69G from 1.75 from surface. 236G from 1.25 from surface.

Device: PLT This document Version: 1. For hardware Version: 1. For firmware Version: Date: 9 May 2014

Instruction Manual for BE-SP3 Circuit. 10/21/07

QuicKeys X3 Version 3.1.1

GIGAVAC Contactors I 2 C Communication

SPECTRE MANUAL. Sample Program Extended Content Transmission Remote Editor by Waldorf

Bits and Bytes. Here is a sort of glossary of computer buzzwords you will encounter in computer use:

EVAS CAN Bus. Ref : User Guide

Network Transmission System

KNOCK LOCK MAKE YOUR OWN SECRET LOCKING MECHANISM TO KEEP UNWANTED GUESTS OUT OF YOUR SPACE! Discover: input with a piezo, writing your own functions

Plus-X IIU / ICRU Installation Guide

Device: PLT This document Version: 3. For hardware Version: 1. For firmware Version: Date: 20 Oct 2017

Necessary software and hardware:

HOW TO INSTALL A CRUCIAL SSD IN YOUR COMPUTER

ValuePRO Tutorial Internet Explorer 8 Configuration

Counter (Encoder) Input Specifications & Installation Guide. Configuration:

BR-80 Digital Recorder

8DCMC1-USB Digital positioning control unit with USB interface for DC brush motors. Quick start guide 8DCMC1-USB

How to install a Crucial SSD in your computer

How to program with Matlab (PART 1/3)

BRIGHTSIGN QUICK START GUIDE FOR HD110, HD210, HD410, HD810, HD1010

Transcription:

GPI Commander 2 User Manual For GPI Commander 2 Box With Software version 1.1.3 minimum www.softron.tv 1

2009 Softron Media Services. All rights reserved. 2

Table des matières Chaptre 1 GPI Commander 2 - Hardware Overview Chaptre 2 Introduction to GPI Commander Software Chaptre 3 Triggering AppleScripts on GPI input state change Chaptre 4 Triggering GPI outputs from an Application 3

4

GPI Commander 2 1 Hardware overview GPI Commander 2 is a USB to GPI and GPI to USB converter. It connects to your Mac or PC using a USB cable. GPI Commander has 8 outputs and 24 inputs. It can start AppleScripts when one of the 24 input is trigered, and it each of the 8 output can be trigered by AppleScript. GPI Commander is the ideal companion of all the Softron Applications but also to other applications provided they can send and/or receive AppleScripts. Power GPI Commander 2 is powered by the USB cable. Some USB connectors don your Mac (on keyboard, hubs, etc...) may not have sufficient power for GPI Commander. GPI Inputs The 24 GPI inputs come in a DB25 connector. The 24 inputs are on the first 24 pins and the Ground is on the 25th pin. Do not connect a Serial, nor SCSI cable/connector to the GPI Commander 2 box. 5

GPI Outputs The 8 Outputs go out using a phoenix connector with screw contacts. Rack mounting GPI Commander has 3 holes on the back so it can be mounted in a Rack. 6

Introduction to 2 GPI Commander Software The Application GPI Commander is a free application that can be downloaded from our website www.softron.tv. GPI Commander can control one or more GPI Commander 2 boxes via USB. These boxes have 8 outputs and 24 inputs. When you start the application GPI Commander and that there s a GPI Commander 2 box connected to the Mac, a new window will open. If you connect 2 GPI Commander boxes on the same Mac, you will have 2 windows enabling you to control the 2 boxes from the same Mac. Each GPI Commander Box has a unique serial number that is shown in the Serial Number area on the top of the User Interface. State of the Inputs Each of the 24 inputs state is seen in the User interface. If the contact is closed on any of these 24 inputs, the relative checkbox will be checked. When one of the input state changes from closed to opened or from opened to closed, an AppleScript can be started. These AppleScripts will enable you to control almost any application on your Mac. You can for example start a OnTheAir Video playlist when you receive a pulse on the input 1, and/or even send an email! Working with AppleScripts on the input is explained in Chapter 3. Manually controlling the outputs Each of the 8 outputs can be controlled manually. In front of each Input you have a checkbox to put the state to on or off. You can also send a pulse to any of the 8 output. But the interest of GPI Commander is that it can be controlled by AppleScript which means that this process can be automated and the output can be trigered by any application that is able to send an AppleScript. With Softron products, it means for example that you can trigger any of the 8 output at a particular moment of a clip in a playlist OR you can trigger any of the 8 output when you start or stop a recording in MovieRecorder. Working with AppleScripts in the output is explained in Chapter 4. 7

8

Triggering AppleScripts on 3 GPI input state change With GPI Commander, you can trigger an AppleScript when the state of any of the 24 input changes. you can trigger an AppleScript when the state changes from closed to opened or from opened to closed. These AppleScripts can control any application on the Mac that is AppleScriptable. You can easily see if an Application is AppleScriptable simply by drag&dropping it on the Application Script Editor. If a dictionary opens, it means it is AppleScriptable. If it doesn t it will then tell you that this Application cannot be controlled by AppleScripts. For more information and AppleScripts samples, check the AppleScript folder located in your Applications Folder Most of Softron Applications can be controlled by AppleScript. It means that a GPI trigger input can start a MovieRecorder recording, start a OnTheAir Video playlist, start a OnTheAir CG project, switch a Matrix Video Switcher with OnTheAir Switch, etc... Check on our website, on each product download page, you will find sample AppleScripts to control our applications. Configuring GPI Commander When you download GPI Commander from the website, you need to unzip the file and then place the entire content of the folder in the Applications Folder. In the GPI Commander folder you will see that there is the application GPI Commander and a folder named Actions. In this Actions folder, you can see that there are 24 AppleScripts named Input 1, Input 2, Input3,... The AppleScript named Input 1 will be triggered when the state of the Input 1 will change. The AppleScript named Input 2 will be triggered when the state of the Inputs 2 will change, etc... 9

If you double click on one of the AppleScript, it will open in Script Editor. All the AppleScripts are pre-formated with almost the same AppleScript sample: With this AppleScript, if on your GPI Commander box you have made all the connections and that you close the relay of Input 1 (checkbox checked), it will show you the message Input 1 has changed to TRUE. If you open the relay of Input 1 (checkbox unchecked), it will show you the message Input 1 changed to FALSE. You can then replace these two parts of the AppleScript with anything you want any Application to do. Below are 2 examples. The first one is to control MovieRecorder and it will start recording when the relays close, and stop recording when the relays open. The second example will start playing the selected clip of the selected playlist in OnTheAir Video when the connectors close, and it will stop playing when the connectors open. Don t forget that you can send multiple commands to multiple applications, so for example when you receive a pulse on input 1, you can at the same time start a OnTheAir Video playlist, start a recording in MovieRecorder, switch a Matrix Video Switcher with OnTheAir Switch, and even send an email. Remember, any AppleScriptable application can be controlled by GPI Commander. 10

Triggering GPI outputs 4 from an application The general idea with AppleScripts to control GPI Commander is to define: 1. To which application we want to talk (GPI Commander) 2. To which Box you want to talk (using a serial number or absolute number) 3. To which output you want to do which action 1. tell Application Each AppleScript talking to GPI Commander must start with tell Application GPI Commander and end with. 2. tell Device Then as you can connect multiple GPI Commander boxes to one computer, you need to specify which box you want to send command to. If you have only one GPI Commander box connected to your computer, you can simply use tell first device. But if you connect multiple box to one computer, it is difficult to know which box is the first one. You can then use the serial number to define it and use tell first device whose serial is 00002951 for example. 3. Set, Get, Pulse Then you can tell what you want to do on this GPI Commander box. The main actions you can perform on any of the 8 outputs are : set state of output X to TRUE set state of output X to FALSE set state of every output to TRUE set state of every output to FALSE pulse output X pulse every output You can also get the state of every input get state of input X (replace X by the number of the output to control, a number between 1 and 8) Remember that : TRUE = relay is closed (checkbox is checked = ON) FALSE = relay is opened (checkbox is unchecked = OFF) a pulse will close the relay during a 1/60 of second. (has no effect if the relay is already closed) All these commands can be made in one AppleScript. It means that in one Apple- Script, you can pulse on output 5, set output 1 to FALSE, and set output 3 to TRUE, and all possible combinations. Refer to the samples given on the next page. 11

Get the serial Number of a GPI Commander box There are three ways to know the serial number of a GPI Commander box. 1) It is written physically on the bottom of the GPI Commander box. 2) It is written in on the top of the User Interface. 3) You can write an AppleScript to get it: get serial of first device or : get serial of second device Get the state of each input You can know the state of every input simply by looking at the user interface, but if you intend to control GPI Commander from another application, you may need to know what is the state of each input before performing an action. For that you can use this AppleScript and replace by the input number you need: get state of input 1 12

Examples When using multiple boxes on one Mac, specifying the Serial Number of the GPI Commander box tell first device whose serial is 00002951 set state of output 3 to TRUE When using only one box on one mac, you can just write tell first device : tell first device set state of output 3 to TRUE You can also change the state of all outputs at the same time: tell first device set state of every output to TRUE Instead of changing the state to TRUE or FALSE, you can also pulse on any of the output. This will change the state of the selected output to TRUE for 1/60 second. tell first device pulse output 3 You can pulse on every output (this will be made in sequence, one after the other and not all at the same time). tell first device pulse every output Actions can be combined to do multiple actions in the same AppleScript tell first device set state of output 3 to TRUE set state of output 5 to FALSE pulse output 6 13

Other Informations The explanation we provide here on AppleScripts are pretty basic. It is a very easy and powerful tool that you can use in many ways. If you want to see the complete dictionary of GPICommander; don t forget that you can drag&drop the GPICommander application to the ScriptEditor application. It will open a Dictionary specifying almost all commands that can be send to the Application. Also a very good source of information is this website: http://www.macosxautomation.com/applescript/ Have fun! 14