Instruments can be added into contexts with
<instrument_object> = qmi.make_instrument("<name>", <ClassName>, <possible_extra_parameters>)
Instrument class description can be seen with
help(<instrument_object>)
Detailed information about the object and variables can be obtained
with help(<instrument_object>)
The returned instrument object is an RPC proxy object of
the actual class object
<instrument>.open() needs to be called first
before other RPC methods can be used. Don’t forget to call
<instrument>.close() afterwards to ensure stable exit
behaviour.
Also QMI tasks need to be defined in qmi.conf. To
enable running the task a a service, parameters “enabled” and
“program_module” need to be defined.
A task consists of a QMI_Task class and a
QMI_TaskRunner class. The latter can be customized to
include RPC methods in tasks.
Task is started with start(), stopped with
stop() and after stopping, the task thread should be
“joined” with join() for properly exiting the thread.
qmi_proc is an executable created while installing QMI.
It can be used to start, stop and checking status of (local) QMI tasks
running as background processes.
While main version-revision development happens through the
main branch, also version-revision-specific development can be
done through stable branches
User can also use tags as references to code at certain
point of time
The usual way to install QMI is using Pip and a Pypi
package of QMI. But, also releases can be downloaded
and used for the installation.