Table of Contents

Enum CommandStatus

Namespace
NixUniversalSDK
Assembly
NixUniversalSDK.dll

Enum describing the possible status of commands executed by the Nix device, as provided in the DeviceResult class. See CommandStatusExtensions for extension methods.

public enum CommandStatus
Extension Methods

Fields

ErrorAmbientLight = 6

Status code indicating that the measurement operation failed due to the detection of ambient light leakage.

ErrorInternal = 8

Status code indicating that the command failed due to an unknown / internal SDK error.

ErrorInvalidArgument = 3

Status code indicating that the command was aborted because it contained invalid arguments.

ErrorLicense = 10

Status code indicating that the command failed due to a problem with the LicenseManager. Check State for details.

ErrorLowPower = 4

Status code indicating that the command was aborted because of a low power state on the Nix device (e.g. - insufficient battery power to complete a measurement).

ErrorNotReady = 1

Status code indicating that the command was aborted because the Nix device was not ready (i.e. - it was already executing another command).

ErrorNotSupported = 2

Status code indicating that the command was aborted because the it was not supported by the Nix device instance.

ErrorScanDelta = 7

Status code indicating that the in-field calibration operation failed due to high delta E (i.e. - the calibration reference tile could not be verified by its color value). This status is only possible after a RunFieldCalibrationAsync(string) command.

ErrorTimeout = 5

Status code indicating that the command failed due to a timeout error.

Success = 0

Status code indicating that the command completed successfully.

WarningTemperature = 9

Status code indicating that the in-field calibration operation completed successfully, but a temperature warning was issued (i.e. - the ambient temperature of the device is currently outside of the recommended range). This status is only possible after a RunFieldCalibrationAsync(string) command.