CogFrameGrabberGigE GetAvailableVideoFormatOptions Method Cognex VisionPro
Returns a sorted list of video format options that match the selected criteria.

Namespace: Cognex.VisionPro.FGGigE.Implementation.Internal
Assembly: Cognex.VisionPro.FGGigE (in Cognex.VisionPro.FGGigE.dll) Version: 65.1.0.0
Syntax

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: CogStringCollection

The collection of options that matches the criteria.

Implements

ICogFrameGrabber GetAvailableVideoFormatOptions(CogAcqVideoFormatOptionConstants, String, String, String, String, String)
Remarks

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.

See Also