dattalab-6-cam / multicamera_acquisition

Synchronized machine vision acquisition across multiple cameras using an arduino (Supports FLIR and Basler)
MIT License
5 stars 5 forks source link

Add camera aux #34

Closed timsainb closed 7 months ago

timsainb commented 8 months ago

This is a minor (but imo important) change with saves the GPIO state of the basler camera alongside the basler frame number to sync the pulse of the arduino to the cameras.

jonahpearl commented 8 months ago

Also I assume you've tested this on your rig?

timsainb commented 8 months ago

Yeah it works on my rig

timsainb commented 8 months ago

Haven’t tried it with an azure

jonahpearl commented 8 months ago

ok i'll pull it down onto my rig and double check it's ok with an azure tomorrow. seems like it will work

jonahpearl commented 8 months ago

the line status feature works well on my rig. rn it's saving as an integer like "2" or "6" since it's being decoded from a binary number about all 3 lines. do we want to force the user to specify which line is the aux line, and then parse that into a 0/1? Seems like it will save hair pulling down the line to parse that up front.

timsainb commented 8 months ago

I’m lean toward no. Different basler cameras have different numbers of gpios

Tim Sainburg https://timsainburg.com/ Postdoctoral Fellow Harvard Medical School 814.574.7780, @.***

On Tue, Feb 27, 2024 at 22:07 Jonah Pearl @.***> wrote:

the line status feature works well on my rig. rn it's saving as an integer like "2" or "6" since it's being decoded from a binary number about all 3 lines. do we want to force the user to specify which line is the aux line, and then parse that into a 0/1? Seems like it will save hair pulling down the line to parse that up front.

— Reply to this email directly, view it on GitHub https://github.com/dattalab-6-cam/multicamera_acquisition/pull/34#issuecomment-1968108847, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJYKBVL6UMFQKYIHGNRKKTYV2NPVAVCNFSM6AAAAABD2266UGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRYGEYDQOBUG4 . You are receiving this because you authored the thread.Message ID: @.***>