Returns a sorted list of video format options that match the selected criteria.
Namespace: Cognex.VisionPro.FG8600.Implementation.InternalAssembly: Cognex.VisionPro.FG8600 (in Cognex.VisionPro.FG8600.dll) Version: 65.1.0.0
public virtual CogStringCollection GetAvailableVideoFormatOptions(
CogAcqVideoFormatOptionConstants requestedOptions,
string cameraManufacturer,
string cameraModel,
string cameraResolution,
string cameraDriveType,
string cameraOptions
)
public virtual CogStringCollection GetAvailableVideoFormatOptions(
CogAcqVideoFormatOptionConstants requestedOptions,
string cameraManufacturer,
string cameraModel,
string cameraResolution,
string cameraDriveType,
string cameraOptions
)
Public Overridable Function GetAvailableVideoFormatOptions (
requestedOptions As CogAcqVideoFormatOptionConstants,
cameraManufacturer As String,
cameraModel As String,
cameraResolution As String,
cameraDriveType As String,
cameraOptions As String
) As CogStringCollection
Public Overridable Function GetAvailableVideoFormatOptions (
requestedOptions As CogAcqVideoFormatOptionConstants,
cameraManufacturer As String,
cameraModel As String,
cameraResolution As String,
cameraDriveType As String,
cameraOptions As String
) As CogStringCollection
public:
virtual CogStringCollection^ GetAvailableVideoFormatOptions(
CogAcqVideoFormatOptionConstants requestedOptions,
String^ cameraManufacturer,
String^ cameraModel,
String^ cameraResolution,
String^ cameraDriveType,
String^ cameraOptions
)
public:
virtual CogStringCollection^ GetAvailableVideoFormatOptions(
CogAcqVideoFormatOptionConstants requestedOptions,
String^ cameraManufacturer,
String^ cameraModel,
String^ cameraResolution,
String^ cameraDriveType,
String^ cameraOptions
)
Parameters
- requestedOptions
- Type: Cognex.VisionPro CogAcqVideoFormatOptionConstants
The options you want reported for the cameras that match the other parameters.
- cameraManufacturer
- Type: System String
The camera manufacturer such as "Pulnix" or "Sony".
- cameraModel
- Type: System String
The camera model such as "TM-7EX".
- cameraResolution
- Type: System String
The camera resolution such as "640x480".
- cameraDriveType
- Type: System String
The type of camera drive such as "IntDrv" or "ExtPLLCo"
- cameraOptions
- Type: System String
The camera options such as "rapid-reset, shutter-sw-EDONPISHAII".
Return Value
Type:
CogStringCollectionThe collection of options that matches the criteria.
Implements
ICogFrameGrabber GetAvailableVideoFormatOptions(CogAcqVideoFormatOptionConstants, String, String, String, String, String)Returns a sorted list of video format options that match the selected criteria.
You specify the video format options that interest you in requestedOptions and use the remaining parameters as filters.
GetAvailableVideoFormatOptions(CogAcqVideoFormatOptionConstants, String, String, String, String, String)
returns a CogStringCollection of video format options that match your criteria.
If you request more than one option,
the resulting strings contain the options concatenated with a single space between them.
The
key
of each element in the collection returned is the index of the first available video format that matches.
You can use this value as an index to AvailableVideoFormats.