Configuration Class#
Inheritance Hierarchy#
System.Object
Basler.Pylon.Configuration
Syntax#
C#
VB
The Configuration type exposes the following members.
Methods#
Name | Description | |
---|---|---|
AcquireContinuous(ICamera) | Changes the configuration of the camera to free-running continuous acquisition. | |
AcquireContinuous(Object, EventArgs) | Changes the configuration of the camera to free-running continuous acquisition. | |
AcquireSingleFrame(ICamera) | Changes the configuration of the camera to single frame acquisition. | |
AcquireSingleFrame(Object, EventArgs) | Changes the configuration of the camera to single frame acquisition. | |
DisableAllTriggers | Turns off all triggers enabled on the camera. | |
DisableCompression | Disables compression on the camera. | |
DisableGenDC | Disables GenDC streaming on the camera. | |
ProbePacketSize | Call Probe Packet Size to set maximum available packetsize to camera. | |
SelectRangeComponent | Select a simple range component (if available). | |
SoftwareTrigger(ICamera) | Changes the configuration of the camera to software triggered acquisition. | |
SoftwareTrigger(Object, EventArgs) | Changes the configuration of the camera to software triggered acquisition. |
Configuration.AcquireContinuous Method (ICamera)#
Changes the configuration of the camera to free-running continuous acquisition.
Syntax#
C#
VB
Parameters#
- camera
- Type: Basler.Pylon.ICamera
The camera to be configured.
Remarks#
The camera has to be opened before calling this function.
Configuration.AcquireContinuous Method (Object, EventArgs)#
Changes the configuration of the camera to free-running continuous acquisition.
Syntax#
C#
VB
Parameters#
- sender
- Type: System.Object
The sender of the event. - e
- Type: System.EventArgs
The event argument.
Remarks#
To automatically apply this configuration when the connection to the camera is opened, add it to the CameraOpened event before calling ICamera.Open().
Configuration.AcquireSingleFrame Method (ICamera)#
Changes the configuration of the camera to single frame acquisition.
Syntax#
C#
VB
Parameters#
- camera
- Type: Basler.Pylon.ICamera
The camera to be configured.
Remarks#
The camera has to be opened before calling this function. To maximize the frame rate, grabbing single images using a software trigger is recommended. Using a software trigger will reduce the overhead per grabbed image compared to single frame acquisition.
Configuration.AcquireSingleFrame Method (Object, EventArgs)#
Changes the configuration of the camera to single frame acquisition.
Syntax#
C#
VB
Parameters#
- sender
- Type: System.Object
The sender of the event. - e
- Type: System.EventArgs
The event argument.
Remarks#
To maximize the frame rate, grabbing single images using a software trigger is recommended. Using a software trigger will reduce the overhead per grabbed image compared to single frame acquisition. To automatically apply this configuration when the connection to the camera is opened, add it to the CameraOpened event before calling ICamera.Open().
Configuration.DisableAllTriggers Method#
Turns off all triggers enabled on the camera.
Syntax#
C#
VB
Parameters#
- sender
- Type: System.Object
The sender of the event. - e
- Type: System.EventArgs
The event argument.
Configuration.DisableCompression Method#
Disables compression on the camera.
Syntax#
C#
VB
Parameters#
- sender
- Type: System.Object
The sender of the event. - e
- Type: System.EventArgs
The event argument.
Remarks#
Not all cameras support compression. Therefore, this procedure doesn't always have an effect.
Configuration.DisableGenDC Method#
Disables GenDC streaming on the camera.
Syntax#
C#
VB
Parameters#
- sender
- Type: System.Object
The sender of the event. - e
- Type: System.EventArgs
The event argument.
Remarks#
Not all cameras support GenDC streaming. Therefore, this procedure doesn't always have an effect.
Configuration.ProbePacketSize Method#
Call Probe Packet Size to set maximum available packetsize to camera.
Syntax#
C#
VB
Parameters#
- sender
- Type: System.Object
The sender of the event. - e
- Type: System.EventArgs
The event argument.
Configuration.SelectRangeComponent Method#
Select a simple range component (if available).
Syntax#
C#
VB
Parameters#
- sender
- Type: System.Object
The sender of the event. - e
- Type: System.EventArgs
The event argument.
Remarks#
Not all cameras support a range component. Therefore, this procedure doesn't always have an effect.
Configuration.SoftwareTrigger Method (ICamera)#
Changes the configuration of the camera to software triggered acquisition.
Syntax#
C#
VB
Parameters#
- camera
- Type: Basler.Pylon.ICamera
The camera to be configured.
Remarks#
The camera has to be opened before calling this function. Use together with WaitForFrameTriggerReady(Int32, TimeoutHandling) and ExecuteSoftwareTrigger().
Configuration.SoftwareTrigger Method (Object, EventArgs)#
Changes the configuration of the camera to software triggered acquisition.
Syntax#
C#
VB
Parameters#
- sender
- Type: System.Object
The sender of the event. - e
- Type: System.EventArgs
The event argument.
Remarks#
Use together with WaitForFrameTriggerReady(Int32, TimeoutHandling) and ExecuteSoftwareTrigger(). To automatically apply this configuration when the connection to the camera is opened, add it to the CameraOpened event before calling ICamera.Open().
Configuration.AcquireContinuous Method#
Overload List#
Name | Description | |
---|---|---|
AcquireContinuous(ICamera) | Changes the configuration of the camera to free-running continuous acquisition. | |
AcquireContinuous(Object, EventArgs) | Changes the configuration of the camera to free-running continuous acquisition. |
Configuration.AcquireSingleFrame Method#
Overload List#
Name | Description | |
---|---|---|
AcquireSingleFrame(ICamera) | Changes the configuration of the camera to single frame acquisition. | |
AcquireSingleFrame(Object, EventArgs) | Changes the configuration of the camera to single frame acquisition. |
Configuration.SoftwareTrigger Method#
Overload List#
Name | Description | |
---|---|---|
SoftwareTrigger(ICamera) | Changes the configuration of the camera to software triggered acquisition. | |
SoftwareTrigger(Object, EventArgs) | Changes the configuration of the camera to software triggered acquisition. |