Skip to content

Acquisition Start, Stop, and Abort#

The Acquisition Start, Stop, and Abort commands allow you to control image acquisition.

Info

  • These commands aren't available via the pylon Viewer feature tree. Instead, AcquisitionStart and AcquisitionStop commands are generated automatically when you use the Single Shot, Continuous Shot, and Stop buttons in the toolbar of the pylon Viewer.
  • The pylon C++ API and the pylon .NET API provide camera classes that handle these commands automatically. Basler recommends using these classes.
    For more information, see the Grab (C++) and Grab (.NET) code samples in the pylon API Documentation.

Using the Feature#

Starting Image Acquisition#

To switch on image acquisition, execute the AcquisitionStart command.

After the command has been executed, the camera waits for trigger signals. Trigger signals can either be generated internally by the camera (free run) or applied externally (triggered image acquisition).

Info

To check whether the camera is currently waiting for a trigger signal, monitor the camera's Trigger Wait signals or use the Acquisition Status feature, if available.

Stopping Image Acquisition#

To switch off image acquisition, execute the AcquisitionStop command. When the command is executed, the following occurs:

On area scan cameras:

  • If the camera is not currently acquiring a frame, image acquisition is switched off immediately.
  • If the camera is currently reading out image data, the readout process will be allowed to finish. Afterwards, image acquisition is switched off.
  • If the camera is currently exposing a frame:
    • On some camera models, executing an AcquisitionStop command aborts exposure. In this case, the camera stops exposing immediately and starts reading out image data. The readout process will be allowed to finish. Afterwards, image acquisition is switched off.
    • On some camera models, you can configure whether executing an AcquisitionStop command aborts exposure or not. To do so, set the AcquisitionStopMode parameter to AbortExposure or Complete.

On line scan cameras:

  • The AcquisitionStopMode parameter for line scan cameras is always set to Immediate.
  • If the camera is not currently acquiring a frame, image acquisition is switched off immediately.
  • If the camera is currently exposing a line, the AcquisitionStop command leads to the following for all racer 2 line scan cameras:
    The exposure of the current line is completed. Acquisition stops immediately. The last acquired line is transmitted to the host computer.
  • In addtion, for racer 2 S cameras with GigE interface, the following is true:
    Only the lines acquired up to the point when the command was executed are delivered to the host computer. This may result in a partial frame being transmitted.

Aborting Image Acquisition#

To abort image acquisition, execute the AcquisitionAbort command (if available).

On area scan cameras, the following occurs when the command is executed:

  • If the camera is not currently acquiring a frame, image acquisition is switched off immediately.
  • If the camera is currently exposing a frame, the camera stops exposing immediately. The readout process, if already started, is aborted. The current frame will be incomplete and is not transmitted to the host computer. Afterwards, image acquisition is switched off.
  • If the camera is currently reading out image data, the camera stops the readout process immediately. The current frame will be incomplete and is not transmitted to the host computer. Afterwards, image acquisition is switched off.

On line scan cameras, the following occurs when the command is executed:

  • If the camera is not currently acquiring a line, image acquisition is switched off immediately.
  • If the camera is currently exposing a line, the camera stops exposing immediately. The readout process, if already started, is continued. Only the lines acquired up to the point when the command was executed are delivered to the host computer. For line scan cameras with GigE interface, this may result in a partial frame being transmitted. Afterwards, image acquisition is switched off.
  • If the camera is currently reading out image data, the camera continues the readout process until all lines acquired up to the point when the command was executed are delivered to the host computer. For line scan cameras with GigE interface, this means that the current frame may be incomplete (partial frame).
    Afterwards, image acquisition is switched off.

Specifics#

Show all camera models

Camera Model AcquisitionAbort Command Available AcquisitionStop Command Aborts Exposure
a2A640-240gmSWIR Yes Configurable via the BslAcquisitionStopMode parameter
a2A640-240umSWIR Yes Configurable via the BslAcquisitionStopMode parameter
a2A1280-80gmSWIR Yes Configurable via the BslAcquisitionStopMode parameter
a2A1280-125umSWIR Yes Configurable via the BslAcquisitionStopMode parameter
a2A1920-51gcBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A1920-51gcPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A1920-51gmBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A1920-51gmPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A1920-160ucBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A1920-160ucPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A1920-160umBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A1920-160umPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A1920-165g5cBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A1920-165g5mBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A2048-35gmSWIR Yes Configurable via the BslAcquisitionStopMode parameter
a2A2048-110umSWIR Yes Configurable via the BslAcquisitionStopMode parameter
a2A2440-98g5cBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A2440-98g5mBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A2448-23gcBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A2448-23gcPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A2448-23gmBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A2448-23gmPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A2448-75ucBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A2448-75ucPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A2448-75umBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A2448-75umPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A2448-105g5cBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A2448-105g5mBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A2448-120cc Yes Configurable via the BslAcquisitionStopMode parameter
a2A2448-120cm Yes Configurable via the BslAcquisitionStopMode parameter
a2A2448-210cc Yes Configurable via the BslAcquisitionStopMode parameter
a2A2448-210cm Yes Configurable via the BslAcquisitionStopMode parameter
a2A2560-20gmSWIR Yes Configurable via the BslAcquisitionStopMode parameter
a2A2560-70umSWIR Yes Configurable via the BslAcquisitionStopMode parameter
a2A2590-22gcBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A2590-22gcPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A2590-22gmBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A2590-22gmPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A2590-60ucBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A2590-60ucPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A2590-60umBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A2590-60umPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A2600-20gcBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A2600-20gcPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A2600-20gmBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A2600-20gmPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A2600-64ucBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A2600-64ucPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A2600-64umBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A2600-64umPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A2840-14gcBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A2840-14gcPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A2840-14gmBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A2840-14gmPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A2840-14gmUV Yes Configurable via the BslAcquisitionStopMode parameter
a2A2840-48ucBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A2840-48ucPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A2840-48umBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A2840-48umPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A2840-48umUV Yes Configurable via the BslAcquisitionStopMode parameter
a2A2840-67g5cBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A2840-67g5mBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A2840-67g5mUV Yes Configurable via the BslAcquisitionStopMode parameter
a2A2840-86cc Yes Configurable via the BslAcquisitionStopMode parameter
a2A2840-86cm Yes Configurable via the BslAcquisitionStopMode parameter
a2A3840-13gcBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A3840-13gcPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A3840-13gmBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A3840-13gmPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A3840-45ucBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A3840-45ucPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A3840-45umBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A3840-45umPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A4096-9gcBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A4096-9gcPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A4096-9gmBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A4096-9gmPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A4096-30ucBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A4096-30ucPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A4096-30umBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A4096-30umPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A4096-44g5cBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A4096-44g5mBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A4096-67cc Yes Configurable via the BslAcquisitionStopMode parameter
a2A4096-67cm Yes Configurable via the BslAcquisitionStopMode parameter
a2A4200-12gcBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A4200-12gcPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A4200-12gmBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A4200-12gmPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A4200-40ucBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A4200-40ucPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A4200-40umBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A4200-40umPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A4504-5gcBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A4504-5gcPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A4504-5gmBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A4504-5gmPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A4504-18ucBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A4504-18ucPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A4504-18umBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A4504-18umPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A4504-27g5cBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A4504-27g5mBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A4504-42cc Yes Configurable via the BslAcquisitionStopMode parameter
a2A4504-42cm Yes Configurable via the BslAcquisitionStopMode parameter
a2A4508-6gcBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A4508-6gcPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A4508-6gmBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A4508-6gmPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A4508-20ucBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A4508-20ucPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A4508-20umBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A4508-20umPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A5320-7gcBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A5320-7gcPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A5320-7gmBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A5320-7gmPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A5320-23ucBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A5320-23ucPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A5320-23umBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A5320-23umPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A5320-34g5cBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A5320-34g5mBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A5320-52cc Yes Configurable via the BslAcquisitionStopMode parameter
a2A5320-52cm Yes Configurable via the BslAcquisitionStopMode parameter
a2A5328-4gcBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A5328-4gcPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A5328-4gmBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A5328-4gmPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A5328-15ucBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A5328-15ucPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A5328-15umBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A5328-15umPRO Yes Configurable via the BslAcquisitionStopMode parameter
a2A5328-22g5cBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A5328-22g5mBAS Yes Configurable via the BslAcquisitionStopMode parameter
a2A5328-35cc Yes Configurable via the BslAcquisitionStopMode parameter
a2A5328-35cm Yes Configurable via the BslAcquisitionStopMode parameter
acA640-121gm No Yes
acA640-300gc No Yes
acA640-300gm No Yes
acA640-750uc No Yes
acA640-750um No Yes
acA720-290gc No Yes
acA720-290gm No Yes
acA720-520uc No Yes
acA720-520um No Yes
acA800-200gc No Yes
acA800-200gm No Yes
acA800-510uc No Yes
acA800-510um No Yes
acA1280-60gc No Yes
acA1280-60gm No Yes
acA1300-60gc No Yes
acA1300-60gm No Yes
acA1300-60gmNIR No Yes
acA1300-75gc No Yes
acA1300-75gm No Yes
acA1300-200uc No Yes
acA1300-200um No Yes
acA1440-73gc No Yes
acA1440-73gm No Yes
acA1440-220uc No Yes
acA1440-220um No Yes
acA1600-20gc No Yes
acA1600-20uc No Yes
acA1600-60gc No Yes
acA1600-60gm No Yes
acA1920-25gc No Yes
acA1920-25gm No Yes
acA1920-25uc No Yes
acA1920-25um No Yes
acA1920-40gc No Yes
acA1920-40gm No Yes
acA1920-40uc No Yes
acA1920-40ucMED No Yes
acA1920-40um No Yes
acA1920-40umMED No Yes
acA1920-48gc No Yes
acA1920-48gm No Yes
acA1920-50gc No Yes
acA1920-50gm No Yes
acA1920-150uc No Yes
acA1920-150um No Yes
acA1920-155uc No Yes
acA1920-155ucMED No Yes
acA1920-155um No Yes
acA1920-155umMED No Yes
acA2000-50gc No Yes
acA2000-50gm No Yes
acA2000-165uc No Yes
acA2000-165um No Yes
acA2040-25gc No Yes
acA2040-25gm No Yes
acA2040-25gmNIR No Yes
acA2040-35gc No Yes
acA2040-35gm No Yes
acA2040-55uc No Yes
acA2040-55um No Yes
acA2040-90uc No Yes
acA2040-90um No Yes
acA2040-90umNIR No Yes
acA2040-120uc No Yes
acA2040-120um No Yes
acA2440-20gc No Yes
acA2440-20gm No Yes
acA2440-35uc No Yes
acA2440-35ucMED No Yes
acA2440-35um No Yes
acA2440-35umMED No Yes
acA2440-75uc No Yes
acA2440-75ucMED No Yes
acA2440-75um No Yes
acA2440-75umMED No Yes
acA2500-14gc No Yes
acA2500-14gm No Yes
acA2500-14uc No Yes
acA2500-14um No Yes
acA2500-20gc No Yes
acA2500-20gcMED No Yes
acA2500-20gm No Yes
acA2500-20gmMED No Yes
acA2500-60uc No Yes
acA2500-60um No Yes
acA3088-16gc No Yes
acA3088-16gm No Yes
acA3088-57uc No Yes
acA3088-57ucMED No Yes
acA3088-57um No Yes
acA3088-57umMED No Yes
acA3800-10gc No Yes
acA3800-10gm No Yes
acA3800-14uc No Yes
acA3800-14um No Yes
acA4024-8gc No Yes
acA4024-8gm No Yes
acA4024-29uc No Yes
acA4024-29um No Yes
acA4096-11gc No Yes
acA4096-11gm No Yes
acA4096-30uc No Yes
acA4096-30ucMED No Yes
acA4096-30um No Yes
acA4096-30umMED No Yes
acA4096-40uc No Yes
acA4096-40ucMED No Yes
acA4096-40um No Yes
acA4096-40umMED No Yes
acA4112-8gc No Yes
acA4112-8gm No Yes
acA4112-20uc No Yes
acA4112-20ucMED No Yes
acA4112-20um No Yes
acA4112-20umMED No Yes
acA4112-30uc No Yes
acA4112-30ucMED No Yes
acA4112-30um No Yes
acA4112-30umMED No Yes
acA5472-5gc No Yes
acA5472-5gm No Yes
acA5472-17uc No Yes
acA5472-17ucMED No Yes
acA5472-17um No Yes
acA5472-17umMED No Yes
boA1936-400cc Yes Configurable via the BslAcquisitionStopMode parameter
boA1936-400cm Yes Configurable via the BslAcquisitionStopMode parameter
boA2448-250cc Yes Configurable via the BslAcquisitionStopMode parameter
boA2448-250cm Yes Configurable via the BslAcquisitionStopMode parameter
boA2832-190cc Yes Configurable via the BslAcquisitionStopMode parameter
boA2832-190cm Yes Configurable via the BslAcquisitionStopMode parameter
boA4096-93cc Yes Configurable via the BslAcquisitionStopMode parameter
boA4096-93cm Yes Configurable via the BslAcquisitionStopMode parameter
boA4096-180cc Yes Configurable via the BslAcquisitionStopMode parameter
boA4096-180cm Yes Configurable via the BslAcquisitionStopMode parameter
boA4112-68cc Yes Configurable via the BslAcquisitionStopMode parameter
boA4112-68cm Yes Configurable via the BslAcquisitionStopMode parameter
boA4500-45cc Yes Configurable via the BslAcquisitionStopMode parameter
boA4500-45cm Yes Configurable via the BslAcquisitionStopMode parameter
boA4504-100cc Yes Configurable via the BslAcquisitionStopMode parameter
boA4504-100cm Yes Configurable via the BslAcquisitionStopMode parameter
boA5120-150cc No Yes
boA5120-150cm No Yes
boA5120-230cc No Yes
boA5120-230cm No Yes
boA5320-150cc Yes Configurable via the BslAcquisitionStopMode parameter
boA5320-150cm Yes Configurable via the BslAcquisitionStopMode parameter
boA5328-100cc Yes Configurable via the BslAcquisitionStopMode parameter
boA5328-100cm Yes Configurable via the BslAcquisitionStopMode parameter
boA6500-36cc Yes Configurable via the BslAcquisitionStopMode parameter
boA6500-36cm Yes Configurable via the BslAcquisitionStopMode parameter
boA8100-16cc Yes Configurable via the BslAcquisitionStopMode parameter
boA8100-16cm Yes Configurable via the BslAcquisitionStopMode parameter
boA9344-30cc No Yes
boA9344-30cm No Yes
boA9344-70cc No Yes
boA9344-70cm No Yes
boA13440-17cm Yes Configurable via the BslAcquisitionStopMode parameter
daA720-520uc Yes Configurable via the BslAcquisitionStopMode parameter
daA720-520um Yes Configurable via the BslAcquisitionStopMode parameter
daA1280-54uc No Yes
daA1280-54um No Yes
daA1440-220uc Yes Configurable via the BslAcquisitionStopMode parameter
daA1440-220um Yes Configurable via the BslAcquisitionStopMode parameter
daA1600-60uc No Yes
daA1600-60um No Yes
daA1920-15um No Yes
daA1920-30uc No Yes
daA1920-30um No Yes
daA1920-160uc Yes Configurable via the BslAcquisitionStopMode parameter
daA1920-160um Yes Configurable via the BslAcquisitionStopMode parameter
daA2448-70uc Yes Configurable via the BslAcquisitionStopMode parameter
daA2448-70um Yes Configurable via the BslAcquisitionStopMode parameter
daA2500-14uc No Yes
daA2500-14um No Yes
daA3840-45uc Yes Configurable via the BslAcquisitionStopMode parameter
daA3840-45um Yes Configurable via the BslAcquisitionStopMode parameter
dmA720-290gc Yes Configurable via the BslAcquisitionStopMode parameter
dmA720-290gm Yes Configurable via the BslAcquisitionStopMode parameter
dmA1440-73gc Yes Configurable via the BslAcquisitionStopMode parameter
dmA1440-73gm Yes Configurable via the BslAcquisitionStopMode parameter
dmA1920-51gc Yes Configurable via the BslAcquisitionStopMode parameter
dmA1920-51gm Yes Configurable via the BslAcquisitionStopMode parameter
puA1280-54uc No Yes
puA1280-54um No Yes
puA1600-60uc No Yes
puA1600-60um No Yes
puA1920-30uc No Yes
puA1920-30um No Yes
puA2500-14uc No Yes
puA2500-14um No Yes
r2L2048-29gc Yes No
r2L2048-58gm Yes No
r2L2048-62cc Yes No
r2L2048-62g5c Yes No
r2L2048-172cm Yes No
r2L2048-172g5m Yes No
r2L4096-14gc Yes No
r2L4096-29gm Yes No
r2L4096-42cc Yes No
r2L4096-42g5c Yes No
r2L4096-84cm Yes No
r2L4096-84g5m Yes No
r2L8192-200cm Yes No
r2L16384-120cm Yes No

Sample Code#

// Configure continuous image acquisition on the cameras
camera.AcquisitionMode.SetValue(AcquisitionMode_Continuous);
// Switch on image acquisition
camera.AcquisitionStart.Execute();
// The camera waits for trigger signals
// (...)
// Switch off image acquisition
camera.AcquisitionStop.Execute();
// Switch image acquisition back on
camera.AcquisitionStart.Execute();
// The camera waits for trigger signals
// (...)
// Abort image acquisition
camera.AcquisitionAbort.Execute();
INodeMap& nodemap = camera.GetNodeMap();
// Configure continuous image acquisition on the cameras
CEnumParameter(nodemap, "AcquisitionMode").SetValue("Continuous");
// Switch on image acquisition
CCommandParameter(nodemap, "AcquisitionStart").Execute();
// The camera waits for trigger signals
// (...)
// Switch off image acquisition
CCommandParameter(nodemap, "AcquisitionStop").Execute();
// Switch image acquisition back on
CCommandParameter(nodemap, "AcquisitionStart").Execute();
// The camera waits for trigger signals
// (...)
// Abort image acquisition
CCommandParameter(nodemap, "AcquisitionAbort").Execute();
// Configure continuous image acquisition on the cameras
camera.Parameters[PLCamera.AcquisitionMode].SetValue(PLCamera.AcquisitionMode.Continuous);
// Switch on image acquisition
camera.Parameters[PLCamera.AcquisitionStart].Execute();
// The camera waits for trigger signals
// (...)
// Switch off image acquisition
camera.Parameters[PLCamera.AcquisitionStop].Execute();
// Switch image acquisition back on
camera.Parameters[PLCamera.AcquisitionStart].Execute();
// The camera waits for trigger signals
// (...)
// Abort image acquisition
camera.Parameters[PLCamera.AcquisitionAbort].Execute();
/* Macro to check for errors */
#define CHECK(errc) if (GENAPI_E_OK != errc) printErrorAndExit(errc)
GENAPIC_RESULT errRes = GENAPI_E_OK;  /* Return value of pylon methods */
/* Configure continuous image acquisition on the cameras */
errRes = PylonDeviceFeatureFromString(hdev, "AcquisitionMode", "Continuous");
CHECK(errRes);
/* Switch on image acquisition */
errRes = PylonDeviceExecuteCommandFeature(hdev, "AcquisitionStart");
CHECK(errRes);
/* The camera waits for trigger signals */
/* (...) */
/* Switch off image acquisition */
errRes = PylonDeviceExecuteCommandFeature(hdev, "AcquisitionStop");
CHECK(errRes);
/* Switch image acquisition back on */
errRes = PylonDeviceExecuteCommandFeature(hdev, "AcquisitionStart");
CHECK(errRes);
/* The camera waits for trigger signals */
/* (...) */
/* Abort image acquisition */
errRes = PylonDeviceExecuteCommandFeature(hdev, "AcquisitionAbort");
CHECK(errRes);
# Configure continuous image acquisition on the cameras
camera.AcquisitionMode.Value = "Continuous"
# Switch on image acquisition
camera.AcquisitionStart.Execute()
# The camera waits for trigger signals
# (...)
# Switch off image acquisition
camera.AcquisitionStop.Execute()
# Switch image acquisition back on
camera.AcquisitionStart.Execute()
# The camera waits for trigger signals
# (...)
# Abort image acquisition
camera.AcquisitionAbort.Execute()

You can also use the pylon Viewer to easily set the parameters.