Closed Poofjunior closed 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
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.
We could also explore implementing the ARRAY command with TTL trigger moves.
https://asiimaging.com/docs/array https://asiimaging.com/docs/commands/array
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?
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.