HPInc / HP-Digital-Microfluidics

HP Digital Microfluidics Software Platform and Libraries
MIT License
3 stars 1 forks source link

More complex paths in exerciser tool #49

Open EvanKirshenbaum opened 9 months ago

EvanKirshenbaum commented 9 months ago

This one has been on my whiteboard for a while, but I just got a request for it from Corey Downs (who doesn't yet have a GitHub account).

The path task in the joey/wombat exerciser tool allows you to specify a simple path for a drop to walk, but it would be useful to be able to specify more complex paths that allow more than one thing to happen on a tick and to specify actions on well pads and gates in addition to board pads. This last will be crucial for debugging dispensing sequences.

This could be done on the command line, by having a more complex syntax for the --path option or it could be done by having a task that read an external file (probably of the same form that would be written by the macro recording tool envisioned in #32). This would allow an actual language (spec'd in antlr4?) to make the specification less cryptic.

I'll probably want to investigate both approaches--first get a simple (if ugly) command-line way to deal with well pads/gates and have things happen at the same time and then do a more complex read-from-a-file approach.

Migrated from internal repository. Originally created by @EvanKirshenbaum on Aug 03, 2021 at 1:56 PM PDT.
EvanKirshenbaum commented 9 months ago

This issue was referenced by the following commits before migration:

EvanKirshenbaum commented 9 months ago

There's now a working macro language and a text box to type expressions in the GUI. According to Corey, it's actually useful.

I'm going to capture a few to-dos here so that I can clean off my whiteboard, and I'll try to work through them quickly and close up this issue. Any of these that hits any real difficulty should probably be opened as an issue of its own.