MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES Guide de l'utilisateur Page 153

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 172
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 152
Defining and Including Sections
7-21
Defining and Including Sections
You can gather one or more Property or TriggernInfo nodes into a group by using
the Section element. A Section node can contain one or more Property nodes or a
single TriggerInfo node or another Section node. A Section node can be the child of
a Device, or VideoFormat node. Using the Include element, a Section node can be
indirectly be a child of the root node, Device, VideoFormat, Section, or TriggerInfo
nodes.
Section nodes can simplify an XML file. You can reuse node definitions without
repeating the XML statements. For example, you can define common elements, such as
video formats, that can be shared by several Device nodes in the XML file.
The following example outlines how to create a Section node and use it in an IMDF file.
The words in italics represent text you define.
<ImageAcquisitionInfo>
<Device device=devicename1>
<Section name=sectionname>
<Property>
</Property>
<TriggerInfo>
</TriggerInfo
</Section>
<Property>
</Property>
</Device>
<Device device=devicename2>
<Include tag=sectionname/>
</Device>
.
.
.
</ImageAcquisitionInfo>
Vue de la page 152
1 2 ... 148 149 150 151 152 153 154 155 156 157 158 ... 171 172

Commentaires sur ces manuels

Pas de commentaire