Skip to content

PointGreyConfig

method

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);

Used to configure PointGrey cameras using the PointGrey's "FlyStream" driver

The 1st PointGreyConfig parameter (type TPointGreyConfig ) specify the type of action applied. The use of the other parameters depend on the PointGreyConfig parameter:

pgr_SetRegistersets the register specified in ulRegister with the value specified in PGRActionValue the other parameters are ignored

pgr_GetRegisterget the register specified in ulRegister, the value is returned by PGRActionValue the other parameters are ignored

pgr_SetBufferSize sets the buffer size with the value specified in PGRActionValue the other parameters are ignored

pgr_GetBufferSize gets the buffer size, the value is returned by PGRActionValue the other parameters are ignored

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