Retrieve a system parameter.
Namespace:
Bespoke.Robotics.BrainStemAssembly: Bespoke.Robotics.BrainStem (in Bespoke.Robotics.BrainStem.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
---|
public static string GetSystemParameter( byte iicAddress, SystemParameterType systemParameter ) |
Visual Basic (Declaration) |
---|
Public Shared Function GetSystemParameter ( _ iicAddress As Byte, _ systemParameter As SystemParameterType _ ) As String |
Visual C++ |
---|
public: static String^ GetSystemParameter( unsigned char iicAddress, SystemParameterType systemParameter ) |
Parameters
- iicAddress
- Type: System..::.Byte
The address of the IIC module referenced by the packet.
- systemParameter
- Type: Bespoke.Robotics.BrainStem..::.SystemParameterType
The system parameter to retrieve.
Return Value
The value of the requested system parameter.Exceptions
Exception | Condition |
---|---|
Bespoke.Robotics.BrainStem.Exceptions..::.CommandException | Thrown if there's an error processing the command. |