Statistics#

SCPI Command :

[SOURce<HW>]:BB:GNSS:RT:RECeiver:[V<ST>]:HILPosition:LATency:STATistics
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get ( vehicle=Vehicle.Default ) → GetStruct
# [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. 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’

Parameters:

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

Returns:

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

class GetStruct

Response structure. Fields:

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

  • 2 Last_Latency: 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.

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

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

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

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

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

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

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

  • 10 Cmd_Interp: int: 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.

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

  • 12 Max_Used: int: The maximum number buffered commands

  • 13 Min_Used: int: The minimum number buffered commands