The communication speed could be increased for large numbers of instructions by allowing binary data to be sent over the serial interface.
The easiest way to implement this would be to send over the actual instruction commands that the pico programs into memory. This would require a substantial duplication of the instruction creation logic into some sort of wrapper for the pico.
Another option would be to define a binary API that the pico interprets and uses its own instruction creation logic. This would make it easier to generate the binary necessary for a sweep. You would just need to be careful about handling the raw binary for floating point numbers.
The communication speed could be increased for large numbers of instructions by allowing binary data to be sent over the serial interface.
The easiest way to implement this would be to send over the actual instruction commands that the pico programs into memory. This would require a substantial duplication of the instruction creation logic into some sort of wrapper for the pico.
Another option would be to define a binary API that the pico interprets and uses its own instruction creation logic. This would make it easier to generate the binary necessary for a sweep. You would just need to be careful about handling the raw binary for floating point numbers.