Log
SCPI Commands
LOG:LOCation
LOG:DATA
LOG:TRIGgered
LOG:STATe
- class LogCls[source]
Log commands group definition. 11 total commands, 7 Subgroups, 4 group commands
- get_data() List[float] [source]
# SCPI: LOG:DATA value: List[float] = driver.log.get_data()
Returns 12 sets of latest logging data with minimum logging interval (8 ms) . Depending on the models, the data is returned in the following format for a 2-channel models: <Ch1_voltage>, <Ch1_current>,<Ch1_power>,<Ch2_voltage>, <Ch2_current>,<Ch2_power>, <Ch1_voltage>, <Ch1_current>,<Ch1_power>, <Ch2_voltage>, <Ch2_current>,<Ch2_power>…
- return
result: No help available
- get_location() Filename [source]
# SCPI: LOG:LOCation value: enums.Filename = driver.log.get_location()
Sets or queries the logging location.
- return
file_location: No help available
- get_state() bool [source]
# SCPI: LOG[:STATe] value: bool = driver.log.get_state()
Sets or queries the data logging state.
- return
arg_0: No help available
- get_triggered() int [source]
# SCPI: LOG:TRIGgered value: int or bool = driver.log.get_triggered()
Sets or queries the state for manual trigger logging function.
- return
arg_0: (integer or boolean) No help available
- set_location(file_location: Filename) None [source]
# SCPI: LOG:LOCation driver.log.set_location(file_location = enums.Filename.DEF)
Sets or queries the logging location.
- param file_location
No help available
- set_state(arg_0: bool) None [source]
# SCPI: LOG[:STATe] driver.log.set_state(arg_0 = False)
Sets or queries the data logging state.
- param arg_0
1: Data logging function is enabled.
0: Data logging function is disabled.
- set_triggered(arg_0: int) None [source]
# SCPI: LOG:TRIGgered driver.log.set_triggered(arg_0 = 1)
Sets or queries the state for manual trigger logging function.
- param arg_0
(integer or boolean) 0 Manual trigger function is disabled. 1 Manual trigger function is enabled.
Subgroups