Hi everyone, new labscript user here,
I need to create a new device class from scratch to control a laser through serial command, and so far I'm able to manually interact with it from BLACS: I wrote the worker's code and I'm sending commands to the laser via the "program_manual" method when a GUI value is changed.
My question is, how should I call methods from the worker in a labscript file that gets loaded in RUNMANAGER? Or, in other terms, what should I do in order to send instructions to my device not manually but in an experimental sequence?
Sorry if this question was already asked. If you can redirect me to some resources, I would appreciate.
Many thanks for your help,
Best,
Gabriel