BaseStatusSignalSetUpdateFrequency Method
Sets the rate at which the device will publish this signal.
A frequency of 0 Hz will turn off the signal. Otherwise, the minimum supported
signal frequency is 4 Hz, and the maximum is 1000 Hz.
If other StatusSignals in the same status frame have been set to an update frequency,
the fastest requested update frequency will be applied to the frame.
Namespace: CTRE.Phoenix6Assembly: Phoenix6 (in Phoenix6.dll) Version: 1.0.0
public StatusCode SetUpdateFrequency(
double frequencyHz,
double timeoutSeconds = 0.05
)
member SetUpdateFrequency :
frequencyHz : float *
?timeoutSeconds : float
(* Defaults:
let _timeoutSeconds = defaultArg timeoutSeconds 0.05
*)
-> StatusCode
- frequencyHz Double
- Rate to publish the signal in Hz
- timeoutSeconds Double (Optional)
- Maximum amount of time to wait when performing the action
StatusCodeStatus code of setting the update frequency