
GPIO and Remote Connections in MX Ultranet and MX Sync
B-6 Vicon MX Hardware System Reference
GPO File Format
General Purpose Output (.gpo) configuration files are written in
eXtensible Markup Language (.xml) file format. These .xml files are
used to store structured information and to enclose or encapsulate
information so that it can be passed between different computing
systems. As in any .xml file, .gpo file sections are delimited with start
and end section tags, and subsections are nested beneath main
sections to reflect their hierarchical relationship, for example:
<XML header>
<SectionStart>
<SubsectionStart ATTRIBUTE="value">
<Keyword>Value</Keyword>
<Keyword ATTRIBUTE="value"/>
</SubsectionEnd>
</SectionEnd>
Important
The .gpo file can be viewed in most Web browsers or standard text editors
like any other .xml file. You may find it helpful to view one of the sample .gpo
files provided with your Vicon application software while you read this
appendix describing the general format and content of a .gpo file. This
appendix assumes you have a basic understanding of the use and
presentation of .xml files.
GPO File Structure
The full structure of a .gpo file is outlined below:
<?xml version="1.0" standalone="yes"?>
<AllPrograms>
<Program Name="gpo_name">
<Type>signal_type</Type>
<Polarity>signal_direction</Polarity>
<StartEvent>gpo_start</StartEvent>
<StopEvent>gpo_stop</StopEvent>
<StartOffset Frames="" MicroSeconds=""/>
<StopOffset Frames="" MicroSeconds=""/>
<PulseWidth Frames="" MicroSeconds=""/>
<PulsePeriod Frames="" MicroSeconds="" Ticks=""/>
</Program>
</AllPrograms>
The way the MX system uses a .gpo file is illustrated in Figure B-1 and
in Figure B-2 on page B-8. Details for the contents of each of the main
MXhardware_Reference.book Page 6 Monday, April 30, 2007 1:56 PM
Kommentare zu diesen Handbüchern