Skip to content

PointGreyConfig

function

Delphi
function PointGreyConfig (ConfigType: TPointGreyConfig; var PGRActionValue: LongWord; ulRegister: LongWord; ulMode: LongWord; ulLeft: LongWord; ulTop: LongWord; ulWidth: LongWord; ulHeight: LongWord; ulPercentage: LongWord; ulFormat: LongWord): LongInt;
C++Builder
System::LongInt __fastcall PointGreyConfig(TPointGreyConfig ConfigType, System::LongWord &PGRActionValue, System::LongWord ulRegister, System::LongWord ulMode, System::LongWord ulLeft, System::LongWord ulTop, System::LongWord ulWidth, System::LongWord ulHeight, System::LongWord ulPercentage, System::LongWord ulFormat);
C#
public int PointGreyConfig(TPointGreyConfig ConfigType, ref uint PGRActionValue, uint ulRegister, uint ulMode, uint ulLeft, uint ulTop, uint ulWidth, uint ulHeight, uint ulPercentage, uint ulFormat);
VB.NET
Public Function PointGreyConfig(ConfigType As TPointGreyConfig, ByRef PGRActionValue As UInteger, ulRegister As UInteger, ulMode As UInteger, ulLeft As UInteger, ulTop As UInteger, ulWidth As UInteger, ulHeight As UInteger, ulPercentage As UInteger, ulFormat As UInteger) As Integer
C++/Qt
int PointGreyConfig (TPointGreyConfig ConfigType, unsigned int *PGRActionValue, unsigned int ulRegister, unsigned int ulMode, unsigned int ulLeft, unsigned int ulTop, unsigned int ulWidth, unsigned int ulHeight, unsigned int ulPercentage, unsigned int ulFormat);

Configures PointGrey cameras using the PointGrey "FlyStream" driver.

The 1st parameter, ConfigType (TPointGreyConfig type), specifies the type of action to apply. The use of the other parameters depends on ConfigType:

  • pgr_SetRegister: sets the register specified in ulRegister to the value specified in PGRActionValue; the other parameters are ignored.

  • pgr_GetRegister: gets the register specified in ulRegister, the value is returned in PGRActionValue; the other parameters are ignored.

  • pgr_SetBufferSize: sets the buffer size to the value specified in PGRActionValue; the other parameters are ignored.

  • pgr_GetBufferSize: gets the buffer size, the value is returned in PGRActionValue; the other parameters are ignored.

  • pgr_SetFormat: sets the format with the values specified in ulMode, ulLeft, ulTop, ulWidth, ulHeight, ulPercentage and ulFormat; the other parameters are ignored.

  • pgr_GetFormat: gets the format.