elasticai.hw_measurements.template.adc#

Module Contents#

Classes#

Functions#

API#

class elasticai.hw_measurements.template.adc.TestHandlerADC(com_dut: str, com_sets: elasticai.hw_measurements.DriverPort = DriverPortIES, en_debug: bool = False, only_plot: bool = False)#

Initialization

Class for handling the Analog-Digital-Converter test routine

Parameters:
  • com_dut – String with COM-Port of DUT board

  • com_sets – Class with COM-Ports of laboratory devices

  • en_debug – Boolean for enabling debugging mode (without DAQ hardware) (default=False)

  • only_plot – Boolean for plotting mode (default=False)

get_overview_folder() list#

Function to get an overview of available numpyz files

run_transfer_test() dict#

Function for running the ADC test on DUT device

Returns:

Dictionary with [‘stim’: DAC input stream, ‘settings’: Settings, ‘ch’: DAQ results with ‘val’ and ‘std’]

plot_results_from_measurement(results: dict) None#

Function for plotting the ADC test results

Parameters:

results – Dictionary from measurement

Returns:

None

plot_results_from_file(path2file: str) None#

Function for plotting the ADC test results

Parameters:

path2file – String with path to file

Returns:

None

elasticai.hw_measurements.template.adc.run_test() None#