24 static constexpr int OK = 0;
344 static constexpr int TxFailed = -1001;
623 static constexpr int NotFound = -10004;
645 static constexpr int NoFile = -10009;
725 operator int()
const {
return this->value; }
727 bool operator==(
const StatusCode &data)
const
729 return this->value == data.value;
731 bool operator==(
int data)
const
733 return this->value == data;
735 bool operator<(
const StatusCode &data)
const
737 return this->value < data.value;
739 bool operator<(
int data)
const
741 return this->value < data;
743 StatusCode(
int val) : value{val} {}
746 const char *GetName()
const
751 case -101:
return "InvalidDeviceSpec";
752 case -102:
return "EcuIsNotPresent";
753 case -103:
return "CouldNotEnterBl";
754 case -104:
return "CouldNotConfirmBl";
755 case -105:
return "CouldNotErase";
756 case -106:
return "CouldNotSendFlash";
757 case -107:
return "CouldNotValidate";
758 case -108:
return "CouldNotRunApp";
759 case -109:
return "CouldNotReqSetId";
760 case -110:
return "CouldNotConfirmId";
761 case -111:
return "FlashWasGood";
762 case -112:
return "AppTooOld";
763 case -113:
return "CouldNotReqSetDesc";
764 case -114:
return "CompileSzIsWrong";
765 case -115:
return "GadgeteerDeviceNoSetId";
766 case -116:
return "InvalidTask";
767 case -117:
return "NotImplemented";
768 case -118:
return "NoDevicesOnBus";
769 case -119:
return "MoreThanOneFile";
770 case -120:
return "NodeIsInvalid";
771 case -121:
return "InvalidDeviceDescriptor";
772 case -123:
return "CouldNotSendCanFrame";
773 case -124:
return "NormalModeMsgNotPresent";
774 case -125:
return "FeatureNotSupported";
775 case -126:
return "NotUpdating";
776 case -127:
return "CorruptedPOST";
777 case -128:
return "NoConfigs";
778 case -129:
return "ConfigFailed";
779 case -130:
return "CouldNotReqFactoryDefault";
780 case -131:
return "CustomNameNotSupported";
781 case -132:
return "ConfigReadWriteMismatch";
782 case -133:
return "CouldNotReqSetConfigs";
783 case -134:
return "InsufficientSz";
784 case -135:
return "InvalidModel";
785 case -140:
return "CouldNotReqDevInfo";
786 case -141:
return "NoControls";
787 case -142:
return "DeviceIsNull";
788 case -143:
return "DeviceDidNotRespondToDiagReq";
789 case -144:
return "OnlySupportedInTunerX";
790 case -145:
return "CanivCliError";
791 case -200:
return "InvalidCrfBadHeader";
792 case -201:
return "InvalidCrfFileSzInvald";
793 case -202:
return "InvalidCrfWrongProduct";
794 case -203:
return "InvalidCrfNoSects";
795 case -204:
return "InvalidCrfBadSectHeader";
796 case -205:
return "InvalidCrfBadSectSize";
797 case -206:
return "NoCrfFile";
798 case -300:
return "CouldNotFindDynamicId";
799 case -301:
return "DidNotGetDhcp";
800 case -302:
return "DidNotGetFullDhcp";
801 case -350:
return "InvalidLicenseResp";
802 case -351:
return "InvalidCanivCache";
803 case -500:
return "CannotOpenSerialPort";
804 case -501:
return "CannotWriteSerialPort";
805 case -502:
return "CannotReadSerialPort";
806 case -503:
return "CannotSerialToDevice";
807 case -504:
return "NoSerialControlFrameResp";
808 case -600:
return "CannotOpenUdpPort";
809 case -601:
return "CannotWriteUdpPort";
810 case -602:
return "CannotReadUdpPort";
811 case -603:
return "CannotUdpToDevice";
812 case -604:
return "NoUdpControlFrameResp";
813 case -605:
return "TimeoutIso15Response";
814 case -700:
return "InvalidJson";
815 case -800:
return "AppIsTerminating";
816 case 1000:
return "CanMessageStale";
817 case 1006:
return "BufferFull";
818 case 1010:
return "PulseWidthSensorNotPresent";
819 case 1100:
return "GeneralWarning";
820 case 1103:
return "FirmVersionCouldNotBeRetrieved";
821 case 1104:
return "FeaturesNotAvailableYet";
822 case 1105:
return "ControlModeNotValid";
823 case 1106:
return "ControlModeNotSupportedYet";
824 case 1109:
return "MotProfFirmThreshold";
825 case 1110:
return "MotProfFirmThreshold2";
826 case 1200:
return "SimDeviceNotFound";
827 case 1201:
return "SimPhysicsTypeNotSupported";
828 case 1202:
return "SimDeviceAlreadyExists";
829 case -1001:
return "TxFailed";
830 case -1002:
return "InvalidParamValue";
831 case -1003:
return "RxTimeout";
832 case -1004:
return "TxTimeout";
833 case -1005:
return "UnexpectedArbId";
834 case -1006:
return "CanOverflowed";
835 case -1007:
return "SensorNotPresent";
836 case -1008:
return "FirmwareTooOld";
837 case -1009:
return "CouldNotChangePeriod";
838 case -1010:
return "BufferFailure";
839 case -1011:
return "FirmwareNonFRC";
840 case -1100:
return "GeneralError";
841 case -1200:
return "SigNotUpdated";
842 case -1201:
return "NotAllPIDValuesUpdated";
843 case -1300:
return "GEN_PORT_ERROR";
844 case -1301:
return "PORT_MODULE_TYPE_MISMATCH";
845 case -1400:
return "GEN_MODULE_ERROR";
846 case -1401:
return "MODULE_NOT_INIT_SET_ERROR";
847 case -1402:
return "MODULE_NOT_INIT_GET_ERROR";
848 case -1500:
return "WheelRadiusTooSmall";
849 case -1501:
return "TicksPerRevZero";
850 case -1502:
return "DistanceBetweenWheelsTooSmall";
851 case -1503:
return "GainsAreNotSet";
852 case -1504:
return "WrongRemoteLimitSwitchSource";
853 case -1505:
return "DoubleVoltageCompensatingWPI";
854 case -1506:
return "CANdleAnimSlotOutOfBounds";
855 case -1600:
return "IncompatibleMode";
856 case -1601:
return "InvalidHandle";
857 case -1700:
return "FeatureRequiresHigherFirm";
858 case -1702:
return "ConfigFactoryDefaultRequiresHigherFirm";
859 case -1703:
return "ConfigMotionSCurveRequiresHigherFirm";
860 case -1704:
return "TalonFXFirmwarePreVBatDetect";
861 case -1705:
return "CANdleAnimationsRequireHigherFirm";
862 case -1800:
return "LibraryCouldNotBeLoaded";
863 case -1801:
return "MissingRoutineInLibrary";
864 case -1802:
return "ResourceNotAvailable";
865 case -1900:
return "MusicFileNotFound";
866 case -1901:
return "MusicFileWrongSize";
867 case -1902:
return "MusicFileTooNew";
868 case -1903:
return "MusicFileInvalid";
869 case -1904:
return "InvalidOrchestraAction";
870 case -1905:
return "MusicFileTooOld";
871 case -1906:
return "MusicInterrupted";
872 case -1907:
return "MusicNotSupported";
873 case -2000:
return "kInvalidInterface";
874 case -2001:
return "kInvalidGuid";
875 case -2002:
return "kInvalidClass";
876 case -2003:
return "kInvalidProtocol";
877 case -2004:
return "kInvalidPath";
878 case -2005:
return "kGeneralWinUsbError";
879 case -2006:
return "kFailedSetup";
880 case -2007:
return "kListenFailed";
881 case -2008:
return "kSendFailed";
882 case -2009:
return "kReceiveFailed";
883 case -2010:
return "kInvalidRespFormat";
884 case -2011:
return "kWinUsbInitFailed";
885 case -2012:
return "kWinUsbQueryFailed";
886 case -2013:
return "kWinUsbGeneralError";
887 case -2014:
return "kAccessDenied";
888 case -2015:
return "kFirmwareInvalidResponse";
889 case -10000:
return "StatusCodeNotInitialized";
890 case 10000:
return "WarningNotInitialized";
891 case 10001:
return "HwTimestampOutOfSync";
892 case -10001:
return "InvalidNetwork";
893 case -10002:
return "MultiSignalNotSupported";
894 case -10003:
return "CouldNotCast";
895 case -10004:
return "NotFound";
896 case -10005:
return "NotSupported";
897 case -10006:
return "MissingContext";
898 case -10007:
return "ModelMismatch";
899 case -10008:
return "SerialMismatch";
900 case -10009:
return "NoFile";
901 case -10010:
return "LicenseDownloadFailed";
902 case -10011:
return "SelfTestIsEmpty";
903 case -10012:
return "SignalLookupFailed";
904 case -10013:
return "InvalidModeToGetSignal";
905 case -10014:
return "UnlicensedDevice";
906 case -10015:
return "InvalidSize";
907 case -10016:
return "InvalidLicenseResponse";
908 case -10017:
return "InvalidContext";
909 case -10018:
return "InternalError";
910 case -10019:
return "TaskIsBusy";
911 case -10020:
return "kDeviceResponseIncorrect";
912 case -10021:
return "kErrorPollingForDevices";
913 case -10022:
return "CouldNotRetrieveProFirmware";
914 case -10023:
return "CouldNotDecodeDeviceFirmware";
915 case -10024:
return "InvalidIDToFollow";
916 case -10025:
return "UsingProFeatureOnUnlicensedDevice";
917 case -10026:
return "FirmwareTooNew";
919 return "Could not find name";
922 const char *GetDescription()
const
926 case 0:
return "No Error";
927 case -101:
return "InvalidDeviceSpec";
928 case -102:
return "EcuIsNotPresent";
929 case -103:
return "CouldNotEnterBl";
930 case -104:
return "CouldNotConfirmBl";
931 case -105:
return "CouldNotErase";
932 case -106:
return "CouldNotSendFlash";
933 case -107:
return "CouldNotValidate";
934 case -108:
return "CouldNotRunApp";
935 case -109:
return "CouldNotReqSetId";
936 case -110:
return "CouldNotConfirmId";
937 case -111:
return "FlashWasGood";
938 case -112:
return "AppTooOld";
939 case -113:
return "CouldNotReqSetDesc";
940 case -114:
return "CompileSzIsWrong";
941 case -115:
return "GadgeteerDeviceNoSetId";
942 case -116:
return "InvalidTask";
943 case -117:
return "Not Implemented, check latest installer.";
944 case -118:
return "NoDevicesOnBus";
945 case -119:
return "MoreThanOneFile";
946 case -120:
return "NodeIsInvalid";
947 case -121:
return "InvalidDeviceDescriptor";
948 case -123:
return "CouldNotSendCanFrame";
949 case -124:
return "NormalModeMsgNotPresent";
950 case -125:
return "This feature is not supported.";
951 case -126:
return "NotUpdating";
952 case -127:
return "CorruptedPOST";
953 case -128:
return "NoConfigs";
954 case -129:
return "ConfigFailed";
955 case -130:
return "CouldNotReqFactoryDefault";
956 case -131:
return "CustomNameNotSupported";
957 case -132:
return "ConfigReadWriteMismatch";
958 case -133:
return "CouldNotReqSetConfigs";
959 case -134:
return "InsufficientSz";
960 case -135:
return "InvalidModel";
961 case -140:
return "CouldNotReqDevInfo";
962 case -141:
return "NoControls";
963 case -142:
return "DeviceIsNull";
964 case -143:
return "DeviceDidNotRespondToDiagReq";
965 case -144:
return "OnlySupportedInTunerX";
966 case -145:
return "CanivCliError";
967 case -200:
return "InvalidCrfBadHeader";
968 case -201:
return "InvalidCrfFileSzInvald";
969 case -202:
return "InvalidCrfWrongProduct";
970 case -203:
return "InvalidCrfNoSects";
971 case -204:
return "InvalidCrfBadSectHeader";
972 case -205:
return "InvalidCrfBadSectSize";
973 case -206:
return "NoCrfFile";
974 case -300:
return "CouldNotFindDynamicId";
975 case -301:
return "DidNotGetDhcp";
976 case -302:
return "DidNotGetFullDhcp";
977 case -350:
return "InvalidLicenseResp";
978 case -351:
return "InvalidCanivCache";
979 case -500:
return "CannotOpenSerialPort";
980 case -501:
return "CannotWriteSerialPort";
981 case -502:
return "CannotReadSerialPort";
982 case -503:
return "CannotSerialToDevice";
983 case -504:
return "NoSerialControlFrameResp";
984 case -600:
return "CannotOpenUdpPort";
985 case -601:
return "CannotWriteUdpPort";
986 case -602:
return "CannotReadUdpPort";
987 case -603:
return "CannotUdpToDevice";
988 case -604:
return "NoUdpControlFrameResp";
989 case -605:
return "TimeoutIso15Response";
990 case -700:
return "InvalidJson";
991 case -800:
return "AppIsTerminating";
992 case 1000:
return "CAN Message is stale.";
993 case 1006:
return "Buffer is full, cannot insert more data.";
994 case 1010:
return "PulseWidthSensorNotPresent";
995 case 1100:
return "General Warning Occurred.";
996 case 1103:
return "Firm Vers could not be retrieved. Use Phoenix Tuner to check ID and firmware(CRF) version.";
997 case 1104:
return "This feature will be supported in a future update.";
998 case 1105:
return "The control mode is not valid for this function.";
999 case 1106:
return "This control mode is not supported yet. A future release will supported this soon.";
1000 case 1109:
return "Motor Controller must have >= 3.2 firmware for motion profile control mode.";
1001 case 1110:
return "Motor Controller must have >= 3.4 firmware for advanced PID0/PID1 features.";
1002 case 1200:
return "SimDeviceNotFound";
1003 case 1201:
return "SimPhysicsTypeNotSupported";
1004 case 1202:
return "SimDeviceAlreadyExists";
1005 case -1001:
return "Could not transmit CAN Frame.";
1006 case -1002:
return "Incorrect argument passed into function/VI.";
1007 case -1003:
return "CAN frame not received/too-stale.";
1008 case -1004:
return "CAN Transmit timed out.";
1009 case -1005:
return "ArbID is incorrect.";
1010 case -1006:
return "CanOverflowed";
1011 case -1007:
return "Sensor Not Present.";
1012 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.";
1013 case -1009:
return "Control Frame Period could not be changed. Most likely it is not being transmitted.";
1014 case -1010:
return "BufferFailure";
1015 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.";
1016 case -1100:
return "General Error Occurred.";
1017 case -1200:
return "No new response to update signal.";
1018 case -1201:
return "NotAllPIDValuesUpdated";
1019 case -1300:
return "GEN_PORT_ERROR";
1020 case -1301:
return "PORT_MODULE_TYPE_MISMATCH";
1021 case -1400:
return "GEN_MODULE_ERROR";
1022 case -1401:
return "MODULE_NOT_INIT_SET_ERROR";
1023 case -1402:
return "MODULE_NOT_INIT_GET_ERROR";
1024 case -1500:
return "Wheel Radius is too small, cannot get distance traveled.";
1025 case -1501:
return "Ticks per revolution is 0, cannot get heading.";
1026 case -1502:
return "Distance between wheels is too small, cannot get heading.";
1027 case -1503:
return "GainsAreNotSet";
1028 case -1504:
return "Use RemoteLimitSwitchSource instead of LimitSwitchSource.";
1029 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().";
1030 case -1506:
return "CANdleAnimSlotOutOfBounds";
1031 case -1600:
return "IncompatibleMode";
1032 case -1601:
return "Handle passed into function is incorrect.";
1033 case -1700:
return "Features requires newer firmware version.";
1034 case -1702:
return "Config factory default features require firmware >=3.10.";
1035 case -1703:
return "Config Motion S Curve Strength features require firmware >=4.16.";
1036 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.";
1037 case -1705:
return "CANdleAnimationsRequireHigherFirm";
1038 case -1800:
return "LibraryCouldNotBeLoaded";
1039 case -1801:
return "MissingRoutineInLibrary";
1040 case -1802:
return "ResourceNotAvailable";
1041 case -1900:
return "Could not find music file specified, try specifying an absolute path.";
1042 case -1901:
return "Music file size is incorrect, could not parse correctly. Ensure you're using Tuner to generate file.";
1043 case -1902:
return "Music file version is too new, update Phoenix to utilize this file.";
1044 case -1903:
return "Music file is invalid. Ensure you're using Tuner to generate file.";
1045 case -1904:
return "An invalid orchestra action occurred. Ensure a music file is loaded.";
1046 case -1905:
return "This music file version is too old. Regenerate file using Tuner.";
1047 case -1906:
return "Music interrupted due to one of the instruments being commanded a different control mode. Press Play to resume music.";
1048 case -1907:
return "This device doesn't support MusicTone control mode.";
1049 case -2000:
return "kInvalidInterface";
1050 case -2001:
return "kInvalidGuid";
1051 case -2002:
return "kInvalidClass";
1052 case -2003:
return "kInvalidProtocol";
1053 case -2004:
return "kInvalidPath";
1054 case -2005:
return "kGeneralWinUsbError";
1055 case -2006:
return "kFailedSetup";
1056 case -2007:
return "kListenFailed";
1057 case -2008:
return "kSendFailed";
1058 case -2009:
return "kReceiveFailed";
1059 case -2010:
return "kInvalidRespFormat";
1060 case -2011:
return "kWinUsbInitFailed";
1061 case -2012:
return "kWinUsbQueryFailed";
1062 case -2013:
return "kWinUsbGeneralError";
1063 case -2014:
return "kAccessDenied";
1064 case -2015:
return "kFirmwareInvalidResponse";
1065 case -10000:
return "This StatusCode has not been initialized. Make sure the StatusCode is getting assigned to the return of a method.";
1066 case 10000:
return "WarningNotInitialized";
1067 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.";
1068 case -10001:
return "InvalidNetwork";
1069 case -10002:
return "The CAN bus does not support multi-signal synchronization.";
1070 case -10003:
return "Could not cast from base value to this particular signal's type";
1071 case -10004:
return "Could not find this value when searching for it";
1072 case -10005:
return "This is not supported";
1073 case -10006:
return "Could not determine context from this device hash";
1074 case -10007:
return "Model name in license file does not match model name of selected device.";
1075 case -10008:
return "Serial Number in license file does not match model name of selected device.";
1076 case -10009:
return "Could not find specified file.";
1077 case -10010:
return "License did not successfully download to Device.";
1078 case -10011:
return "Self Test report does not have any values, is the firmware up to date?";
1079 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.";
1080 case -10013:
return "The current mode of the device is invalid for getting this signal.";
1081 case -10014:
return "Device is not licensed. Cannot get any data from it.";
1082 case -10015:
return "Size is invalid.";
1083 case -10016:
return "InvalidLicenseResponse";
1084 case -10017:
return "InvalidContext";
1085 case -10018:
return "InternalError";
1086 case -10019:
return "TaskIsBusy";
1087 case -10020:
return "kDeviceResponseIncorrect";
1088 case -10021:
return "kErrorPollingForDevices";
1089 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.";
1090 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.";
1091 case -10024:
return "The values specified for master are in valid. Make sure the Device ID of master are correct.";
1092 case -10025:
return "Using a Pro only feature on an unlicensed device. The device may not behave as expected if it continues to operate while unlicensed.";
1093 case -10026:
return "Firmware Too New. Use Phoenix Tuner to field upgrade your CTRE CAN device firmware(CRF) to a compatible version. Then restart your robot application to clear this error.";
1095 return "Could not find description";
1098 bool IsError()
const {
return value < 0; }
1099 bool IsWarning()
const {
return value > 0; }
1100 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:1112
@ CouldNotRunApp
CouldNotRunApp.
Definition: StatusCodes.h:1148
@ CouldNotReqSetId
CouldNotReqSetId.
Definition: StatusCodes.h:1152
@ TalonFXFirmwarePreVBatDetect
Talon FX(Falcon 500) Firmware Too Old.
Definition: StatusCodes.h:1570
@ SimDeviceNotFound
SimDeviceNotFound.
Definition: StatusCodes.h:1424
@ InvalidContext
InvalidContext.
Definition: StatusCodes.h:1771
@ CanMessageStale
CAN Message is stale.
Definition: StatusCodes.h:1380
@ NoConfigs
NoConfigs.
Definition: StatusCodes.h:1224
@ IncompatibleMode
IncompatibleMode.
Definition: StatusCodes.h:1548
@ InvalidHandle
Handle passed into function is incorrect.
Definition: StatusCodes.h:1552
@ GainsAreNotSet
GainsAreNotSet.
Definition: StatusCodes.h:1529
@ MusicFileInvalid
Music file is invalid.
Definition: StatusCodes.h:1603
@ TicksPerRevZero
Ticks per revolution is 0, cannot get heading.
Definition: StatusCodes.h:1521
@ NotUpdating
NotUpdating.
Definition: StatusCodes.h:1216
@ MotProfFirmThreshold
Motor Controller must have >= 3.2 firmware for motion profile control mode.
Definition: StatusCodes.h:1415
@ AppIsTerminating
AppIsTerminating.
Definition: StatusCodes.h:1376
@ CannotSerialToDevice
CannotSerialToDevice.
Definition: StatusCodes.h:1340
@ MusicFileNotFound
Could not find music file specified, try specifying an absolute path.
Definition: StatusCodes.h:1590
@ ConfigReadWriteMismatch
ConfigReadWriteMismatch.
Definition: StatusCodes.h:1240
@ kWinUsbQueryFailed
kWinUsbQueryFailed
Definition: StatusCodes.h:1672
@ kAccessDenied
kAccessDenied
Definition: StatusCodes.h:1680
@ kInvalidPath
kInvalidPath
Definition: StatusCodes.h:1640
@ CouldNotReqSetConfigs
CouldNotReqSetConfigs.
Definition: StatusCodes.h:1244
@ WheelRadiusTooSmall
Wheel Radius is too small, cannot get distance traveled.
Definition: StatusCodes.h:1517
@ InvalidJson
InvalidJson.
Definition: StatusCodes.h:1372
@ CannotOpenUdpPort
CannotOpenUdpPort.
Definition: StatusCodes.h:1348
@ OK
No Error.
Definition: StatusCodes.h:1116
@ StatusCodeNotInitialized
This StatusCode has not been initialized.
Definition: StatusCodes.h:1689
@ CANdleAnimSlotOutOfBounds
CANdleAnimSlotOutOfBounds.
Definition: StatusCodes.h:1544
@ NoDevicesOnBus
NoDevicesOnBus.
Definition: StatusCodes.h:1188
@ MoreThanOneFile
MoreThanOneFile.
Definition: StatusCodes.h:1192
@ BufferFull
Buffer is full, cannot insert more data.
Definition: StatusCodes.h:1384
@ GadgeteerDeviceNoSetId
GadgeteerDeviceNoSetId.
Definition: StatusCodes.h:1176
@ DidNotGetFullDhcp
DidNotGetFullDhcp.
Definition: StatusCodes.h:1316
@ CANdleAnimationsRequireHigherFirm
CANdleAnimationsRequireHigherFirm.
Definition: StatusCodes.h:1574
@ InvalidLicenseResponse
InvalidLicenseResponse.
Definition: StatusCodes.h:1767
@ RxTimeout
CAN frame not received/too-stale.
Definition: StatusCodes.h:1444
@ MultiSignalNotSupported
The CAN bus does not support multi-signal synchronization.
Definition: StatusCodes.h:1707
@ CannotReadUdpPort
CannotReadUdpPort.
Definition: StatusCodes.h:1356
@ CouldNotDecodeDeviceFirmware
Device firmware could not be decoded.
Definition: StatusCodes.h:1799
@ kErrorPollingForDevices
kErrorPollingForDevices
Definition: StatusCodes.h:1787
@ kDeviceResponseIncorrect
kDeviceResponseIncorrect
Definition: StatusCodes.h:1783
@ GEN_PORT_ERROR
GEN_PORT_ERROR.
Definition: StatusCodes.h:1497
@ TxFailed
Could not transmit CAN Frame.
Definition: StatusCodes.h:1436
@ InvalidCrfFileSzInvald
InvalidCrfFileSzInvald.
Definition: StatusCodes.h:1284
@ MODULE_NOT_INIT_GET_ERROR
MODULE_NOT_INIT_GET_ERROR.
Definition: StatusCodes.h:1513
@ LicenseDownloadFailed
License did not successfully download to Device.
Definition: StatusCodes.h:1741
@ NoControls
NoControls.
Definition: StatusCodes.h:1260
@ InvalidModel
InvalidModel.
Definition: StatusCodes.h:1252
@ kWinUsbInitFailed
kWinUsbInitFailed
Definition: StatusCodes.h:1668
@ ControlModeNotSupportedYet
This control mode is not supported yet.
Definition: StatusCodes.h:1410
@ kInvalidClass
kInvalidClass
Definition: StatusCodes.h:1632
@ CanOverflowed
CanOverflowed.
Definition: StatusCodes.h:1456
@ DidNotGetDhcp
DidNotGetDhcp.
Definition: StatusCodes.h:1312
@ InvalidOrchestraAction
An invalid orchestra action occurred.
Definition: StatusCodes.h:1607
@ kInvalidRespFormat
kInvalidRespFormat
Definition: StatusCodes.h:1664
@ DeviceDidNotRespondToDiagReq
DeviceDidNotRespondToDiagReq.
Definition: StatusCodes.h:1268
@ CannotWriteUdpPort
CannotWriteUdpPort.
Definition: StatusCodes.h:1352
@ NoFile
Could not find specified file.
Definition: StatusCodes.h:1737
@ ControlModeNotValid
The control mode is not valid for this function.
Definition: StatusCodes.h:1405
@ NormalModeMsgNotPresent
NormalModeMsgNotPresent.
Definition: StatusCodes.h:1208
@ UnexpectedArbId
ArbID is incorrect.
Definition: StatusCodes.h:1452
@ DistanceBetweenWheelsTooSmall
Distance between wheels is too small, cannot get heading.
Definition: StatusCodes.h:1525
@ HwTimestampOutOfSync
The timestamp reported by CANivore is at least 10ms older than the timestamp reported by the system,...
Definition: StatusCodes.h:1699
@ MusicFileWrongSize
Music file size is incorrect, could not parse correctly.
Definition: StatusCodes.h:1595
@ CouldNotChangePeriod
Control Frame Period could not be changed.
Definition: StatusCodes.h:1471
@ FeaturesNotAvailableYet
This feature will be supported in a future update.
Definition: StatusCodes.h:1401
@ InvalidLicenseResp
InvalidLicenseResp.
Definition: StatusCodes.h:1320
@ kListenFailed
kListenFailed
Definition: StatusCodes.h:1652
@ MusicFileTooNew
Music file version is too new, update Phoenix to utilize this file.
Definition: StatusCodes.h:1599
@ FirmVersionCouldNotBeRetrieved
Firm Vers could not be retrieved.
Definition: StatusCodes.h:1397
@ CompileSzIsWrong
CompileSzIsWrong.
Definition: StatusCodes.h:1172
@ InvalidTask
InvalidTask.
Definition: StatusCodes.h:1180
@ UsingProFeatureOnUnlicensedDevice
Using a Pro only feature on an unlicensed device.
Definition: StatusCodes.h:1809
@ NotFound
Could not find this value when searching for it.
Definition: StatusCodes.h:1715
@ CouldNotCast
Could not cast from base value to this particular signal's type.
Definition: StatusCodes.h:1711
@ DeviceIsNull
DeviceIsNull.
Definition: StatusCodes.h:1264
@ InvalidCanivCache
InvalidCanivCache.
Definition: StatusCodes.h:1324
@ WrongRemoteLimitSwitchSource
Use RemoteLimitSwitchSource instead of LimitSwitchSource.
Definition: StatusCodes.h:1533
@ InvalidModeToGetSignal
The current mode of the device is invalid for getting this signal.
Definition: StatusCodes.h:1755
@ CouldNotEnterBl
CouldNotEnterBl.
Definition: StatusCodes.h:1128
@ MusicFileTooOld
This music file version is too old.
Definition: StatusCodes.h:1611
@ CannotUdpToDevice
CannotUdpToDevice.
Definition: StatusCodes.h:1360
@ CorruptedPOST
CorruptedPOST.
Definition: StatusCodes.h:1220
@ kInvalidInterface
kInvalidInterface
Definition: StatusCodes.h:1624
@ MissingContext
Could not determine context from this device hash.
Definition: StatusCodes.h:1723
@ CouldNotRetrieveProFirmware
Device firmware could not be retrieved.
Definition: StatusCodes.h:1793
@ InvalidNetwork
InvalidNetwork.
Definition: StatusCodes.h:1703
@ ResourceNotAvailable
ResourceNotAvailable.
Definition: StatusCodes.h:1586
@ InvalidCrfNoSects
InvalidCrfNoSects.
Definition: StatusCodes.h:1292
@ CouldNotReqDevInfo
CouldNotReqDevInfo.
Definition: StatusCodes.h:1256
@ InvalidCrfBadSectHeader
InvalidCrfBadSectHeader.
Definition: StatusCodes.h:1296
@ kFirmwareInvalidResponse
kFirmwareInvalidResponse
Definition: StatusCodes.h:1684
@ CanivCliError
CanivCliError.
Definition: StatusCodes.h:1276
@ GeneralError
General Error Occurred.
Definition: StatusCodes.h:1485
@ kGeneralWinUsbError
kGeneralWinUsbError
Definition: StatusCodes.h:1644
@ SimPhysicsTypeNotSupported
SimPhysicsTypeNotSupported.
Definition: StatusCodes.h:1428
@ CannotWriteSerialPort
CannotWriteSerialPort.
Definition: StatusCodes.h:1332
@ GEN_MODULE_ERROR
GEN_MODULE_ERROR.
Definition: StatusCodes.h:1505
@ SignalLookupFailed
Failed to lookup signal properties.
Definition: StatusCodes.h:1751
@ kWinUsbGeneralError
kWinUsbGeneralError
Definition: StatusCodes.h:1676
@ InvalidSize
Size is invalid.
Definition: StatusCodes.h:1763
@ NoCrfFile
NoCrfFile.
Definition: StatusCodes.h:1304
@ InsufficientSz
InsufficientSz.
Definition: StatusCodes.h:1248
@ AppTooOld
AppTooOld.
Definition: StatusCodes.h:1164
@ GeneralWarning
General Warning Occurred.
Definition: StatusCodes.h:1392
@ UnlicensedDevice
Device is not licensed.
Definition: StatusCodes.h:1759
@ kFailedSetup
kFailedSetup
Definition: StatusCodes.h:1648
@ CouldNotSendCanFrame
CouldNotSendCanFrame.
Definition: StatusCodes.h:1204
@ InvalidCrfWrongProduct
InvalidCrfWrongProduct.
Definition: StatusCodes.h:1288
@ LibraryCouldNotBeLoaded
LibraryCouldNotBeLoaded.
Definition: StatusCodes.h:1578
@ PulseWidthSensorNotPresent
PulseWidthSensorNotPresent.
Definition: StatusCodes.h:1388
@ FirmwareTooNew
Firmware Too New.
Definition: StatusCodes.h:1815
@ FeatureRequiresHigherFirm
Features requires newer firmware version.
Definition: StatusCodes.h:1556
@ CouldNotReqSetDesc
CouldNotReqSetDesc.
Definition: StatusCodes.h:1168
@ FirmwareNonFRC
Firmware is legacy non-FRC version.
Definition: StatusCodes.h:1481
@ NoUdpControlFrameResp
NoUdpControlFrameResp.
Definition: StatusCodes.h:1364
@ MusicNotSupported
This device doesn't support MusicTone control mode.
Definition: StatusCodes.h:1620
@ InvalidCrfBadHeader
InvalidCrfBadHeader.
Definition: StatusCodes.h:1280
@ CouldNotSendFlash
CouldNotSendFlash.
Definition: StatusCodes.h:1140
@ kSendFailed
kSendFailed
Definition: StatusCodes.h:1656
@ TxTimeout
CAN Transmit timed out.
Definition: StatusCodes.h:1448
@ InvalidParamValue
Incorrect argument passed into function/VI.
Definition: StatusCodes.h:1440
@ MusicInterrupted
Music interrupted due to one of the instruments being commanded a different control mode.
Definition: StatusCodes.h:1616
@ InvalidCrfBadSectSize
InvalidCrfBadSectSize.
Definition: StatusCodes.h:1300
@ PORT_MODULE_TYPE_MISMATCH
PORT_MODULE_TYPE_MISMATCH.
Definition: StatusCodes.h:1501
@ WarningNotInitialized
WarningNotInitialized.
Definition: StatusCodes.h:1693
@ kReceiveFailed
kReceiveFailed
Definition: StatusCodes.h:1660
@ SensorNotPresent
Sensor Not Present.
Definition: StatusCodes.h:1460
@ SimDeviceAlreadyExists
SimDeviceAlreadyExists.
Definition: StatusCodes.h:1432
@ NotImplemented
Not Implemented, check latest installer.
Definition: StatusCodes.h:1184
@ ConfigMotionSCurveRequiresHigherFirm
Config Motion S Curve Strength features require firmware >=4.16.
Definition: StatusCodes.h:1564
@ CouldNotConfirmBl
CouldNotConfirmBl.
Definition: StatusCodes.h:1132
@ CouldNotFindDynamicId
CouldNotFindDynamicId.
Definition: StatusCodes.h:1308
@ kInvalidProtocol
kInvalidProtocol
Definition: StatusCodes.h:1636
@ TimeoutIso15Response
TimeoutIso15Response.
Definition: StatusCodes.h:1368
@ CannotReadSerialPort
CannotReadSerialPort.
Definition: StatusCodes.h:1336
@ CouldNotConfirmId
CouldNotConfirmId.
Definition: StatusCodes.h:1156
@ FirmwareTooOld
Firmware Too Old.
Definition: StatusCodes.h:1466
@ CouldNotValidate
CouldNotValidate.
Definition: StatusCodes.h:1144
@ InvalidDeviceDescriptor
InvalidDeviceDescriptor.
Definition: StatusCodes.h:1200
@ EcuIsNotPresent
EcuIsNotPresent.
Definition: StatusCodes.h:1124
@ InvalidDeviceSpec
InvalidDeviceSpec.
Definition: StatusCodes.h:1120
@ NotSupported
This is not supported.
Definition: StatusCodes.h:1719
@ NoSerialControlFrameResp
NoSerialControlFrameResp.
Definition: StatusCodes.h:1344
@ ConfigFactoryDefaultRequiresHigherFirm
Config factory default features require firmware >=3.10.
Definition: StatusCodes.h:1560
@ MODULE_NOT_INIT_SET_ERROR
MODULE_NOT_INIT_SET_ERROR.
Definition: StatusCodes.h:1509
@ CouldNotReqFactoryDefault
CouldNotReqFactoryDefault.
Definition: StatusCodes.h:1232
@ SelfTestIsEmpty
Self Test report does not have any values, is the firmware up to date?
Definition: StatusCodes.h:1746
@ ConfigFailed
ConfigFailed.
Definition: StatusCodes.h:1228
@ TaskIsBusy
TaskIsBusy.
Definition: StatusCodes.h:1779
@ DoubleVoltageCompensatingWPI
Motor Controller Voltage Compensation should not be used with setVoltage().
Definition: StatusCodes.h:1540
@ SigNotUpdated
No new response to update signal.
Definition: StatusCodes.h:1489
@ NodeIsInvalid
NodeIsInvalid.
Definition: StatusCodes.h:1196
@ FeatureNotSupported
This feature is not supported.
Definition: StatusCodes.h:1212
@ InvalidIDToFollow
The values specified for master are in valid.
Definition: StatusCodes.h:1804
@ CustomNameNotSupported
CustomNameNotSupported.
Definition: StatusCodes.h:1236
@ OnlySupportedInTunerX
OnlySupportedInTunerX.
Definition: StatusCodes.h:1272
@ FlashWasGood
FlashWasGood.
Definition: StatusCodes.h:1160
@ InternalError
InternalError.
Definition: StatusCodes.h:1775
@ ModelMismatch
Model name in license file does not match model name of selected device.
Definition: StatusCodes.h:1728
@ CouldNotErase
CouldNotErase.
Definition: StatusCodes.h:1136
@ NotAllPIDValuesUpdated
NotAllPIDValuesUpdated.
Definition: StatusCodes.h:1493
@ MotProfFirmThreshold2
Motor Controller must have >= 3.4 firmware for advanced PID0/PID1 features.
Definition: StatusCodes.h:1420
@ CannotOpenSerialPort
CannotOpenSerialPort.
Definition: StatusCodes.h:1328
@ BufferFailure
BufferFailure.
Definition: StatusCodes.h:1475
@ kInvalidGuid
kInvalidGuid
Definition: StatusCodes.h:1628
@ MissingRoutineInLibrary
MissingRoutineInLibrary.
Definition: StatusCodes.h:1582
@ SerialMismatch
Serial Number in license file does not match model name of selected device.
Definition: StatusCodes.h:1733
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