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

  • 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 115
6 Defining Device-Specific Properties
6-4
1
Determine the device the user wants to establish a connection with, specified by
device ID.
2
Determine the format the user wants to use with the device, specified by format
name (or the path of a camera file). To get format information, retrieve the
IDeviceFormat object associated with the format from the IDeviceInfo object.
3
Create any device-specific properties. You create a property object appropriate to the
data type of the property and store the property object in the device-specific property
container — see “Creating Device Properties” on page 6-5.
4
Find all trigger configurations supported by the device and store the information in
the ITriggerInfo object — see “Supporting Hardware Triggers” on page 5-27.
There are several ways your adaptor can determine this property, source, and trigger
information:
By querying the device SDK at run-time
By reading information from an imaging device file (IMDF). If you know the device
information in advance, you can store it in an IMDF file using an XML-based markup
language. This section describes how to read information from an IMDF file. To
learn how to create an IMDF file, see “Using the IMDF Markup Language” on page
7-2.
A mixture of both methods.
Vue de la page 115
1 2 ... 111 112 113 114 115 116 117 118 119 120 121 ... 171 172

Commentaires sur ces manuels

Pas de commentaire