StatusSignalTRefresh Method

Refreshes the value of this status signal.

If the user application caches this StatusSignal object instead of periodically fetching it from the hardware device, this function must be called to fetch fresh data.

This performs a non-blocking refresh operation. If you want to wait until you receive the signal, call WaitForUpdate(Double, Boolean) instead.

Definition

Namespace: CTRE.Phoenix6
Assembly: Phoenix6 (in Phoenix6.dll) Version: 1.0.0
C#
public StatusSignal<T> Refresh(
	bool reportError = true
)

Parameters

reportError  Boolean  (Optional)
Whether to report any errors to the console. Defaults true

Return Value

StatusSignalT
Reference to itself

See Also