User`s guide

Specifying Device and Format Information
3-15
dev =
AdaptorDllName: 'C:\My_Adaptor\mydeviceimaq.dll'
AdaptorDllVersion: '4.1 (R2011a)'
AdaptorName: 'mydeviceimaq'
DeviceIDs: {[1]}
DeviceInfo: [1x1 struct]
To view detailed information about the device, view the structure in the
DeviceInfo field. The DeviceInfo field is an array of structures, where each
structure provides detailed information about a particular device.
dev_info = dev.DeviceInfo
dev_info =
DefaultFormat: 'RS170'
DeviceFileSupported: 0
DeviceName: 'MyDevice'
DeviceID: 1
ObjectConstructor: 'videoinput('mydeviceimaq', 1)'
SupportedFormats: {'PAL' 'RS170'}
The following table describes the information in each field, with references to other
sections that provide more information.
Field Description
DefaultFormat Text string that specifies the default format used by the device. You
define the default format when you add the IDeviceFormat object to
the IDeviceInfo object; see “Specifying the Default Format” on page
3-13.
DeviceFileSupported Boolean value that tells whether the device supports device
configuration files (also known as camera files). You use the
setDeviceFileSupport() member function of the IDeviceInfo object
to set this value; see “Configuring Device Configuration File (Camera
File) Support” on page 3-13.
DeviceName Text string that identifies a particular device. You define this value
when you create the IDeviceInfo object; see “Storing Device
Information” on page 3-11.