StatusSignalNativeRefreshSignal Method

Gets the signal in a non-blocking manner and updates the StatusSignalNativeStatusSignalInfo struct with the updated information.

Definition

Namespace: CTRE.Phoenix6.Native
Assembly: Phoenix6 (in Phoenix6.dll) Version: 1.0.0
C#
public static int RefreshSignal(
	ref StatusSignalNativeStatusSignalInfo signal,
	double timeoutSeconds
)

Parameters

signal  StatusSignalNativeStatusSignalInfo
Reference of struct to update information to
timeoutSeconds  Double
How long to determine the signal is "stale"

Return Value

Int32
Status code response of the Refresh operation

See Also