SIMulation Workbench Documentation SIMulation Workbench Documentation

simerrors.h File Reference

This graph shows which files directly or indirectly include this file:

Defines

#define Log_Warning(format,...)   ccurTSC_printf ("WARNING:%18s:%5d: " format, __FILE__,__LINE__,## __VA_ARGS__)
#define Log_Error(format,...)   ccurTSC_printf (" ERROR:%18s:%5d: " format, __FILE__,__LINE__,## __VA_ARGS__)
#define Log_Info(format,...)   ccurTSC_printf (" INFO:%18s:%5d: " format, __FILE__,__LINE__,## __VA_ARGS__)
#define DBG_APPEND(format,...)
#define DBG_PRINTF(format,...)
#define DBGLVL_PRINTF(bits, format,...)

Enumerations

enum  CCURSIMErrors_Network {
  NET_CONNREFUSED = -301, NET_HOSTNOTFOUND = -302, NET_CONNRESET = -303, NET_NOTCONNECTED = -304,
  NET_BUFFERTOOLONG = -305, NET_TOOMANYCLIENTS = -306, NET_SOCKETERROR = -307, NET_WRITEERROR = -308,
  NET_READERROR = -309, NET_BADCOMMANDFORMAT = -310, NET_CONNECTEDALREADY = -311, NET_TIMEOUT = -312,
  NET_NOREFRESHPORT = -313, NET_NOSCRIPTPORT = -314, NET_BINDERROR = -315, NET_NOPORT = -316,
  NET_IPNOTALLOWED = -317, NET_BADREPLYFORMAT = -318
}
enum  CCURSIMErrors_User {
  USER_NOTFOUND = -201, USER_NOPRIVILEGE = -202, USER_NOTDEFINED = -203, USER_BADPASSWD = -204,
  USER_STILLLOGGED = -205, USER_NOTLOGGED = -206, USER_INVALID = -207, USER_FILEERROR = -208,
  USER_EXISTS = -209, USER_BADPRIVILEGE = -210, USER_INVALIDPASSWD = -212, USER_NOPASSWD = -213,
  USER_INVALIDCHAR = -214, USER_ADMINLOGGEDIN = -215, USER_NOAPPTYPE = -216, USER_NOLICENSE = -217,
  USER_NOFIBEXLICENSE = -218, USER_BADGROUP = -219, USER_NOTINGROUPDENIED = -220, USER_NOSIMPACKLICENSE = -221,
  USER_NOFMULICENSE = -222, USER_NOHMILICENSE = -223, USER_BADCONNECTIONTYPE = -224, USER_NOIOMONITORLICENSE = -225,
  USER_NOGLSVIEWERLICENSE = -226, USER_NOADAMSLICENSE = -228, USER_NOCARMAKERLICENSE = -229
}
enum  CCURSIMNet_Replies {
  NET_REPLY_EMPTY = 200, NET_REPLY_ASCII = 220, NET_REPLY_BINARY = 230, NET_UPDATE_BINARY = 231,
  NET_UPDATE_ASCII = 232, NET_UPDATE_LOG = 233, NET_UPDATE_SCHED = 234, NET_SERVER_COMMAND = 235,
  NET_UPDATE_TESTINFO = 236, NET_UPDATE_GENINFO = 237, NET_UPDATE_IO = 238, NET_UPDATE_SCHEDASYNC = 239
}
enum  CCURSIMErrors_RTDB {
  RTDB_MAP = -401, RTDB_POINTNOTFOUND = -402, RTDB_POINTNOTINLIST = -403, RTDB_DBFILENOTFOUND = -404,
  RTDB_POINTEXISTS = -405, RTDB_DBNOROOM = -406, RTDB_NOTMAPPED = -407, RTDB_NODBFILE = -408,
  RTDB_BADPOINTTYPE = -409, RTDB_BADCVTTYPE = -410, RTDB_BADKEYWORD = -411, RTDB_BADBOARDID = -412,
  RTDB_BADSLOT = -413, RTDB_BADCHANNEL = -414, RTDB_BADBITNUM = -415, RTDB_MISSINGPOINTNAME = -416,
  RTDB_NAMETOOLONG = -417, RTDB_BADFLOATVALUE = -418, RTDB_BADINTVALUE = -419, RTDB_NOTSTRINGVAR = -420,
  RTDB_NOSTRINGMEMORY = -421, RTDB_MISSINGVALUE = -422, RTDB_DBLOADEDALREADY = -423, RTDB_OPENCVTFILE = -424,
  RTDB_MISSINGFILENAME = -425, RTDB_MISSINGCVTTYPE = -426, RTDB_NOTINCVT = -427, RTDB_NOSTRINGVAR = -428,
  RTDB_BADSDI = -429, RTDB_BADPARITY = -430, RTDB_BADSPEED = -431, RTDB_BADTXPERIOD = -432,
  RTDB_BADAFDXRECORD = -433, RTDB_MISSINGDESCRIPTION = -434, RTDB_ILLEGALSTRINGLENGTH = -435, RTDB_TESTRUNNING = -436,
  RTDB_IODBERROR = -437, RTDB_AFDXMSGTABLEFULL = -438, RTDB_AFDXMSGNOTFOUND = -439, RTDB_NOALTVALUE = -440,
  RTDB_NOINITCONDNAME = -441, RTDB_NORTWNAME = -442, RTDB_GENMISSINGPARM = -443, RTDB_TESTNOTRUNNING = -444,
  RTDB_MISSINGBOARDID = -445, RTDB_ASYNCQFULL = -446, RTDB_MISSINGBOARDNUM = -447, RTDB_MISSINGPARAM = -448,
  RTDB_NOSPAREITEM = -449, RTDB_NOMEMORY = -450, RTDB_LOCKED = -451, RTDB_MISSINGGROUPNAME = -452,
  RTDB_MISSINGRESOURCETYPE = -453, RTDB_MISSINGRESOURCENAME = -454, RTDB_SETCPUAFFINITYERROR = -455, RTDB_INVALIDRTDBNAME = -456,
  RTDB_NETMSGTABLEFULL = -457, RTDB_NETMSGNOTFOUND = -458, RTDB_MISSINGFORMNAME = -459, RTDB_FORMNOTFOUND = -460,
  RTDB_CIGIMSGTABLEFULL = -461, RTDB_SETCPUSHIELDINGERROR = -462, RTDB_MERGE = -463, RTDB_FDXMSGTABLEFULL = -464,
  RTDB_FDXMSGNOTFOUND = -465, RTDB_ALREADYEXITS = -466, RTDB_IMPORTCARMAKER = -467
}
enum  CCURSIMErrors_Projects {
  PROJECT_MISSINGNAME = -501, PROJECT_NOTEXISTS = -502, PROJECT_DEFAULT = -503, PROJECT_INVALIDNAME = -504,
  PROJECT_ILLEGALRESOURCE = -505
}
enum  CCURSIMErrors_Config { CONFIG_NOCOMMAND = -601, CONFIG_NOMEMORY = -602, CONFIG_FORKERROR = -603 }
enum  CCURSIMErrors_GenericFile {
  UTIL_FILEERROR = -701, UTIL_FILENOTFOUND = -702, UTIL_DIRECTORYCREATE = -703, UTIL_FILEOPENERROR = -704,
  UTIL_NOBINARYDEFAULT = -705, UTIL_FILEREMOVEERROR = -706, UTIL_MISSINGFILENAME = -707, UTIL_MISSINGDIRNAME = -708,
  UTIL_PIPEERROR = -709, UTIL_DIRECTORYEXISTS = -710
}
enum  CCURSIMErrors_GEN {
  GEN_GENERATORNOTFOUND = -801, GEN_BADFREQUENCY = -802, GEN_BADDUTYCYCLE = -803, GEN_BADDURATION = -804,
  GEN_BADWAVEFORM = -805, GEN_BADCALLBACK = -806, GEN_MISSINGENDCOND = -807, GEN_GENCMDQFULL = -808,
  GEN_ASAMFILENOTFOUND = -809, GEN_ASAMOPEN = -810, GEN_ASAMREADINFO = -811, GEN_ASAMREADDATA = -812
}
enum  CCURSIMErrors_SCRIPT {
  SCRIPT_NOTARINCPOINT = -850, SCRIPT_NOTARINCOUTPUT = -851, SCRIPT_BADARINCTXRATE = -842, SCRIPT_INPUTTIMEOUT = -853,
  SCRIPT_BADARINCBOARD = -854, SCRIPT_BADARINCCHANNEL = -855, SCRIPT_NOTAFDXPOINT = -856, SCRIPT_NOTAFDXOUTPUT = -857,
  SCRIPT_NOTNETPOINT = -858, SCRIPT_NOTNETOUTPUT = -859, SCRIPT_NOTCANOUTPUT = -860, SCRIPT_NOTCANPOINT = -861,
  SCRIPT_NOTLINOUTPUT = -862, SCRIPT_NOTLINPOINT = -863, SCRIPT_NOTCIGIPOINT = -864, SCRIPT_NOTCIGIOUTPUT = -865,
  SCRIPT_NOTFDXPOINT = -866, SCRIPT_NOTFDXOUTPUT = -867
}
enum  CCURSIMRTErrors_SCRIPT {
  SCRIPTRT_SCRIPTSTART = 2000, SCRIPTRT_SCRIPTEND = 2001, SCRIPTRT_SCRIPTSECTIONSTART = 2010, SCRIPTRT_SCRIPTSECTIONEND = 2011,
  SCRIPTRT_WAITCOND_TIMEOUT = -2000, SCRIPTRT_PROMPT_TIMEOUT = -2001, SCRIPTRT_LOGTEST_FAILED = -2002, SCRIPTRT_RTDBVAR_NOTFOUND = -2003,
  SCRIPTRT_SIGGEN_CREATE_ERROR = -2004, SCRIPTRT_TOOMANY_CALLBACKS = -2005, SCRIPTRT_VALUEOUTOFRANGE = -2006, SCRIPTRT_ABORT = -2007
}
enum  CCURSIMErrors_SourceProgram {
  SOURCE_MISSINGFILENAME = -901, SOURCE_MISSINGDESCRIPTION = -902, SOURCE_MISSINGTYPE = -903, SOURCE_BADTYPE = -904,
  SOURCE_UNZIPERROR = -905, SOURCE_NOTEXISTS = -906, SOURCE_MAKEERROR = -907, SOURCE_NOBUILDOPTION = -908,
  SOURCE_MISSINGFIXEDSTEP = -909
}
enum  CCURSIMErrors_TestManagement {
  TEST_MISSINGTESTID = -1001, TEST_MISSINGSESSIONID = -1002, TEST_MISSINGRUNFRAMES = -1003, TEST_MISSINGFRAMERATE = -1004,
  TEST_MISSINGSCRIPT = -1005, TEST_MISSINGRTW = -1006, TEST_MISSINGDB = -1007, TEST_TESTIDEXISTS = -1008,
  TEST_SESSIONIDEXISTS = -1009, TEST_ILLECALCHARINNAME = -1010, TEST_SESSIONNOTFOUND = -1011, TEST_MISSINGSESSIONSETUP = -1012,
  TEST_SCHEDULERSTART = -1013, TEST_RUNNINGALREADY = -1014, TEST_MISSINGFBSKEY = -1015, TEST_MISSINGFBSDEVICE = -1016,
  TEST_MISSINGRESOURCE = -1017, TEST_REMOTESTARTTIMEOUT = -1018, TEST_ARCHIVEMISSINGPARAM = -1019, TEST_REMOTESTOPTIMEOUT = -1020,
  TEST_NOTFOUND = -1021
}
enum  CCURSIMSCompletionCode_Scheduler {
  SCHED_TESTCOMPLETE = 1, SCHED_SCRIPTSTOPSUCCESS = 2, SCHED_SUCCESSEORSTOP = 3, SCHED_STOPSUCCESS_EOS = 4,
  SCHED_STOPSUCCESS_RTW = 5, SCHED_STOPSUCCESS_CARMAKER = 6, SCHED_INITFAILURE = -101, SCHED_USERABORT = -102,
  SCHED_OVERRUNABORT = -103, SCHED_SCRIPTSTOPERROR = -104, SCHED_DLABORT = -105, SCHED_IOTASKABORT = -106,
  SCHED_RTWFAILEDINIT = -107, SCHED_DLREADERABORT = -108, SCHED_FBSABORT = -109, SCHED_RTWABORT = -110,
  SCHED_DLABORTFAILEDLOCK = -111, SCHED_FAILEDUSERINITPROCESS = -112, SCHED_DLABORTLOCKERROR = -113, SCHED_SIGSEGV = -114,
  SCHED_BUSY = -115, SCHED_RTW_MULTIRATEOVEERUN = -116, SCHED_STROVERFLOW = -117, SCHED_INITSCRIPTABORT = -118,
  SCHED_FPEABORT = -119, SCHED_FMUABORT = -120, SCHED_ADAMSABORT = -121, SCHED_SCHEDABORT = -122,
  SCHED_TASKNOTFOUND = -123
}
enum  CCURSIMErrors_DLAccess {
  DLFILE_FRAMENOTFOUND = -1100, DLFILE_DATAFILEOPEN = -1101, DLFILE_INDEXFILEOPEN = -1102, DLFILE_METAFILEOPEN = -1103,
  DLFILE_VARNOTFOUND = -1104, DLFILE_NOLASTUPDATE = -1105, DLFILE_INVALIDARG = -1106, DLFILE_FRAMETOOLARGE = -1107,
  DLFILE_CIRCLOGLOCKED = -1108
}
enum  CCURSIMErrors_DLReader {
  DLREADER_ERROR_SESSIONNOTOPEN = -1201, DLREADER_ERROR_FILEOPEN = -1202, DLREADER_ERROR_READMETA = -1203, DLREADER_ERROR_READDATA = -1204,
  DLREADER_ERROR_QUERYTEST = -1205, DLREADER_ERROR_OUTOFSYNCREPLY = -1206
}
enum  CCURSIMErrors_ASAM {
  ASAM_ERROR_MAKESRV = -1301, ASAM_ERROR_SIGNALASAMSRV = -1302, ASAM_ERROR_NOTRUNNING = -1303, ASAM_ERROR_NOTLOGGING = -1304,
  ASAM_ERROR_DIRECTIO = -1305, ASAM_ERROR_BADSIGNALTYPE = -1306, ASAM_ERROR_SIMWB_TARGET = -1307, ASAM_ERROR_MISSING_LOCK = -1308,
  ASAM_ERROR_ALREADY_LOCKED = -1309, ASAM_ERROR_WRITE_XML = -1310, ASAM_ERROR_READ_XML = -1311, ASAM_ERROR_XML_NOT_TARGET = -1312,
  ASAM_PYTHON_VERSION = -1313, ASAM_ERROR_BADSEGMENT = -1314
}
enum  CCURSIMErrors_DLFSrv {
  DLFSRV_ERROR_SESSIONNOTOPEN = -2101, DLFSRV_ERROR_FILEOPEN = -2102, DLFSRV_ERROR_READMETA = -2103, DLFSRV_ERROR_BAD_STARTFRAME = -2104,
  DLFSRV_ERROR_BAD_NFRAMES = -2105, DLFSRV_ERROR_BAD_NVARIABLES = -2106, DLFSRV_ERROR_QUERYTEST = -2107, DLFSRV_ERROR_OUTOFSYNCREPLY = -2108,
  DLFSRV_ERROR_ZLIBCOMPRESS = -2109, DLFSRV_ERROR_SOCKREAD = -2110, DLFSRV_ERROR_SOCKWRITE = -2111, DLFSRV_ERROR_BAD_NAME = -2112,
  DLFSRV_ERROR_BAD_INDEX = -2113, DLFSRV_ERROR_RECSIZMISMATCH = -2114, DLFSRV_ERROR_INSUFFICIENT_INFO = -2115
}
enum  CCURSIMWBErrors_PYToolkit {
  PYTOOLKIT_LISTEXPECTED = -2201, PYTOOLKIT_TOOMANYVALUES = -2202, PYTOOLKIT_NUMVALUES = -2203, PYTOOLKIT_BADINDEX = -2204,
  PYTOOLKIT_BADFISCFAULT = -2205, PYTOOLKIT_BADUEGOFAULT = -2206, PYTOOLKIT_BADRESISTORFAULT = -2207, PYTOOLKIT_BADFAULTDEVICE = -2208,
  PYTOOLKIT_MISSINGFAULTS = -2209, PYTOOLKIT_RELATIVEPATH = -2210, PYTOOLKIT_BADPGMSPEC = -2211, PYTOOLKIT_BADSNAPSHOTFORMAT = -2212,
  PYTOOLKIT_BADSNAPSHOTMASK = -2213, PYTOOLKIT_BADBOARDNO = -2214, PYTOOLKIT_BADBOARDNAME = -2215, PYTOOLKIT_BAD5565INTNO = -2216
}
enum  CCURSIMWB_OLicense_Errors { OLIC_ERROR_NOT_ENOUGH_LICENSE = -3001 }
enum  CCURSIMErrors_rpcCALL { RPCGUI_NOFUNCTION = -1401 }
enum  CCURSIMErrors_Hardware { HARDW_ETHERCATSDODOWNLOAD = -1501 }

Functions

int ccurTSC_printf (const char *format,...)
int ccurTSC_fprintf (FILE *fp, const char *fmt,...)
int ccurTSC_noTSprintf (const char *fmt,...)

Define Documentation

#define Log_Warning ( format,
...   )     ccurTSC_printf ("WARNING:%18s:%5d: " format, __FILE__,__LINE__,## __VA_ARGS__)
#define Log_Error ( format,
...   )     ccurTSC_printf (" ERROR:%18s:%5d: " format, __FILE__,__LINE__,## __VA_ARGS__)
#define Log_Info ( format,
...   )     ccurTSC_printf (" INFO:%18s:%5d: " format, __FILE__,__LINE__,## __VA_ARGS__)
#define DBG_APPEND ( format,
...   ) 
Value:
if (debug) { \
        ccurTSC_noTSprintf( format,## __VA_ARGS__);\
    }\
;
#define DBG_PRINTF ( format,
...   ) 
Value:
if (debug) { \
        ccurTSC_printf ("  DEBUG:%18s:%5d: " format, __FILE__,__LINE__,## __VA_ARGS__);\
    }\
;
#define DBGLVL_PRINTF ( bits,
format,
...   ) 
Value:
if (debug & bits) { \
        ccurTSC_printf ("  DEBUG:%18s:%5d: " format, __FILE__,__LINE__,## __VA_ARGS__);\
    }\
;

Enumeration Type Documentation

Errors related to generic network operation.

Enumerator:
NET_CONNREFUSED 

Connection refused by the server. Check that the server program is running on the server machine.

NET_HOSTNOTFOUND 

Could not resolve the host name. Check that the host has an entry in the local /etc/hosts file.

NET_CONNRESET 

Connection was reset by the peer in the middle of a transfer.

NET_NOTCONNECTED 

Attempting to communicate with the server while not connected.

NET_BUFFERTOOLONG 

The command buffer send was longer than the maximum supported by the system.

NET_TOOMANYCLIENTS 

The maximum number of clients allowed is already connected to the server.

NET_SOCKETERROR 

Error obtaining socket object from the system.

NET_WRITEERROR 

Network error while writing to the socket.

NET_READERROR 

Network error while reading from the socket.

NET_BADCOMMANDFORMAT 

Ascii command was not formatted properly.

NET_CONNECTEDALREADY 

Attempt to connect while already connected. Disconnect and then retry.

NET_TIMEOUT 

Time out on socket read or write operation.

NET_NOREFRESHPORT 

A client is asking for asynchronous data update but has not provided the TCP/IP port.

NET_NOSCRIPTPORT 

A client is asking for script output update but has not provided the TCP/IP port.

NET_BINDERROR 

A network bind() call failed.

NET_NOPORT 

A client is asking for a service that requires a listening port on its end,but has failed to provide it.

NET_IPNOTALLOWED 

The client is not allowed to connect from that IP. For connections on port without login, the client IP must listed in the /usr/local/ccursim/etc/hosts.access file.

NET_BADREPLYFORMAT 

Ascii reply was not formatted properly.

Error related to operation with user data base.

Enumerator:
USER_NOTFOUND 

The user attempting to login is not defined in the user database

USER_NOPRIVILEGE 

The user is attempting an operation for which he needs more privilege.

USER_NOTDEFINED 

Trying to login with a user that is not defined.

USER_BADPASSWD 

Attempt to login with a bad password.

USER_STILLLOGGED 

Attempt to login twice in a row without login out first.

USER_NOTLOGGED 

Attempt to send command to the server while no logged in.

USER_INVALID 

Missing user name on a command that requires a user to be specified.

USER_FILEERROR 
USER_EXISTS 

Attempt to add a user that already exists.

USER_BADPRIVILEGE 

Bad privilege specified in a change privilege command.

USER_INVALIDPASSWD 

Either no password or empty password supplied.

USER_NOPASSWD 

Missing password on a command that requires a password.

USER_INVALIDCHAR 

Invalid character in password. Either ':' or ','.

USER_ADMINLOGGEDIN 

Administrator already logged in.

USER_NOAPPTYPE 

Missing application type on the login command where this is required to identify the type of client.

USER_NOLICENSE 

Not enough license to let the client in.

USER_NOFIBEXLICENSE 

No license for the FIBEX tool on this computer.

USER_BADGROUP 

Missing user group on a command the requires it.

USER_NOTINGROUPDENIED 

User is not a member of the group, denied access.

USER_NOSIMPACKLICENSE 

No license for SIMPACK on this computer.

USER_NOFMULICENSE 

No license for FMU on this computer.

USER_NOHMILICENSE 

No license for HMI on this computer.

USER_BADCONNECTIONTYPE 

Invalid connection type .

USER_NOIOMONITORLICENSE 

No license for IO_MONITOR on this computer.

USER_NOGLSVIEWERLICENSE 

No license for GLSVIEWER on this computer.

USER_NOADAMSLICENSE 

No license for ADAMS on this computer.

USER_NOCARMAKERLICENSE 

No license for CarMaker on this computer.

Possible network replies from configuration server.

Enumerator:
NET_REPLY_EMPTY 

Server reply without content.

NET_REPLY_ASCII 

Server reply continued with ascii lines until empty lines.

NET_REPLY_BINARY 

Server reply including binary data.

NET_UPDATE_BINARY 

Server update message with binary vector data.

NET_UPDATE_ASCII 

Server update message for ASCII values .

NET_UPDATE_LOG 

Server update message for logger messages .

NET_UPDATE_SCHED 

Server update message for scheduler info .

NET_SERVER_COMMAND 

Command from server to HMI client .

NET_UPDATE_TESTINFO 

Server update message for test info .

NET_UPDATE_GENINFO 

Server update message for signal generator info .

NET_UPDATE_IO 

Server update message for CAN or LIN message buffers .

NET_UPDATE_SCHEDASYNC 

Server update message for scheduler info for async models .

Error codes related to operations on RTDB items.

Enumerator:
RTDB_MAP 

Error mapping the RTDB into the address space of the calling program.

RTDB_POINTNOTFOUND 

Request for point not in RTDB.

RTDB_POINTNOTINLIST 

Attempt to remove non existant point from refresh list.

RTDB_DBFILENOTFOUND 

Attempt to load a RTDB from file that does not exist.

RTDB_POINTEXISTS 

Attempt to insert duplicate point in RTDB.

RTDB_DBNOROOM 

No space left in RTDB to insert new point.

RTDB_NOTMAPPED 

Trying to reference RTDB info while it has not be mapped in memory.

RTDB_NODBFILE 

DB file not specified with command to load RTDB.

RTDB_BADPOINTTYPE 

Bad point type specified when inserting new point in RTDB.

RTDB_BADCVTTYPE 

Bad CVT type while inserting new point in RTDB.

RTDB_BADKEYWORD 

Bad meta data keyword specifier while changing/inserting point in RTDB.

RTDB_BADBOARDID 

Bad board id specified for the RTDB point

RTDB_BADSLOT 

Bad slot number.

RTDB_BADCHANNEL 

Bad channel specified for the RTDB point.

RTDB_BADBITNUM 

Bad bit number (<0 || > 15) specified for digital point in RTDB.

RTDB_MISSINGPOINTNAME 

Missing point name on command that requires it.

RTDB_NAMETOOLONG 

Attempt to insert into RTDB a point whose name is too long.

RTDB_BADFLOATVALUE 

A ASCII floating point was supplied that cannot be converted to binary.

RTDB_BADINTVALUE 

A ASCII int value was supplied that cannot be converted to binary.

RTDB_NOTSTRINGVAR 

Request for string value was made but the Item is not of string type.

RTDB_NOSTRINGMEMORY 

Request for string value but the memory was not allocated for the string value.

RTDB_MISSINGVALUE 

Required value is missing.

RTDB_DBLOADEDALREADY 

Attempt to load the db when one is loaded already

RTDB_OPENCVTFILE 

Error occured while writing the cvt.h file.

RTDB_MISSINGFILENAME 

The required file name is missing.

RTDB_MISSINGCVTTYPE 

A record was received with no cvttype so we can't convert the string value to the corrrect type.

RTDB_NOTINCVT 

Request for CVT value of a point that is not in the CVT.

RTDB_NOSTRINGVAR 

A generic API call was made into a function that does support string variables.

RTDB_BADSDI 

Bad SDI value for ARINC channel.

RTDB_BADPARITY 

Bad parity value for ARINC channel.

RTDB_BADSPEED 

Bad speed value for ARINC channel.

RTDB_BADTXPERIOD 

Bad transmit periodi for ARINC channel.

RTDB_BADAFDXRECORD 

Unknown AFDX record type .

RTDB_MISSINGDESCRIPTION 

Missing description while creating a new database.

RTDB_ILLEGALSTRINGLENGTH 

Bad maximum string length for string variable .

RTDB_TESTRUNNING 

A test is running, some operations can only be performed when the RT host is not running a test .

RTDB_IODBERROR 

Error reading iodb from disk.

RTDB_AFDXMSGTABLEFULL 

No room in resident message table.

RTDB_AFDXMSGNOTFOUND 

Resident AFDX message not found.

RTDB_NOALTVALUE 

Item does not have an alternate value.

RTDB_NOINITCONDNAME 

Request for initial conditions array without specifying a name .

RTDB_NORTWNAME 

Request for initial conditions array without specifying namei of rtw .

RTDB_GENMISSINGPARM 

Operation on a signal generator is missing a parameter.

RTDB_TESTNOTRUNNING 

A test is not running, some operations can only be performed when the RT host is running a test .

RTDB_MISSINGBOARDID 

Missing board id in hardware mapping record.

RTDB_ASYNCQFULL 

Asynchronous I/O input queue full. This means that the asyncioin process does not have enough run time to process all the elements in the queue. Increase the run time by specifying it when starting the session in the test control panel.

RTDB_MISSINGBOARDNUM 

Missing board number in hardware mapping record.

RTDB_MISSINGPARAM 

A parameter that is needed for an operation is missing.

RTDB_NOSPAREITEM 

Trying to take a spare RTDB item from the spare list but not point of this type left.

RTDB_NOMEMORY 

Request for get/set value for array item with NULL pointer in value array.

RTDB_LOCKED 

The user wants to load a RTDB that is already being edited by a different admin login.

RTDB_MISSINGGROUPNAME 

The group was not specified when saving the RTDB.

RTDB_MISSINGRESOURCETYPE 

The resource type was either not specified or is not supported.

RTDB_MISSINGRESOURCENAME 

The resource name was not specified.

RTDB_SETCPUAFFINITYERROR 

mpadvise failed while set setting cpu affinity.

RTDB_INVALIDRTDBNAME 

Invalid character in RTDB name, must only have characters in [A-Z,a-z,0-9,_]

RTDB_NETMSGTABLEFULL 

No room in NET-IO resident message table.

RTDB_NETMSGNOTFOUND 

Resident NET-IO message not found.

RTDB_MISSINGFORMNAME 

Missing form name in command. Form name must be specified for form import/capture.

RTDB_FORMNOTFOUND 

Form not found for the specified running test.

RTDB_CIGIMSGTABLEFULL 

No room in CIGI resident message table.

RTDB_SETCPUSHIELDINGERROR 

cpuctl failed while setting cpu shielding.

RTDB_MERGE 

RTDB merge error (see cfgsrv.log for details).

RTDB_FDXMSGTABLEFULL 

No room in FDX resident message table.

RTDB_FDXMSGNOTFOUND 

Resident FDX message not found.

RTDB_ALREADYEXITS 

Request to create a new RTDB that already exists.

RTDB_IMPORTCARMAKER 

Could not run the importCarMaker.pl script.

Error codes related to operations on projects.

Enumerator:
PROJECT_MISSINGNAME 

Missing project name in client command.

PROJECT_NOTEXISTS 

The project name does not exist.

PROJECT_DEFAULT 

Operation not allowed on default group.

PROJECT_INVALIDNAME 

Invalid resource name for project .

PROJECT_ILLEGALRESOURCE 

Illegal resource name, must be one of "RTDB","RTW","Tests","UserSource","MDL","SIMPACK,"ENV","MDL","ASAM","Script.

Generic error from the configuration server.

Enumerator:
CONFIG_NOCOMMAND 

The command is not supported by the server.

CONFIG_NOMEMORY 

Memory allocation error.

CONFIG_FORKERROR 

Could not fork a child process.

Errors related to generic file operations.

Enumerator:
UTIL_FILEERROR 

File access error while doing file read/write operations.

UTIL_FILENOTFOUND 

Request for a file that does not exist.

UTIL_DIRECTORYCREATE 

Error creating directory .

UTIL_FILEOPENERROR 

Error opening file.

UTIL_NOBINARYDEFAULT 

Error, can't write binary data to default logger.

UTIL_FILEREMOVEERROR 

Error deleting a file.

UTIL_MISSINGFILENAME 

Missing file name. The name of a file should be specified with the command.

UTIL_MISSINGDIRNAME 

Missing directory name. The name of a directory should be specified with the command.

UTIL_PIPEERROR 

Pipe() create error.

UTIL_DIRECTORYEXISTS 

Directory exists already creating directory .

Error related to the signal gewnerator API.

Enumerator:
GEN_GENERATORNOTFOUND 

Trying to start/stop a generator that does not exist.

GEN_BADFREQUENCY 

Bad frequency supplied for a generator. i.e. freq > half of sampling rate.

GEN_BADDUTYCYCLE 

Duty cycle > 100 %.

GEN_BADDURATION 

Bad value for duration. Probably a <= number .

GEN_BADWAVEFORM 

A unsupported wave form was specified.

GEN_BADCALLBACK 

Missing call back routine for termination condition.

GEN_MISSINGENDCOND 

Bad end condition . Not duration or value.

GEN_GENCMDQFULL 

The command FIFO used to communicate with the generator thread is full.

GEN_ASAMFILENOTFOUND 

The ASAM signal file was not found.

GEN_ASAMOPEN 

The ASAM signal file could not be opened.

GEN_ASAMREADINFO 

ASAM size/interp read error.

GEN_ASAMREADDATA 

ASAM data read error.

Enumerator:
SCRIPT_NOTARINCPOINT 

An operation to change arinc parameters was tried on a point which is not defined as ARINC429.

SCRIPT_NOTARINCOUTPUT 

An operation to change arinc parameters was tried on a point which is not defined as ian ARINC429 output.

SCRIPT_BADARINCTXRATE 

The arinc transmit rate was not specifief within the 1 to 1000 valid range.

SCRIPT_INPUTTIMEOUT 

Time out while waiting for script input .

SCRIPT_BADARINCBOARD 

Bad board number specified.

SCRIPT_BADARINCCHANNEL 

Bad ARINC 429 channel specified.

SCRIPT_NOTAFDXPOINT 

An operation to change afdx parameters was tried on a point which is not defined as AFDX.

SCRIPT_NOTAFDXOUTPUT 

An operation to change afdx parameters was tried on a point which is not defined as an AFDX output.

SCRIPT_NOTNETPOINT 

An operation to change net parameters was tried on a point which is not defined as NET-IO.

SCRIPT_NOTNETOUTPUT 

An operation to change net parameters was tried on a point which is not defined as an NET-IO output.

SCRIPT_NOTCANOUTPUT 

An operation to change CAN parameters was tried on a point which is not defined as an CAN output.

SCRIPT_NOTCANPOINT 

An operation to change CAN parameters was tried on a point which is not defined as CAN.

SCRIPT_NOTLINOUTPUT 

An operation to change LIN parameters was tried on a point which is not defined as an LIN output.

SCRIPT_NOTLINPOINT 

An operation to change LIN parameters was tried on a point which is not defined as LIN.

SCRIPT_NOTCIGIPOINT 

An operation to change CIGI parameters was tried on a point which is not defined as CIGI-IO.

SCRIPT_NOTCIGIOUTPUT 

An operation to change CIGI parameters was tried on a point which is not defined as an CIGI-IO output.

SCRIPT_NOTFDXPOINT 

An operation to change FDX parameters was tried on a point which is not defined as FDX.

SCRIPT_NOTFDXOUTPUT 

An operation to change FDX parameters was tried on a point which is not defined as an FDX output.

Enumerator:
SCRIPTRT_SCRIPTSTART 

Beginning of script.

SCRIPTRT_SCRIPTEND 

End of script.

SCRIPTRT_SCRIPTSECTIONSTART 

Start of section marker.

SCRIPTRT_SCRIPTSECTIONEND 

End of section marker.

SCRIPTRT_WAITCOND_TIMEOUT 

Waiting on logical condition failed with time out expired.

SCRIPTRT_PROMPT_TIMEOUT 
SCRIPTRT_LOGTEST_FAILED 

Logical test failed.

SCRIPTRT_RTDBVAR_NOTFOUND 

Variable not found.

SCRIPTRT_SIGGEN_CREATE_ERROR 

Error creating signal generator.

SCRIPTRT_TOOMANY_CALLBACKS 

Trying to register too may callbacks, no room in callback table.

SCRIPTRT_VALUEOUTOFRANGE 

Value out of expected range.

SCRIPTRT_ABORT 

Abort requested by script.

Error related to source program uploads.

Enumerator:
SOURCE_MISSINGFILENAME 
SOURCE_MISSINGDESCRIPTION 
SOURCE_MISSINGTYPE 
SOURCE_BADTYPE 
SOURCE_UNZIPERROR 
SOURCE_NOTEXISTS 
SOURCE_MAKEERROR 
SOURCE_NOBUILDOPTION 
SOURCE_MISSINGFIXEDSTEP 

Error related to test & session management .

Enumerator:
TEST_MISSINGTESTID 

Missing testId parameter on command that requires one, such as test create or session create.

TEST_MISSINGSESSIONID 

Missing sessionId parameter on command that requires one, such as session creata, session start, etc.

TEST_MISSINGRUNFRAMES 

Did not specify the test duration while creating a session.

TEST_MISSINGFRAMERATE 

Did not specify the frame rate while creating a session.

TEST_MISSINGSCRIPT 

Missing script program name associated to the test.

TEST_MISSINGRTW 

Missing RTW name associated to the test.

TEST_MISSINGDB 

Missing RTDB name associated to the test.

TEST_TESTIDEXISTS 

User trying to create a testId that already exists.

TEST_SESSIONIDEXISTS 

User is trying to create a session that already exists.

TEST_ILLECALCHARINNAME 

Bad character in testId,sessionID. Must be ascii and not [/ ,=].

TEST_SESSIONNOTFOUND 

Can't find the test session to start.

TEST_MISSINGSESSIONSETUP 

Can't find the setup file to start the session.

TEST_SCHEDULERSTART 

Error starting the scheduler.

TEST_RUNNINGALREADY 

Can't start a test while one 1 running already.

TEST_MISSINGFBSKEY 

Missing FBS key defining a session with a non-default user defined FBS.

TEST_MISSINGFBSDEVICE 

Missing FBS device defining a session with a non-default user defined FBS.

TEST_MISSINGRESOURCE 

Can't find the resource file to start the session.

TEST_REMOTESTARTTIMEOUT 

Test did not start running (via remote request) before timeout reached.

TEST_ARCHIVEMISSINGPARAM 

Missing parameter to archive a test

TEST_REMOTESTOPTIMEOUT 

Test did not stop running (via remote request) before timeout reached.

TEST_NOTFOUND 

Can't find the test to start.

Enumerator:
SCHED_TESTCOMPLETE 
SCHED_SCRIPTSTOPSUCCESS 
SCHED_SUCCESSEORSTOP 

Stop at end of recording.

SCHED_STOPSUCCESS_EOS 

Stop test at end of script.

SCHED_STOPSUCCESS_RTW 

Stop test at end of RTW model run.

SCHED_STOPSUCCESS_CARMAKER 

Stop test at end of RTW model run.

SCHED_INITFAILURE 

Failure during test initialization.

SCHED_USERABORT 

User aborted the running test.

SCHED_OVERRUNABORT 

Running test stopped because of too many overruns.

SCHED_SCRIPTSTOPERROR 

Running test was stopped by the user script.

SCHED_DLABORT 

Abort caused by data logger error.

SCHED_IOTASKABORT 

Abort caused by ioTask error .

SCHED_RTWFAILEDINIT 

Abort by RTW faile to init R_INIT == 0 .

SCHED_DLREADERABORT 

Abort caused by data recorder reader.

SCHED_FBSABORT 

Abort caused by FBS termination.

SCHED_RTWABORT 

Abort caused by RTW request.

SCHED_DLABORTFAILEDLOCK 

Abort caused by data logger error that can't get lock on circular logger directory.

SCHED_FAILEDUSERINITPROCESS 

Abort caused by the user initialization process .

SCHED_DLABORTLOCKERROR 

Abort caused by O/S error trying to flock file.

SCHED_SIGSEGV 

A SimWB program crashed with a SIGSEGV.

SCHED_BUSY 

Scheduler operation in progress.

SCHED_RTW_MULTIRATEOVEERUN 

A multi rate subsystem in a RTW based model has overrun.

SCHED_STROVERFLOW 

Appending data to a string has overflowed buffer.

SCHED_INITSCRIPTABORT 
SCHED_FPEABORT 

The Init script has an error and want to abort the test.

SCHED_FMUABORT 

The FPE handler aborted the test. Abort caused by FMU request.

SCHED_ADAMSABORT 

Abort caused by ADAMS request.

SCHED_SCHEDABORT 

Abort caused by scheduler error .

SCHED_TASKNOTFOUND 

Task not found on scheduler list.

Enumerator:
DLFILE_FRAMENOTFOUND 

Can't find record corresponding to starting frame in data logger index file.

DLFILE_DATAFILEOPEN 

Can't open the data logger data file for the specified testId/SessionId.

DLFILE_INDEXFILEOPEN 

Can't open the data logger index file for the specified testId/SessionId.

DLFILE_METAFILEOPEN 

Can't open the data logger record meta file or the running intervals for the specified testId/SessionId.

DLFILE_VARNOTFOUND 

At list one data item not found in the list passed by the user.

DLFILE_NOLASTUPDATE 

Internal error, the value of a variable was not found at the last full record update.

DLFILE_INVALIDARG 

Invalid argument in call. Either nValues or nVariables <= 0 or startFrame < 0.

DLFILE_FRAMETOOLARGE 

Requesting data for a frame that is beyond what has been recorded.

DLFILE_CIRCLOGLOCKED 

The circular logger is locked.

Enumerator:
DLREADER_ERROR_SESSIONNOTOPEN 
DLREADER_ERROR_FILEOPEN 
DLREADER_ERROR_READMETA 
DLREADER_ERROR_READDATA 
DLREADER_ERROR_QUERYTEST 
DLREADER_ERROR_OUTOFSYNCREPLY 
Enumerator:
ASAM_ERROR_MAKESRV 

The make process to build the ASAMsrv task failed.

ASAM_ERROR_SIGNALASAMSRV 

The command to signal ASAMsrv failed.

ASAM_ERROR_NOTRUNNING 

ASAMsrv can't run because no test is running.

ASAM_ERROR_NOTLOGGING 

ASAMsrv can't run because test is not logging data.

ASAM_ERROR_DIRECTIO 

ASAMsrv can't run because logging is direct I/O.

ASAM_ERROR_BADSIGNALTYPE 

Bad ASAM server signal type.

ASAM_ERROR_SIMWB_TARGET 

Malformed SIMWB_TARGET.

ASAM_ERROR_MISSING_LOCK 

Missing lock value in ASAM lock platform command.

ASAM_ERROR_ALREADY_LOCKED 

ASAM lock platform held by another client.

ASAM_ERROR_WRITE_XML 

Error writing ASAM target to XML file.

ASAM_ERROR_READ_XML 

Error reading ASAM target XML file.

ASAM_ERROR_XML_NOT_TARGET 

XML not SIMWB_TARGET information.

ASAM_PYTHON_VERSION 

Function unavailable in this Python version.

ASAM_ERROR_BADSEGMENT 

Unrecognized ASAM segment type.

Enumerator:
DLFSRV_ERROR_SESSIONNOTOPEN 
DLFSRV_ERROR_FILEOPEN 
DLFSRV_ERROR_READMETA 
DLFSRV_ERROR_BAD_STARTFRAME 
DLFSRV_ERROR_BAD_NFRAMES 
DLFSRV_ERROR_BAD_NVARIABLES 
DLFSRV_ERROR_QUERYTEST 
DLFSRV_ERROR_OUTOFSYNCREPLY 
DLFSRV_ERROR_ZLIBCOMPRESS 
DLFSRV_ERROR_SOCKREAD 
DLFSRV_ERROR_SOCKWRITE 
DLFSRV_ERROR_BAD_NAME 
DLFSRV_ERROR_BAD_INDEX 
DLFSRV_ERROR_RECSIZMISMATCH 
DLFSRV_ERROR_INSUFFICIENT_INFO 
Enumerator:
PYTOOLKIT_LISTEXPECTED 

List expected.

PYTOOLKIT_TOOMANYVALUES 

Too many values.

PYTOOLKIT_NUMVALUES 

Number of values not as expected.

PYTOOLKIT_BADINDEX 

Bad row or column index.

PYTOOLKIT_BADFISCFAULT 

FISC fault not one of GND, PWR, OPEN or C2C.

PYTOOLKIT_BADUEGOFAULT 

UEGO fault not one of GND, PWR or OPEN.

PYTOOLKIT_BADRESISTORFAULT 

RESISTOR fault not one of GND, PWR or OPEN.

PYTOOLKIT_BADFAULTDEVICE 

Fault device not one of FISC, UEGO or RESISTOR.

PYTOOLKIT_MISSINGFAULTS 

Signal fault defined without any faults.

PYTOOLKIT_RELATIVEPATH 

Relative paths not allowed.

PYTOOLKIT_BADPGMSPEC 

Badly formed program specification.

PYTOOLKIT_BADSNAPSHOTFORMAT 

Bad snapshot format value.

PYTOOLKIT_BADSNAPSHOTMASK 

Bad snapshot mask value.

PYTOOLKIT_BADBOARDNO 

Bad board number.

PYTOOLKIT_BADBOARDNAME 

Bad board name.

PYTOOLKIT_BAD5565INTNO 

Bad 5565 interrupt number.

Enumerator:
OLIC_ERROR_NOT_ENOUGH_LICENSE 

Not enough license for a module

Enumerator:
RPCGUI_NOFUNCTION 

Function called does not exist.

Enumerator:
HARDW_ETHERCATSDODOWNLOAD 

ethercat command failed to download sdo to slave .


Function Documentation

int ccurTSC_noTSprintf ( const char *  fmt,
  ... 
)