Closed Atotem closed 1 year ago
Hello Atotem, your settings and code look correct. Did you check if all of the commands return a success? This looks as if TriggerMode is still set to Off. If for example you have AquisitionFrameRateEnable set to true, then the trigger mode can't be set to On. See if you can do the settings in Vimba Viewer and if you can get the frames there. The GUI of the viewer will show you if you are able to set the features.
Hello @Teresa-AlliedVision,
I have been running several tests and apparently somehow the motor is triggering the camera, even when the camera is connected to a cable connected to nothing. If there are some tips to consider I would greatly appreciate it. I will let you know if I fix it.
Hello Atotem, what Motor are you referring to and what cable specifically is connected to nothing? Can you post a screenshot of your settings in Vimba Viewer? The Coutner on the bottom of the screen will also show how many frames arrive.
I have been trying to understand how the settings should be in order to get the actual frame when the camera is triggered by a Hardware trigger, however, I haven't manage to truly understand. I tried first setting the camera in 'Single Frame' in the Vimba Viewer, but the software only captures 1 frame when the camera is triggered. So technically, in order to get 1 frame each time the camera is triggered once, I should turn 'off' and then 'on' the Acquisition Status. In the other hand, when I try with 'Continuous' mode, I receive way more frames than the ones I actually need. To prove this observation I run a script based on the official documentation.
The camera is being triggered with an Arduino UNO, and the model of the camera is Alvium 1800 U-2050m. When I run this script and compare the output with output from Arduino IDE, I get that I'm obtaining more frames. Even before the camera is triggered. I check with a multimeter if the cables are working properly and if the Arduino is really triggering when it's suppose to trigger, and my conclusions were that the hardware is not the problem.
Terminal after running the python script:
Serial Monitor from Arduino.
I checked and this also happens with the software. More than 1 frame is capture even if the camera is not triggered. What can be causing the problem? I thank you in advance for every comment or suggestion.