系列文章目录
SFNC —— 标准特征命名约定(一)
SFNC —— 设备控制(二)
文章目录
3、设备控制(Device Control)
设备控制功能为设备(摄像头)及其传感器提供一般信息和控制。这主要用于在枚举过程中识别设备,并获取有关传感器分辨率的信息。与设备的一般状态有关的其他信息和控制也包括在此类别中。
3.1、设备控制(Device Control)
设备信息和控制的类别。
<Category NameSpace="Standard" Name="DeviceControl">
<ToolTip>Category for device information and control.</ToolTip>
<Description>Category for device information and control.</Description>
<DisplayName>Device Control</DisplayName>
<Visibility>Beginner</Visibility>
<ImposedAccessMode>RO</ImposedAccessMode>
<pFeature>DeviceType</pFeature>
<pFeature>DeviceScanType</pFeature>
<pFeature>DeviceVendorName</pFeature>
<pFeature>DeviceModelName</pFeature>
<pFeature>DeviceManufacturerInfo</pFeature>
<pFeature>DeviceVersion</pFeature>
<pFeature>DeviceFirmwareVersion</pFeature>
<pFeature>DeviceSerialNumber</pFeature>
<pFeature>DeviceID</pFeature>
<pFeature>DeviceUserID</pFeature>
<pFeature>DeviceUptime</pFeature>
<pFeature>BoardDeviceType</pFeature>
<pFeature>DeviceConnectionSelector</pFeature>
<pFeature>DeviceConnectionSpeed</pFeature>
<pFeature>DeviceConnectionStatus</pFeature>
<pFeature>DeviceLinkSelector</pFeature>
<pFeature>DeviceLinkSpeed</pFeature>
<pFeature>DeviceLinkThroughputLimitMode</pFeature>
<pFeature>DeviceLinkThroughputLimit</pFeature>
<pFeature>DeviceLinkConnectionCount</pFeature>
<pFeature>DeviceLinkHeartbeatMode</pFeature>
<pFeature>DeviceLinkHeartbeatTimeout</pFeature>
<!--<pFeature>DeviceCommandTimeout</pFeature>-->
<pFeature>DeviceStreamChannelCount</pFeature>
<pFeature>DeviceStreamChannelSelector</pFeature>
<pFeature>DeviceStreamChannelType</pFeature>
<pFeature>DeviceStreamChannelLink</pFeature>
<pFeature>DeviceStreamChannelEndianness</pFeature>
<pFeature>DeviceStreamChannelPacketSize</pFeature>
<pFeature>DeviceEventChannelCount</pFeature>
<pFeature>DeviceCharacterSet</pFeature>
<pFeature>DeviceReset</pFeature>
<pFeature>DeviceTemperatureSelector</pFeature>
<pFeature>DeviceTemperature</pFeature>
<pFeature>FindMe</pFeature>
<pFeature>SensorChannelVersion</pFeature>
<pFeature>DeviceMaxThroughput</pFeature>
<pFeature>DevicePJNumber</pFeature>
<pFeature>CHAP</pFeature>
<!--<pFeature>AlgorithmAbility</pFeature>-->
</Category>
3.2、设备类型(DeviceType)
返回设备类型。可能的值是:
- 发射器:数据流发射器设备。
- 接收器:数据流接收器设备。
- 收发器:数据流接收机和发射机设备。
- 外设:可控设备(无数据流处理)。
<Enumeration NameSpace="Standard" Name="DeviceType">
<ToolTip>Returns the device type.</ToolTip>
<Description>Returns the device type.</Description>
<DisplayName>Device Type</DisplayName>
<Visibility>Guru</Visibility>
<ImposedAccessMode>RO</ImposedAccessMode>
<EnumEntry NameSpace="Standard" Name="Transmitter">
<ToolTip>Data stream transmitter device.</ToolTip>
<Description>Data stream transmitter device.</Description>
<DisplayName>Transmitter</DisplayName>
<Value>0</Value>
</EnumEntry>
<EnumEntry NameSpace="Standard" Name="Receiver">
<ToolTip>Data stream receiver device.</ToolTip>
<Description>Data stream receiver device.</Description>
<DisplayName>Receiver</DisplayName>
<Value>1</Value>
</EnumEntry>
<EnumEntry NameSpace="Standard" Name="Transceiver">
<ToolTip>Data stream receiver and transmitter device.</ToolTip>
<Description>Data stream receiver and transmitter device.</Description>
<DisplayName>Transceiver</DisplayName>
<Value>2</Value>
</EnumEntry>
<EnumEntry NameSpace="Standard" Name="Peripheral">
<ToolTip>Controlable device (with no data stream handling).</ToolTip>
<Description>Controlable device (with no data stream handling).</Description>
<DisplayName>Peripheral</DisplayName>
<Value>3</Value>
</EnumEntry>
<pValue>DeviceType_Reg</pValue>
</Enumeration>
3.3、设备扫描类型(DeviceScanType)
该设备的传感器的扫描类型。通常,此特性是不可写的。但有些摄像头可能允许在线扫描和区域扫描之间切换。可能的值包括:
- Areascan: 2D 传感器输出从一个独特的传感器采集创建的图像。
- 线扫描(Linescan):一维传感器逐行输出采集的图像。
- Arescan3D:3D 传感器输出从一个独特的传感器采集创建的范围(或视差)图像。
- 直线扫描3D(Linescan3D):三维传感器输出逐行获取的范围(或视差)图像。
<Enumeration NameSpace="Standard" Name="DeviceScanType">
<ToolTip>Scan type of the sensor.</ToolTip>
<Description>Scan type of the sensor.</Description>
<DisplayName>Device Scan Type</DisplayName>
<Visibility>Beginner</Visibility>
<pIsLocked>One_Int</pIsLocked>
<EnumEntry NameSpace="Standard" Name="Areascan">
<Value>0</Value>
</EnumEntry>
<EnumEntry NameSpace="Standard" Name="Linescan">
<Value>1</Value>
</EnumEntry>
<pValue>DeviceScanType_Reg</pValue>
</Enumeration>
3.4、设备供应商名称(DeviceVendorName)
<StringReg NameSpace="Standard" Name="DeviceVendorName">
<ToolTip>Name of the manufacturer of the device.</ToolTip>
<Description>Name of the manufacturer of the device.</Description>
<DisplayName>Device Vendor Name</DisplayName>
<Visibility>Beginner</Visibility>
<Address>0x0048</Address>
<Length>32</Length>
<AccessMode>RO</AccessMode>
<pPort>Device</pPort>
</StringReg>
3.5、设备型号名称(DeviceModelName)
设备型号。
<StringReg NameSpace="Standard" Name="DeviceModelName">
<ToolTip>Model name of the device</ToolTip>
<Description>Model name of the device.</Description>
<DisplayName>Device Model Name</DisplayName>
<Visibility>Beginner</Visibility>
<Address>0x0068</Address>
<Length>32</Length>
<AccessMode>RO</AccessMode>
<pPort>Device</pPort>
</StringReg>
3.6、设备系列名称(DeviceFamilyName)
该设备的产品系列的标识符。
3.7、设备制造商信息(DeviceManufacturerInfo)
<StringReg NameSpace="Standard" Name="DeviceManufacturerInfo">
<ToolTip>Manufacturer information about the device.</ToolTip>
<Description>Manufacturer information about the device.</Description>
<DisplayName>Device Manufacturer Info</DisplayName>
<Visibility>Beginner</Visibility>
<ImposedAccessMode>RO</ImposedAccessMode>
<Address>0x00a8</Address>
<Length>48</Length>
<AccessMode>RO</AccessMode>
<pPort>Device</pPort>
</StringReg>
…
☆