Menu

#134 Returning configentry value as an integer

open
nobody
None
5
2016-03-21
2016-03-21
No

Dear gphoto devs & users,

How can I read and return a specifig configentry from my camera? I have successfully connected my Nikon D5200 and it is working great.

My goal is to (in that particular order):
1. Read shutterspeed value and return it as an integer, so it can be passed along to a python script
2. Perform image capture
3. Let another python script do it's job, then move back to step 1 and repeat.

My main problem is that I dont know how to return shutterspeed value as an integer from the --get-config command. Can you help me out? Can I grep it or is there any better/easier way?

Thank you!

Discussion


Log in to post a comment.