FormatPy

SCPI Command :

DIAGnostic:HUMS:FORMat
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get() HumsFileFormat[source]
# DIAGnostic:HUMS:FORMat
value: enums.HumsFileFormat = driver.diagnostic.hums.formatPy.get()

Selects the format for the queried HUMS data. You can query the HUMS data either in JSON format or XML format. The defined format affects all other commands that return block data.

set(format_py: HumsFileFormat) None[source]
# DIAGnostic:HUMS:FORMat
driver.diagnostic.hums.formatPy.set(format_py = enums.HumsFileFormat.JSON)

Selects the format for the queried HUMS data. You can query the HUMS data either in JSON format or XML format. The defined format affects all other commands that return block data.

Parameters:

format_py – JSON | XML JSON Returns the HUMS data in JSON format. XML Returns the HUMS data in XML format.