nEDM Interface

nEDM Experiment

nEDM Interface

Repository

Tutorials


Modules


Classes


Externals


lib/nedm~nEDMDatabase

new nEDMDatabase(db_name)

Defines an interface for a given database
Parameters:
Name Type Description
db_name String name of database
Source:

Methods

get_database(db_nameopt) → {nEDMDB}

Gets current database, or other database
Parameters:
Name Type Attributes Description
db_name String <optional>
name of database, when not given then the current database
Source:
Returns:
Type
nEDMDB

get_most_recent_value(var_name, callback)

Helper function, gets most recent value of a variable
Parameters:
Name Type Description
var_name String name of variable
callback module:lib/update_db.DBRequestCallback
Source:

send_command(o) → {Object}

Helper function, sends command to current database
Parameters:
Name Type Description
o module:lib/update_db.CommandObject Object to send command
Source:
Returns:
Type
Object