Save

SCPI Command :

DIAGnostic:SERVice:SFUNction:RESults:SAVE
class SaveCls[source]

Save commands group definition. 1 total commands, 0 Subgroups, 1 group commands

get() str[source]
# SCPI: DIAGnostic:SERVice:SFUNction:RESults:SAVE
value: str = driver.diagnostic.service.sfunction.results.save.get()

This command saves the results in the output buffer for service functions you have used to a file. If no <FileName> parameter is provided, the results are stored to C:/R_S/INSTR/results/Servicelog.txt. Note that if the buffer is empty, the function returns an error.

return

filename: String containing the path and file name.

set(filename: Optional[str] = None) None[source]
# SCPI: DIAGnostic:SERVice:SFUNction:RESults:SAVE
driver.diagnostic.service.sfunction.results.save.set(filename = 'abc')

This command saves the results in the output buffer for service functions you have used to a file. If no <FileName> parameter is provided, the results are stored to C:/R_S/INSTR/results/Servicelog.txt. Note that if the buffer is empty, the function returns an error.

param filename

String containing the path and file name.