namespace TDMS.Common { public enum Error { /// /// No error /// NoError = 0, /// /// Error begin /// ErrorBegin = -6201, /// /// The library could not allocate memory. /// OutOfMemory = -6201, /// /// An invalid argument was passed to the library. /// InvalidArgument = -6202, /// /// An invalid data type was passed to the library. /// InvalidDataType = -6203, /// /// An unexpected error occurred in the library. /// UnexpectedError = -6204, /// /// The USI engine could not be loaded. /// UsiCouldNotBeLoaded = -6205, /// /// An invalid file handle was passed to the library. /// InvalidFileHandle = -6206, /// /// An invalid channel group handle was passed to the library. /// InvalidChannelGroupHandle = -6207, /// /// An invalid channel handle was passed to the library. /// InvalidChannelHandle = -6208, /// /// The file passed to the library does not exist. /// FileDoesNotExist = -6209, /// /// The file passed to the library is read only and cannot be modified. /// CannotWriteToReadOnlyFile = -6210, /// /// The storage could not be opened. /// StorageCouldNotBeOpened = -6211, /// /// The file passed to the library already exists and cannot be created. /// FileAlreadyExists = -6212, /// /// The property passed to the library does not exist. /// PropertyDoesNotExist = -6213, /// /// The property passed to the library does not have a value. /// PropertyDoesNotContainData = -6214, /// /// The value of the property passed to the library is an array and not a scalar. /// PropertyIsNotAScalar = -6215, /// /// The object type passed to the library does not exist. /// DataObjectTypeNotFound = -6216, /// /// The current implementation does not support this operation. /// NotImplemented = -6217, /// /// The file could not be saved. /// CouldNotSaveFile = -6218, /// /// The request would exceed the maximum number of data values for a channel. /// MaximumNumberOfDataValuesExceeded = -6219, /// /// An invalid channel name was passed to the library. /// InvalidChannelName = -6220, /// /// The channel group already contains a channel with this name. /// DuplicateChannelName = -6221, /// /// The current implementation does not support this data type. /// DataTypeNotSupported = -6222, /// /// File access denied. /// FileAccessDenied = -6224, /// /// The specified time value is invalid. /// InvalidTimeValue = -6225, /// /// The replace operation is not supported on data that has already been saved to a TDM Streaming file. /// ReplaceNotSupportedForSavedTDMSData = -6226, /// /// The data type of the property does not match the expected data type. /// PropertyDataTypeMismatch = -6227, /// /// The data type of the channel does not match the expected data type. /// ChannelDataTypeMismatch = -6228, /// /// Error end /// ErrorEnd = -6228, /// /// Force size to 32 bits /// ErrorForceSizeTo32Bits = unchecked((int)0xffffffff) } }