-
Notifications
You must be signed in to change notification settings - Fork 1
devices config file
devices.ini (see example in config/) describes device specific options
Here is example:
[k2000]
bus=gpib
id=14
command\init=SYST:PRES\nFORM:ELEM READ
command\read=DATA?`
[k2000] - is the name of the section. It's a shortname of the device (k2000 in this case)
bus=gpib - describes that this particluar device is on gpib bus. GpibDevice object will be created for such kind of devices and will read additional gpib-specific options of the device;
id=14 - id of the device on the gpib bus
command\init= .. - gpib command that must be issued to the device before using it.
command\read=DATA? - gpib command that must be issued to read current data from the device
Some devices can read arbitrary channel with single read command (for example CC34 can read value from any input):
command\read=INPUT? %1
%1 will be replaced with requested channel. See experiment config file for details