History#
SCPI Command :
- DIAGnostic:HUMS:UTILization:HISTory
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get ( ) bytes
# DIAGnostic:HUMS:UTILization:HISTory value: bytes = driver.diagnostic.hums.utilization.history.get()Queries the history of utilization activity on the connected instrument. The data format is either XML or JSON, depending on DIAGnostic:HUMS:FORMat. Timestamps follow the Unix time format.
- Returns:
util_history: Utilization usage of the connected instrument during the time period you have defined. The number of return values depends on the selected time period and time resolution. For example, if you evaluate over a time period of one week with a resolution of one day, the command returns 7 values. Binary block data with the following syntax: #DigitsLengthBinarydata # Indicates the start of the binary block. Digits Decimal value Gives the number of decimal digits used for the Length value. Length Decimal value Number of bytes that follow in the Binary data part. Binary data Binary data in ASCII format The binary data represents the utilization activity. Each utilization is assigned a timestamp for when the utilization has been active. Together they form a pair of values. #blockdata{‘timestamps’:[timestamp1,timestamp2,…],’activity’:[activity1,activity2,…]} Each timestamp therefore has a corresponding activity: timestamp1 + activity1, timestamp2 + activity2