Wheatstone Corporation GPC-3 Studio turret Скачать руководство пользователя страница 1

Wheatstone Corporation

Jan 2006

T

ECHNICAL

M

ANUAL

G P C - 3  

G P C - 3  

G P C - 3  

G P C - 3  

G P C - 3  S Y S T E M

S Y S T E M

S Y S T E M

S Y S T E M

S Y S T E M

S T U D I O   T U R R E T

Содержание GPC-3 Studio turret

Страница 1: ...Wheatstone Corporation Jan 2006 TECHNICAL MANUAL G P C 3 G P C 3 G P C 3 G P C 3 G P C 3 S Y S T E M S Y S T E M S Y S T E M S Y S T E M S Y S T E M S TUDIO T URRET ...

Страница 2: ...252 638 7000 fax 252 637 1285 GPC 3 Studio Turret Technical Manual GPC 3 Studio Turret Technical Manual GPC 3 Studio Turret Technical Manual GPC 3 Studio Turret Technical Manual GPC 3 Studio Turret Technical Manual 2006 Wheatstone Corporation GPC 3 Jan 2006 ...

Страница 3: ...tch Control Panel 1 11 Replacement Parts 1 11 GP 4W Pinouts 1 12 GP 4W Schematic 1 13 GP 4W Load Sheet 1 14 GP 8P 8 Switch Programmable Switch Panel 1 15 Replacement Parts 1 15 GP 8P Pinouts 1 16 GP 8P Schematic 1 17 GP 8P Load Sheet 1 18 GPC 1 Schematic 1 19 GPC 1 Load Sheet 1 22 GP 16P 16 Switch Programmable Switch Panel 1 23 Replacement Parts 1 23 GP 16P Pinouts 1 24 GP 16P Schematic 1 25 GP 16...

Страница 4: ...itle Page Table of Contents i continued ii 1 Introduction 3 1 1 GP xx Hardware Compatibility 3 2 What You Need to Get Started 4 2 1 GP 16P Configuration Tool Software 4 2 2 Physical Network Connection 4 2 3 IP Address Settings 4 2 4 XPoint Software 5 2 5 GP 16P Help File 5 3 Using GP 16P Configuration Tool Software 6 3 1 Programming Procedure Summary 6 3 2 Adding Devices 6 3 3 Toggle On Line Mode ...

Страница 5: ...8 7 9 Custom Scripting Suggestions 29 7 10 Scripting Router Control 29 7 11 Scripting Surface Control 29 7 12 Basic Surface Functions 29 7 13 Advanced Surface Functions 30 7 14 Example surf_talk Commands 30 8 GP 16P Scripting Language Overview 31 8 1 Case Sensitivity 31 8 2 Comments 31 8 3 Actions 31 8 4 Global Variables 31 8 5 Local Static Local Variables 32 8 6 Constants 32 8 7 Arrays 32 9 GP 16...

Страница 6: ...l 1 11 Replacement Parts 1 11 GP 4W Pinouts 1 12 GP 4W Schematic 1 13 GP 4W Load Sheet 1 14 GP 8P 8 Switch Programmable Switch Panel 1 15 Replacement Parts 1 15 GP 8P Pinouts 1 16 GP 8P Schematic 1 17 GP 8P Load Sheet 1 18 GPC 1 Schematic 1 19 GPC 1 Load Sheet 1 22 GP 16P 16 Switch Programmable Switch Panel 1 23 Replacement Parts 1 23 GP 16P Pinouts 1 24 GP 16P Schematic 1 25 GP 16P Load Sheet 1 2...

Страница 7: ...el the GP 4W W 008707 4 switch control panel the GP 8P W 008708 8 switch programmable switch panel and the GP BK W 008720 blank panel The double wide GP 16P W 008709 16 switch programmable switch panel is also available The panels are described in details on the following pages On the bottom part of the turret are 4 predrilled holes 3 16 D that are used for mounting the turret to the countertop Dr...

Страница 8: ...RJ 45 connector mounted on the GP 3PCB FACEPLATE SWITCH CLEAR FLAT TOP CAP WITH WHITE BASE WHITE INSERT 008753 510109 530109 W PART NAME POT DUAL LINEAR LOW Z 500121 21MM GRAY COLLET KNOB 520023 21MM BLACK CAP WITH WHITE LINE 530319 RTS JACK 260005 REPLACEMENT PARTS 12 POSITION PLUG ON BARRIER STRIP 260045 RJ 45 CONNECTOR 260048 6 PIN PLUG 230031 GP 3 SWITCH BARRIER LEFT 008714 12 POSITION BOXED H...

Страница 9: ... Z 100Ω 1 2 3 4 5 6 7 8 HEADPHONE LT HEADPHONE RT SWITCH N O SWITCH COM RJ 45 Connector HEADPHONE SH SWITCH LED N C SWITCH LED 1 2 3 4 5 6 7 8 9 10 11 12 HEADPHONE LT HEADPHONE SH HEADPHONE RT N C N C N C SWITCH N O N C SWITCH COM SWITCH LED N C SWITCH LED Plug Terminal ...

Страница 10: ... 3 6 27 05 GP 3A PCB 00S0041 page 1 5 A B A B 2 2 1 1 B ISSUED CHECKED DRAWN CONTRACT NO DWG NO FSCM NO SHEET SCALE REV SIZE DATE APPROVALS 1 OF 1 SA SA CT1 100 4 5 6 CT1 100 1 2 3 24 R2 24 R1 CT3 1 2 3 S T R HDPN_RT SW_C LED_C HDPN_LT HDPN_SH SW_NO LED_A HDPN_SH HDPN_RT HDPN_LT HDPN_LT HDPN_RT HDPN_SH LED_C SW_C LED_A SW_NO SW_C LED_A SW_NO LED_C ON SW RJ 45 CONNECTOR PHOENIX CONNECTOR ...

Страница 11: ...G P C 3 H A R D W A R E page 1 6 GPC 3 Jan 2006 GP 3 Headphone Panel Load Sheet T op Bottom GPC 3 Sep 2006 ...

Страница 12: ... GP 4S panel takes place at the 12 position plug terminal or the RJ 45 connector mounted on the GP 4PCB FACEPLATE SWITCH RED TRANSP CAP FOR SWITCH 008755 510109 530097 W PART NAME REPLACEMENT PARTS 12 POSITION PLUG ON BARRIER STRIP 260045 RJ 45 CONNECTOR 260048 SWITCH LED RED 600027 ORANGE TRANSP CAP FOR SWITCH 530098 CLEAR FLAT TOP CAP WITH WHITE BASE WHITE INSERT 530109 SWITCH LED YELLOW 600031 ...

Страница 13: ...r panel connections for Wheat stone Bridge logic cards Simply plug a standard CAT5 cable between the GP 4S RJ 45 connec tor and the logic card rear panel 1 2 3 4 5 6 7 8 GROUND COUGH TB TO CR REMOTE OFF RJ 45 Connector TALLY OFF TALLY ON REMOTE ON 5V DIGITAL 1 2 3 4 5 6 7 8 9 10 11 12 COUGH TB TO CR TALLY OFF TALLY ON REMOTE OFF REMOTE ON GROUND GROUND 5V DIGITAL 5V DIGITAL N C N C Plug Terminal ...

Страница 14: ...1 APPROVALS DATE SIZE REV SCALE SHEET FSCM NO DWG NO CONTRACT NO DRAWN CHECKED ISSUED B 1 1 2 2 B A B A R2 220 R1 220 2 1 SW3 SW4 1 2 MC 5V GND GND MC 5V GND GND MC 5V MC 5V GND MC 5V GND GND THIS CONNECTOR PINOUT MATCHES THE W 008653 LRJ 2001 REAR PANEL CONNECTIONS FOR WHEATSTONE BRIDGE LOGIC CARDS SIMPLY PLUG A STANDARD CAT5 CABLE BETWEEN THE GP 4S RJ 45 CONNECTOR AND THE LOGIC CARD REAR PANEL P...

Страница 15: ...G P C 3 H A R D W A R E page 1 10 GPC 3 Jan 2006 T op Bottom GP 4S 4 Switch Mic Control Panel Load Sheet GPC 3 Sep 2006 ...

Страница 16: ...es All user wiring to the GP 4W panel takes place at the 12 position plug terminal or the RJ 45 connector mounted on the GP 4PCB FACEPLATE SWITCH 008755 510109 W PART NAME REPLACEMENT PARTS 12 POSITION PLUG ON BARRIER STRIP 260045 RJ 45 CONNECTOR 260048 SWITCH LED RED 600027 CLEAR FLAT TOP CAP WITH WHITE BASE WHITE INSERT 530109 GP 4 SWITCH BARRIER 008715 12 POSITION BOXED HEADER 260046 GPC 3 Jan ...

Страница 17: ...TCH 3 SWITCH 4 TALLY 2 TALLY 1 SWITCH 2 SWITCH 1 GROUND GROUND 5V DIGITAL 5V DIGITAL TALLY 3 TALLY 4 Plug Terminal 1 2 3 4 5 6 7 8 GROUND SWITCH 3 SWITCH 4 SWITCH 2 RJ 45 Connector TALLY 2 TALLY 1 SWITCH 1 5V DIGITAL No connections available for Tally3 and Tally4 on this connector ...

Страница 18: ...l Schematic GPC 3 Sep 2006 W 700840 GP 4W 10 13 05 GP 4A PCB 80S0040 page 1 13 SA SA 1 OF 1 APPROVALS DATE SIZE REV SCALE SHEET FSCM NO DWG NO CONTRACT NO DRAWN CHECKED ISSUED B 1 1 2 2 B A B A 220 R4 220 R3 220 R2 220 R1 MC 5V GND GND MC 5V GND GND GND GND MC 5V MC 5V MC 5V MC 5V GND MC 5V RJ 45 CONNECTOR PHOENIX CONNECTOR NO CONNECTIONS AVAILABLE FOR TALLY3 AND TALLY4 ON THIS CONNECTOR ...

Страница 19: ...G P C 3 H A R D W A R E page 1 14 GPC 3 Jan 2006 T op Bottom GP 4W 4 Switch Control Panel Load Sheet GPC 3 Sep 2006 ...

Страница 20: ...ns by using the Ethernet enabled GUI software described in Chapter 2 The unit has an RJ 45 connector for Ethernet connections and a DC power jack mounted on the GPC 1PCB GPC 3 Jan 2013 FACEPLATE 008757 W PART NAME REPLACEMENT PARTS COAXIAL POWER JACK 260054 SWITCH NKK W BRIGHTED RED LED 510290 WHITE CAP FOR SWITCH 530004 RJ 45 CONNECTOR UPRIGHT 260048 GP 8 PCB L BRACKET 008745 POWER WALL ADAPTER 9...

Страница 21: ... F O R M A T I O N G P C 3 H A R D W A R E GP 8P Pinouts Plug the supplied AC adapter into the AC mains and into the DC IN power jack on the GPC 1PCB to power up the panel 1 2 3 4 5 6 7 8 TXD TXD RXD RXD RJ 45 Ethernet Connector GPC 3 Jan 2013 ...

Страница 22: ...7 39 R8 39 R9 39 GND VCC A 80S0038 GP 8A PCB 12 5 05 GP 8 W 700838 WWP SA SA Wheatstone Corporation page 1 17 8 Programmable Switch Panel Schematic GPC 3 Sep 2006 A B D C D C A B 4 4 1 1 2 2 3 3 C DWG NO FSCM NO ISSUED CHECKED DRAWN CONTRACT NO SHEET SCALE REV SIZE DATE APPROVALS 1 OF 1 GND R5 1 00K SW_X_0 LED_X_0 SW_X_1 LED_X_1 LED_X_1 LED_X_0 DSPL_RS SW_X_5 SW_X_3 SW_X_1 SW_X_4 DSPL_DIN SW_X_2 S...

Страница 23: ...G P C 3 H A R D W A R E page 1 18 GPC 3 Jan 2006 GP 8P 8 Programmable Switch Panel Load Sheet GPC 3 Sep 2006 ...

Страница 24: ...DS9 R46 220 3 3V DS8 R45 220 3 3V DS7 R44 220 3 3V DS3 R40 332 3 3V DS2 R39 332 3 3V C61 0 1uF C62 0 1uF CT3 1 2 3 4 5 6 7 8 9 10 U6 1 2 3 4 5 6 7 8 9 10 11 12 13 14 LTC1386 R2IN R1IN V V R2OUT T2IN R1OUT C1 C1 C2 C2 T1IN T2OUT T1OUT C63 0 1uF C64 0 1uF GND GND R16 1 00K GND R21 10 0K 3 3V Q3 FDN340P R12 1 00K GND R19 10 0K 3 3V Q1 FDN340P R41 332 3 3V TX TX RX RX C87 0 1uF GND C85 0 1uF GND R63 6...

Страница 25: ...EA16 EA13 EA14 EA11 AWE SDWE SSWE CLKOUT2 GP 2 ARE SDCAS SSADS AOE SDRAS SSOE ECLKIN ECLKOUT EA10 EA9 EA8 EA7 EA6 EA5 EA4 EA3 EA2 CE2 CE3 ARDY HINT GP 1 HCS AXR1 2 HD4 GP 0 HD2 AFSX1 HD3 AMUTE1 HAS ACLKX1 HD1 AXR1 7 HDS1 AXR1 6 HDS2 AXR1 5 HD0 AXR1 4 HCNTL0 AXR1 3 HCNTL1 AXR1 1 HR W AXR1 0 HOLD HOLDA BUSREQ ED0 ED1 ED2 ED3 ED5 ED4 ED8 ED7 ED6 ED10 ED9 ED12 ED11 ED14 ED15 ED13 BE0 EA21 BE1 GP 4 EXT...

Страница 26: ... B D A C B 3 3V GND 2 5V GND 2 00K R15 C10 0 01uF 6 19K R11 TP2 TP3 L1 D1 MBRD835 C17 0 22uF Q2 1 2 3 4 5 6 7 LM2673 SS CL OUT VIN CB GND FB C43 330uF C42 1500uF VCC DCin GND 5 6V Z3 1SMB5919 5 6V Z2 1SMB5919 5 6V Z1 1SMB5919 R4 1 00K 3 3V GND J5 R5 10 0K VCC R2 4 99K GND U2 1 4 5 6 7 8 DS1706 WDS RST ___ ___ ____ NMI PBRST ST IN ___ _____ VCC GND 3 3V GND TP5 GND VCC GND 2 5V GND TP4 D2 BAT54 D3 ...

Страница 27: ...page 1 22 GPC 3 Jan 2006 G E N E R A L I N F O R M A T I O N G P C 3 H A R D W A R E GPC 1 Controller Load Sheet Top Bottom GPC 3 Apr 2012 ...

Страница 28: ...ions by using the Ethernet enabled GUI software described in Chapter 2 The unit has an RJ 45 connector for Ethernet connections and a DC power jack mounted on the GPC 1PCB GPC 3 Jan 2013 FACEPLATE 008759 W PART NAME REPLACEMENT PARTS COAXIAL POWER JACK 260054 SWITCH NKK W BRIGHTED RED LED 510290 WHITE CAP FOR SWITCH 530004 RJ 45 CONNECTOR UPRIGHT 260048 GP 16 PCB L BRACKET 008746 POWER WALL ADAPTE...

Страница 29: ... F O R M A T I O N G P C 3 H A R D W A R E GP 16P Pinouts 1 2 3 4 5 6 7 8 TXD TXD RXD RXD RJ 45 Ethernet Connector Plug the supplied AC adapter into the AC mains and into the DC IN power jack on the GPC 1PCB to power up the panel GPC 3 Jan 2013 ...

Страница 30: ... 5 5 D DWG NO FSCM NO ISSUED CHECKED DRAWN SHEET SCALE CONTRACT NO REV SIZE DATE APPROVALS 1 OF 1 SW2 4 3 2 1 SW4 4 3 2 1 SW3 4 3 2 1 SW6 4 3 2 1 SW5 4 3 2 1 SW8 4 3 2 1 SW7 4 3 2 1 4148 D2 4148 D1 4148 D4 4148 D3 4148 D6 4148 D5 4148 D8 4148 D7 SW1 4 3 2 1 39 R5 39 R6 39 R7 39 R8 600 Industrial Drive New Bern NC 28562 1 00K R4 SW_X_2 LED_X_0 SW_X_3 LED_X_1 LED_X_1 LED_X_0 DSPL_RS SW_X_5 SW_X_3 SW...

Страница 31: ...G P C 3 H A R D W A R E page 1 26 GPC 3 Jan 2006 GP 16P 16 Programmable Switches Load Sheet ...

Страница 32: ...GPC 3 Chassis Full Size Template GPC 3 Jan 2006 page 1 27 4 Drill Center Marks for 8 Screws 3 16 bit 5 700 3 708 ...

Страница 33: ...AD S S SCREW 820127 GPC 3 MANUAL 008713 GPC DESK TURRET 008700 W PART NAME GPC 3 SYSTEM PARTS LIST GP 3 HEADPHONE PANEL ASSY 008705 GP 16P SWITCH PANEL ASSY 008709 GP 4W SWITCH PANEL ASSY 008707 GP 8P SWITCH PANEL ASSY 008708 GP 4S SWITCH PANEL ASSY 008706 GP BK BLANK PANEL 008720 GP U1 UNDER COUNTER MOUNT ASSY 008701 GP DUAL RACK FACE 008744 GPC INSTALL KIT 008711 GP PANEL ROUTING TEMPLATE 008718...

Страница 34: ...the Panel an Example 2 4 Programming the Panel Diving Deeper 2 6 Startup Code 2 8 Looking at Your Script 2 8 LIO Settings 2 9 Finishing the Script 2 9 The Helpfile Example 2 10 LIO Configuration Example 2 10 Configure the Signal 2 10 Configure the GP 16P LIOs 2 11 Create a Script Using the Script Wizard 2 13 About Changing the Panel s IP Address 2 16 What s Next 2 17 ...

Страница 35: ...gramthedeviceforyour application Once the panel and the computer are running on the same network double click on the Gp16pConfigTool icon to start the GUI The program will attempt to connect to the panel via Ethernet and the panel will then execute the last script that was loaded into it more on this later The GUI needs to know the IP address of the panel in order to connect The default address is...

Страница 36: ...n the system to initiate actions and to query status We call your attention to the extensive help file already alluded to under the heading of Installation that accompanies the GUI several functions will be mentioned in this brief introduction to the panel but we encourage you to plumb the depths of the help file to get you up to speed on the true power of this system Initial Tests Once you have t...

Страница 37: ...lect Device Properties to see the Device Properties form Surfaces should be highlighted in the left panel In the box after Surface 1 enter the IP address for the surface this box will be grayed out if you are not onlineandconnectedtoapanel Ifyouwillbecommandingothersurfacesyou can enter their IP addresses now When done click OK If you have changed or added surfaces you will need to reboot the pane...

Страница 38: ... you haven t already done so save changes by selecting File Save Now we aregoingtocompileourscriptandseeifanythingbadhappens SelectBuild Compile If you did exactly as instructed and if I instructed you properly you will be pleased to see that everything succeeded But my computer tells me that I have an undefined symbol ON at line 17 Where s line 17 Double click on the word ERROR in the main GUI wi...

Страница 39: ...et up the button so it will fire salvo 1 when it is pressed and will not fire a salvo when released The button will be lit while it is pressed and go out when it is released In the left panel select Button 2 In the right panel select Fire Salvo again This time put a 2 in the Press box and a 3 in the Release box When you are done and the panel is running a set of circumstances we will begin to assu...

Страница 40: ...it depends on how you externally trigger the logic port corresponding to LIO 5 Select Button 6 and Tally LIO There are no parameters to set When output LIO 6 is on the button is lit and when output LIO 6 is off the button isextinguished Pressingandreleasingthebuttonhasnodiscernibleeffect Select Button 7 and Surface Preset You must specify the Surf by number from 1 to 8 corresponding to the surface...

Страница 41: ...pper panel while the lower panel remains blank Select File Print to get a printout of your script if you don t have a way to print you ll just have to look at it on the screen The script starts with a bunch of comment lines recognized by the distinctive that starts them off and then a few variables are declared After this an action named STARTUP is defined Note the last line in STARTUP says call m...

Страница 42: ...bes how the button s LED will be acting Apply your changes in XPoint Back in the GP 16P Configuration tool open the Device Properties form and highlight Output LIOs 1 8 We are going to map our just defined LIO to Output LIO 6 so we can light the button 6 LED as earlier advertised Put a check in the checkbox after Output LIO 6 and select a Signal Type of Source since we set up the LIO in XPoint as ...

Страница 43: ...lity We would also like a tally light from the console to indicate when Joe is on air Configure the Signal The first thing we need to do is configure the JOES MIC source signal with some virtual LIO signals to perform these functions The following figure shows how the LIOs will be defined for JOES MIC in the XP GUI Defining a virtual LIO signal only differs from defining a real physical LIO signal...

Страница 44: ...our buttons on our GP 16P to perform these functions Button Function Details 1 ON The Remote ON LIO will be triggered when the button is pressed the button LED will light to indicate that the channel is on air 2 OFF The Remote OFF LIO will be triggered when the button is pressed the button LED will light to indicate that the channel is off air 3 Cough The Cough LIO will be triggered when the butto...

Страница 45: ...GP 16P for this example Define the first four input LIOs to match the Remote On Remote Off Cough and Talkback LIOs for the JOES MIC signal Take note that these are configured as Input LIOs in the GP 16P since we are sending this logic into the router matrix Define the first two output LIOs to match the On Tally and Off Tally LIOs for the JOES MIC signal Take note that these are configured as Outpu...

Страница 46: ... the Script Wizard Now we want to use the script Wizard to generate a script for the GP 16P Configure the first and second buttons to be Momentary LIO functions with external LED drive Then configure the third and fourth buttons to be Momentary LIO functions with internal LED drive ...

Страница 47: ...script code for the third and fourth buttons will assert the input LIO while the button is pressed and de assert the input LIO when the button is released The button LED will light to indicate that the button is down The following script will be generated The button 1 and 2 actions simply drive the LIOs and LEDs corresponding to the buttons A periodic timer drives the button 1 and 2 LEDs with the ...

Страница 48: ...G P 8 P G P 1 6 P S O F T W A R E page 2 15 GPC 3 Jan 2006 ...

Страница 49: ...yPanel or whatever name you ve called your panel its MAC address and its IP address The Type shows up as thisisnormal Single clickanywherealongthelineoftextrepresentingthe panel to highlight it Then select Edit Add Device A message box pops up that warns you of the consequences of having non unique MAC addresses co existing on the same network Click Yes The next form to appearisaDeviceSettingsform...

Страница 50: ... page 2 17 GPC 3 Jan 2006 What s Next Read through the help file try a few examples from there then go ahead and write the scripts you need You can make life easier by copying code from the help file and pasting it in the Script Editor ...

Страница 51: ...GPC 3 Jan 2008 A P P E N D I X page Appendix 1 Appendix GP 16P Configuration Tool Programming Guide ...

Страница 52: ... Corporation Technical Documentation GP 16P Configuration Tool Programming Guide Programming Button Functions with the Script Wizard Creating Custom Scripts with the Script Editor 600 Industrial Drive New Bern NC 28562 252 638 7000 www wheatstone com ...

Страница 53: ...4 2 Starting the Device Properties Dialog 11 4 3 LIO Configuration 12 4 4 Starting the Device Properties Dialog 12 4 5 Design Philosophy 13 5 LIO Example Using Device Properties 5 1 Configure the Source Signal in XPoint 14 5 2 Configure the GP 16P LIOs 15 5 3 Create the Mic Control Script Using Script Wizard 17 5 4 Reviewing the Script Wizard Code 18 5 5 Beyond the Script Wizard 19 6 What is the S...

Страница 54: ...ocal Variables 32 8 6 Constants 32 8 7 Arrays 32 9 GP16P Scripting Language Structure 9 1 Script Structure 33 9 2 Constant Declarations 33 9 3 Global Variable Declarations 33 9 4 Global Array Declarations 34 9 5 Local Static Local Variable Declarations 34 9 6 Action Bodies 34 9 7 Action Parameters 35 9 8 Subroutine Bodies 35 9 9 Subroutine Parameters 35 10 Script Debugging 10 1 Finding Compiler Er...

Страница 55: ...uter code based on your Button and Parameter selections This code can be compiled and downloaded right to your device from within the configuration tool Certain sections of this document use material located in the GP 16P Configuration Tool software s extensive Help file 1 1 GP xx Hardware Compatibility The GP 8 and GP 16 are eight and sixteen button versions of the panel and use an identical hard...

Страница 56: ... the preferred method Peer to Peer a simple cross over wired RJ 45 cable between the PC and device Note that when the GP xx device is power cycled Windows momentarily loses the network connection and takes a moment to recover 2 3 IP Address Settings Make sure your PC is configured to talk to the GPxx panel The following rules apply The device s IP address is printed on a label affixed to the GP xx...

Страница 57: ...n signal ID s Salvo indexes and other numerical data based on ID numbers generated in XPoint You will need access to the XPoint software and your system s configuration to get the required information 2 5 GP 16P Help File The GP 16P Configuration Tool software has an extensive Windows Help Menu system You will definitely want to utilize this asset while programming as it can be an invaluable aid e...

Страница 58: ...Compile Script and Download to Device Start Script on the Device Test Functionality If you haven t already done so start the GP 16P Configuration Tool Software 3 2 Adding Devices If you previously ran the software use the Menu item Device Devices to Add or Select your GP xx Note If this is the first time you started the software or there are no GP devices saved the first prompt window you will see...

Страница 59: ...P panel button you would like to program Simply click on the button name to select it The right side of the Wizard is where you select a function for the selected button Go ahead and click through the various Functions You will notice that the Parameters field will display various data entry fields depending on the function selected Parameters are usually integers that correspond to signal ID numb...

Страница 60: ...bers from your XPoint configuration Just mouse over the signal name in XPoint to get its number Connect XYC this function will make a one time X Y Crosspoint route Enter the Destination and Source signal ID numbers from your XPoint configuration Momentary LIO this function will trigger a logic connection ON This function requires mapping of the LIO in Device Properties see Section 4 or Help File f...

Страница 61: ...Testing Now its time to see the results of the code you have downloaded to the GP xx panel Obviously you can go to the button location and listen and watch for changes as you press the buttons An easy way to check many functions is to have the XPoint software running while you press the buttons If you align the grid so that the signals of interest are visible you can watch as temporary or static c...

Страница 62: ...ypes are listed as Comments Define variables Startup action calls function to set Button 6 LED on power up Action sets LED 6 to ON or OFF depending on the state of LIO 6 on power up Action lights BTN1 LED and Fires Salvo1 Action clears BTN1 LED on BTN1 release Action lights BTN2 LED Stores Source ID patched to Dest 22 then connects Source 119 to Dest 22 Release Action clears BTN2 LED then restores...

Страница 63: ...with a list of each surface to which it will communicate The setup steps only need to be performed once since the setup information will be stored in the button panel s Flash memory and on your PC Select the device which you wish to setup then use the Device Properties dialog box to specify the surface IP addresses 4 2 Starting the Device Properties Dialog Start the Device Properties Dialog by cli...

Страница 64: ... to button2 etc Custom scripts can access any of the 16 input or output LIO s Virtual LIO s may be created so you don t eat up any physical logic i o Add a phantom logic card to a rack in XPoint See section 5 or Help for details The setup steps need to be performed each time you create a new script for a panel using mapped logic For example Panel 1 is for the Host mic and uses Source ID 10 Panel 2...

Страница 65: ...ck and forth on the merits of making the LIO definitions a device property and using property table indexes in the script function calls vs specifying the LIO definitions directly in the script functions We felt that the first approach would provide greater value in that if your installation contains several GP 16P panels with similar functionality you can use one script for all of the GP 16P butt...

Страница 66: ...he Device Properties form in the GP 16P Configuration Tool software Finally the Script Wizard is used to generate the script This approach has two benefits the resulting script is very clean and the GP xx panel follows the microphone source signal to whichever surface it connected to For the sake of this example let s assume that we have a microphone source named JOES MIC in our system We will be ...

Страница 67: ...rm these functions Button Function Details 1 ON The Remote ON LIO will be triggered when the button is pressed the button LED will light to indicate that the channel is on air 2 OFF The Remote OFF LIO will be triggered when the button is pressed the button LED will light to indicate that the channel is off air 3 Cough The Cough LIO will be triggered when the button is pressed and released when the...

Страница 68: ...utput LIOs to match the On Tally and Off Tally LIOs for the JOES MIC signal Take note that these are configured as Output LIOs in the GP 16P since we are reading this logic out of the router matrix Important Distinctions The Signal Type Signal ID and LIO fields are configured to match the values from the XP GUI signal definition dialog box The LIO field value 1 through 12 is NOT the Logic Card s p...

Страница 69: ...w we want to use the Script Wizard to generate a script for the GP xx Configure the first and second buttons to be Momentary LIO functions with External LED drive Then configure the third and fourth buttons to be Momentary LIO functions with Internal LED drive ...

Страница 70: ... 0 AG_BTN4 TYPE LIO_MOMENTARY LED 0 variable AG_scratch Temporary scratch pad variable for AG actions action STARTUP AG_scratch tmr_create_periodic 3 AG_TIMER_FUNC action AG_TIMER_FUNC LIO 1 and 2 btn_led 1 lio_get 1 get LIO 1 value and light LED1 ON if true btn_led 2 lio_get 2 get LIO 2 value and light LED2 OFF if true The auto generated script code for the first two buttons will assert the input...

Страница 71: ...G_END Note In this example we have seen how the Script Wizard associates a button with the corresponding LIO from the LIO definitions in the Device Properties dialog box This one to one correspondence is only a limitation of the Script Wizard If you are writing a custom script you may access any LIO defined in Device Properties from any action or subroutine 5 5 Beyond the Script Wizard The Script ...

Страница 72: ...custom code by dividing the file into two panes the top read only pane has a gray background and houses the AG or auto generated Script Wizard code The bottom pane is the editable text editor pane used for writing your own scripts 6 1 Script Editor Features Script Wizard code is separated and displayed in a read only pane Script text is displayed in a context sensitive color scheme with comments i...

Страница 73: ...mpile time if there is a problem If you plan on doing a lot of scripting you might consider using a third party programming editor Notepad is a nice freeware editor When you open a GP script in Notepad you can choose a Language skin like Flash actionscript that will give you line numbers and a context sensitive text color scheme You will still have to open the file in the GP16P tool before you com...

Страница 74: ...be copy and pasted into the Script Editor user s window Copy and paste details are located in Appendix A 7 2 Example Script Design The custom script used in this example is designed to act as an interlocked source selector with latching LED indicators Each button will patch an audio Source to a common Destination and light the button s LED on the panel The button s LED must be latched ON so the op...

Страница 75: ...ecause blank a new file has no Start requirements You can use the Script Wizard to point this startup to your own startup subroutine See the next section for details AG_END 7 4 Custom Start up Subroutine Let s digress for a moment sometimes you might want your panel to startup in a special state prior to any button actions Or perhaps the LED s in your design are being driven from remote logic stat...

Страница 76: ... subroutine mystartup is called by the AG code s STARTUP action when first powered up or the Script is re started subroutine mystartup put your startup code here Custom Script ends 7 5 Example Script Structure Now back to the Example interlock16 ss script file The first thing you will notice in the example script is a comment Comments are extremely useful as they help you and anyone else working w...

Страница 77: ... your script It does not matter which order you put these in but it makes sense to keep all button actions together for readability Local variables are defined within the curly braces of an action or subroutine and are only visible within that action or subroutine Let s look at the example code in sections 7 6 Example Script Variables and Constants The example script needs to know which switch is ...

Страница 78: ...programmer Map the destination you want to switch sources to here constant dest_a 1 select destination id in router for this 16x1 line selector map source signal id s to buttons 1 through 16 constant source1 11 change the 11 to another Source signal id as required constant source2 12 constant source3 13 constant source4 14 constant source5 15 constant source6 16 constant source7 17 constant source...

Страница 79: ...cludes a Print statement to print a message to a Telnet window please see the Script de bugging section for details on using Print and Telnet Subroutines subroutine handle_sw_press This subroutine does most of the work It receives switch and source info from the button press actions switch 1 1 reads string one is the switch number passed here when subroutine called by action source 2 2 btn_led las...

Страница 80: ...h 5 source source5 call handle_sw_press switch source action BTN_6_PRESS switch 6 source source6 call handle_sw_press switch source action BTN_7_PRESS switch 7 source source7 call handle_sw_press switch source action BTN_8_PRESS switch 8 source source8 call handle_sw_press switch source action BTN_9_PRESS switch 9 source source9 call handle_sw_press switch source action BTN_10_PRESS switch 10 sour...

Страница 81: ... the router Connection Queries a destination to find out what source is connected to it Locked Queries a destination to find out if it is locked Fire_salvo Fires a pre defined Salvo requires the Salvo ID number Find_src Returns the source signal ID number when you know the source name and location Find_dst Returns the destination signal ID when you know the dest name and location Find_salvo Return...

Страница 82: ... last reply received from a surface surf_string use this to parse a reply string 7 14 Example surf_talk Commands If you are reading this then your curiosity must be piqued so here are a couple of examples of the syntax required for use with surf_talk surf_talk 1 INPUT 7 FADER 192 sets fader 7 to 0dB on surface 1 surf_talk 2 INPUT 4 ON 0 turns channel 4 OFF on surface 2 surf_talk 3 INPUT 5 CUE 1 pu...

Страница 83: ... characters Once a comment starts all characters are ignored until the end of the current line A comment can also start with and end with The following example shows some comments This is a comment More comments can make your script easier to read x x 1 Comments can end a line of script code This is a multiline comment 8 3 Actions Actions are the basic execution unit of a script A typical script w...

Страница 84: ...hout the script file Constants have all the same properties as global variables except that you can not assign a value to a constant at runtime Constant names can be any unique non reserved identifier An identifier can be up to 32 characters long The first character must be a letter the following characters may be letters numbers or the underscore character _ 8 7 Arrays Scripts may have an unlimit...

Страница 85: ...of two constants The first global constant c1 is initialized with the numeric value of 1000 The second constant c2 is initialized with the string Have a nice day constant c1 1000 constant c2 Have a nice day 9 3 Global Variable Declarations A global variable declaration begins with the keyword variable and the variable name After the variable name an optional assignment may be specified The followi...

Страница 86: ... array 9 5 Local Static Local Variable Declarations A local variable declaration begins with the keyword variable and the variable name After the variable name an optional assignment may be specified The following example shows the structure of local variable declarations variable name variable name number variable name string The following example shows the structure of static local variable decl...

Страница 87: ...ype does not use all four parameters the unused parameters will contain empty strings The meaning of the parameters is specified by the source of the action see the section action types Action parameters are accessed by the built in variable names 1 2 3 and 4 9 8 Subroutine Bodies A subroutine declaration begins with the keyword subroutine followed by the subroutine name then an open curly brace W...

Страница 88: ...emain valid until the next subroutine call is made subroutine sum_up_1 var sum sum 1 2 3 return sum subroutine sum_up_2 return 1 2 3 4 subroutine print_sum print_sum Sum 1 This action will result in the followinfg message on the console SVM Hello World SVM Sum 100 action test_action call sum_up_1 Hello World print 0 call sum_up_2 10 20 30 40 call print_sum 0 ...

Страница 89: ...ill usually get you close to the line with an error and not on the exact error Also the Script Editor lacks a line number feature so it can be difficult to count lines out especially in large scripts Clicking right on the compiler ERROR line shown above will cause the Script Editor to highlight the approximate error location shown below The highlighted line is ok error is just above it 10 2 Third ...

Страница 90: ...n press action to print every time the button is pressed or released Example Print Statements Print your_variable_name Print Put text in quotes Print Put text in quotes and variable use the sign to concatenate variables and text To Telnet to the GP panel you need to know three things IP address of the GP xx panel User Name knockknock Password whosthere Use any Telnet client or open a Command Promp...

Страница 91: ...le Script Debugging ON To toggle Script Debug ON type sdbg 1 Enter To turn it OFF type sdbg 0 Enter Now when you press a button on the GP xx panel running the Example interlock16 ss script you will see the Print statements as they are executed ...

Страница 92: ... questions constant ON 1 constant OFF 0 variable led_num 1 variable switch 0 variable source 0 variable current_switch 0 variable last_led 0 Map the destination you want to switch sources to here constant dest_a 1 select destination id in router for this 16x1 line selector map source signal id s to buttons 1 through 16 constant source1 11 change the 11 to another Source signal id as required repea...

Страница 93: ...ct dest_a source dest_a is a fixed destination defined above as a constant btn_led switch ON print connecting Source ID source to Dest dest_a subroutine store_switch current_switch 1 last_led 1 Button press section action BTN_1_PRESS switch 1 source source1 call handle_sw_press switch source action BTN_2_PRESS switch 2 source source2 call handle_sw_press switch source action BTN_3_PRESS switch 3 s...

Страница 94: ...w_press switch source action BTN_7_PRESS switch 7 source source7 call handle_sw_press switch source action BTN_8_PRESS switch 8 source source8 call handle_sw_press switch source action BTN_9_PRESS switch 9 source source9 call handle_sw_press switch source action BTN_10_PRESS switch 10 source source10 call handle_sw_press switch source action BTN_11_PRESS switch 11 source source11 call handle_sw_pr...

Страница 95: ...tch 13 source source13 call handle_sw_press switch source action BTN_14_PRESS switch 14 source source14 call handle_sw_press switch source action BTN_15_PRESS switch 15 source source15 call handle_sw_press switch source action BTN_16_PRESS switch 16 source source16 call handle_sw_press switch source END HERE ...

Отзывы: