Returns a sorted list of video format options that match the selected criteria.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 79.0.0.0
CogStringCollection GetAvailableVideoFormatOptions(
CogAcqVideoFormatOptionConstants requestedOptions,
string cameraManufacturer,
string cameraModel,
string cameraResolution,
string cameraDriveType,
string cameraOptions
)
CogStringCollection GetAvailableVideoFormatOptions(
CogAcqVideoFormatOptionConstants requestedOptions,
string cameraManufacturer,
string cameraModel,
string cameraResolution,
string cameraDriveType,
string cameraOptions
)
Function GetAvailableVideoFormatOptions (
requestedOptions As CogAcqVideoFormatOptionConstants,
cameraManufacturer As String,
cameraModel As String,
cameraResolution As String,
cameraDriveType As String,
cameraOptions As String
) As CogStringCollection
Function GetAvailableVideoFormatOptions (
requestedOptions As CogAcqVideoFormatOptionConstants,
cameraManufacturer As String,
cameraModel As String,
cameraResolution As String,
cameraDriveType As String,
cameraOptions As String
) As CogStringCollection
CogStringCollection^ GetAvailableVideoFormatOptions(
CogAcqVideoFormatOptionConstants requestedOptions,
String^ cameraManufacturer,
String^ cameraModel,
String^ cameraResolution,
String^ cameraDriveType,
String^ cameraOptions
)
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.
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.