MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES Guía de usuario Pagina 158

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 172
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 157
8 Test Suite for Adaptor Writers
8-4
Test Procedures Expected Results
devInfo(:).DeviceInfo DefaultFormat: '640x480'
DeviceFileSupported: 0
DeviceName: 'MyDevice'
DeviceID: 1
ObjectConstructor: 'videoinput
('mydeviceimaq', 1)'
SupportedFormats: {'640x480'
'320x240'}
where,
DefaultFormat is the format for which the
second argument to addDeviceFormat is set
to true.
DeviceFileSupported is true (1) if the
device supports device files.
DeviceName is the name of the device as
defined in createDeviceInfo.
DeviceID is the ID associated with the device
as defined in createDeviceInfo. This is
usually 1.
ObjectConstructor is how a videoinput
object for that device is created in MATLAB.
SupportedFormats is a cell array
of all supported formats as defined
using addDeviceFormat. It is empty if
DeviceFileSupported is true and no
formats were added by DeviceFormat.
After the adaptor class has been written, follow these steps to test the videoinput
object creation and destruction.
Test Procedures Expected Results
Run the following command: The videoinput object should get created
using the first device found and the default
Vista de pagina 157
1 2 ... 153 154 155 156 157 158 159 160 161 162 163 ... 171 172

Comentarios a estos manuales

Sin comentarios