Statistics

SCPI Command :

[SOURce<HW>]:BB:GNSS:RT:RECeiver:[V<ST>]:HILPosition:LATency:STATistics
class StatisticsCls[source]

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

class GetStruct[source]

Response structure. Fields:

  • Cmd_Hw_Time: float: float The hardware time at the moment the last HIL command is received.

  • Last_Latency: float: float Time delay between the time specified with the parameter ElapsedTime in a HIL command and the time this command is executed in the R&S SMBV100B. Unit: s

  • Max_Latency: float: float The largest latency value since the last time this query was sent. Unit: s

  • Min_Latency: float: float The smallest latency value since the last time this query was sent. Unit: s

  • No_Zero_Values: int: integer Number of non-zero latency values since the last time this query was sent.

  • Cmd_Received: int: integer Accumulated LastLatency values since the last time this query was sent.

  • Cmd_Used: int: integer The number of used HIL commands, excluding the dropped HIL commands, since the last time this query was sent.

  • Cmd_Sync: int: integer The number of HIL commands applied at their specified time

  • Cmd_Exterp: int: integer The number of extrapolated HIL commands. The commands are applied later than their specified time.

  • Cmd_Interp: int: integer The number of internal position updates. The value includes commands describing both situations, moment of time in past and moment of time in the future.

  • Cmd_Predict: int: integer The number of internal position updates performed by the prediction algorithm, see ‘Trajectory prediction’.

  • Max_Used: int: integer The maximum number buffered commands

  • Min_Used: int: integer The minimum number buffered commands

get(vehicle=Vehicle.Default) GetStruct[source]
# SCPI: [SOURce<HW>]:BB:GNSS:RT:RECeiver:[V<ST>]:HILPosition:LATency:STATistics
value: GetStruct = driver.source.bb.gnss.rt.receiver.v.hilPosition.latency.statistics.get(vehicle = repcap.Vehicle.Default)

Queries the current latency tcal.latency,i and statistics on the latency values. This command returns also the minimum deviation and the maximum deviation from zero latency. Also, it returns the measured number of non-zero latency values since the last query with this command.

INTRO_CMD_HELP: The following terms are used:

  • HIL command refers to HiL mode A or HiL mode B commands: [:SOURce<hw>]:BB:GNSS:RT:RECeiver[:V<st>]:HILPosition:MODE:A [:SOURce<hw>]:BB:GNSS:RT:RECeiver[:V<st>]:HILPosition:MODE:B

  • Dropped commands are commands that are evaluated, buffered but not applied because they become outdated as more up-to-date information is received

  • Return values apply for the period since the last query with this command.

How to: ‘Latency calibration’

param vehicle

optional repeated capability selector. Default value: Nr1 (settable in the interface ‘V’)

return

structure: for return value, see the help for GetStruct structure arguments.