Unable to change TriggerMode
See original GitHub issueHello,
I am configuring two Basler acA1920-155um in python.
An excerpt of my code is
for i in range(2):
self.Camera[i].TriggerSource = "Line3"
self.Camera[i].TriggerSelector = "FrameBurstStart"
self.Camera[i].TriggerMode = 'On'
self.Camera[i].LineSelector = "Line3"
self.Camera[i].LineMode = "Input"
But when I try to trigger the camera, with an external signal, I get the TimeoutHandling_ThrowException
When I open pylon Viewer I see that TriggerMode is Off
and LineSelector is Line1
If I change these, in pylon viewer, (to On
and Line3
, respectfully) and rerun the external trigger signal, it works.
Any thought why e.g. self.Camera[i].TriggerMode = 'On'
don’t crash, but don’t set the property?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
TriggerSource
&TriggerMode
are selected byTriggerSelector
, so you need to setTriggerSelector
first to the Trigger you want to configure (eg.FrameBurstStart
if you want to trigger a burst of frames). After selecting the Trigger you may configure it (eg. enable it byTriggerMode = 'On'
and set the source byTriggerSource = 'Line3'
).Try it this way:
Thank you, @gaeeronimo, this was precisely it! I changed the order, such that
TriggerSelector
was prior toTriggerSource
&TriggerMode
and nowself.Result[i] = self.Camera[i].RetrieveResult(5000,pylon.TimeoutHandling_ThrowException)
runs smoothely!