GetDeviceInterface
Top  Previous  Next

Description

Returns the the hardware interface type of the currently selected camera or framegrabber in the string form. Can be one of the following values:


"GigE"  
   Device uses the Gigabit Ethernet interface and complies with GigE Vision standard.  
"1394"  
   Device uses the FireWire interface and complies with IIDC-1394 standard.  
"USB3"  
   Device uses the USB3 interface and complies with USB3 Vision standard.  
"CL"  
   Device uses the Camera Link interface.  
"USB"  
   Device uses the USB interface.  
"CXP"  
   Device uses the CoaXPress interface.  
"CLHS"  
   Device uses Camera Link HS interface.  
"PCI"  
   Device uses PCI/PCIe interface.  
"Custom"  
   Device uses a non-standard protocol.  


Syntax


[VB]
Value=objActiveGeni.GetDeviceInterface


[C/C++]
HRESULT GetDeviceInterface(bstr* pValue );


Data Types
[VB]

Return value: String


Parameters
[C/C++]

pValue [out, retval]  
Pointer to the string value specifying the hardware interface of the device.  


Return Values


S_OK  
Success  
E_FAIL  
Failed to read the feature  
 

Example


The following VB example prints the interface type of the camera:

MsgBox ActiveGeni1.GetDeviceInterface

 
Remarks

The value returned by this function can be used to sort video devices by their physical interface type.