24            static constexpr int OK = 0;
 
  344            static constexpr int TxFailed = -1001;
 
  623            static constexpr int NotFound = -10004;
 
  645            static constexpr int NoFile = -10009;
 
  714            operator int()
 const { 
return this->value; }
 
  716            bool operator==(
const StatusCode &data)
 const 
  718                return this->value == data.value;
 
  720            bool operator==(
int data)
 const 
  722                return this->value == data;
 
  724            bool operator<(
const StatusCode &data)
 const 
  726                return this->value < data.value;
 
  728            bool operator<(
int data)
 const 
  730                return this->value < data;
 
  732            StatusCode(
int val) : value{val} {}
 
  735            const char *GetName()
 const 
  740                case -101: 
return "InvalidDeviceSpec";
 
  741                case -102: 
return "EcuIsNotPresent";
 
  742                case -103: 
return "CouldNotEnterBl";
 
  743                case -104: 
return "CouldNotConfirmBl";
 
  744                case -105: 
return "CouldNotErase";
 
  745                case -106: 
return "CouldNotSendFlash";
 
  746                case -107: 
return "CouldNotValidate";
 
  747                case -108: 
return "CouldNotRunApp";
 
  748                case -109: 
return "CouldNotReqSetId";
 
  749                case -110: 
return "CouldNotConfirmId";
 
  750                case -111: 
return "FlashWasGood";
 
  751                case -112: 
return "AppTooOld";
 
  752                case -113: 
return "CouldNotReqSetDesc";
 
  753                case -114: 
return "CompileSzIsWrong";
 
  754                case -115: 
return "GadgeteerDeviceNoSetId";
 
  755                case -116: 
return "InvalidTask";
 
  756                case -117: 
return "NotImplemented";
 
  757                case -118: 
return "NoDevicesOnBus";
 
  758                case -119: 
return "MoreThanOneFile";
 
  759                case -120: 
return "NodeIsInvalid";
 
  760                case -121: 
return "InvalidDeviceDescriptor";
 
  761                case -123: 
return "CouldNotSendCanFrame";
 
  762                case -124: 
return "NormalModeMsgNotPresent";
 
  763                case -125: 
return "FeatureNotSupported";
 
  764                case -126: 
return "NotUpdating";
 
  765                case -127: 
return "CorruptedPOST";
 
  766                case -128: 
return "NoConfigs";
 
  767                case -129: 
return "ConfigFailed";
 
  768                case -130: 
return "CouldNotReqFactoryDefault";
 
  769                case -131: 
return "CustomNameNotSupported";
 
  770                case -132: 
return "ConfigReadWriteMismatch";
 
  771                case -133: 
return "CouldNotReqSetConfigs";
 
  772                case -134: 
return "InsufficientSz";
 
  773                case -135: 
return "InvalidModel";
 
  774                case -140: 
return "CouldNotReqDevInfo";
 
  775                case -141: 
return "NoControls";
 
  776                case -142: 
return "DeviceIsNull";
 
  777                case -143: 
return "DeviceDidNotRespondToDiagReq";
 
  778                case -144: 
return "OnlySupportedInTunerX";
 
  779                case -145: 
return "CanivCliError";
 
  780                case -200: 
return "InvalidCrfBadHeader";
 
  781                case -201: 
return "InvalidCrfFileSzInvald";
 
  782                case -202: 
return "InvalidCrfWrongProduct";
 
  783                case -203: 
return "InvalidCrfNoSects";
 
  784                case -204: 
return "InvalidCrfBadSectHeader";
 
  785                case -205: 
return "InvalidCrfBadSectSize";
 
  786                case -206: 
return "NoCrfFile";
 
  787                case -300: 
return "CouldNotFindDynamicId";
 
  788                case -301: 
return "DidNotGetDhcp";
 
  789                case -302: 
return "DidNotGetFullDhcp";
 
  790                case -350: 
return "InvalidLicenseResp";
 
  791                case -351: 
return "InvalidCanivCache";
 
  792                case -500: 
return "CannotOpenSerialPort";
 
  793                case -501: 
return "CannotWriteSerialPort";
 
  794                case -502: 
return "CannotReadSerialPort";
 
  795                case -503: 
return "CannotSerialToDevice";
 
  796                case -504: 
return "NoSerialControlFrameResp";
 
  797                case -600: 
return "CannotOpenUdpPort";
 
  798                case -601: 
return "CannotWriteUdpPort";
 
  799                case -602: 
return "CannotReadUdpPort";
 
  800                case -603: 
return "CannotUdpToDevice";
 
  801                case -604: 
return "NoUdpControlFrameResp";
 
  802                case -605: 
return "TimeoutIso15Response";
 
  803                case -700: 
return "InvalidJson";
 
  804                case -800: 
return "AppIsTerminating";
 
  805                case 1000: 
return "CanMessageStale";
 
  806                case 1006: 
return "BufferFull";
 
  807                case 1010: 
return "PulseWidthSensorNotPresent";
 
  808                case 1100: 
return "GeneralWarning";
 
  809                case 1103: 
return "FirmVersionCouldNotBeRetrieved";
 
  810                case 1104: 
return "FeaturesNotAvailableYet";
 
  811                case 1105: 
return "ControlModeNotValid";
 
  812                case 1106: 
return "ControlModeNotSupportedYet";
 
  813                case 1109: 
return "MotProfFirmThreshold";
 
  814                case 1110: 
return "MotProfFirmThreshold2";
 
  815                case 1200: 
return "SimDeviceNotFound";
 
  816                case 1201: 
return "SimPhysicsTypeNotSupported";
 
  817                case 1202: 
return "SimDeviceAlreadyExists";
 
  818                case -1001: 
return "TxFailed";
 
  819                case -1002: 
return "InvalidParamValue";
 
  820                case -1003: 
return "RxTimeout";
 
  821                case -1004: 
return "TxTimeout";
 
  822                case -1005: 
return "UnexpectedArbId";
 
  823                case -1006: 
return "CanOverflowed";
 
  824                case -1007: 
return "SensorNotPresent";
 
  825                case -1008: 
return "FirmwareTooOld";
 
  826                case -1009: 
return "CouldNotChangePeriod";
 
  827                case -1010: 
return "BufferFailure";
 
  828                case -1011: 
return "FirmwareNonFRC";
 
  829                case -1100: 
return "GeneralError";
 
  830                case -1200: 
return "SigNotUpdated";
 
  831                case -1201: 
return "NotAllPIDValuesUpdated";
 
  832                case -1300: 
return "GEN_PORT_ERROR";
 
  833                case -1301: 
return "PORT_MODULE_TYPE_MISMATCH";
 
  834                case -1400: 
return "GEN_MODULE_ERROR";
 
  835                case -1401: 
return "MODULE_NOT_INIT_SET_ERROR";
 
  836                case -1402: 
return "MODULE_NOT_INIT_GET_ERROR";
 
  837                case -1500: 
return "WheelRadiusTooSmall";
 
  838                case -1501: 
return "TicksPerRevZero";
 
  839                case -1502: 
return "DistanceBetweenWheelsTooSmall";
 
  840                case -1503: 
return "GainsAreNotSet";
 
  841                case -1504: 
return "WrongRemoteLimitSwitchSource";
 
  842                case -1505: 
return "DoubleVoltageCompensatingWPI";
 
  843                case -1506: 
return "CANdleAnimSlotOutOfBounds";
 
  844                case -1600: 
return "IncompatibleMode";
 
  845                case -1601: 
return "InvalidHandle";
 
  846                case -1700: 
return "FeatureRequiresHigherFirm";
 
  847                case -1702: 
return "ConfigFactoryDefaultRequiresHigherFirm";
 
  848                case -1703: 
return "ConfigMotionSCurveRequiresHigherFirm";
 
  849                case -1704: 
return "TalonFXFirmwarePreVBatDetect";
 
  850                case -1705: 
return "CANdleAnimationsRequireHigherFirm";
 
  851                case -1800: 
return "LibraryCouldNotBeLoaded";
 
  852                case -1801: 
return "MissingRoutineInLibrary";
 
  853                case -1802: 
return "ResourceNotAvailable";
 
  854                case -1900: 
return "MusicFileNotFound";
 
  855                case -1901: 
return "MusicFileWrongSize";
 
  856                case -1902: 
return "MusicFileTooNew";
 
  857                case -1903: 
return "MusicFileInvalid";
 
  858                case -1904: 
return "InvalidOrchestraAction";
 
  859                case -1905: 
return "MusicFileTooOld";
 
  860                case -1906: 
return "MusicInterrupted";
 
  861                case -1907: 
return "MusicNotSupported";
 
  862                case -2000: 
return "kInvalidInterface";
 
  863                case -2001: 
return "kInvalidGuid";
 
  864                case -2002: 
return "kInvalidClass";
 
  865                case -2003: 
return "kInvalidProtocol";
 
  866                case -2004: 
return "kInvalidPath";
 
  867                case -2005: 
return "kGeneralWinUsbError";
 
  868                case -2006: 
return "kFailedSetup";
 
  869                case -2007: 
return "kListenFailed";
 
  870                case -2008: 
return "kSendFailed";
 
  871                case -2009: 
return "kReceiveFailed";
 
  872                case -2010: 
return "kInvalidRespFormat";
 
  873                case -2011: 
return "kWinUsbInitFailed";
 
  874                case -2012: 
return "kWinUsbQueryFailed";
 
  875                case -2013: 
return "kWinUsbGeneralError";
 
  876                case -2014: 
return "kAccessDenied";
 
  877                case -2015: 
return "kFirmwareInvalidResponse";
 
  878                case -10000: 
return "StatusCodeNotInitialized";
 
  879                case 10000: 
return "WarningNotInitialized";
 
  880                case 10001: 
return "HwTimestampOutOfSync";
 
  881                case -10001: 
return "InvalidNetwork";
 
  882                case -10002: 
return "MultiSignalNotSupported";
 
  883                case -10003: 
return "CouldNotCast";
 
  884                case -10004: 
return "NotFound";
 
  885                case -10005: 
return "NotSupported";
 
  886                case -10006: 
return "MissingContext";
 
  887                case -10007: 
return "ModelMismatch";
 
  888                case -10008: 
return "SerialMismatch";
 
  889                case -10009: 
return "NoFile";
 
  890                case -10010: 
return "LicenseDownloadFailed";
 
  891                case -10011: 
return "SelfTestIsEmpty";
 
  892                case -10012: 
return "SignalLookupFailed";
 
  893                case -10013: 
return "InvalidModeToGetSignal";
 
  894                case -10014: 
return "UnlicensedDevice";
 
  895                case -10015: 
return "InvalidSize";
 
  896                case -10016: 
return "InvalidLicenseResponse";
 
  897                case -10017: 
return "InvalidContext";
 
  898                case -10018: 
return "InternalError";
 
  899                case -10019: 
return "TaskIsBusy";
 
  900                case -10020: 
return "kDeviceResponseIncorrect";
 
  901                case -10021: 
return "kErrorPollingForDevices";
 
  902                case -10022: 
return "CouldNotRetrieveProFirmware";
 
  903                case -10023: 
return "CouldNotDecodeDeviceFirmware";
 
  904                case -10024: 
return "InvalidIDToFollow";
 
  906                    return "Could not find name";
 
  909            const char *GetDescription()
 const 
  913                case 0: 
return "No Error";
 
  914                case -101: 
return "InvalidDeviceSpec";
 
  915                case -102: 
return "EcuIsNotPresent";
 
  916                case -103: 
return "CouldNotEnterBl";
 
  917                case -104: 
return "CouldNotConfirmBl";
 
  918                case -105: 
return "CouldNotErase";
 
  919                case -106: 
return "CouldNotSendFlash";
 
  920                case -107: 
return "CouldNotValidate";
 
  921                case -108: 
return "CouldNotRunApp";
 
  922                case -109: 
return "CouldNotReqSetId";
 
  923                case -110: 
return "CouldNotConfirmId";
 
  924                case -111: 
return "FlashWasGood";
 
  925                case -112: 
return "AppTooOld";
 
  926                case -113: 
return "CouldNotReqSetDesc";
 
  927                case -114: 
return "CompileSzIsWrong";
 
  928                case -115: 
return "GadgeteerDeviceNoSetId";
 
  929                case -116: 
return "InvalidTask";
 
  930                case -117: 
return "Not Implemented, check latest installer.";
 
  931                case -118: 
return "NoDevicesOnBus";
 
  932                case -119: 
return "MoreThanOneFile";
 
  933                case -120: 
return "NodeIsInvalid";
 
  934                case -121: 
return "InvalidDeviceDescriptor";
 
  935                case -123: 
return "CouldNotSendCanFrame";
 
  936                case -124: 
return "NormalModeMsgNotPresent";
 
  937                case -125: 
return "This feature is not supported.";
 
  938                case -126: 
return "NotUpdating";
 
  939                case -127: 
return "CorruptedPOST";
 
  940                case -128: 
return "NoConfigs";
 
  941                case -129: 
return "ConfigFailed";
 
  942                case -130: 
return "CouldNotReqFactoryDefault";
 
  943                case -131: 
return "CustomNameNotSupported";
 
  944                case -132: 
return "ConfigReadWriteMismatch";
 
  945                case -133: 
return "CouldNotReqSetConfigs";
 
  946                case -134: 
return "InsufficientSz";
 
  947                case -135: 
return "InvalidModel";
 
  948                case -140: 
return "CouldNotReqDevInfo";
 
  949                case -141: 
return "NoControls";
 
  950                case -142: 
return "DeviceIsNull";
 
  951                case -143: 
return "DeviceDidNotRespondToDiagReq";
 
  952                case -144: 
return "OnlySupportedInTunerX";
 
  953                case -145: 
return "CanivCliError";
 
  954                case -200: 
return "InvalidCrfBadHeader";
 
  955                case -201: 
return "InvalidCrfFileSzInvald";
 
  956                case -202: 
return "InvalidCrfWrongProduct";
 
  957                case -203: 
return "InvalidCrfNoSects";
 
  958                case -204: 
return "InvalidCrfBadSectHeader";
 
  959                case -205: 
return "InvalidCrfBadSectSize";
 
  960                case -206: 
return "NoCrfFile";
 
  961                case -300: 
return "CouldNotFindDynamicId";
 
  962                case -301: 
return "DidNotGetDhcp";
 
  963                case -302: 
return "DidNotGetFullDhcp";
 
  964                case -350: 
return "InvalidLicenseResp";
 
  965                case -351: 
return "InvalidCanivCache";
 
  966                case -500: 
return "CannotOpenSerialPort";
 
  967                case -501: 
return "CannotWriteSerialPort";
 
  968                case -502: 
return "CannotReadSerialPort";
 
  969                case -503: 
return "CannotSerialToDevice";
 
  970                case -504: 
return "NoSerialControlFrameResp";
 
  971                case -600: 
return "CannotOpenUdpPort";
 
  972                case -601: 
return "CannotWriteUdpPort";
 
  973                case -602: 
return "CannotReadUdpPort";
 
  974                case -603: 
return "CannotUdpToDevice";
 
  975                case -604: 
return "NoUdpControlFrameResp";
 
  976                case -605: 
return "TimeoutIso15Response";
 
  977                case -700: 
return "InvalidJson";
 
  978                case -800: 
return "AppIsTerminating";
 
  979                case 1000: 
return "CAN Message is stale.";
 
  980                case 1006: 
return "Buffer is full, cannot insert more data.";
 
  981                case 1010: 
return "PulseWidthSensorNotPresent";
 
  982                case 1100: 
return "General Warning Occurred.";
 
  983                case 1103: 
return "Firm Vers could not be retrieved. Use Phoenix Tuner to check ID and firmware(CRF) version.";
 
  984                case 1104: 
return "This feature will be supported in a future update.";
 
  985                case 1105: 
return "The control mode is not valid for this function.";
 
  986                case 1106: 
return "This control mode is not supported yet.  A future release will supported this soon.";
 
  987                case 1109: 
return "Motor Controller must have >= 3.2 firmware for motion profile control mode.";
 
  988                case 1110: 
return "Motor Controller must have >= 3.4 firmware for advanced PID0/PID1 features.";
 
  989                case 1200: 
return "SimDeviceNotFound";
 
  990                case 1201: 
return "SimPhysicsTypeNotSupported";
 
  991                case 1202: 
return "SimDeviceAlreadyExists";
 
  992                case -1001: 
return "Could not transmit CAN Frame.";
 
  993                case -1002: 
return "Incorrect argument passed into function/VI.";
 
  994                case -1003: 
return "CAN frame not received/too-stale.";
 
  995                case -1004: 
return "CAN Transmit timed out.";
 
  996                case -1005: 
return "ArbID is incorrect.";
 
  997                case -1006: 
return "CanOverflowed";
 
  998                case -1007: 
return "Sensor Not Present.";
 
  999                case -1008: 
return "Firmware Too Old.  Use Phoenix Tuner to field upgrade your CTRE CAN device firmware(CRF).  Then restart your robot application to clear this error.";
 
 1000                case -1009: 
return "Control Frame Period could not be changed.  Most likely it is not being transmitted.";
 
 1001                case -1010: 
return "BufferFailure";
 
 1002                case -1011: 
return "Firmware is legacy non-FRC version.  Use Phoenix Tuner to field upgrade your CTRE CAN device firmware(CRF).  Firmware greater than 20.0 required.";
 
 1003                case -1100: 
return "General Error Occurred.";
 
 1004                case -1200: 
return "No new response to update signal.";
 
 1005                case -1201: 
return "NotAllPIDValuesUpdated";
 
 1006                case -1300: 
return "GEN_PORT_ERROR";
 
 1007                case -1301: 
return "PORT_MODULE_TYPE_MISMATCH";
 
 1008                case -1400: 
return "GEN_MODULE_ERROR";
 
 1009                case -1401: 
return "MODULE_NOT_INIT_SET_ERROR";
 
 1010                case -1402: 
return "MODULE_NOT_INIT_GET_ERROR";
 
 1011                case -1500: 
return "Wheel Radius is too small, cannot get distance traveled.";
 
 1012                case -1501: 
return "Ticks per revolution is 0, cannot get heading.";
 
 1013                case -1502: 
return "Distance between wheels is too small, cannot get heading.";
 
 1014                case -1503: 
return "GainsAreNotSet";
 
 1015                case -1504: 
return "Use RemoteLimitSwitchSource instead of LimitSwitchSource.";
 
 1016                case -1505: 
return "Motor Controller Voltage Compensation should not be used with setVoltage().  This causes compensation to happen twice.  Disable Voltage Compensation by calling enableVoltageCompensation(false) in order to use setVoltage().";
 
 1017                case -1506: 
return "CANdleAnimSlotOutOfBounds";
 
 1018                case -1600: 
return "IncompatibleMode";
 
 1019                case -1601: 
return "Handle passed into function is incorrect.";
 
 1020                case -1700: 
return "Features requires newer firmware version.";
 
 1021                case -1702: 
return "Config factory default features require firmware >=3.10.";
 
 1022                case -1703: 
return "Config Motion S Curve Strength features require firmware >=4.16.";
 
 1023                case -1704: 
return "Talon FX(Falcon 500) Firmware Too Old.  Use Phoenix Tuner to field upgrade your CTRE CAN device firmware(CRF) to >=20.3. Then restart your robot application to clear this error.";
 
 1024                case -1705: 
return "CANdleAnimationsRequireHigherFirm";
 
 1025                case -1800: 
return "LibraryCouldNotBeLoaded";
 
 1026                case -1801: 
return "MissingRoutineInLibrary";
 
 1027                case -1802: 
return "ResourceNotAvailable";
 
 1028                case -1900: 
return "Could not find music file specified, try specifying an absolute path.";
 
 1029                case -1901: 
return "Music file size is incorrect, could not parse correctly. Ensure you're using Tuner to generate file.";
 
 1030                case -1902: 
return "Music file version is too new, update Phoenix to utilize this file.";
 
 1031                case -1903: 
return "Music file is invalid. Ensure you're using Tuner to generate file.";
 
 1032                case -1904: 
return "An invalid orchestra action occurred. Ensure a music file is loaded.";
 
 1033                case -1905: 
return "This music file version is too old. Regenerate file using Tuner.";
 
 1034                case -1906: 
return "Music interrupted due to one of the instruments being commanded a different control mode. Press Play to resume music.";
 
 1035                case -1907: 
return "This device doesn't support MusicTone control mode.";
 
 1036                case -2000: 
return "kInvalidInterface";
 
 1037                case -2001: 
return "kInvalidGuid";
 
 1038                case -2002: 
return "kInvalidClass";
 
 1039                case -2003: 
return "kInvalidProtocol";
 
 1040                case -2004: 
return "kInvalidPath";
 
 1041                case -2005: 
return "kGeneralWinUsbError";
 
 1042                case -2006: 
return "kFailedSetup";
 
 1043                case -2007: 
return "kListenFailed";
 
 1044                case -2008: 
return "kSendFailed";
 
 1045                case -2009: 
return "kReceiveFailed";
 
 1046                case -2010: 
return "kInvalidRespFormat";
 
 1047                case -2011: 
return "kWinUsbInitFailed";
 
 1048                case -2012: 
return "kWinUsbQueryFailed";
 
 1049                case -2013: 
return "kWinUsbGeneralError";
 
 1050                case -2014: 
return "kAccessDenied";
 
 1051                case -2015: 
return "kFirmwareInvalidResponse";
 
 1052                case -10000: 
return "This StatusCode has not been initialized. Make sure the StatusCode is getting assigned to the return of a method.";
 
 1053                case 10000: 
return "WarningNotInitialized";
 
 1054                case 10001: 
return "The timestamp reported by CANivore is at least 10ms older than the timestamp reported by the system, indicating it's fallen out of sync. This does not impact the data of this message, only the timing.";
 
 1055                case -10001: 
return "InvalidNetwork";
 
 1056                case -10002: 
return "MultiSignalNotSupported";
 
 1057                case -10003: 
return "Could not cast from base value to this particular signal's type";
 
 1058                case -10004: 
return "Could not find this value when searching for it";
 
 1059                case -10005: 
return "This is not supported";
 
 1060                case -10006: 
return "Could not determine context from this device hash";
 
 1061                case -10007: 
return "Model name in license file does not match model name of selected device.";
 
 1062                case -10008: 
return "Serial Number in license file does not match model name of selected device.";
 
 1063                case -10009: 
return "Could not find specified file.";
 
 1064                case -10010: 
return "License did not successfully download to Device.";
 
 1065                case -10011: 
return "Self Test report does not have any values, is the firmware up to date?";
 
 1066                case -10012: 
return "Failed to lookup signal properties.  This can happen if the fimware is too new and supports signals that older APIs do not support.";
 
 1067                case -10013: 
return "The current mode of the device is invalid for getting this signal.";
 
 1068                case -10014: 
return "Device is not licensed. Cannot get any data from it.";
 
 1069                case -10015: 
return "Size is invalid.";
 
 1070                case -10016: 
return "InvalidLicenseResponse";
 
 1071                case -10017: 
return "InvalidContext";
 
 1072                case -10018: 
return "InternalError";
 
 1073                case -10019: 
return "TaskIsBusy";
 
 1074                case -10020: 
return "kDeviceResponseIncorrect";
 
 1075                case -10021: 
return "kErrorPollingForDevices";
 
 1076                case -10022: 
return "Device firmware could not be retrieved. Check that the device is running Pro firmware, that the device ID is correct, that the specified CAN bus is correct, and that the device is powered.";
 
 1077                case -10023: 
return "Device firmware could not be decoded. Check that the device is running Pro firmware, that the device ID is correct, that the specified CAN bus is correct, and that the device is powered.";
 
 1078                case -10024: 
return "The values specified for master are in valid.  Make sure the Device ID of master are correct.";
 
 1080                    return "Could not find description";
 
 1083            bool IsError()
 const { 
return value < 0; }
 
 1084            bool IsWarning()
 const { 
return value > 0; }
 
 1085            bool IsOK()
 const { 
return value == 
OK; }
 
enum _StatusCode_t StatusCode_t
Typedef enum of the StatusCode for use in C projects.
 
_StatusCode_t
Typedef enum of the StatusCode for use in C projects.
Definition: StatusCodes.h:1097
 
@ CouldNotRunApp
CouldNotRunApp.
Definition: StatusCodes.h:1133
 
@ CouldNotReqSetId
CouldNotReqSetId.
Definition: StatusCodes.h:1137
 
@ TalonFXFirmwarePreVBatDetect
Talon FX(Falcon 500) Firmware Too Old.
Definition: StatusCodes.h:1555
 
@ SimDeviceNotFound
SimDeviceNotFound.
Definition: StatusCodes.h:1409
 
@ InvalidContext
InvalidContext.
Definition: StatusCodes.h:1756
 
@ CanMessageStale
CAN Message is stale.
Definition: StatusCodes.h:1365
 
@ NoConfigs
NoConfigs.
Definition: StatusCodes.h:1209
 
@ IncompatibleMode
IncompatibleMode.
Definition: StatusCodes.h:1533
 
@ InvalidHandle
Handle passed into function is incorrect.
Definition: StatusCodes.h:1537
 
@ GainsAreNotSet
GainsAreNotSet.
Definition: StatusCodes.h:1514
 
@ MusicFileInvalid
Music file is invalid.
Definition: StatusCodes.h:1588
 
@ TicksPerRevZero
Ticks per revolution is 0, cannot get heading.
Definition: StatusCodes.h:1506
 
@ NotUpdating
NotUpdating.
Definition: StatusCodes.h:1201
 
@ MotProfFirmThreshold
Motor Controller must have >= 3.2 firmware for motion profile control mode.
Definition: StatusCodes.h:1400
 
@ AppIsTerminating
AppIsTerminating.
Definition: StatusCodes.h:1361
 
@ CannotSerialToDevice
CannotSerialToDevice.
Definition: StatusCodes.h:1325
 
@ MusicFileNotFound
Could not find music file specified, try specifying an absolute path.
Definition: StatusCodes.h:1575
 
@ ConfigReadWriteMismatch
ConfigReadWriteMismatch.
Definition: StatusCodes.h:1225
 
@ kWinUsbQueryFailed
kWinUsbQueryFailed
Definition: StatusCodes.h:1657
 
@ kAccessDenied
kAccessDenied
Definition: StatusCodes.h:1665
 
@ kInvalidPath
kInvalidPath
Definition: StatusCodes.h:1625
 
@ CouldNotReqSetConfigs
CouldNotReqSetConfigs.
Definition: StatusCodes.h:1229
 
@ WheelRadiusTooSmall
Wheel Radius is too small, cannot get distance traveled.
Definition: StatusCodes.h:1502
 
@ InvalidJson
InvalidJson.
Definition: StatusCodes.h:1357
 
@ CannotOpenUdpPort
CannotOpenUdpPort.
Definition: StatusCodes.h:1333
 
@ OK
No Error.
Definition: StatusCodes.h:1101
 
@ StatusCodeNotInitialized
This StatusCode has not been initialized.
Definition: StatusCodes.h:1674
 
@ CANdleAnimSlotOutOfBounds
CANdleAnimSlotOutOfBounds.
Definition: StatusCodes.h:1529
 
@ NoDevicesOnBus
NoDevicesOnBus.
Definition: StatusCodes.h:1173
 
@ MoreThanOneFile
MoreThanOneFile.
Definition: StatusCodes.h:1177
 
@ BufferFull
Buffer is full, cannot insert more data.
Definition: StatusCodes.h:1369
 
@ GadgeteerDeviceNoSetId
GadgeteerDeviceNoSetId.
Definition: StatusCodes.h:1161
 
@ DidNotGetFullDhcp
DidNotGetFullDhcp.
Definition: StatusCodes.h:1301
 
@ CANdleAnimationsRequireHigherFirm
CANdleAnimationsRequireHigherFirm.
Definition: StatusCodes.h:1559
 
@ InvalidLicenseResponse
InvalidLicenseResponse.
Definition: StatusCodes.h:1752
 
@ RxTimeout
CAN frame not received/too-stale.
Definition: StatusCodes.h:1429
 
@ MultiSignalNotSupported
MultiSignalNotSupported.
Definition: StatusCodes.h:1692
 
@ CannotReadUdpPort
CannotReadUdpPort.
Definition: StatusCodes.h:1341
 
@ CouldNotDecodeDeviceFirmware
Device firmware could not be decoded.
Definition: StatusCodes.h:1784
 
@ kErrorPollingForDevices
kErrorPollingForDevices
Definition: StatusCodes.h:1772
 
@ kDeviceResponseIncorrect
kDeviceResponseIncorrect
Definition: StatusCodes.h:1768
 
@ GEN_PORT_ERROR
GEN_PORT_ERROR.
Definition: StatusCodes.h:1482
 
@ TxFailed
Could not transmit CAN Frame.
Definition: StatusCodes.h:1421
 
@ InvalidCrfFileSzInvald
InvalidCrfFileSzInvald.
Definition: StatusCodes.h:1269
 
@ MODULE_NOT_INIT_GET_ERROR
MODULE_NOT_INIT_GET_ERROR.
Definition: StatusCodes.h:1498
 
@ LicenseDownloadFailed
License did not successfully download to Device.
Definition: StatusCodes.h:1726
 
@ NoControls
NoControls.
Definition: StatusCodes.h:1245
 
@ InvalidModel
InvalidModel.
Definition: StatusCodes.h:1237
 
@ kWinUsbInitFailed
kWinUsbInitFailed
Definition: StatusCodes.h:1653
 
@ ControlModeNotSupportedYet
This control mode is not supported yet.
Definition: StatusCodes.h:1395
 
@ kInvalidClass
kInvalidClass
Definition: StatusCodes.h:1617
 
@ CanOverflowed
CanOverflowed.
Definition: StatusCodes.h:1441
 
@ DidNotGetDhcp
DidNotGetDhcp.
Definition: StatusCodes.h:1297
 
@ InvalidOrchestraAction
An invalid orchestra action occurred.
Definition: StatusCodes.h:1592
 
@ kInvalidRespFormat
kInvalidRespFormat
Definition: StatusCodes.h:1649
 
@ DeviceDidNotRespondToDiagReq
DeviceDidNotRespondToDiagReq.
Definition: StatusCodes.h:1253
 
@ CannotWriteUdpPort
CannotWriteUdpPort.
Definition: StatusCodes.h:1337
 
@ NoFile
Could not find specified file.
Definition: StatusCodes.h:1722
 
@ ControlModeNotValid
The control mode is not valid for this function.
Definition: StatusCodes.h:1390
 
@ NormalModeMsgNotPresent
NormalModeMsgNotPresent.
Definition: StatusCodes.h:1193
 
@ UnexpectedArbId
ArbID is incorrect.
Definition: StatusCodes.h:1437
 
@ DistanceBetweenWheelsTooSmall
Distance between wheels is too small, cannot get heading.
Definition: StatusCodes.h:1510
 
@ HwTimestampOutOfSync
The timestamp reported by CANivore is at least 10ms older than the timestamp reported by the system,...
Definition: StatusCodes.h:1684
 
@ MusicFileWrongSize
Music file size is incorrect, could not parse correctly.
Definition: StatusCodes.h:1580
 
@ CouldNotChangePeriod
Control Frame Period could not be changed.
Definition: StatusCodes.h:1456
 
@ FeaturesNotAvailableYet
This feature will be supported in a future update.
Definition: StatusCodes.h:1386
 
@ InvalidLicenseResp
InvalidLicenseResp.
Definition: StatusCodes.h:1305
 
@ kListenFailed
kListenFailed
Definition: StatusCodes.h:1637
 
@ MusicFileTooNew
Music file version is too new, update Phoenix to utilize this file.
Definition: StatusCodes.h:1584
 
@ FirmVersionCouldNotBeRetrieved
Firm Vers could not be retrieved.
Definition: StatusCodes.h:1382
 
@ CompileSzIsWrong
CompileSzIsWrong.
Definition: StatusCodes.h:1157
 
@ InvalidTask
InvalidTask.
Definition: StatusCodes.h:1165
 
@ NotFound
Could not find this value when searching for it.
Definition: StatusCodes.h:1700
 
@ CouldNotCast
Could not cast from base value to this particular signal's type.
Definition: StatusCodes.h:1696
 
@ DeviceIsNull
DeviceIsNull.
Definition: StatusCodes.h:1249
 
@ InvalidCanivCache
InvalidCanivCache.
Definition: StatusCodes.h:1309
 
@ WrongRemoteLimitSwitchSource
Use RemoteLimitSwitchSource instead of LimitSwitchSource.
Definition: StatusCodes.h:1518
 
@ InvalidModeToGetSignal
The current mode of the device is invalid for getting this signal.
Definition: StatusCodes.h:1740
 
@ CouldNotEnterBl
CouldNotEnterBl.
Definition: StatusCodes.h:1113
 
@ MusicFileTooOld
This music file version is too old.
Definition: StatusCodes.h:1596
 
@ CannotUdpToDevice
CannotUdpToDevice.
Definition: StatusCodes.h:1345
 
@ CorruptedPOST
CorruptedPOST.
Definition: StatusCodes.h:1205
 
@ kInvalidInterface
kInvalidInterface
Definition: StatusCodes.h:1609
 
@ MissingContext
Could not determine context from this device hash.
Definition: StatusCodes.h:1708
 
@ CouldNotRetrieveProFirmware
Device firmware could not be retrieved.
Definition: StatusCodes.h:1778
 
@ InvalidNetwork
InvalidNetwork.
Definition: StatusCodes.h:1688
 
@ ResourceNotAvailable
ResourceNotAvailable.
Definition: StatusCodes.h:1571
 
@ InvalidCrfNoSects
InvalidCrfNoSects.
Definition: StatusCodes.h:1277
 
@ CouldNotReqDevInfo
CouldNotReqDevInfo.
Definition: StatusCodes.h:1241
 
@ InvalidCrfBadSectHeader
InvalidCrfBadSectHeader.
Definition: StatusCodes.h:1281
 
@ kFirmwareInvalidResponse
kFirmwareInvalidResponse
Definition: StatusCodes.h:1669
 
@ CanivCliError
CanivCliError.
Definition: StatusCodes.h:1261
 
@ GeneralError
General Error Occurred.
Definition: StatusCodes.h:1470
 
@ kGeneralWinUsbError
kGeneralWinUsbError
Definition: StatusCodes.h:1629
 
@ SimPhysicsTypeNotSupported
SimPhysicsTypeNotSupported.
Definition: StatusCodes.h:1413
 
@ CannotWriteSerialPort
CannotWriteSerialPort.
Definition: StatusCodes.h:1317
 
@ GEN_MODULE_ERROR
GEN_MODULE_ERROR.
Definition: StatusCodes.h:1490
 
@ SignalLookupFailed
Failed to lookup signal properties.
Definition: StatusCodes.h:1736
 
@ kWinUsbGeneralError
kWinUsbGeneralError
Definition: StatusCodes.h:1661
 
@ InvalidSize
Size is invalid.
Definition: StatusCodes.h:1748
 
@ NoCrfFile
NoCrfFile.
Definition: StatusCodes.h:1289
 
@ InsufficientSz
InsufficientSz.
Definition: StatusCodes.h:1233
 
@ AppTooOld
AppTooOld.
Definition: StatusCodes.h:1149
 
@ GeneralWarning
General Warning Occurred.
Definition: StatusCodes.h:1377
 
@ UnlicensedDevice
Device is not licensed.
Definition: StatusCodes.h:1744
 
@ kFailedSetup
kFailedSetup
Definition: StatusCodes.h:1633
 
@ CouldNotSendCanFrame
CouldNotSendCanFrame.
Definition: StatusCodes.h:1189
 
@ InvalidCrfWrongProduct
InvalidCrfWrongProduct.
Definition: StatusCodes.h:1273
 
@ LibraryCouldNotBeLoaded
LibraryCouldNotBeLoaded.
Definition: StatusCodes.h:1563
 
@ PulseWidthSensorNotPresent
PulseWidthSensorNotPresent.
Definition: StatusCodes.h:1373
 
@ FeatureRequiresHigherFirm
Features requires newer firmware version.
Definition: StatusCodes.h:1541
 
@ CouldNotReqSetDesc
CouldNotReqSetDesc.
Definition: StatusCodes.h:1153
 
@ FirmwareNonFRC
Firmware is legacy non-FRC version.
Definition: StatusCodes.h:1466
 
@ NoUdpControlFrameResp
NoUdpControlFrameResp.
Definition: StatusCodes.h:1349
 
@ MusicNotSupported
This device doesn't support MusicTone control mode.
Definition: StatusCodes.h:1605
 
@ InvalidCrfBadHeader
InvalidCrfBadHeader.
Definition: StatusCodes.h:1265
 
@ CouldNotSendFlash
CouldNotSendFlash.
Definition: StatusCodes.h:1125
 
@ kSendFailed
kSendFailed
Definition: StatusCodes.h:1641
 
@ TxTimeout
CAN Transmit timed out.
Definition: StatusCodes.h:1433
 
@ InvalidParamValue
Incorrect argument passed into function/VI.
Definition: StatusCodes.h:1425
 
@ MusicInterrupted
Music interrupted due to one of the instruments being commanded a different control mode.
Definition: StatusCodes.h:1601
 
@ InvalidCrfBadSectSize
InvalidCrfBadSectSize.
Definition: StatusCodes.h:1285
 
@ PORT_MODULE_TYPE_MISMATCH
PORT_MODULE_TYPE_MISMATCH.
Definition: StatusCodes.h:1486
 
@ WarningNotInitialized
WarningNotInitialized.
Definition: StatusCodes.h:1678
 
@ kReceiveFailed
kReceiveFailed
Definition: StatusCodes.h:1645
 
@ SensorNotPresent
Sensor Not Present.
Definition: StatusCodes.h:1445
 
@ SimDeviceAlreadyExists
SimDeviceAlreadyExists.
Definition: StatusCodes.h:1417
 
@ NotImplemented
Not Implemented, check latest installer.
Definition: StatusCodes.h:1169
 
@ ConfigMotionSCurveRequiresHigherFirm
Config Motion S Curve Strength features require firmware >=4.16.
Definition: StatusCodes.h:1549
 
@ CouldNotConfirmBl
CouldNotConfirmBl.
Definition: StatusCodes.h:1117
 
@ CouldNotFindDynamicId
CouldNotFindDynamicId.
Definition: StatusCodes.h:1293
 
@ kInvalidProtocol
kInvalidProtocol
Definition: StatusCodes.h:1621
 
@ TimeoutIso15Response
TimeoutIso15Response.
Definition: StatusCodes.h:1353
 
@ CannotReadSerialPort
CannotReadSerialPort.
Definition: StatusCodes.h:1321
 
@ CouldNotConfirmId
CouldNotConfirmId.
Definition: StatusCodes.h:1141
 
@ FirmwareTooOld
Firmware Too Old.
Definition: StatusCodes.h:1451
 
@ CouldNotValidate
CouldNotValidate.
Definition: StatusCodes.h:1129
 
@ InvalidDeviceDescriptor
InvalidDeviceDescriptor.
Definition: StatusCodes.h:1185
 
@ EcuIsNotPresent
EcuIsNotPresent.
Definition: StatusCodes.h:1109
 
@ InvalidDeviceSpec
InvalidDeviceSpec.
Definition: StatusCodes.h:1105
 
@ NotSupported
This is not supported.
Definition: StatusCodes.h:1704
 
@ NoSerialControlFrameResp
NoSerialControlFrameResp.
Definition: StatusCodes.h:1329
 
@ ConfigFactoryDefaultRequiresHigherFirm
Config factory default features require firmware >=3.10.
Definition: StatusCodes.h:1545
 
@ MODULE_NOT_INIT_SET_ERROR
MODULE_NOT_INIT_SET_ERROR.
Definition: StatusCodes.h:1494
 
@ CouldNotReqFactoryDefault
CouldNotReqFactoryDefault.
Definition: StatusCodes.h:1217
 
@ SelfTestIsEmpty
Self Test report does not have any values, is the firmware up to date?
Definition: StatusCodes.h:1731
 
@ ConfigFailed
ConfigFailed.
Definition: StatusCodes.h:1213
 
@ TaskIsBusy
TaskIsBusy.
Definition: StatusCodes.h:1764
 
@ DoubleVoltageCompensatingWPI
Motor Controller Voltage Compensation should not be used with setVoltage().
Definition: StatusCodes.h:1525
 
@ SigNotUpdated
No new response to update signal.
Definition: StatusCodes.h:1474
 
@ NodeIsInvalid
NodeIsInvalid.
Definition: StatusCodes.h:1181
 
@ FeatureNotSupported
This feature is not supported.
Definition: StatusCodes.h:1197
 
@ InvalidIDToFollow
The values specified for master are in valid.
Definition: StatusCodes.h:1789
 
@ CustomNameNotSupported
CustomNameNotSupported.
Definition: StatusCodes.h:1221
 
@ OnlySupportedInTunerX
OnlySupportedInTunerX.
Definition: StatusCodes.h:1257
 
@ FlashWasGood
FlashWasGood.
Definition: StatusCodes.h:1145
 
@ InternalError
InternalError.
Definition: StatusCodes.h:1760
 
@ ModelMismatch
Model name in license file does not match model name of selected device.
Definition: StatusCodes.h:1713
 
@ CouldNotErase
CouldNotErase.
Definition: StatusCodes.h:1121
 
@ NotAllPIDValuesUpdated
NotAllPIDValuesUpdated.
Definition: StatusCodes.h:1478
 
@ MotProfFirmThreshold2
Motor Controller must have >= 3.4 firmware for advanced PID0/PID1 features.
Definition: StatusCodes.h:1405
 
@ CannotOpenSerialPort
CannotOpenSerialPort.
Definition: StatusCodes.h:1313
 
@ BufferFailure
BufferFailure.
Definition: StatusCodes.h:1460
 
@ kInvalidGuid
kInvalidGuid
Definition: StatusCodes.h:1613
 
@ MissingRoutineInLibrary
MissingRoutineInLibrary.
Definition: StatusCodes.h:1567
 
@ SerialMismatch
Serial Number in license file does not match model name of selected device.
Definition: StatusCodes.h:1718
 
const char * GetStatusCodeName(StatusCode_t value)
Get the name of the StatusCode passed.
 
const char * GetStatusCodeDescription(StatusCode_t value)
Get the description of the StatusCode passed.
 
Definition: string_util.hpp:14