ecli_scaler – scaler record interface

class ecli_scaler.ECLIScaler(shell, config)

ECLI scaler record interface

ecli_scaler.ct(*args, **kwargs)

%ct [-r RECORD] [seconds]

$ ct [seconds] [-r/–record record]

positional arguments:
seconds PV
optional arguments:
-r RECORD, --record RECORD
 Record to use
ecli_scaler.scaler_counts_dict(*args, **kwargs)

Run the scaler scaler for seconds, and report the results in a dictionary

Parameters:
  • scaler – Scaler device or record name
  • seconds – Time in seconds

Additional kwarg parameters are passed onto scaler_counts_list.

ecli_scaler.scaler_counts_list(*args, **kwargs)

Run the scaler scaler for seconds, and report the results in a list

Parameters:
  • scaler – Scaler device or record name
  • seconds – Time in seconds
  • use_calc – Use calculated values instead of raw values
  • partial_ok – Return partial counts if interrupted
ecli_scaler.scaler_counts_table(*args, **kwargs)

Run the scaler scaler for seconds, and report the results in a table

Parameters:
  • scaler – Scaler device or record name
  • seconds – Time in seconds

Additional kwarg parameters are passed onto scaler_counts_list.

class ecli_scaler.ECLIScaler(shell, config)

ECLI scaler record interface

Previous topic

ecli_xmlrpc – ECLI XML RPC (remote procedure call) server

Next topic

ECLI utility functions

This Page