Appearance
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 β
| Name | Type | Description |
|---|---|---|
| trigger | any | Applies the configured profile when a signal is received. |
| profile_input | any | (Optional) The specific profile to apply if "Use Input Profile" is enabled. |
Outputs β
| Name | Type | Description |
|---|---|---|
| profile | string | Emits the profile currently loaded to the camera. |
Parameters β
| Parameter | Default | Valid values | Tunable |
|---|---|---|---|
| Enable automatic state reset | false | true, false | β |
| Device for switching profiles | none | Basler GigE Device | β |
| Profile | none | Profile Path | β |
| Stop on error | false | true, false | β |
| Use Input Profile | false | true, 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.
Related links β
How-to:
- Use dynamic camera profiles (Basler) β upload profiles, set the device default, and place this node in a flow
Reference:
- Change Flow β for switching entire flow states
- Dynamic AI Model β for switching AI models at runtime