OpenRoutineStatus Enumeration
Description
This enumerated list can convey the status when a method attempts to open a measurement routine. This is primarily used with the Open_Ex method in the PartPrograms object.
Members
Member | Value | Description |
---|---|---|
BranchMismatchError | 8 | PC-DMIS cannot open the routine due to a branch mismatch error. This has a value of 8. |
CannotOpenRoutineFile | 4 | PC-DMIS cannot open the routine. This status has a value of 4. |
DeserializationError | 7 | PC-DMIS cannot open the routine because of a deserialization error. This has a value of 7. |
ErrorClosingRoutineFile | 5 | PC-DMIS cannot open the routine because it cannot close the routine after it reads it. This has a value of 5. |
InternalError | 3 | PC-DMIS cannot open the routine because of an internal error. This has a value of 3. |
OpenedBackupCopy | 2 | PC-DMIS opened a backup copy of the routine instead of the main routine. This has a value of 2. |
PcdmisIsOpeningAnotherRoutine | 10 | PC-DMIS cannot open the routine because it is in the process of opening another routine. This has a value of 10. |
RoutineFileDoesNotExist | 6 | PC-DMIS cannot open the routine because the routine file does not exist. This has a value of 6. |
RoutineIsNewerError | 9 | PC-DMIS cannot open the routine because the routine is newer than the version of PC-DMIS. This has a value of 9. |
RoutineIsTooOldError | 11 | |
RoutineOpened | 1 | PC-DMIS opened the routine without any errors. This has a value of 1. |
UnknownStatus | 0 | PC-DMIS cannot open the routine due to an unknown cause. This has a value of 0. |