ParentDeviceLookupStatusSignalT(UInt16, String, Boolean) Method

Looks up a status signal and inserts it into the local dictionary if not found

Definition

Namespace: CTRE.Phoenix6.Hardware
Assembly: Phoenix6 (in Phoenix6.dll) Version: 1.0.0
C#
protected StatusSignal<T> LookupStatusSignal<T>(
	ushort spn,
	string signalName,
	bool reportOnConstruction
)

Parameters

spn  UInt16
SPN index to lookup
signalName  String
Name of signal
reportOnConstruction  Boolean
Whether to report errors on construction

Type Parameters

T
Generic type of StatusSignal to get

Return Value

StatusSignalT
Status code of the lookup

See Also