Instruments
Instruments
#
ICDataServer.newinstrument
— Function.
newinstrument(dsn, alias; make="", model="", serialnum="", kind="", hw_server="", protocol="", ins_addr="")
Create a new instrument named alias
in the instruments
table.
#
ICDataServer.updateinstrument
— Function.
updateinstrument(dsn, alias; kwargs...)
Update any of the fields for an instrument named alias
. Possible keyword arguments listed in documentation for ICDataServer.newinstrument
.
#
ICDataServer.deleteinstrument
— Function.
deleteinstrument(dsn, alias)
Delete instrument named alias
from the instruments
table.
#
ICDataServer.listinstruments
— Function.
listinstruments(dsn)
List instruments in the instruments
table.
Constraints on the instruments
table
To enforce consistent conventions in the instruments
table, there are some supporting tables that list the allowed values for an associated column in the instruments
table.
instrumentkinds
table
This table, consisting of one column kind
, lists the different kinds of instruments that may be used in a measurement. More values can be added manually via a database query or via the instrumentkinds.json
setup file to accommodate new instrument types.