Skip to content

Dynamic Profile

Overview ​

The Dynamic Profile node switches the active Basler GigE camera profile at runtime for a selected device. Use it when a single static profile is not enoughβ€”for example when product changeovers or recipes require different camera parameters without redeploying a new device configuration.

Use Dynamic Profile when:

  • Switching between different product types that require distinct lighting and exposure settings.
  • Adjusting camera parameters dynamically based on environmental conditions.
  • Loading specific camera optimizations for different AI inspection models.

For step-by-step guide for using File Storage and the Basler device see Use dynamic camera profiles (Basler).

πŸ’‘ Tip

Currently, only Basler GigE devices are supported. Upload your profiles to File Storage before configuring this node.

Inputs ​

NameTypeDescription
triggeranyApplies the configured profile when a signal is received.
profile_inputany(Optional) The specific profile to apply if "Use Input Profile" is enabled.

Outputs ​

NameTypeDescription
profilestringEmits the profile currently loaded to the camera.

Parameters ​

ParameterDefaultValid valuesTunable
Enable automatic state resetfalsetrue, false❌
Device for switching profilesnoneBasler GigE Device❌
ProfilenoneProfile Path❌
Stop on errorfalsetrue, false❌
Use Input Profilefalsetrue, false❌

Enable automatic state reset ​

Allows the node's internal state to be reset when the flow requires it (for example when the deployment or state machine resets node state).

Device for switching profiles ​

The Basler GigE device whose profile will be switched at runtime. The list is limited to devices of type Basler GigE for the current project.

Profile ​

The profile file to apply, chosen from platform assets tagged for Basler GigE (the same files you manage under File Storage). Used when "Use Input Profile" is disabled.

Stop on error ​

When enabled, a profile-switch failure stops the running deployment. When disabled, the flow continues and the failure is logged.

Use Input Profile ​

When enabled, the node uses the profile supplied through its input port at runtime. When disabled, the Profile selected in the node configuration is applied instead.

Example ​

Product changeover ​

When a "Product B" signal is received, the camera switches to a high-exposure profile optimized for darker materials.

Configuration:

  • Device for switching profiles: MainCamera_Basler
  • Profile: high_exposure.pfs
  • Stop on error: True

Result: The camera's internal settings are updated to the new profile before the next image capture occurs.

How-to:

Reference: