labscript-suite / labscript-devices

A modular and extensible plugin architecture to control experiment hardware using the 𝘭𝘒𝘣𝘴𝘀𝘳π˜ͺ𝘱𝘡 𝘴𝘢π˜ͺ𝘡𝘦.
http://labscriptsuite.org
Other
5 stars 58 forks source link

PrawnBlaster binary programming #112

Closed carterturn closed 3 months ago

carterturn commented 6 months ago

The labscript-devices side of PrawnBlaster PR #25.

Adds a fast binary mode for reprogramming the entire sequence, as well as heuristics for deciding when to use binary mode instead of incremental programming.

Verification testing has been performed, but performance testing is incomplete.

dihm commented 6 months ago

Just a note here: the docs build is failing because you are branched off master one commit behind the current HEAD (which fixes this issue). It's not a blocker, but if you make docs changes we'll want to rebase so they can get built correctly.

philipstarkey commented 6 months ago

Could you add something that falls back to the original behaviour for old firmware versions? You should be able to query the firmware version from the PrawnBlaster itself (over the serial connection). Anything less than v1.1.0 won't support the binary mode (which will be the earliest firmware version we'll be targeting with labscript-suite/PrawnBlaster#25)

carterturn commented 5 months ago

There is a better way to do the version number comparisons that I will implement soon.