Continuing the discussion from How to use a common hardware trigger with multiple cameras:
General Information
- Product: C57-6-M
- Serial Number: 244888, 245218
- Ensenso SDK Version: 4.0.1502
- Operating System: Windows 10 64bit
Problem / Question
Please tell me the behavior when a hardware trigger occurs after opening the camera with the following code and applying the trigger.(One sensor is connected in parallel to two cameras.)
NxLibItem camera1 = root[itmCameras][m_serial];
NxLibItem camera2 = root[itmCameras][m_serial2];
camera1[itmParameters][itmCapture][itmTriggerMode] = valFallingEdge;
camera2[itmParameters][itmCapture][itmTriggerMode] = valFallingEdge;
nxLibSetString(&error, "/Execute/Parameters/Cameras", m_serial);
nxLibSetString(&error, "/Execute/Command", "Open");
nxLibSetString(&error, "/Execute/Parameters/Cameras", m_serial2);
nxLibSetString(&error, "/Execute/Command", "Open");
nxLibSetString(&error, "/Execute/Parameters/Cameras", m_serial_C);
nxLibSetString(&error, "/Execute/Command", "Open");
nxLibWaitForType(&error, "/Execute/Command", NxLibItemTypeNull, 1);
nxLibSetString(&error, "/Execute/Parameters/Cameras", m_serial_C2);
nxLibSetString(&error, "/Execute/Command", "Open");
nxLibWaitForType(&error, "/Execute/Command", NxLibItemTypeNull, 1);
NxLibCommand trigger(cmdTrigger);
trigger.parameters()[itmSubset] = valAll;
trigger.execute();
Q1. When the trigger is ON, does the projector of the cameras light up simultaneously, or does one camera light up first and then the other?
Q2. If they do not capture images simultaneously, is it possible to make them capture images at the same time?
Thank you.
Best regards,
K.N,