daq.hardware.labjack_u3 module¶
Abstraction layer and interface utilities for LabJack U3-HV
-
class
daq.hardware.labjack_u3.
LabJackU3
(device, config_path=None)[source]¶ Bases:
daq.DAQ
Abstraction layer for LabJack U3 (U3-HV or U3-LV) Each interface should take the same constructor arguments and have the same member functions
-
assemble_command_table
(command_table)[source]¶ Assemble a command block into device-friendly commands
Parameters: command_table (pandas.DataFrame) – Time-series table of commands
-
command
(assembled_commands)[source]¶ Send commands to device low-level interface
Parameters: assembled_commands (list) – assembled list of device operations
-
easy_command
(command_dict)[source]¶ !!SLOW!! Intended for manually commanding channels that may not be on the nominal list to reassert
Parameters: command_dict (dict) – Commands indexed by channel
-
get_config
(query=False)[source]¶ Return current config as json
Parameters: query (bool) – Optional flag to get config directly from device instead of interface class
-