Component.GetStatus Method
Queries the status of the Network Link Layer (NL2).
Namespace:
IntervalZero.MaxRT.NL2.Control
Assembly:
IntervalZero.MaxRT.NL2.Control (in IntervalZero.MaxRT.NL2.Control.dll) Version: 1.0.0.0 (File version: 1.0.1)
Syntax
public ComponentStatus Start()
Return Value
This method returns the status of the NL2 as a ComponentStatus, or throws an MaxRTNativeException if a timeout occurred while querying the status.
Exceptions
MaxRTNativeException is thrown when errors occur.
Possible error codes:
| Error code | Meaning |
|---|---|
|
RT_ERROR_TIMEOUT_QUERYING_NL2_STATUS |
An internal error occurred. |
|
RT_ERROR_NO_LICENSE |
The NL2 component is not licensed. |
See Also: