You can select an input line or a software command as a trigger source.
In this topic Hide
If a hardware trigger source is available on your camera model, you can set it as the source for a trigger. To do so:
Camera Model | Available Hardware Trigger Sources |
Available Software Trigger Sources |
---|---|---|
All ace 2 GigE camera models |
|
|
All ace 2 USB 3.0 camera models |
|
|
acA640-90gm | Line 1 | Software |
acA640-90gc | Line 1 |
|
acA640-120gm | Line 1 |
|
acA640-120gc | Line 1 |
|
acA640-121gm |
|
|
acA640-300gm |
|
|
acA640-300gc |
|
|
acA720-290gm |
|
|
acA720-290gc |
|
|
acA780-75gm | Line 1 |
|
acA780-75gc | Line 1 |
|
acA800-200gm |
|
|
acA800-200gc |
|
|
acA1280-60gm | Line 1 | Software |
acA1280-60gc | Line 1 | Software |
acA1300-22gm | Line 1 | Software |
acA1300-22gc | Line 1 | Software |
acA1300-30gm | Line 1 |
|
acA1300-30gc | Line 1 |
|
acA1300-60gm | Line 1 |
|
acA1300-60gc | Line 1 |
|
acA1300-60gmNIR | Line 1 |
|
acA1300-75gm |
|
|
acA1300-75gc |
|
|
acA1440-73gm |
|
|
acA1440-73gc |
|
|
acA1600-20gm | Line 1 |
|
acA1600-20gc | Line 1 |
|
acA1600-60gm | Line 1 |
|
acA1600-60gc | Line 1 |
|
acA1920-25gm | Line 1 |
|
acA1920-25gc | Line 1 |
|
acA1920-40gm |
|
|
acA1920-40gc |
|
|
acA1920-48gm |
|
|
acA1920-48gc |
|
|
acA1920-50gm |
|
|
acA1920-50gc |
|
|
acA2000-50gm | Line 1 |
|
acA2000-50gc | Line 1 |
|
acA2000-50gmNIR | Line 1 |
|
acA2040-25gm | Line 1 |
|
acA2040-25gc | Line 1 |
|
acA2040-25gmNIR | Line 1 |
|
acA2040-35gm |
|
|
acA2040-35gc |
|
|
acA2440-20gm |
|
|
acA2440-20gc |
|
|
acA2500-14gm | Line 1 |
|
acA2500-14gc | Line 1 |
|
acA2500-20gm |
|
|
acA2500-20gc |
|
|
acA2500-20gmMED |
|
|
acA2500-20gcMED |
|
|
acA3088-16gm |
|
|
acA3088-16gc |
|
|
acA3800-10gm | Line 1 |
|
acA3800-10gc | Line 1 |
|
acA4024-8gm |
|
|
acA4024-8gc |
|
|
acA4096-11gm |
|
|
acA4096-11gc |
|
|
acA4112-8gm |
|
|
acA4112-8gc |
|
|
acA4600-7gc | Line 1 |
|
acA5472-5gm |
|
|
acA5472-5gc |
|
|
All ace USB 3.0 camera models |
|
|
All boost CXP-12 camera models | tbd | tbd |
All dart BCON for LVDS camera models |
|
Software |
All dart BCON for MIPI camera models | Trigger Source feature not supported | Trigger Source feature not supported |
All dart USB 3.0 camera models |
|
Software |
All pulse USB 3.0 camera models | None | Software |
// Select the Frame Start trigger
camera.TriggerSelector.SetValue(TriggerSelector_FrameStart);
// Set the trigger source to Line 1
camera.TriggerSource.SetValue(TriggerSource_Line1);
INodeMap& nodemap = camera.GetNodeMap();
// Select the Frame Start trigger
CEnumerationPtr(nodemap.GetNode("TriggerSelector"))->FromString("FrameStart");
// Set the trigger source to Line 1
CEnumerationPtr(nodemap.GetNode("TriggerSource"))->FromString("Line1");
// Select the Frame Start trigger
camera.Parameters[PLCamera.TriggerSelector].SetValue(PLCamera.TriggerSelector.FrameStart);
// Set the trigger source to Line 1
camera.Parameters[PLCamera.TriggerSource].SetValue(PLCamera.TriggerSource.Line1);
// Select the Frame Start trigger
Pylon.DeviceFeatureFromString(hdev, "TriggerSelector", "FrameStart");
// Set the trigger source to Line 1
Pylon.DeviceFeatureFromString(hdev, "TriggerSource", "Line1");
/* 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 */
/* Select the Frame Start trigger */
errRes = PylonDeviceFeatureFromString(hdev, "TriggerSelector", "FrameStart");
CHECK(errRes);
/* Set the trigger source to Line 1 */
errRes = PylonDeviceFeatureFromString(hdev, "TriggerSource", "Line1");
CHECK(errRes);
You can also use the pylon Viewer to easily set the parameters.