FormatPy#

SCPI Command :

DIAGnostic:HUMS:FORMat
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get ( ) → HumsFileFormat
set ( format_py: HumsFileFormat ) → None
# DIAGnostic:HUMS:FORMat
# get:
value: enums.HumsFileFormat = driver.diagnostic.hums.formatPy.get()
# set:
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.