Log
SCPI Commands
LOG:STATe
LOG:MODE
LOG:FNAMe
LOG:STIMe
- class LogCls[source]
Log commands group definition. 7 total commands, 3 Subgroups, 4 group commands
- class StimeStruct[source]
Structure for setting input parameters. Fields:
Year: int: Four-digit number, including the century and millennium information.
Month: int: No parameter help available
Day: int: No parameter help available
Hour: int: No parameter help available
Minute: int: No parameter help available
Second: int: No parameter help available
- get_fname() str [source]
# SCPI: LOG:FNAMe value: str = driver.log.get_fname()
Sets the file name and path for the storing the data recorded during data logging. The query returns the file name and path. You can query the information also when data logging is running.
- return:
logging_file_name: String with the directory and filename.
- get_mode() LoggingMode [source]
# SCPI: LOG:MODE value: enums.LoggingMode = driver.log.get_mode()
Selects the data logging mode.
- return:
logging_mode: - UNLimited: No specified limit of measurement readings. - COUNt: Determines the number of measurement readings. - DURation: Sets a time interval between the measurement readings. - SPAN: Defines start time and time span for the measurement readings.
- get_state() bool [source]
# SCPI: LOG[:STATe] value: bool = driver.log.get_state()
Activates the data logging function.
- return:
logging_state: No help available
- get_stime() StimeStruct [source]
# SCPI: LOG:STIMe value: StimeStruct = driver.log.get_stime()
Sets the logging start time.
- return:
structure: for return value, see the help for StimeStruct structure arguments.
- set_fname(logging_file_name: str) None [source]
# SCPI: LOG:FNAMe driver.log.set_fname(logging_file_name = '1')
Sets the file name and path for the storing the data recorded during data logging. The query returns the file name and path. You can query the information also when data logging is running.
- param logging_file_name:
String with the directory and filename.
- set_mode(logging_mode: LoggingMode) None [source]
# SCPI: LOG:MODE driver.log.set_mode(logging_mode = enums.LoggingMode.COUNt)
Selects the data logging mode.
- param logging_mode:
UNLimited: No specified limit of measurement readings.
COUNt: Determines the number of measurement readings.
DURation: Sets a time interval between the measurement readings.
SPAN: Defines start time and time span for the measurement readings.
- set_state(logging_state: bool) None [source]
# SCPI: LOG[:STATe] driver.log.set_state(logging_state = False)
Activates the data logging function.
- param logging_state:
No help available
- set_stime(value: StimeStruct) None [source]
# SCPI: LOG:STIMe structure = driver.log.StimeStruct() structure.Year: int = 1 structure.Month: int = 1 structure.Day: int = 1 structure.Hour: int = 1 structure.Minute: int = 1 structure.Second: int = 1 driver.log.set_stime(value = structure)
Sets the logging start time.
- param value:
see the help for StimeStruct structure arguments.
Subgroups