FEDRA emulsion software from the OPERA Collaboration
NIMCCFGErrors.h
Go to the documentation of this file.
1//------------------------------------------------------------------------------------------
2// NIMCCFGErrors.h - NI-Motion Configuration Error Codes
3//
4// Copyright 2000
5// National Instruments Corporation.
6// All rights reserved.
7//
8//------------------------------------------------------------------------------------------
9#ifndef __NIMCCFGErrors_h__
10#define __NIMCCFGErrors_h__
11//------------------------------------------------------------------------------------------
12#define NIMCCFG_noError 0 //No Error - function was successful
13#define NIMCCFG_getFailedError -78001 //Could not get value from database
14#define NIMCCFG_setFailedError -78002 //Could not set value to database
15#define NIMCCFG_irrelevantAttributeError -78003 //Attribute specified for get/set operation
16 //was not valid (undefined)
17#define NIMCCFG_invalidResourceSpecifedError -78004 //The axis number or resource number such aa
18 //the ADC channel, enoder number etc., for which
19 //the get/set operation eas specified was not valid
20#define NIMCCFG_outOfRangeError -78005 //The value being persisted to the storage is
21 //out of range
22#define NIMCCFG_insufficientSizeError -78006 //The size of tha array is insufficient to return the
23 //data required
24#define NIMCCFG_invalidSettingsNameSpecifiedError -78007 //An invalid settings name was specified
25#define NIMCCFG_createFailedError -78008 //Failed to create a new logical settings
26#define NIMCCFG_deleteFailedError -78009 //Failed to delete the logical settings specified.
27 //This may be because the setting is currently being used by a motion device.
28#define NIMCCFG_objectInUseError -78010 //The object being deleted in in use
29#define NIMCCFG_commitFailedError -78011 //The changes could not be persisted to the configuration
30#define NIMCCFG_importFailedError -78012 //The initialization settings could not be imported successfully
31#define NIMCCFG_exportFailedError -78013 //The initialization settings could not be exported successfully
32
33//--------------------------------------------------------------------------------------------
34#endif //__NIMCCFGErrors_h__