BaseStatusSignalRefreshAll Method

Performs a non-blocking refresh on all provided signals.

This provides a performance improvement over separately calling Refresh(Boolean) on each signal.

Definition

Namespace: CTRE.Phoenix6
Assembly: Phoenix6 (in Phoenix6.dll) Version: 1.0.0
C#
public static StatusCode RefreshAll(
	params BaseStatusSignal[] signals
)

Parameters

signals  BaseStatusSignal
Signals to refresh

Return Value

StatusCode
An InvalidParamValue if signals array is empty, InvalidNetwork if signals are on different CAN bus networks, OK if all signals are OK,

Any other signal represents the StatusCode of the first failed signal. Call Status on each signal to determine which ones failed.

See Also