Hi
to enable an external trigger on the global shutter camera, the trigger_mode parameter needs to be changed from 0 to 1. What I understand from this is that a txt file named trigger_mode that is hiding in /sys/module/imx296/parameters and contains only the value "0" needs to change to contain the value "1".
following the instructions online, using the terminal I run the following in the terminal:
As far as I can see, after reboot, the trigger_mode parameter changes back to 1. so this procedure needs to be repeated.
I would like to make the change to the trigger_mode parameter from my Python script. namely, to give the command to change it from "0" to "1" at the beginning of the script and change it back to "0" when I'm done, at the end of the script, such that the camera can also be used without external trigger.
can you explain how to do that?
thanks!
to enable an external trigger on the global shutter camera, the trigger_mode parameter needs to be changed from 0 to 1. What I understand from this is that a txt file named trigger_mode that is hiding in /sys/module/imx296/parameters and contains only the value "0" needs to change to contain the value "1".
following the instructions online, using the terminal I run the following in the terminal:
Code:
pi@raspberrypi:~ $ sudo suroot@raspberrypi:/home/pi# echo 1 > /sys/module/imx296/parameters/trigger_moderoot@raspberrypi:/home/pi# exitexitpi@raspberrypi:~ $
I would like to make the change to the trigger_mode parameter from my Python script. namely, to give the command to change it from "0" to "1" at the beginning of the script and change it back to "0" when I'm done, at the end of the script, such that the camera can also be used without external trigger.
can you explain how to do that?
thanks!
Statistics: Posted by nirb — Thu Jun 13, 2024 9:30 am