Dlogging
SCPI Commands :
[SOURce<HW>]:AREGenerator:DLOGging:CLEar
[SOURce<HW>]:AREGenerator:DLOGging:DATA
[SOURce<HW>]:AREGenerator:DLOGging:LEVel
[SOURce<HW>]:AREGenerator:DLOGging:NERRor
[SOURce<HW>]:AREGenerator:DLOGging:NINFo
[SOURce<HW>]:AREGenerator:DLOGging:NWARning
[SOURce<HW>]:AREGenerator:DLOGging:SAVE
[SOURce<HW>]:AREGenerator:DLOGging:[STATe]
- class DloggingCls[source]
Dlogging commands group definition. 8 total commands, 0 Subgroups, 8 group commands
- clear() None[source]
# SCPI: [SOURce<HW>]:AREGenerator:DLOGging:CLEar driver.source.areGenerator.dlogging.clear()
Removes all logging information, that is collected in the logging data. Query logging data via the command [:SOURce<hw>]:AREGenerator:DLOGging:DATA.
- clear_with_opc(opc_timeout_ms: int = -1) None[source]
# SCPI: [SOURce<HW>]:AREGenerator:DLOGging:CLEar driver.source.areGenerator.dlogging.clear_with_opc()
Removes all logging information, that is collected in the logging data. Query logging data via the command [:SOURce<hw>]:AREGenerator:DLOGging:DATA.
Same as clear, but waits for the operation to complete before continuing further. Use the RsAreg800.utilities.opc_timeout_set() to set the timeout value.
- param opc_timeout_ms:
Maximum time to wait in milliseconds, valid only for this call.
- get_data() List[str][source]
# SCPI: [SOURce<HW>]:AREGenerator:DLOGging:DATA value: List[str] = driver.source.areGenerator.dlogging.get_data()
Queries all logging information in the logged data.
- return:
areg_dyn_logg_data: No help available
- get_level() AregDynLoggLevel[source]
# SCPI: [SOURce<HW>]:AREGenerator:DLOGging:LEVel value: enums.AregDynLoggLevel = driver.source.areGenerator.dlogging.get_level()
Defines the scope of logged data. Only logging information is collected, that corresponds to this scope.
- return:
dyn_logg_level: - All: Logged data includes information on errors, warnings and info messages. - EAWarning: Logged data includes information on errors and warnings. - ERRor: Logged data includes information on errors.
- get_nerror() int[source]
# SCPI: [SOURce<HW>]:AREGenerator:DLOGging:NERRor value: int = driver.source.areGenerator.dlogging.get_nerror()
Queries the number of errors within the logged data.
- return:
dyn_logg_num_of_err: No help available
- get_ninfo() int[source]
# SCPI: [SOURce<HW>]:AREGenerator:DLOGging:NINFo value: int = driver.source.areGenerator.dlogging.get_ninfo()
Queries the number of info messages within the logged data.
- return:
dyn_logg_num_of_inf: No help available
- get_nwarning() int[source]
# SCPI: [SOURce<HW>]:AREGenerator:DLOGging:NWARning value: int = driver.source.areGenerator.dlogging.get_nwarning()
Queries the number of warnings within the logged data.
- return:
dyn_logg_num_of_war: No help available
- get_save() str[source]
# SCPI: [SOURce<HW>]:AREGenerator:DLOGging:SAVE value: str = driver.source.areGenerator.dlogging.get_save()
Saves logged data to a file with file extension *.csv. The file extension is added automatically.
- return:
dyn_logg_save: No help available
- get_state() bool[source]
# SCPI: [SOURce<HW>]:AREGenerator:DLOGging:[STATe] value: bool = driver.source.areGenerator.dlogging.get_state()
Activates logging.
- return:
dyn_logg_state: No help available
- set_level(dyn_logg_level: AregDynLoggLevel) None[source]
# SCPI: [SOURce<HW>]:AREGenerator:DLOGging:LEVel driver.source.areGenerator.dlogging.set_level(dyn_logg_level = enums.AregDynLoggLevel.ALL)
Defines the scope of logged data. Only logging information is collected, that corresponds to this scope.
- param dyn_logg_level:
All: Logged data includes information on errors, warnings and info messages.
EAWarning: Logged data includes information on errors and warnings.
ERRor: Logged data includes information on errors.
- set_save(dyn_logg_save: str) None[source]
# SCPI: [SOURce<HW>]:AREGenerator:DLOGging:SAVE driver.source.areGenerator.dlogging.set_save(dyn_logg_save = 'abc')
Saves logged data to a file with file extension *.csv. The file extension is added automatically.
- param dyn_logg_save:
No help available
- set_state(dyn_logg_state: bool) None[source]
# SCPI: [SOURce<HW>]:AREGenerator:DLOGging:[STATe] driver.source.areGenerator.dlogging.set_state(dyn_logg_state = False)
Activates logging.
- param dyn_logg_state:
No help available