AllenNeuralDynamics / exa-spim-control

Acquisition control for the exaSPIM microscope system
MIT License
2 stars 1 forks source link

Tigerbox should be fully configured from software #19

Closed Poofjunior closed 1 year ago

Poofjunior commented 1 year ago

Right now we are not setting up the tigerbox in external trigger mode.

Actually changing this requires fully implementing the TTL command, which currently does not work yet. See https://github.com/AllenNeuralDynamics/TigerASI/issues/36

We also need to do this from the SamplePose interface, not the tigerbox interface.

Poofjunior commented 1 year ago

Besides TTL, we need: PM and RBMode commands as well. https://asiimaging.com/docs/commands/pm https://asiimaging.com/docs/commands/rbmode

Poofjunior commented 1 year ago

We are currently assuming the last relative move is correctly specified. Instead, we should store a single relative move in the ring buffer and replay that instead.

https://asiimaging.com/docs/commands/load

adamkglaser commented 1 year ago

We could also explore implementing the ARRAY command with TTL trigger moves.

https://asiimaging.com/docs/array https://asiimaging.com/docs/commands/array

Poofjunior commented 1 year ago

Ok, this currently is implemented in the TigerASI driver with calls to setup repeated relative moves that have been added to the move queue. (See these ring buffer calls). Performance-wise, this seems to be functionally equivalent to ARRAY and doesn't need any extra firmware.

pins are also setup in external trigger mode.

I think this covers everything?