HErrorDef.h 223 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616
  1. /*****************************************************************************
  2. * HErrorDef.h
  3. *****************************************************************************
  4. *
  5. * Project: HALCON/libhalcon
  6. * Description: Definition of error constants
  7. *
  8. * (c) 1996-2022 by MVTec Software GmbH
  9. * www.mvtec.com
  10. *
  11. ****************************************************************************/
  12. /* clang-format off */
  13. #ifndef HERRORDEF_H
  14. #define HERRORDEF_H
  15. /****************************************************************************/
  16. /* Return values of HALCON operators in the case of no error (messages) */
  17. /****************************************************************************/
  18. #define H_MSG_OK 2 /* Normal return value */
  19. #define H_MSG_TRUE H_MSG_OK /* true */
  20. #define H_MSG_FALSE 3 /* false */
  21. #define H_MSG_VOID 4 /* Stop processing */
  22. #define H_MSG_FAIL 5 /* Call failed */
  23. /****************************************************************************/
  24. #define H_ERR_BREAK 20 /* for internal use */
  25. #define H_ERR_HEN_CANCEL 21 /* operator was canceled for hdevengine */
  26. #define H_ERR_CANCEL 22 /* operator was generally cancelled */
  27. #define H_ERR_TIMEOUT_BREAK 23 /* for internal use */
  28. /****************************************************************************/
  29. /* Return codes for errors */
  30. /****************************************************************************/
  31. /* The values of errors range from 1000 to H_ERR_START_EXT */
  32. /* Values beyond H_ERR_START_EXT are reserved for user extensions */
  33. /****************************************************************************/
  34. /*****************************************************************/
  35. /* Groups of error numbers: */
  36. /*****************************************************************/
  37. /* General error: */
  38. /* Parameter of HALCON operators */
  39. /* Type input parameter 12xx */
  40. /* Value input parameter 13xx */
  41. /* Number values input parameter 14xx */
  42. /* Number objects input parameter 15xx */
  43. /*****************************************************************/
  44. /* Main part: */
  45. /* CORE 2xxx */
  46. /* CORE0 20xx */
  47. /* CORE1 21xx */
  48. /* COREx 22xx */
  49. /* Licensing 23xx */
  50. /* Tuple, Vectors, handles 24xx */
  51. /* Extensions (hlibxpi) 25xx */
  52. /* HALCON scheduling 28xx-29xx */
  53. /* Image processing 3xxx */
  54. /* Chords 30xx */
  55. /* IPxx 31xx */
  56. /* Contour 32xx */
  57. /* XLD 325x */
  58. /* Classification 33xx */
  59. /* Morphology 34xx */
  60. /* Runlength encoding 35xx */
  61. /* Bead Inspection 371x-374x */
  62. /* Sheet-of-light 375x */
  63. /* Texture Inspection 381x */
  64. /* ShapeFrom 385x */
  65. /* Kalman 390x */
  66. /* Structured Light 395x-396x */
  67. /* Background estimation 82xx */
  68. /* OCR 83xx */
  69. /* OCV 835x */
  70. /* Function 1D 837x */
  71. /* Camera calibration 84xx */
  72. /* Template matching 85xx */
  73. /* 1D Bar code 87xx */
  74. /* 2D Bar code (old) 8800 */
  75. /* 2D Data code (new) 8820-88xx */
  76. /* 3D Matching 89xx */
  77. /* Data base 4xxx */
  78. /* IOxx 5xxx */
  79. /* General 50xx */
  80. /* Window 51xx */
  81. /* File 52xx */
  82. /* Frame grabber 53xx */
  83. /* Read picture 55xx */
  84. /* Socket 56xx */
  85. /*****************************************************************/
  86. /* Further system components */
  87. /* Memory management 60xx */
  88. /* System 65xx */
  89. /* Interfaces */
  90. /* General 70xx */
  91. /* C 74xx */
  92. /*****************************************************************/
  93. /* Cxxx (e.g. CIPfeature) */
  94. /* Cgpx 80xx */
  95. /* Convol/Rank 81xx */
  96. /*****************************************************************/
  97. /* Misc */
  98. /* Misc 90xx */
  99. /*****************************************************************/
  100. /* Control parameters */
  101. /* Type input parameter 12xx */
  102. #define H_ERR_WIPT1 1201 /* Wrong type of control parameter: 1 */
  103. #define H_ERR_WIPT2 1202 /* Wrong type of control parameter: 2 */
  104. #define H_ERR_WIPT3 1203 /* Wrong type of control parameter: 3 */
  105. #define H_ERR_WIPT4 1204 /* Wrong type of control parameter: 4 */
  106. #define H_ERR_WIPT5 1205 /* Wrong type of control parameter: 5 */
  107. #define H_ERR_WIPT6 1206 /* Wrong type of control parameter: 6 */
  108. #define H_ERR_WIPT7 1207 /* Wrong type of control parameter: 7 */
  109. #define H_ERR_WIPT8 1208 /* Wrong type of control parameter: 8 */
  110. #define H_ERR_WIPT9 1209 /* Wrong type of control parameter: 9 */
  111. #define H_ERR_WIPT10 1210 /* Wrong type of control parameter: 10 */
  112. #define H_ERR_WIPT11 1211 /* Wrong type of control parameter: 11 */
  113. #define H_ERR_WIPT12 1212 /* Wrong type of control parameter: 12 */
  114. #define H_ERR_WIPT13 1213 /* Wrong type of control parameter: 13 */
  115. #define H_ERR_WIPT14 1214 /* Wrong type of control parameter: 14 */
  116. #define H_ERR_WIPT15 1215 /* Wrong type of control parameter: 15 */
  117. #define H_ERR_WIPT16 1216 /* Wrong type of control parameter: 16 */
  118. #define H_ERR_WIPT17 1217 /* Wrong type of control parameter: 17 */
  119. #define H_ERR_WIPT18 1218 /* Wrong type of control parameter: 18 */
  120. #define H_ERR_WIPT19 1219 /* Wrong type of control parameter: 19 */
  121. #define H_ERR_WIPT20 1220 /* Wrong type of control parameter: 20 */
  122. /* Value input parameter 13xx */
  123. #define H_ERR_WIPV1 1301 /* Wrong value of control parameter: 1 */
  124. #define H_ERR_WIPV2 1302 /* Wrong value of control parameter: 2 */
  125. #define H_ERR_WIPV3 1303 /* Wrong value of control parameter: 3 */
  126. #define H_ERR_WIPV4 1304 /* Wrong value of control parameter: 4 */
  127. #define H_ERR_WIPV5 1305 /* Wrong value of control parameter: 5 */
  128. #define H_ERR_WIPV6 1306 /* Wrong value of control parameter: 6 */
  129. #define H_ERR_WIPV7 1307 /* Wrong value of control parameter: 7 */
  130. #define H_ERR_WIPV8 1308 /* Wrong value of control parameter: 8 */
  131. #define H_ERR_WIPV9 1309 /* Wrong value of control parameter: 9 */
  132. #define H_ERR_WIPV10 1310 /* Wrong value of control parameter: 10 */
  133. #define H_ERR_WIPV11 1311 /* Wrong value of control parameter: 11 */
  134. #define H_ERR_WIPV12 1312 /* Wrong value of control parameter: 12 */
  135. #define H_ERR_WIPV13 1313 /* Wrong value of control parameter: 13 */
  136. #define H_ERR_WIPV14 1314 /* Wrong value of control parameter: 14 */
  137. #define H_ERR_WIPV15 1315 /* Wrong value of control parameter: 15 */
  138. #define H_ERR_WIPV16 1316 /* Wrong value of control parameter: 16 */
  139. #define H_ERR_WIPV17 1317 /* Wrong value of control parameter: 17 */
  140. #define H_ERR_WIPV18 1318 /* Wrong value of control parameter: 18 */
  141. #define H_ERR_WIPV19 1319 /* Wrong value of control parameter: 19 */
  142. #define H_ERR_WIPV20 1320 /* Wrong value of control parameter: 20 */
  143. #define H_ERR_WCOMP 1350 /* Wrong value of component */
  144. #define H_ERR_WGCOMP 1351 /* Wrong value of gray value component */
  145. /* Number of values input parameter 14xx */
  146. #define H_ERR_WIPN1 1401 /* Wrong number of values of ctrl.par.: 1 */
  147. #define H_ERR_WIPN2 1402 /* Wrong number of values of ctrl.par.: 2 */
  148. #define H_ERR_WIPN3 1403 /* Wrong number of values of ctrl.par.: 3 */
  149. #define H_ERR_WIPN4 1404 /* Wrong number of values of ctrl.par.: 4 */
  150. #define H_ERR_WIPN5 1405 /* Wrong number of values of ctrl.par.: 5 */
  151. #define H_ERR_WIPN6 1406 /* Wrong number of values of ctrl.par.: 6 */
  152. #define H_ERR_WIPN7 1407 /* Wrong number of values of ctrl.par.: 7 */
  153. #define H_ERR_WIPN8 1408 /* Wrong number of values of ctrl.par.: 8 */
  154. #define H_ERR_WIPN9 1409 /* Wrong number of values of ctrl.par.: 9 */
  155. #define H_ERR_WIPN10 1410 /* Wrong number of values of ctrl.par.: 10 */
  156. #define H_ERR_WIPN11 1411 /* Wrong number of values of ctrl.par.: 11 */
  157. #define H_ERR_WIPN12 1412 /* Wrong number of values of ctrl.par.: 12 */
  158. #define H_ERR_WIPN13 1413 /* Wrong number of values of ctrl.par.: 13 */
  159. #define H_ERR_WIPN14 1414 /* Wrong number of values of ctrl.par.: 14 */
  160. #define H_ERR_WIPN15 1415 /* Wrong number of values of ctrl.par.: 15 */
  161. #define H_ERR_WIPN16 1416 /* Wrong number of values of ctrl.par.: 16 */
  162. #define H_ERR_WIPN17 1417 /* Wrong number of values of ctrl.par.: 17 */
  163. #define H_ERR_WIPN18 1418 /* Wrong number of values of ctrl.par.: 18 */
  164. #define H_ERR_WIPN19 1419 /* Wrong number of values of ctrl.par.: 19 */
  165. #define H_ERR_WIPN20 1420 /* Wrong number of values of ctrl.par.: 20 */
  166. /* Number of input objects 15xx */
  167. #define H_ERR_IONTB 1500 /* Number of input objects too big */
  168. #define H_ERR_WION1 1501 /* Wrong number of values of object par.: 1 */
  169. #define H_ERR_WION2 1502 /* Wrong number of values of object par.: 2 */
  170. #define H_ERR_WION3 1503 /* Wrong number of values of object par.: 3 */
  171. #define H_ERR_WION4 1504 /* Wrong number of values of object par.: 4 */
  172. #define H_ERR_WION5 1505 /* Wrong number of values of object par.: 5 */
  173. #define H_ERR_WION6 1506 /* Wrong number of values of object par.: 6 */
  174. #define H_ERR_WION7 1507 /* Wrong number of values of object par.: 7 */
  175. #define H_ERR_WION8 1508 /* Wrong number of values of object par.: 8 */
  176. #define H_ERR_WION9 1509 /* Wrong number of values of object par.: 9 */
  177. #define H_ERR_OONTB 1510 /* Number of output objects too big */
  178. /* Error codes concerning the HALCON core */
  179. #define H_ERR_WNP 2000 /* Wrong specification of parameter (error in
  180. file: xxx.def) */
  181. #define H_ERR_HONI 2001 /* Initialize Halcon:
  182. reset_obj_db(Width,Height,Components) */
  183. #define H_ERR_WRKNN 2002 /* Used number of symbolic object names
  184. too big */
  185. /* Error codes concerning licensing */
  186. #define H_ERR_LIC_NO_LICENSE 2003 /* No license found */
  187. #define H_ERR_LIC_NO_LS_SERVER 2004 /* Lost connection to license server */
  188. #define H_ERR_LIC_NO_MODULES 2005 /* No modules in license
  189. (no VENDOR_STRING) */
  190. #define H_ERR_LIC_NO_LIC_OPER 2006 /* No license for this operator */
  191. #define H_ERR_LIC_BAD_TZ 2007 /* Time zone offset from GMT is
  192. > 24 hours */
  193. #define H_ERR_LIC_BADPLATFORM 2008 /* Vendor keys do not support this
  194. platform */
  195. #define H_ERR_LIC_BADVENDORKEY 2009 /* Bad vendor keys */
  196. #define H_ERR_LIC_BADVENDORDATA 2010 /* Unknown vendor key type */
  197. #define H_ERR_LIC_CANTMALLOC 2011 /* malloc() call failed */
  198. #define H_ERR_LIC_EXPIREDKEYS 2012 /* Vendor keys have expired */
  199. #define H_ERR_LIC_FUNCNOTAVAIL 2013 /* Second call to lc_inti()
  200. (multiple jobs), and vendorkeys
  201. do not support multiple jobs */
  202. #define H_ERR_LIC_NOKEYDATA 2014 /* Vendor key data not supplied */
  203. #define H_ERR_LIC_LIBRARYMISMATCH 2015 /* lmclient.h/liblmgr.a version
  204. mismatch */
  205. #define H_ERR_LIC_NONETWORK 2016 /* Networking software not available
  206. on this machine */
  207. #define H_ERR_LIC_OLDVENDORDATA 2017 /* Old vendor keys supplied */
  208. #define H_ERR_LIC_BADCODE 2018 /* License key in license file does
  209. not match other data in file */
  210. #define H_ERR_LIC_BADHANDSHAKE 2019 /* Encryption handshake with daemon
  211. failed */
  212. #define H_ERR_LIC_BADPARAM 2020 /* 'key' structure is incorrect
  213. type, or feature == NULL, or
  214. num_licenses == 0 */
  215. #define H_ERR_LIC_BADSYSDATE 2021 /* System clock has been set back */
  216. #define H_ERR_LIC_BAD_VERSION 2022 /* Version argument is invalid
  217. floating point format */
  218. #define H_ERR_LIC_BUSYNEWSERV 2023 /* License server busy starting
  219. another copy of itself */
  220. #define H_ERR_LIC_CANTCONNECT 2024 /* Cannot establish a connection
  221. with a license server */
  222. #define H_ERR_LIC_FEATQUEUE 2025 /* Feature is queued. lc_status will
  223. determine when it is available */
  224. #define H_ERR_LIC_FUNC_NOT_AVAIL 2026 /* Vendor keys do not support this
  225. function */
  226. #define H_ERR_LIC_LOCALFILTER 2027 /* Checkout request filtered by the
  227. vendor-defined filter routine */
  228. #define H_ERR_LIC_MAXLIMIT 2028 /* Checkout exceeds MAX specified
  229. in options file */
  230. #define H_ERR_LIC_MAXUSERS 2029 /* All licenses in use */
  231. #define H_ERR_LIC_NO_SERVER_IN_FILE 2030 /* No license server specified
  232. for counted license */
  233. #define H_ERR_LIC_NOFEATURE 2031 /* Can not find feature in the
  234. license file */
  235. #define H_ERR_LIC_NOSERVSUPP 2032 /* Server has different license
  236. file than client - client's
  237. license has feature, but
  238. server's does not */
  239. #define H_ERR_LIC_OLDVER 2033 /* License file does not support
  240. a version this new */
  241. #define H_ERR_LIC_PLATNOTLIC 2034 /* This platform not authorized by
  242. license - running on platform
  243. not included in PLATFORMS list */
  244. #define H_ERR_LIC_SERVBUSY 2035 /* License server busy */
  245. #define H_ERR_LIC_NOCONFFILE 2036 /* Could not find license.dat */
  246. #define H_ERR_LIC_BADFILE 2037 /* Invalid license file syntax */
  247. #define H_ERR_LIC_NOSERVER 2038 /* Cannot connect to a license
  248. server */
  249. #define H_ERR_LIC_NOSERVICE 2039 /* No TCP "license" service
  250. exists */
  251. #define H_ERR_LIC_NOSOCKET 2040 /* No socket connection to
  252. license manager server */
  253. #define H_ERR_LIC_NOTTHISHOST 2041 /* Invalid host */
  254. #define H_ERR_LIC_LONGGONE 2042 /* Feature has expired */
  255. #define H_ERR_LIC_BADDATE 2043 /* Invalid date format in license
  256. file */
  257. #define H_ERR_LIC_BADCOMM 2044 /* Invalid returned data from
  258. license server */
  259. #define H_ERR_LIC_BADHOST 2045 /* Cannot find SERVER hostname in
  260. network database */
  261. #define H_ERR_LIC_CANTREAD 2046 /* Cannot read data from license
  262. server */
  263. #define H_ERR_LIC_CANTWRITE 2047 /* Cannot write data to license
  264. server */
  265. #define H_ERR_LIC_SELECTERR 2048 /* Error in select system call */
  266. #define H_ERR_LIC_CHECKINBAD 2049 /* Feature checkin failure
  267. detected at license */
  268. #define H_ERR_LIC_USERSQUEUED 2050 /* Users are queued for this
  269. feature */
  270. #define H_ERR_LIC_SERVLONGGONE 2051 /* License server does not support
  271. this version of this feature */
  272. #define H_ERR_LIC_TOOMANY 2052 /* Request for more licenses than
  273. this feature supports */
  274. #define H_ERR_LIC_CANTREADKMEM 2053 /* Cannot read /dev/kmem */
  275. #define H_ERR_LIC_CANTREADVMUNIX 2054 /* Cannot read /vmunix */
  276. #define H_ERR_LIC_CANTFINDETHER 2055 /* Cannot find ethernet device */
  277. #define H_ERR_LIC_NOREADLIC 2056 /* Cannot read license file */
  278. #define H_ERR_LIC_TOOEARLY 2057 /* Feature not yet available */
  279. #define H_ERR_LIC_NOSUCHATTR 2058 /* No such attribute */
  280. #define H_ERR_LIC_CLOCKBAD 2059 /* Clock difference too large
  281. between client and server */
  282. #define H_ERR_LIC_FEATCORRUPT 2060 /* Feature database corrupted in
  283. daemon */
  284. #define H_ERR_LIC_BADFEATPARAM 2061 /* Duplicate selection mismatch
  285. for this feature */
  286. #define H_ERR_LIC_FEATEXCLUDE 2062 /* User/host on EXCLUDE list for
  287. feature */
  288. #define H_ERR_LIC_FEATNOTINCLUDE 2063 /* User/host not on INCLUDE list
  289. for feature */
  290. #define H_ERR_LIC_NEVERCHECKOUT 2064 /* Feature was never checked out */
  291. #define H_ERR_LIC_BADKEYDATA 2065 /* Invalid FLEXlm key data supplied */
  292. #define H_ERR_LIC_NOCLOCKCHECK 2066 /* Clock setting check not
  293. available in daemon */
  294. #define H_ERR_LIC_DATE_TOOBIG 2067 /* Date too late for binary format */
  295. #define H_ERR_LIC_NOFLEXLMINIT 2068 /* FLEXlm not initialized */
  296. #define H_ERR_LIC_NOSERVRESP 2069 /* Server did not respond to message */
  297. #define H_ERR_LIC_CHECKOUTFILTERED 2070 /* Request rejected by vendor
  298. defined filter */
  299. #define H_ERR_LIC_NOFEATSET 2071 /* No FEATURESET line present in
  300. license file */
  301. #define H_ERR_LIC_BADFEATSET 2072 /* Incorrect FEATURESET line in
  302. license file */
  303. #define H_ERR_LIC_CANTCOMPUTEFEATSET 2073 /* Cannot compute FEATURESET
  304. line */
  305. #define H_ERR_LIC_SOCKETFAIL 2074 /* socket() call failed */
  306. #define H_ERR_LIC_SETSOCKFAIL 2075 /* setsockopt() failed */
  307. #define H_ERR_LIC_BADCHECKSUM 2076 /* Message checksum failure */
  308. #define H_ERR_LIC_SERVNOREADLIC 2077 /* Cannot read license file from
  309. server */
  310. #define H_ERR_LIC_NOTLICADMIN 2078 /* Not a license administrator */
  311. #define H_ERR_LIC_REMOVETOOSOON 2079 /* lmremove request too soon */
  312. #define H_ERR_LIC_ENDPATH 2080 /* Attempt to read beyond the end
  313. of LF path */
  314. #define H_ERR_LIC_VMS_SETIMR_FAILED 2081 /* SYS$SETIMR call failed */
  315. #define H_ERR_LIC_INTERNAL_ERROR 2082 /* Internal FLEXlm Erro - Please
  316. report to Globetrotter
  317. Software */
  318. #define H_ERR_LIC_NOADMINAPI 2083 /* FLEXadmin API functions not
  319. avilable */
  320. #define H_ERR_LIC_BADPKG 2084 /* Invalid PACKAGE line in
  321. license file */
  322. #define H_ERR_LIC_SERVOLDVER 2085 /* Server FLEXlm version older
  323. than client's */
  324. #define H_ERR_LIC_USER_BASED 2086 /* Incorrect number of USERS/HOSTS
  325. INCLUDED in options file */
  326. #define H_ERR_LIC_NOSERVCAP 2087 /* Server doesn't support this
  327. request */
  328. #define H_ERR_LIC_OBJECTUSED 2088 /* This license object already in
  329. use */
  330. #define H_ERR_LIC_FUTURE_FILE 2089 /* Future license file format */
  331. #define H_ERR_LIC_SERVER_REMOVED 2090 /* Feature removed during
  332. lmreread */
  333. #define H_ERR_LIC_POOL 2091 /* This feature is available in a
  334. different license pool */
  335. #define H_ERR_LIC_NOT_THIS_HOST 2092 /* Network connect to THIS_HOST
  336. failed */
  337. #define H_ERR_LIC_HOSTDOWN 2093 /* Server node is down or not
  338. responding */
  339. #define H_ERR_LIC_VENDOR_DOWN 2094 /* The desired vendor daemon is
  340. down */
  341. #define H_ERR_LIC_BADDECFILE 2095 /* The decimal format license is
  342. typed incorrectly */
  343. #define H_ERR_LIC_RESVFOROTHERS 2096 /* All licenses are reserved for
  344. others */
  345. #define H_ERR_LIC_TSOK_ERR 2097 /* Terminal Server remote client
  346. not allowed */
  347. #define H_ERR_LIC_BORROW_TOOLONG 2098 /* Cannot borrow that long */
  348. #define H_ERR_LIC_SERVER_MAXED_OUT 2099 /* License server out of network
  349. connections */
  350. #define H_ERR_LIC_NODONGLE 2300 /* Dongle not attached, or can't
  351. read dongle */
  352. #define H_ERR_LIC_NODONGLEDRIVER 2301 /* Missing dongle driver */
  353. #define H_ERR_LIC_FLEXLOCK2CKOUT 2302 /* FLEXlock checkouts attempted */
  354. #define H_ERR_LIC_SIGN_REQ 2303 /* SIGN= attribute required */
  355. #define H_ERR_LIC_NOCROSUPPORT 2304 /* CRO not supported for this
  356. platform */
  357. #define H_ERR_LIC_BORROW_LINGER_ERR 2305 /* BORROW failed */
  358. #define H_ERR_LIC_BORROW_EXPIRED 2306 /* BORROW period has expired */
  359. #define H_ERR_LIC_FLOATOK_ONEHOSTID 2307 /* FLOAT_OK license must have
  360. exactly one dongle hostid */
  361. #define H_ERR_LIC_BORROW_DELETE_ERR 2308 /* Unable to delete local borrow
  362. info */
  363. #define H_ERR_LIC_BORROW_RETURN_EARLY_ERR 2309 /* Returning borrowed
  364. license early
  365. not enabled */
  366. #define H_ERR_LIC_BORROW_RETURN_SERVER_ERR 2310 /* Returning borrowed
  367. license on server
  368. failed */
  369. #define H_ERR_LIC_CANT_CHECKOUT_JUST_PACKAGE 2311 /* Checkout just a
  370. PACKAGE failed*/
  371. #define H_ERR_LIC_COMPOSITEID_INIT_ERR 2312 /* Composite Hostid not
  372. initialized */
  373. #define H_ERR_LIC_COMPOSITEID_ITEM_ERR 2313 /* An item needed for Composite
  374. Hostid missing or invalid */
  375. #define H_ERR_LIC_BORROW_MATCH_ERR 2314 /* Borrowed license doesn't match
  376. any known server license */
  377. #define H_ERR_LIC_EVENTLOG_INIT_ERR 2315 /* Error enabling event log */
  378. #define H_ERR_LIC_EVENTLOG_DISABLED 2316 /* Event logging is disabled */
  379. #define H_ERR_LIC_EVENTLOG_WRITE_ERR 2317 /* Error writing to event log */
  380. #define H_ERR_LIC_TIMEOUT 2318 /* Timeout */
  381. #define H_ERR_LIC_BADCOMMAND 2319 /* Bad message command */
  382. #define H_ERR_LIC_SOCKET_BROKEN_PIPE 2320 /* Error writing to socket */
  383. #define H_ERR_LIC_INVALID_SIGNATURE 2321 /* Failed to generate version
  384. specific license */
  385. #define H_ERR_LIC_UNCOUNTED_NOT_SUPPORTED 2322 /* Vers.-specific signatures
  386. not supported */
  387. #define H_ERR_LIC_REDUNDANT_SIGNATURES 2323 /* License template contains
  388. redundant signature
  389. specifiers */
  390. #define H_ERR_LIC_BADCODE_V71_LK 2324 /* Invalid V71_LK signature */
  391. #define H_ERR_LIC_BADCODE_V71_SIGN 2325 /* Invalid V71_SIGN signature */
  392. #define H_ERR_LIC_BADCODE_V80_LK 2326 /* Invalid V80_LK signature */
  393. #define H_ERR_LIC_BADCODE_V80_SIGN 2327 /* Invalid V80_SIGN signature */
  394. #define H_ERR_LIC_BADCODE_V81_LK 2328 /* Invalid V81_LK signature */
  395. #define H_ERR_LIC_BADCODE_V81_SIGN 2329 /* Invalid V81_SIGN signature */
  396. #define H_ERR_LIC_BADCODE_V81_SIGN2 2330 /* Invalid V81_SIGN2 signature */
  397. #define H_ERR_LIC_BADCODE_V84_LK 2331 /* Invalid V84_LK signature */
  398. #define H_ERR_LIC_BADCODE_V84_SIGN 2332 /* Invalid V84_SIGN signature */
  399. #define H_ERR_LIC_BADCODE_V84_SIGN2 2333 /* Invalid V84_SIGN2 signature */
  400. #define H_ERR_LIC_LK_REQ 2334 /* License key required but
  401. missing from the certificate */
  402. #define H_ERR_LIC_BADAUTH 2335 /* Bad AUTH={} signature */
  403. #define H_ERR_LIC_REPAIR_NEEDED 2336 /* TS record invalid */
  404. #define H_ERR_LIC_TS_OPEN 2337 /* Cannot open TS */
  405. #define H_ERR_LIC_BAD_FULFILLMENT 2338 /* Invalid Fulfillment record */
  406. #define H_ERR_LIC_BAD_ACTREQ 2339 /* Invalid activation request
  407. received */
  408. #define H_ERR_LIC_TS_NO_FULFILL_MATCH 2340 /* No fulfillment exists in
  409. trusted storage which matches
  410. the request */
  411. #define H_ERR_LIC_BAD_ACT_RESP 2341 /* Invalid activation response
  412. received */
  413. #define H_ERR_LIC_CANTRETURN 2342 /* Can't return the fulfillment */
  414. #define H_ERR_LIC_RETURNEXCEEDSMAX 2343 /* Return would exceed max
  415. count(s) */
  416. #define H_ERR_LIC_NO_REPAIRS_LEFT 2344 /* No repair count left */
  417. #define H_ERR_LIC_NOT_ALLOWED 2345 /* Specified operation is not
  418. allowed */
  419. #define H_ERR_LIC_ENTLEXCLUDE 2346 /* User/host on EXCLUDE list for
  420. entitlement */
  421. #define H_ERR_LIC_ENTLNOTINCLUDE 2347 /* User/host not in INCLUDE list
  422. for entitlement */
  423. #define H_ERR_LIC_ACTIVATION 2348 /* Activation error */
  424. #define H_ERR_LIC_TS_BADDATE 2349 /* Invalid date format in trusted
  425. storage */
  426. #define H_ERR_LIC_ENCRYPTION_FAILED 2350 /* Message encryption failed */
  427. #define H_ERR_LIC_DECRYPTION_FAILED 2351 /* Message decryption failed */
  428. #define H_ERR_LIC_BADCONTEXT 2352 /* Bad filter context */
  429. #define H_ERR_LIC_SUPERSEDE_CONFLICT 2353 /* SUPERSEDE feature conflict */
  430. #define H_ERR_LIC_INVALID_SUPERSEDE_SIGN 2354 /* Invalid SUPERSEDE_SIGN
  431. syntax */
  432. #define H_ERR_LIC_SUPERSEDE_SIGN_EMPTYSTRING 2355 /* SUPERSEDE_SIGN does
  433. not contain a feature
  434. name and license
  435. signature */
  436. #define H_ERR_LIC_ONE_TSOK_PLATFORM_ERR 2356 /* ONE_TS_OK is not supported
  437. in this Windows Platform */
  438. #define H_ERR_LIC_ONE_TSOK_MTX_ERR 2357 /* Internal error */
  439. #define H_ERR_LIC_ONE_TSOK_ERR 2358 /* Only one terminal server
  440. remote client checkout is
  441. allowed for this feature */
  442. #define H_ERR_LIC_SSIDNULL 2359 /* Internal error */
  443. #define H_ERR_LIC_SMTXNOTREL 2360 /* Internal error */
  444. #define H_ERR_LIC_MTXNOPERM 2361 /* Internal error */
  445. #define H_ERR_LIC_COMPOSITEID_ETHER_ERR 2362 /* More than one ethernet
  446. hostid not supported in
  447. composite hostid
  448. definition */
  449. #define H_ERR_LIC_LIC_FILE_CHAR_EXCEED 2363 /* The number of characters in
  450. the license file paths
  451. exceeds the permissible
  452. limit */
  453. #define H_ERR_LIC_TZ_INVALID_SYNTAX 2364 /* Invalid TZ keyword syntax */
  454. #define H_ERR_LIC_TZ_INVALID_TZONE_SPEC 2365 /* Invalid time zone override
  455. specification in the
  456. client */
  457. #define H_ERR_LIC_TZ_INVALID_TZONE_INFO 2366 /* The time zone information
  458. could not be obtained */
  459. #define H_ERR_LIC_TZ_UNAUTHORIZED 2367 /* License client time zone not
  460. authorized for license
  461. rights */
  462. #define H_ERR_LIC_INVALID_VM_PLATFORMS 2368 /* Invalid syntax for
  463. VM_PLATFORMS keyword */
  464. #define H_ERR_LIC_VM_PHYSICAL_ONLY 2369 /* Feature can be checked out
  465. from physical machine only */
  466. #define H_ERR_LIC_VM_VIRTUAL_ONLY 2370 /* Feature can be checked out
  467. from virtual machine only */
  468. #define H_ERR_LIC_VM_BAD_KEY 2371 /* Vendor keys do not support
  469. Virtualization feature */
  470. #define H_ERR_LIC_MAXLIMIT_EXCEED 2372 /* Checkout request denied as it
  471. exceeds the MAX limit
  472. specified in the options
  473. file */
  474. #define H_ERR_LIC_BA_API_INTERNAL_ERROR 2373 /* Binding agent API -
  475. Internal error */
  476. #define H_ERR_LIC_BA_COMM_ERROR 2374 /* Binding agent communication
  477. error */
  478. #define H_ERR_LIC_INVALID_BA_VERSION 2375 /* Invalid Binding agent
  479. version */
  480. #define H_ERR_LIC_SERVERQUERY_LOAD_REQUEST_FAILED 2376
  481. /* Failed to load ServerQuery
  482. request */
  483. #define H_ERR_LIC_SERVERQUERY_RESPONSE_FAILED 2377
  484. /* Failed to generate ServerQuery
  485. response */
  486. #define H_ERR_LIC_INVALID_IPADDRESS 2378 /* Invalid IP address used while
  487. overriding */
  488. #define H_ERR_LIC_NO_CM_RUNTIME 2379 /* No CodeMeter Runtime installed */
  489. #define H_ERR_LIC_CM_RUNTIME_TOO_OLD 2380 /* Installed CodeMeter Runtime is too
  490. old */
  491. #define H_ERR_LIC_WRONG_EDITION 2381 /* License is for wrong HALCON
  492. edition */
  493. #define H_ERR_LIC_UNKNOWN_FLAGS 2382 /* License contains unknown FLAGS */
  494. #define H_ERR_LIC_PREVIEW_EXPIRED 2383 /* HALCON preview version expired */
  495. #define H_ERR_LIC_NEWVER 2384 /* License does not support a HALCON
  496. version this old */
  497. /* Adapt this to be the highest error code concerning licensing */
  498. #define H_ERR_LAST_LIC_ERROR H_ERR_LIC_NEWVER
  499. /* Error codes concerning the HALCON core, 2100..2199 */
  500. #define H_ERR_WOOPI 2100 /* Wrong index for output object parameter */
  501. #define H_ERR_WIOPI 2101 /* Wrong index for input object parameter*/
  502. #define H_ERR_WOI 2102 /* Wrong index for image object */
  503. #define H_ERR_WRCN 2103 /* Wrong number region/image component */
  504. #define H_ERR_WRRN 2104 /* Wrong relation name */
  505. #define H_ERR_AUDI 2105 /* Access to undefined gray value component*/
  506. #define H_ERR_WIWI 2106 /* Wrong image width */
  507. #define H_ERR_WIHE 2107 /* Wrong image height */
  508. #define H_ERR_ICUNDEF 2108 /* Undefined gray value component */
  509. /* Error codes concerning the HALCON core (+ Language interfaces),
  510. 2200..2299 */
  511. #define H_ERR_IDBD 2200 /* Inconsistent data of data base (typing) */
  512. #define H_ERR_WICPI 2201 /* Wrong index for input control parameter */
  513. #define H_ERR_DBDU 2202 /* Data of data base not defined
  514. (internal error) */
  515. #define H_ERR_PNTL 2203 /* legacy: Number of operators too big */
  516. #define H_ERR_UEXTNI 2205 /* User extension not properly installed */
  517. #define H_ERR_NPTL 2206 /* legacy: Number of packages too large */
  518. #define H_ERR_NSP 2207 /* No such package installed */
  519. #define H_ERR_ICHV 2211 /* incompatible HALCON versions */
  520. #define H_ERR_ICOI 2212 /* incompatible operator interface */
  521. #define H_ERR_XPKG_WXID 2220 /* wrong extension package id */
  522. #define H_ERR_XPKG_WOID 2221 /* wrong operator id */
  523. #define H_ERR_XPKG_WOIID 2222 /* wrong operator information id */
  524. /* Error codes concerning the HALCON control tuples, 2400.. */
  525. #define H_ERR_CTPL_WTYP 2400 /* Wrong Hctuple array type */
  526. #define H_ERR_CPAR_WTYP 2401 /* Wrong Hcpar type */
  527. #define H_ERR_CTPL_WIDX 2402 /* Wrong Hctuple index */
  528. #define H_ERR_WFV 2403 /* Wrong version of file */
  529. #define H_ERR_WRONG_HANDLE_TYPE 2404 /* Wrong handle type */
  530. /* Error codes concerning the HALCON vectors, 2410.. */
  531. #define H_ERR_WVTYP 2410 /* wrong vector type */
  532. #define H_ERR_WVDIM 2411 /* wrong vector dimension */
  533. /* Error codes concerning the HALCON handles and ids 2450 ...
  534. * These error codes are only used internally and no error text is available
  535. * for these codes, therefore. */
  536. #define H_ERR_WHDL 2450 /* Wrong (unknown) HALCON handle */
  537. #define H_ERR_WID 2451 /* Wrong HALCON id, no data available */
  538. #define H_ERR_IDOOR 2452 /* HALCON id out of range */
  539. #define H_ERR_HANDLE_NULL 2453 /* Handle is NULL */
  540. #define H_ERR_HANDLE_CLEARED 2454 /* Handle was cleared */
  541. #define H_ERR_HANDLE_NOSER 2455 /* Handle type does not serialize */
  542. /* Error codes concerning control and iconic variables 2460..
  543. * These error codes are mainly used by the engine when dealing with
  544. * dictionaries, if an unexpected type is encountered (for example,
  545. * "throw(MyDict.image)" if MyDict.image is an image, not a tuple).
  546. */
  547. #define H_ERR_WT_CTRL_EXPECTED 2460 /* Type mismatch: Control expected, found iconic */
  548. #define H_ERR_WT_ICONIC_EXPECTED 2461 /* Type mismatc: Iconic expected, control found */
  549. /* Error codes concerning HALCON extensions, esp. of the
  550. * HALCON Library Extension Programming Interface (hlibxpi) 2500 ... */
  551. #define H_ERR_XPI_INIT_NOT_CALLED 2500 /* hlibxpi Init function of an extension
  552. * that was build with xpi was not
  553. * called */
  554. #define H_ERR_XPI_NO_INIT_FOUND 2501 /* hlib didn't find the init function
  555. * of the extension it is connecting to
  556. * -> old extension without hlibxpi or
  557. * the function export failed */
  558. #define H_ERR_XPI_UNRES 2502 /* Unresolved function in hlibxpi */
  559. #define H_ERR_XPI_HLIB_TOO_OLD 2503 /* HALCON extension requires a HALCON
  560. * version that is newer than the
  561. * connected hlib */
  562. #define H_ERR_XPI_XPI_TOO_OLD 2504 /* the (major) version of the hlibxpi
  563. * which is used by the connecting
  564. * extension is too small for hlib */
  565. #define H_ERR_XPI_MAJOR_TOO_SMALL 2505 /* the major version of the hlibxpi
  566. * which is used by the hlib is too
  567. * small */
  568. #define H_ERR_XPI_MINOR_TOO_SMALL 2506 /* the minor version of the hlibxpi
  569. * which is used by the hlib is too
  570. * small */
  571. #define H_ERR_XPI_INT_WRONG_MAJOR 2507 /* Wrong major version in symbol struct
  572. * (internal: should not happen) */
  573. #define H_ERR_XPI_UNKNOW_HLIB_VER 2508 /* HLib version could not be detected */
  574. /* HALCON agents/scheduler (parallel processing HALCON operators),
  575. 2800..2999 */
  576. #define H_ERR_HW_WFF 2800 /* Wrong hardware information file format */
  577. #define H_ERR_HW_WFV 2801 /* Wrong hardware information file version */
  578. #define H_ERR_HW_RF 2802 /* Error while reading the hardware knowledge*/
  579. #define H_ERR_HW_WF 2803 /* Error while writing the hardware knowledge*/
  580. #define H_ERR_HW_TF 2804 /* Tag not found */
  581. #define H_ERR_HW_CPU 2805 /* No CPU Info */
  582. #define H_ERR_HW_AOP 2806 /* No AOP Info */
  583. #define H_ERR_HW_HVAR 2807 /* No AOP Info for this HALCON variant */
  584. #define H_ERR_HW_HARCH 2808 /* No AOP Info for this HALCON architecture */
  585. #define H_ERR_HW_HOP 2809 /* No AOP Info for specified Operator found */
  586. #define H_ERR_HW_WAOPM 2810 /* undefined AOP model */
  587. #define H_ERR_HW_WTD 2811 /* wrong tag derivate */
  588. #define H_ERR_HW_IE 2812 /* internal error */
  589. #define H_ERR_HW_CANCEL 2813 /* hw check was canceled */
  590. #define H_ERR_GV_WA 2830 /* Wrong access to global variable */
  591. #define H_ERR_GV_NC 2831 /* Used global variable does not exist */
  592. #define H_ERR_GV_NG 2832 /* Used global variable not accessible via
  593. GLOBAL_ID */
  594. #define H_ERR_HM_NT 2835 /* Halcon server to terminate is still
  595. working on a job */
  596. #define H_ERR_HM_NA 2837 /* No such HALCON software agent */
  597. #define H_ERR_AG_CN 2838 /* Hardware check for parallelization not
  598. possible on a single-processor machine */
  599. #define H_ERR_AG_NC 2839 /* (Seq.) HALCON does not support parallel
  600. hardware check (use Parallel HALCON
  601. instead) */
  602. #define H_ERR_AG_IN 2840 /* Initialization of agent failed */
  603. #define H_ERR_AG_NT 2841 /* Termination of agent failed */
  604. #define H_ERR_AG_HW 2842 /* Inconsistent hardware description file */
  605. #define H_ERR_AG_II 2843 /* Inconsistent agent information file */
  606. #define H_ERR_AG_IK 2844 /* Inconsistent agent knowledge file */
  607. #define H_ERR_AG_WV 2845 /* The file with the parallelization
  608. information does not match to the
  609. currently HALCON version/revision */
  610. #define H_ERR_AG_WH 2846 /* The file with the parallelization
  611. information does not match to the
  612. currently used machine */
  613. #define H_ERR_AG_KC 2847 /* Inconsistent knowledge base of HALCON
  614. software agent */
  615. #define H_ERR_AG_CT 2848 /* Unknown communication type */
  616. #define H_ERR_AG_MT 2849 /* Unknown message type for HALCON software
  617. agent */
  618. #define H_ERR_AG_WK 2850 /* Error while saving the parallelization
  619. knowledge */
  620. #define H_ERR_AG_WW 2851 /* Wrong type of work information */
  621. #define H_ERR_AG_WA 2852 /* Wrong type of application information */
  622. #define H_ERR_AG_WE 2853 /* Wrong type of experience information */
  623. #define H_ERR_AG_NU 2854 /* Unknown name of HALCON software agent */
  624. #define H_ERR_AG_NE 2855 /* Unknown name and communication address of
  625. HALCON software agent */
  626. #define H_ERR_AG_RR 2856 /* cpu representative (HALCON software agent)
  627. not reachable */
  628. #define H_ERR_AG_CR 2857 /* cpu refuses work */
  629. #define H_ERR_AG_RN 2858 /* Description of scheduling resource
  630. not found */
  631. #define H_ERR_AG_TILT 2859 /* Not accessible function of HALCON
  632. software agent */
  633. #define H_ERR_WRT 2860 /* Wrong type: HALCON scheduling resource */
  634. #define H_ERR_WRS 2861 /* Wrong state: HALCON scheduling resource */
  635. #define H_ERR_UNKPT 2862 /* Unknown parameter type:
  636. HALCON scheduling resource */
  637. #define H_ERR_UNKPARVAL 2863 /* Unknown parameter value:
  638. HALCON scheduling resource */
  639. #define H_ERR_CTRL_WPP 2864 /* Wrong post processing of
  640. control parameter */
  641. #define H_ERR_GETTI 2867 /* Error while trying to get time */
  642. #define H_ERR_GETCPUNUM 2868 /* Error while trying to get the number
  643. of processors */
  644. #define H_ERR_TMPFNF 2869 /* Error while accessing temporary file */
  645. #define H_ERR_MQCNCL 2890 /* message queue wait operation canceled */
  646. #define H_ERR_MQOVL 2891 /* message queue overflow */
  647. #define H_ERR_MQCLEAR 2892 /* Threads still wait on message queue while
  648. * clearing it. */
  649. #define H_ERR_M_WRFILE 2893 /* Invalid file format for a message */
  650. #define H_ERR_DICT_KEY 2894 /* Dict does not contain requested key */
  651. #define H_ERR_DICT_TUPLE_LENGTH 2895 /* Incorrect tuple length in dict */
  652. #define H_ERR_DICT_TUPLE_TYPE 2896 /* Incorrect tuple type in dict */
  653. #define H_ERR_PTHRD_SCHED 2900 /* Error while forcing a context switch */
  654. #define H_ERR_SCHED_GAFF 2901 /* Error while accessing cpu affinity */
  655. #define H_ERR_SCHED_SAFF 2902 /* Error while setting cpu affinity */
  656. #define H_ERR_CO_WSO 2950 /* wrong synchronization object */
  657. #define H_ERR_CO_WOCO 2952 /* wrong operator call object */
  658. #define H_ERR_CO_IOPNI 2953 /* input object not initialized */
  659. #define H_ERR_CO_ICPNI 2954 /* input control not initialized */
  660. #define H_ERR_CO_OOPNI 2955 /* output object not initialized */
  661. #define H_ERR_CO_OCPNI 2956 /* output control not initialized */
  662. #define H_ERR_PTHRD_CR 2970 /* Creation of pthread failed */
  663. #define H_ERR_PTHRD_DT 2971 /* pthread-detach failed */
  664. #define H_ERR_PTHRD_JO 2972 /* pthread-join failed */
  665. #define H_ERR_PTHRD_MI 2973 /* Initialization of mutex variable failed */
  666. #define H_ERR_PTHRD_MD 2974 /* Deletion of mutex variable failed */
  667. #define H_ERR_PTHRD_ML 2975 /* Lock of mutex variable failed */
  668. #define H_ERR_PTHRD_MU 2976 /* Unlock of mutex variable failed */
  669. #define H_ERR_PTHRD_CS 2977 /* Failed to signal pthread condition var. */
  670. #define H_ERR_PTHRD_CW 2978 /* Failed to wait for pthread cond. var. */
  671. #define H_ERR_PTHRD_CI 2979 /* Failed to init pthread condition var. */
  672. #define H_ERR_PTHRD_CD 2980 /* Failed to destroy pthread condition var.*/
  673. #define H_ERR_PTHRD_ES 2981 /* Failed to signal event. */
  674. #define H_ERR_PTHRD_EW 2982 /* Failed to wait for event. */
  675. #define H_ERR_PTHRD_EI 2983 /* Failed to init event. */
  676. #define H_ERR_PTHRD_ED 2984 /* Failed to destroy event.*/
  677. #define H_ERR_PTHRD_TSDC 2985 /* Failed to create a tsd key.*/
  678. #define H_ERR_PTHRD_TSDS 2986 /* Failed to set a thread specific data key.*/
  679. #define H_ERR_PTHRD_TSDG 2987 /* Failed to get a tsd key.*/
  680. #define H_ERR_PTHRD_TSDF 2988 /* Failed to free a tsd key.*/
  681. #define H_ERR_PTHRD_BA 2989 /* Aborted waiting at a barrier*/
  682. #define H_ERR_DCDG_FLE 2990 /* 'Free list' is empty while scheduling */
  683. #define H_ERR_MSG_PNCI 2991 /* Communication partner not checked in */
  684. #define H_ERR_MSG_CSAI 2992 /* The communication system can't be started
  685. while running */
  686. #define H_ERR_MSG_CSNI 2993 /* Communication partner not checked in */
  687. #define H_ERR_PTHRD_BI 2994 /* Initialization of Barrier failed */
  688. #define H_ERR_PTHRD_BW 2995 /* Waiting at a barrier failed */
  689. #define H_ERR_PTHRD_BD 2996 /* Destroying of an barrier failed */
  690. /* Runlength data 3000..3099 */
  691. #define H_ERR_RCOIMA 3010 /* Region completely outside of the
  692. image domain */
  693. #define H_ERR_ROOIMA 3011 /* Region (partially) outside of the
  694. definition range of the image */
  695. #define H_ERR_RIEI 3012 /* Intersected definition range
  696. region/image empty */
  697. #define H_ERR_EDEF 3013 /* Image with empty definition range */
  698. #define H_ERR_IIEI 3014 /* No common image point of two images */
  699. #define H_ERR_FLTS 3015 /* Wrong region for image (first row < 0) */
  700. #define H_ERR_LLTB 3016 /* Wrong region for image
  701. (column in last row >= image width) */
  702. #define H_ERR_UENOI 3017 /* Number of images unequal in input pars. */
  703. #define H_ERR_HTS 3018 /* Image height too small */
  704. #define H_ERR_WTS 3019 /* Image width too small */
  705. #define H_ERR_CHSEG 3020 /* Internal error:
  706. Multiple call of HRLInitSeg() */
  707. #define H_ERR_RLSEG1 3021 /* Internal error:
  708. HRLSeg() not initialized */
  709. #define H_ERR_WGAUSSM 3022 /* Wrong size of filter for Gauss */
  710. #define H_ERR_FSEIS 3033 /* Filter size exceeds image size */
  711. #define H_ERR_FSEVAN 3034 /* Filter size evan */
  712. #define H_ERR_FSTOBIG 3035 /* Filter size to big */
  713. #define H_ERR_EMPTREG 3036 /* Region is empty */
  714. #define H_ERR_DOM_DIFF 3037 /* Domains of the input images differ */
  715. /* Cordinates */
  716. #define H_ERR_ROWTB 3040 /* Row value of a coordinate > 2^15-1
  717. (XL: 2^30 - 1) */
  718. #define H_ERR_ROWTS 3041 /* Row value of a coordinate < -2^15+1
  719. (XL: -2^30+1) */
  720. #define H_ERR_COLTB 3042 /* Column value of a coordinate > 2^15-1
  721. (XL: 2^30 - 1) */
  722. #define H_ERR_COLTS 3043 /* Column value of a coordinate < -2^15+1
  723. (XL: -2^30+1) */
  724. /* Error codes concerning image processing, 31xx */
  725. #define H_ERR_WRTHR 3100 /* Wrong segmentation threshold */
  726. #define H_ERR_UNKF 3101 /* Unknown feature */
  727. #define H_ERR_UNKG 3102 /* Unknown gray value feature */
  728. #define H_ERR_EINCC 3103 /* Internal error in HContCut */
  729. #define H_ERR_EINCP1 3104 /* Error in HContToPol:
  730. distance of points too big */
  731. #define H_ERR_EINCP2 3105 /* Error in HContToPol: contour too long */
  732. #define H_ERR_TMR 3106 /* Too many rows (IPImageTransform) */
  733. #define H_ERR_SFZ 3107 /* Scaling factor = 0.0 (IPImageScale) */
  734. #define H_ERR_OOR 3108 /* Wrong range in transformation matrix */
  735. #define H_ERR_NEF 3109 /* Internal error in IPvvf: no element free */
  736. #define H_ERR_NOOB 3110 /* Number of input objects is zero */
  737. #define H_ERR_EMPOB 3111 /* At least one input object has an
  738. empty region */
  739. #define H_ERR_NPOT 3112 /* Operation allowed for rectangular
  740. images 2**n only */
  741. #define H_ERR_TMEP 3113 /* Too many relevant points (IPHysterese) */
  742. #define H_ERR_LTB 3114 /* Number of labels in image too big */
  743. #define H_ERR_NNLA 3115 /* No labels with negative values allowed */
  744. #define H_ERR_WFS 3116 /* Wrong filter size (too small ?) */
  745. #define H_ERR_IWDS 3117 /* Images with different image size */
  746. #define H_ERR_IWTL 3118 /* Target image too wide or too far
  747. on the right */
  748. #define H_ERR_IWTS 3119 /* Target image too narrow or too far
  749. on the left */
  750. #define H_ERR_IHTL 3120 /* Target image too high or too far down */
  751. #define H_ERR_IHTS 3121 /* Target image too low or too far up */
  752. #define H_ERR_DNOC 3122 /* Number of channels in the input parameters
  753. are different */
  754. #define H_ERR_WRCFAFLT 3123 /* Wrong color filter array type */
  755. #define H_ERR_WRCFAINT 3124 /* Wrong color filter array interpolation */
  756. #define H_ERR_NO_AFFTRANS 3125 /* Homogeneous matrix does not represent an
  757. affine transformation */
  758. #define H_ERR_INPNOBDRY 3126 /* Inpainting region too close to the image
  759. border */
  760. #define H_ERR_DSIZESD 3127 /* source and destination differ in size*/
  761. #define H_ERR_TMFEAT 3128 /* to many features*/
  762. #define H_ERR_AXIS_UNDEF 3129 /* Reflection axis undefined */
  763. /* Coocurrence */
  764. #define H_ERR_COWTS 3131 /* Coocurrence Matrix:
  765. Too little columns for quantisation */
  766. #define H_ERR_COHTS 3132 /* Coocurrence Matrix:
  767. Too little rows for quantisation */
  768. #define H_ERR_NUM_COLMN 3133 /* Wrong number of columns */
  769. #define H_ERR_NUM_LINES 3134 /* Wrong number of rows */
  770. #define H_ERR_OVL 3135 /* Number has too many digits */
  771. #define H_ERR_NOT_SYM 3136 /* Matrix is not symmetric */
  772. #define H_ERR_NUM_COLS 3137 /* Matrix is too big */
  773. #define H_ERR_SYNTAX 3138 /* Wrong structure of file */
  774. #define H_ERR_MISSING 3139 /* Less than 2 matrices */
  775. #define H_ERR_COOC_MEM 3140 /* Not enough memory */
  776. #define H_ERR_NO_FILE 3141 /* Can not read the file */
  777. #define H_ERR_FILE_WR 3142 /* Can not open file for writing */
  778. #define H_ERR_NUM_LUCOLS 3143 /* Too many lookup table colors */
  779. #define H_ERR_WNOLI 3145 /* Too many Hough points (lines) */
  780. #define H_ERR_DITS 3146 /* Target image has got wrong height
  781. (not big enough) */
  782. #define H_ERR_WINTM 3147 /* Wrong interpolation mode */
  783. #define H_ERR_THICK_NK 3148 /* Region not compact or not connected */
  784. /* Laws */
  785. #define H_ERR_WIND3 3170 /* Wrong filter index for filter size 3 */
  786. #define H_ERR_WIND5 3171 /* Wrong filter index for filter size 5 */
  787. #define H_ERR_WIND7 3172 /* Wrong filter index for filter size 7 */
  788. #define H_ERR_WLAWSS 3173 /* Wrong filter size; only 3/5/7 */
  789. /* Noise estimation */
  790. #define H_ERR_NE_NPTS 3175 /* Number of suitable pixels too small to
  791. reliably estimate the noise */
  792. /* Contour */
  793. #define H_ERR_WNEE 3200 /* Different number of entries/exits
  794. in HContCut */
  795. #define H_ERR_REF 3201 /* Reference to contour is missing */
  796. /* XLD */
  797. #define H_ERR_XLDWT 3250 /* Wrong XLD type */
  798. #define H_ERR_XLD_RPF 3252 /* Border point is set to FG */
  799. #define H_ERR_XLD_MCL 3253 /* Maximum contour length exceeded */
  800. #define H_ERR_XLD_MCN 3254 /* Maximum number of contours exceeded */
  801. #define H_ERR_XLD_CTS 3255 /* Contour too short for fetch_angle_xld */
  802. #define H_ERR_XLD_CRD 3256 /* Regression parameters of contours
  803. already computed */
  804. #define H_ERR_XLD_CRND 3257 /* Regression parameters of contours not
  805. yet entered! */
  806. #define H_ERR_DBXC 3258 /* Data base: XLD object has been deleted */
  807. #define H_ERR_DBWXID 3259 /* Data base: Object has no XLD-ID */
  808. #define H_ERR_XLD_WNP 3260 /* Wrong number of contour points allocated */
  809. #define H_ERR_XLD_CAND 3261 /* Contour attribute not defined */
  810. #define H_ERR_FIT_ELLIPSE 3262 /* Ellipse fitting failed */
  811. #define H_ERR_FIT_CIRCLE 3263 /* Circle fitting failed */
  812. #define H_ERR_FIT_CLIP 3264 /* All points classified as outliers
  813. (ClippingFactor too small or used points
  814. not similar to primitive) */
  815. #define H_ERR_FIT_QUADRANGLE 3265 /* Quadrangle fitting failed */
  816. #define H_ERR_INCOMPL_RECT 3266 /* No points for at least one rectangle side */
  817. #define H_ERR_XLD_COI 3267 /* A contour point lies outside of the image */
  818. #define H_ERR_FIT_NOT_ENOUGH_POINTS 3274 /* Not enough points for model
  819. fitting */
  820. #define H_ERR_NWF 3275 /* No ARC/INFO world file */
  821. #define H_ERR_NAIGF 3276 /* No ARC/INFO generate file */
  822. #define H_ERR_DXF_UEOF 3278 /* Unexpected end of file while
  823. reading DXF file */
  824. #define H_ERR_DXF_CRGC 3279 /* Cannot read DXF-group code from file */
  825. #define H_ERR_DXF_INAPP 3280 /* Inconsistent number of attributes
  826. per point in DXF file */
  827. #define H_ERR_DXF_INAPPN 3281 /* Inconsistent number of attributes and
  828. names in DXF file */
  829. #define H_ERR_DXF_INAPCN 3282 /* Inconsistent number of global attributes
  830. and names in DXF file */
  831. #define H_ERR_DXF_CRAPP 3283 /* Cannot read attributes from DXF file */
  832. #define H_ERR_DXF_CRAPC 3284 /* Cannot read global attributes
  833. from DXF file */
  834. #define H_ERR_DXF_CRAN 3285 /* Cannot read attribute names from DXF file */
  835. #define H_ERR_DXF_WPN 3286 /* Wrong generic parameter name */
  836. #define H_ERR_DXF_IEDT 3289 /* Internal DXF I/O error: Wrong data type */
  837. #define H_ERR_XLD_ISOL_POINT 3290 /* Isolated point while contour merging */
  838. #define H_ERR_NURBS_CCBF 3291 /* Constraints cannot be fulfilled */
  839. #define H_ERR_NSEG 3292 /* No segment in contour */
  840. #define H_ERR_NO_ONE_P 3293 /* Only one or no point in template contour */
  841. /* Classification */
  842. #define H_ERR_SESF 3300 /* Syntax error in file for training */
  843. #define H_ERR_TMFE 3301 /* Maximum number of attributes per example
  844. exceeded */
  845. #define H_ERR_OPSF 3302 /* Not possible to open file for training */
  846. #define H_ERR_TMSS 3303 /* Too many data sets for training */
  847. #define H_ERR_TMSAM 3305 /* Too many examples for one data set for
  848. training */
  849. #define H_ERR_TMCLS 3306 /* Too many classes */
  850. #define H_ERR_TMBOX 3307 /* Maximum number of cuboids exceeded */
  851. #define H_ERR_OPCF 3308 /* Not possible to open classificator's file */
  852. #define H_ERR_SCLA 3309 /* Error while saving the classificator */
  853. #define H_ERR_OPF 3310 /* Not possible to open protocol file */
  854. #define H_ERR_CLEX 3311 /* Classificator with this name is already
  855. existent */
  856. #define H_ERR_TMCLA 3312 /* Maximum number of classificators exceeded */
  857. #define H_ERR_CNTL 3313 /* Name of classificator is too long, >= 20 */
  858. #define H_ERR_CLNNF 3314 /* Classificator with this name is not
  859. existent */
  860. #define H_ERR_NCCLA 3315 /* Current classificator is not defined */
  861. #define H_ERR_CLASS2_ID 3316 /* Wrong id in classification file */
  862. #define H_ERR_CLASS2_VERS 3317 /* The version of the classifier
  863. is not supported */
  864. #define H_ERR_CLASS_NOSITEM 3318 /* Serialized item does not contain
  865. a valid classifier */
  866. #define H_ERR_TM_NO_CL 3319 /* Text model does not contain a classifier
  867. yet (use set_text_model_param) */
  868. #define H_ERR_KNN_CANNOT_ADD 3320 /* Adding new features is not
  869. possible, because the dataset has
  870. been normalized during training.
  871. Please create a new classfier and
  872. add all training data again or
  873. disable normalization during
  874. training.*/
  875. #define H_ERR_GMM_NOTRAINFILE 3330 /* Invalid file format for GMM
  876. training samples */
  877. #define H_ERR_GMM_WRTRAINVERS 3331 /* The version of the GMM training
  878. samples is not supported */
  879. #define H_ERR_GMM_WRSMPFORMAT 3332 /* Wrong training sample file format */
  880. #define H_ERR_GMM_NOCLASSFILE 3333 /* nvalid file format for
  881. Gaussian Mixture Model (GMM) */
  882. #define H_ERR_GMM_WRCLASSVERS 3334 /* The version of the Gaussian Mixture
  883. Model (GMM) is not supported */
  884. #define H_ERR_GMM_TRAIN_UNKERR 3335 /* Unknown error when training GMM */
  885. #define H_ERR_GMM_TRAIN_COLLAPSED 3336 /* Collapsed covariance matrix */
  886. #define H_ERR_GMM_TRAIN_NOSAMPLE 3337 /* No samples for at least one class */
  887. #define H_ERR_GMM_TRAIN_FEWSAMPLES 3338 /* Too few samples for at least one
  888. class */
  889. #define H_ERR_GMM_NOTTRAINED 3340 /* GMM is not trained */
  890. #define H_ERR_GMM_NOTRAINDATA 3341 /* GMM has no training data */
  891. #define H_ERR_GMM_NOSITEM 3342 /* Serialized item does not contain a
  892. valid Gaussian Mixture Model (GMM) */
  893. #define H_ERR_MLP_UNKOUTFUNC 3350 /* Unknown output function */
  894. #define H_ERR_MLP_NOT01ENC 3351 /* Target not in 0-1 encoding */
  895. #define H_ERR_MLP_NOTRAINDATA 3352 /* No training samples stored in the
  896. classifier */
  897. #define H_ERR_MLP_NOTRAINFILE 3353 /* Invalid file format for MLP
  898. training samples */
  899. #define H_ERR_MLP_WRTRAINVERS 3354 /* The version of the MLP training
  900. samples is not supported */
  901. #define H_ERR_MLP_WRSMPFORMAT 3355 /* Wrong training sample format */
  902. #define H_ERR_MLP_NOCLASSIF 3356 /* MLP is not a classifier */
  903. #define H_ERR_MLP_NOCLASSFILE 3357 /* Invalid file format for
  904. multilayer perceptron (MLP) */
  905. #define H_ERR_MLP_WRCLASSVERS 3358 /* The version of the multilayer
  906. perceptron (MLP) is not supported */
  907. #define H_ERR_WRNUMCHAN 3359 /* Wrong number of channels */
  908. #define H_ERR_MLP_WRNUMPARAM 3360 /* Wrong number of MLP parameters */
  909. #define H_ERR_MLP_NOSITEM 3361 /* Serialized item does not contain a
  910. valid multilayer perceptron (MLP) */
  911. #define H_ERR_LUT_WRNUMCHAN 3370 /* The number of image channels and the
  912. number of dimensions of the look-up
  913. table do not match */
  914. #define H_ERR_LUT_NRCHANLARGE 3371 /* A look-up table can be build for 2 or 3
  915. channels only */
  916. #define H_ERR_LUT_CANNOTCREAT 3372 /* Cannot create look-up table. Please
  917. choose a larger 'bit_depth' or select
  918. the 'fast' 'class_selection'. */
  919. #define H_ERR_SVM_NOTRAINDATA 3380 /* No training samples stored in the
  920. classifier */
  921. #define H_ERR_SVM_NOTRAINFILE 3381 /* Invalid file format for SVM
  922. training samples */
  923. #define H_ERR_SVM_WRTRAINVERS 3382 /* The version of the SVM training
  924. samples is not supported */
  925. #define H_ERR_SVM_WRSMPFORMAT 3383 /* Wrong training sample format */
  926. #define H_ERR_SVM_NOCLASSFILE 3384 /* Invalid file format for support
  927. vector machine (SVM) */
  928. #define H_ERR_SVM_WRCLASSVERS 3385 /* The version of the support vector
  929. machine (SVM) is not supported */
  930. #define H_ERR_SVM_WRNRCLASS 3386 /* Wrong number of classes */
  931. #define H_ERR_SVM_NU_TOO_BIG 3387 /* Chosen nu is too big */
  932. #define H_ERR_SVM_TRAIN_FAIL 3388 /* SVM Training failed */
  933. #define H_ERR_SVM_DO_NOT_FIT 3389 /* SVMs do not fit together */
  934. #define H_ERR_SVM_NO_TRAIN_ADD 3390 /* No SV in SVM to add to training */
  935. #define H_ERR_SVM_KERNELNOTRBF 3391 /* Kernel must be RBF */
  936. #define H_ERR_SVM_NO_TRAIND_FOR_CLASS 3392 /* Not all classes contained in
  937. training data */
  938. #define H_ERR_SVM_NOT_TRAINED 3393 /* SVM not trained */
  939. #define H_ERR_NOT_TRAINED 3394 /* Classifier not trained */
  940. #define H_ERR_SVM_NOSITEM 3395 /* Serialized item does not contain a
  941. valid support vector machine (SVM) */
  942. /* Morphology */
  943. #define H_ERR_ROTNR 3401 /* Wrong rotation number */
  944. #define H_ERR_GOL 3402 /* Wrong letter for Golay element */
  945. #define H_ERR_BEZ 3403 /* Wrong reference point */
  946. #define H_ERR_ITER 3404 /* Wrong number of iterations */
  947. #define H_ERR_MOSYS 3405 /* Mophology: system error */
  948. #define H_ERR_ART 3406 /* Wrong type of boundary */
  949. #define H_ERR_OBJI 3407 /* Morphology: Wrong number of input obj. */
  950. #define H_ERR_OBJO 3408 /* Morphology: Wrong number of output obj. */
  951. #define H_ERR_PARI 3409 /* Morphology: Wrong number of input
  952. control parameter */
  953. #define H_ERR_PARO 3410 /* Morphology: Wrong number of output
  954. control parameter */
  955. #define H_ERR_SELC 3411 /* Morphology: Struct. element is infinite */
  956. #define H_ERR_WRNSE 3412 /* Morphology: Wrong name for struct. elem. */
  957. /* Runlength encoding, 35xxx */
  958. #define H_ERR_WRRLN1 3500 /* Wrong number of run length rows (chords):
  959. smaller than 0 */
  960. #define H_ERR_WRRLN2 3501 /* Number of chords too big, increase
  961. * current_runlength_number using set_system*/
  962. #define H_ERR_WRRLL 3502 /* Run length row with negative length */
  963. #define H_ERR_RLLTB 3503 /* Run length row >= image height */
  964. #define H_ERR_RLLTS 3504 /* Run length row < 0 */
  965. #define H_ERR_RLCTB 3505 /* Run length column >= image width */
  966. #define H_ERR_RLCTS 3506 /* Lauflaengenspalte < 0 */
  967. #define H_ERR_CHLTB 3507 /* For CHORD_TYPE: Number of row too big */
  968. #define H_ERR_CHLTS 3508 /* For CHORD_TYPE: Number of row too small */
  969. #define H_ERR_CHCTB 3509 /* For CHORD_TYPE: Number of column too big */
  970. #define H_ERR_MRLE 3510 /* Exceeding the maximum number of run lengths
  971. while automatical expansion */
  972. #define H_ERR_ICCOMPL 3511 /* Region->compl neither true/false */
  973. #define H_ERR_RLEMAX 3512 /* Region->max_num < Region->num */
  974. #define H_ERR_WRRLN3 3513 /* Number of chords too big for num_max */
  975. #define H_ERR_OPNOCOMPL 3514 /* Operator cannot be implemented for
  976. complemented regions */
  977. /* Image format */
  978. #define H_ERR_WIMAW1 3520 /* Image width < 0 */
  979. #define H_ERR_WIMAW2 3521 /* Image width >= MAX_FORMAT */
  980. #define H_ERR_WIMAH1 3522 /* Image height <= 0 */
  981. #define H_ERR_WIMAH2 3523 /* Image height >= MAX_FORMAT */
  982. #define H_ERR_WIMAW3 3524 /* Image width <= 0 */
  983. #define H_ERR_WIMAH3 3525 /* Image height <= 0 */
  984. #define H_ERR_TMS 3550 /* Too many segments */
  985. #define H_ERR_NO_INT8_IMAGE 3551 /* INT8 images are available on 64 bit systems
  986. only */
  987. /* Projective transformations */
  988. #define H_ERR_POINT_AT_INFINITY 3600 /* Point at infinity cannot be
  989. converted to a Euclidean point */
  990. #define H_ERR_ML_NO_COVARIANCE 3601 /* Covariance matrix could not be
  991. determined */
  992. #define H_ERR_RANSAC_PRNG 3602 /* RANSAC algorithm didn't find enough
  993. point correspondences */
  994. #define H_ERR_RANSAC_TOO_DIFFERENT 3603 /* RANSAC algorithm didn't find enough
  995. point correspondences */
  996. #define H_ERR_PTI_FALLBACK 3604 /* Internal diagnosis: fallback method
  997. had to be used */
  998. #define H_ERR_PTI_TRAFO_SING 3605 /* Projective transformation is
  999. singular */
  1000. #define H_ERR_PTI_MOSAIC_UNDERDET 3606 /* Mosaic is under-determined */
  1001. #define H_ERR_COV_NPD 3607 /* Input covariance matrix
  1002. is not positive definite */
  1003. #define H_ERR_TOO_MANY_POINTS 3608 /* The number of input points
  1004. too large. */
  1005. /* Self-calibration */
  1006. #define H_ERR_INPC 3620 /* Inconsistent number of point
  1007. correspondences. */
  1008. #define H_ERR_NOPA 3621 /* No path from reference image to one or
  1009. more images. */
  1010. #define H_ERR_IINE 3622 /* Image with specified index does not
  1011. exist. */
  1012. #define H_ERR_NOCM 3623 /* Matrix is not a camera matrix. */
  1013. #define H_ERR_SKNZ 3624 /* Skew is not zero. */
  1014. #define H_ERR_ILFL 3625 /* Illegal focal length. */
  1015. #define H_ERR_KANZ 3626 /* Kappa is not zero. */
  1016. #define H_ERR_VARA 3627 /* It is not possible to determine all
  1017. parameters for in the variable case. */
  1018. #define H_ERR_LVDE 3628 /* No valid implementation selected. */
  1019. #define H_ERR_KPAR 3629 /* Kappa can only be determined with the
  1020. gold-standard method for fixed camera
  1021. parameters. */
  1022. #define H_ERR_IMOD 3630 /* Conflicting number of images and projection
  1023. mode. */
  1024. #define H_ERR_PNIC 3631 /* Error in projection: Point not in any cube
  1025. map. */
  1026. #define H_ERR_NO_SOL 3632 /* No solution found. */
  1027. #define H_ERR_TINZ 3633 /* Tilt is not zero. */
  1028. /* Adjust mosaic */
  1029. #define H_ERR_ILMD 3640 /* Illegal combination of parameters and
  1030. estimation method. */
  1031. /* Self-calibration of radial distortions */
  1032. #define H_ERR_RDS_NSC 3660 /* No suitable contours found */
  1033. #define H_ERR_RDS_NSS 3661 /* No stable solution found */
  1034. #define H_ERR_RDS_ISS 3662 /* Instable solution found */
  1035. #define H_ERR_RDS_NEC 3663 /* Not enough contours for calibration */
  1036. /* FFT */
  1037. #define H_ERR_NOFFTOPT 3650 /* Invalid file format for FFT
  1038. optimization data */
  1039. #define H_ERR_WRFFTOPTVERS 3651 /* The version of the FFT optimization
  1040. data is not supported */
  1041. #define H_ERR_WRHALCONVERS 3652 /* Optimization data was created with a
  1042. different HALCON version
  1043. (Standard HALCON / Parallel HALCON) */
  1044. #define H_ERR_OPTFAIL 3653 /* Storing of the optimization data failed */
  1045. #define H_ERR_FFTOPT_NOSITEM 3654 /* Serialized item does not contain valid
  1046. FFT optimization data */
  1047. /* binocular_disparity */
  1048. #define H_ERR_INVLD_DISP_RANGE 3690 /* Invalid disparity range for
  1049. binocular_disparity_ms method */
  1050. /* Stereo */
  1051. #define H_ERR_EPIINIM 3700 /* Epipoles are situated within the image
  1052. domain */
  1053. #define H_ERR_EPI_FOV 3701 /* Fields of view of both cameras do not
  1054. intersect each other */
  1055. #define H_ERR_EPI_RECT 3702 /* Rectification impossible */
  1056. /* Bead Inpsection */
  1057. #define H_ERR_BI_WT_TARGET 3710 /* Wrong type of target_thickness
  1058. parameter */
  1059. #define H_ERR_BI_WT_THICKNESS 3711 /* Wrong type of thickness_tolerance
  1060. parameter */
  1061. #define H_ERR_BI_WT_POSITION 3712 /* Wrong type of position_tolerance
  1062. parameter */
  1063. #define H_ERR_BI_WT_SIGMA 3713 /* Wrong type of sigma parameter */
  1064. #define H_ERR_BI_WV_SIGMA 3714 /* Wrong value of sigma parameter */
  1065. #define H_ERR_BI_WT_THRESH 3715 /* Wrong type of threshold
  1066. parameter */
  1067. #define H_ERR_BI_WV_TARGET 3716 /* Wrong value of target_thickness
  1068. parameter */
  1069. #define H_ERR_BI_WV_THICKNESS 3717 /* Wrong value of thickness_tolerance
  1070. parameter */
  1071. #define H_ERR_BI_WV_POSITION 3718 /* Wrong value of position_tolerance
  1072. parameter */
  1073. #define H_ERR_BI_WV_THRESH 3719 /* Wrong value of threshold
  1074. parameter */
  1075. #define H_ERR_BI_WT_REFINE 3720 /* Wrong type of refinement
  1076. parameter */
  1077. #define H_ERR_BI_WV_REFINE 3721 /* Wrong value of refinement
  1078. parameter */
  1079. #define H_ERR_BI_WT_RESOL 3722 /* Wrong type of resolution
  1080. parameter */
  1081. #define H_ERR_BI_WV_RESOL 3723 /* Wrong type of resolution
  1082. parameter */
  1083. #define H_ERR_BI_WT_POLARITY 3724 /* Wrong type of polarity
  1084. parameter */
  1085. #define H_ERR_BI_WV_POLARITY 3725 /* Wrong type of polarity
  1086. parameter */
  1087. /* Sheet-of-light */
  1088. #define H_ERR_SOL_EMPTY_MODEL_LIST 3751 /* No sheet-of-light model available*/
  1089. #define H_ERR_SOL_WNIW 3752 /* Wrong input image size (width) */
  1090. #define H_ERR_SOL_WNIH 3753 /* Wrong input image size (height) */
  1091. #define H_ERR_SOL_WPROF_REG 3754 /* profile region does not fit the
  1092. domain of definition of the input
  1093. image */
  1094. #define H_ERR_SOL_CAL_NONE 3755 /* Calibration extend not set */
  1095. #define H_ERR_SOL_UNDEF_DISPARITY 3756 /* Undefined disparity image */
  1096. #define H_ERR_SOL_UNDEF_DISPDOMAIN 3757 /* Undefined domain for disparity
  1097. image */
  1098. #define H_ERR_SOL_UNDEF_CAMPAR 3758 /* Undefined camera parameter */
  1099. #define H_ERR_SOL_UNDEF_LPCS 3759 /* Undefined pose of the lightplane */
  1100. #define H_ERR_SOL_UNDEF_CCS 3760 /* Undefined pose of the camera
  1101. coordinate system */
  1102. #define H_ERR_SOL_UNDEF_CCS_2_LPCS 3761 /* Undefined transformation from the
  1103. camera to the lightplane
  1104. coordinate system */
  1105. #define H_ERR_SOL_UNDEF_MOV_POSE 3762 /* Undefined movement pose for xyz
  1106. calibration */
  1107. #define H_ERR_SOL_WV_SCALE 3763 /* Wrong value of scale parameter */
  1108. #define H_ERR_SOL_WV_PAR_NAME 3764 /* Wrong parameter name */
  1109. #define H_ERR_SOL_WT_METHOD 3765 /* Wrong type of parameter method */
  1110. #define H_ERR_SOL_WT_AMBIGUITY 3766 /* Wrong type of parameter
  1111. ambiguity */
  1112. #define H_ERR_SOL_WT_SCORE_TYPE 3767 /* Wrong type of parameter score */
  1113. #define H_ERR_SOL_WT_CALIBRATION 3768 /* Wrong type of parameter
  1114. calibration */
  1115. #define H_ERR_SOL_WT_NUM_PROF 3769 /* Wrong type of parameter
  1116. number_profiles */
  1117. #define H_ERR_SOL_WT_CAM_PAR 3770 /* Wrong type of element in parameter
  1118. camera_parameter */
  1119. #define H_ERR_SOL_WT_PAR_POSE 3771 /* Wrong type of element in pose */
  1120. #define H_ERR_SOL_WV_METHOD 3772 /* Wrong value of parameter method */
  1121. #define H_ERR_SOL_WT_THRES 3773 /* Wrong type of parameter min_gray */
  1122. #define H_ERR_SOL_WV_AMBIGUITY 3774 /* Wrong value of parameter
  1123. ambiguity */
  1124. #define H_ERR_SOL_WV_SCORE_TYPE 3775 /* Wrong value of parameter
  1125. score_type */
  1126. #define H_ERR_SOL_WV_CALIBRATION 3776 /* Wrong value of parameter
  1127. calibration */
  1128. #define H_ERR_SOL_WV_NUM_PROF 3777 /* Wrong value of parameter
  1129. number_profiles */
  1130. #define H_ERR_SOL_WV_CAMERA_TYPE 3778 /* Wrong type of camera */
  1131. #define H_ERR_SOL_WN_CAM_PAR 3779 /* Wrong number of values of parameter
  1132. camera_parameter */
  1133. #define H_ERR_SOL_WN_POSE 3780 /* Wrong number of values of pose */
  1134. #define H_ERR_SOL_NO_TARGET_FOUND 3781 /* Calibration target not found */
  1135. #define H_ERR_SOL_NO_VALID_SOL 3782 /* The calibration algorithm failed to
  1136. find a valid solution. */
  1137. #define H_ERR_SOL_WT_CALIB_OBJECT 3783 /* Wrong type of parameter
  1138. calibration_object */
  1139. #define H_ERR_SOL_INVALID_CALIB_OBJECT 3784 /* Invalid calibration object */
  1140. #define H_ERR_SOL_NO_CALIB_OBJECT_SET 3785 /* No calibration object set */
  1141. #define H_ERR_SOL_WR_FILE_FORMAT 3786 /* Invalid file format for
  1142. sheet-of-light model */
  1143. #define H_ERR_SOL_WR_FILE_VERS 3787 /* The version of the
  1144. sheet-of-light model is not
  1145. supported */
  1146. #define H_ERR_SOL_CAMPAR_UNSUPPORTED 3788 /* Camera type not supported by
  1147. calibrate_sheet_of_light_model*/
  1148. /* 3789 Used to be: Not available with calibration object based calibration */
  1149. #define H_ERR_SOL_PAR_CALIB 3790 /* Parameter does not match the
  1150. set 'calibration' */
  1151. #define H_ERR_SOL_WGV_DISP 3791 /* The gray values of the disparity
  1152. image do not fit the height of
  1153. the camera */
  1154. /* Texture Inspection */
  1155. #define H_ERR_TI_WRONGMODEL 3800 /* Wrong texture inspection model type*/
  1156. #define H_ERR_TI_NOTTRAINED 3801 /* Texture Model is not trained */
  1157. #define H_ERR_TI_NOTRAINDATA 3802 /* Texture Model has no training data */
  1158. #define H_ERR_TI_NOTRAINFILE 3803 /* Invalid file format for Texture
  1159. inspection model */
  1160. #define H_ERR_TI_WRTRAINVERS 3804 /* The version of the Texture inspection
  1161. model is not supported */
  1162. #define H_ERR_TI_WRSMPFORMAT 3805 /* Wrong training sample file format */
  1163. #define H_ERR_TI_WRSMPVERS 3806 /* The version of the training sample
  1164. file is not supported */
  1165. #define H_ERR_TI_WRIMGSIZE 3807 /* At least one of the images is too
  1166. small */
  1167. #define H_ERR_TI_WRSMPTEXMODEL 3808 /* The samples do not match the current
  1168. texture model */
  1169. #define H_ERR_NOT_ENOUGH_IMAGES 3809 /* No images within the texture model */
  1170. /* Shape-From */
  1171. #define H_ERR_SING 3850 /* The light source positions are linearly
  1172. dependent */
  1173. #define H_ERR_FEWIM 3851 /* No sufficient image indication */
  1174. #define H_ERR_ZBR_NOS 3852 /* Internal error: Function has equal signs
  1175. in HZBrent */
  1176. /* Kalman filter */
  1177. #define H_ERR_DIMK 3900 /* Kalman: Dimension n,m or p has got a
  1178. undefined value */
  1179. #define H_ERR_NOFILE 3901 /* Kalman: File does not exist */
  1180. #define H_ERR_FF1 3902 /* Kalman: Error in file (row of dimension) */
  1181. #define H_ERR_FF2 3903 /* Kalman: Error in file (row of marking) */
  1182. #define H_ERR_FF3 3904 /* Error in file (value is no float) */
  1183. #define H_ERR_NO_A 3905 /* Kalman: Matrix A is missing in file */
  1184. #define H_ERR_NO_C 3906 /* Kalman: In Datei fehlt Matrix C */
  1185. #define H_ERR_NO_Q 3907 /* Kalman: Matrix Q is missing in file */
  1186. #define H_ERR_NO_R 3908 /* Kalman: Matrix R is missing in file */
  1187. #define H_ERR_NO_GU 3909 /* Kalman: G or u is missing in file */
  1188. #define H_ERR_NOTSYMM 3910 /* Kalman: Covariant matrix is not symmetric */
  1189. #define H_ERR_SINGU 3911 /* Kalman: Equation system is singular */
  1190. /* Structured Light */
  1191. #define H_ERR_SLM_NOT_PERSISTENT 3950 /* structured light model is not in
  1192. persistent mode */
  1193. #define H_ERR_SLM_MSW_TOO_LARGE 3951 /* the min_stripe_width is too large for
  1194. the chosen pattern_width or
  1195. pattern_height */
  1196. #define H_ERR_SLM_SSW_TOO_LARGE 3952 /* the single_stripe_width is too large
  1197. for the chosen pattern_width or
  1198. pattern_height */
  1199. #define H_ERR_SLM_MSW_GT_SSW 3953 /* min_stripe_width has to be smaller
  1200. than single_stripe_width. */
  1201. #define H_ERR_SLM_SSW_LT_MSW 3954 /* single_stripe_width is too small
  1202. for min_stripe_width. */
  1203. #define H_ERR_SLM_NOT_PREP 3955 /* The SLM is not prepared for
  1204. decoding. */
  1205. #define H_ERR_SLM_NO_OBJS 3956 /* The SLM does not contain the queried
  1206. object. */
  1207. #define H_ERR_SLM_WRVERS 3957 /* The version of the structured light
  1208. model is not supported */
  1209. #define H_ERR_SLM_WRFILE 3958 /* Invalid file format for a structured light
  1210. model */
  1211. #define H_ERR_SLM_WRONGPATTERN 3959 /* Wrong pattern type*/
  1212. #define H_ERR_SLM_NOT_DECODED 3960 /* The SLM is not decoded. */
  1213. #define H_ERR_SLM_WRONGMODEL 3961 /* Wrong model type*/
  1214. /* Data Base and Image data management */
  1215. #define H_ERR_DBOIT 4050 /* Object is a object tupel */
  1216. #define H_ERR_DBOC 4051 /* Object has been deleted already */
  1217. #define H_ERR_DBWOID 4052 /* Wrong object-ID */
  1218. #define H_ERR_DBTC 4053 /* Object tupel has been deleted already */
  1219. #define H_ERR_DBWTID 4054 /* Wrong object tupel-ID */
  1220. #define H_ERR_DBTIO 4055 /* Object tupel is a object */
  1221. #define H_ERR_DBIDNULL 4056 /* Object-ID is NULL (0) */
  1222. #define H_ERR_WDBID 4057 /* Object-ID outside the valid range */
  1223. #define H_ERR_DBIC 4058 /* Access to deleted image */
  1224. #define H_ERR_DBWIID 4059 /* Access to image with wrong key */
  1225. #define H_ERR_DBRC 4060 /* Access to deleted region */
  1226. #define H_ERR_DBWRID 4061 /* Access to region with wrong key */
  1227. #define H_ERR_WCHAN 4062 /* Wrong value for image channel */
  1228. #define H_ERR_DBITL 4063 /* Index too big */
  1229. #define H_ERR_DBIUNDEF 4064 /* Index not defined */
  1230. /* OpenCL related error messages */
  1231. #define H_ERR_NO_OPENCL 4100 /* No OpenCL available */
  1232. #define H_ERR_OPENCL_ERROR 4101 /* OpenCL Error occured */
  1233. #define H_ERR_NO_COMPUTE_DEVICES 4102 /* No compute devices available */
  1234. #define H_ERR_NO_DEVICE_IMPL 4103 /* No device implementation for this
  1235. parameter */
  1236. #define H_ERR_OUT_OF_DEVICE_MEM 4104 /* Out of device memory */
  1237. #define H_ERR_INVALID_SHAPE 4105 /* Invalid work group shape */
  1238. #define H_ERR_INVALID_DEVICE 4106 /* Invalid compute device */
  1239. /* CUDA/cuDNN releated error messages */
  1240. #define H_ERR_CUDA_ERROR 4200 /* CUDA error occured */
  1241. #define H_ERR_CUDNN_ERROR 4201 /* cuDNN error occured */
  1242. #define H_ERR_CUBLAS_ERROR 4202 /* cuBLAS error occured */
  1243. #define H_ERR_BATCH_SIZE_NOT_SUPPORTED 4203 /* Set batch_size not
  1244. supported */
  1245. #define H_ERR_CUDA_NOT_AVAILABLE 4204 /* CUDA implementations not
  1246. available */
  1247. #define H_ERR_CUDNN_UNSUPPORTED_VERSION 4205 /* Unsupported version of cuDNN */
  1248. #define H_ERR_CUDNN_FEATURE_NOT_SUPPORTED 4206 /* Requested feature not supported by
  1249. cuDNN */
  1250. #define H_ERR_CUDA_DRIVER_VERSION 4207 /* CUDA driver is out-of-date */
  1251. /* MKL related error messages */
  1252. #define H_ERR_TRAINING_UNSUPPORTED 4301 /* Training is unsupported with
  1253. the selected runtime. */
  1254. #define H_ERR_CPU_INFERENCE_NOT_AVAILABLE 4302 /* CPU based inference is not
  1255. supported on this platform */
  1256. #define H_ERR_DNNL_ERROR 4303 /* Error occured in DNNL library */
  1257. /* AI Acclerator Interface related error messages */
  1258. #define H_ERR_HAI2_ERROR 4320 /* AI Accelerator Interface error occured */
  1259. #define H_ERR_HAI2_INVALID_PARAM 4321 /* Invalid parameter for AI Accelerator Interface */
  1260. /* ACL (Arm Compute Library) related error messages */
  1261. #define H_ERR_ACL_ERROR 4400 /* ACL error ocurred */
  1262. /* Visualization errors */
  1263. #define H_ERR_VISUALIZATION 4500 /* Internal visualization error */
  1264. #define H_ERR_COLOR_TYPE_UNEXP 4501 /* Unexpected color type */
  1265. #define H_ERR_NUM_COLOR_EXCEEDED 4502 /* Number of color settings exceeded */
  1266. /* I/O and window management, 51xx */
  1267. #define H_ERR_WSCN 5100 /* Wrong (logical) window number */
  1268. #define H_ERR_DSCO 5101 /* Error while opening the window */
  1269. #define H_ERR_WWC 5102 /* Wrong window coordinates */
  1270. #define H_ERR_NWA 5103 /* It is not possible to open another window */
  1271. #define H_ERR_DNA 5104 /* Device resp. operator not available */
  1272. #define H_ERR_UCOL 5105 /* Unknown color */
  1273. #define H_ERR_NWO 5106 /* No window has been opened for
  1274. desired action */
  1275. #define H_ERR_WFM 5107 /* Wrong filling mode for regions */
  1276. #define H_ERR_WGV 5108 /* Wrong gray value (0..255) */
  1277. #define H_ERR_WPV 5109 /* Wrong pixel value */
  1278. #define H_ERR_WLW 5110 /* Wrong line width */
  1279. #define H_ERR_WCUR 5111 /* Wrong name of cursor */
  1280. #define H_ERR_WLUT 5112 /* Wrong color table */
  1281. #define H_ERR_WDM 5113 /* Wrong representation mode */
  1282. #define H_ERR_WRCO 5114 /* Wrong representation color */
  1283. #define H_ERR_WRDM 5115 /* Wrong dither matrix */
  1284. #define H_ERR_WRIT 5116 /* Wrong image transformation */
  1285. #define H_ERR_IPIT 5117 /* Unsuitable image type for image trafo. */
  1286. #define H_ERR_WRZS 5118 /* Wrong zooming factor for image trafo. */
  1287. #define H_ERR_WRDS 5119 /* Wrong representation mode */
  1288. #define H_ERR_WRDV 5120 /* Wrong code of device */
  1289. #define H_ERR_WWINF 5121 /* Wrong number for father window */
  1290. #define H_ERR_WDEXT 5122 /* Wrong window size */
  1291. #define H_ERR_WWT 5123 /* Wrong window type */
  1292. #define H_ERR_WND 5124 /* No current window has been set */
  1293. #define H_ERR_WRGB 5125 /* Wrong color combination or range (RGB) */
  1294. #define H_ERR_WPNS 5126 /* Wrong number of pixels set */
  1295. #define H_ERR_WCM 5127 /* Wrong value for comprise */
  1296. #define H_ERR_FNA 5128 /* set_fix with 1/4 image levels and
  1297. static not valid */
  1298. #define H_ERR_LNFS 5129 /* set_lut not valid in child windows */
  1299. #define H_ERR_LOFL 5130 /* Number of concurrent used color tables
  1300. is too big */
  1301. #define H_ERR_WIDT 5131 /* Wrong device for window dump */
  1302. #define H_ERR_WWDS 5132 /* Wrong window size for window dump */
  1303. #define H_ERR_NDVS 5133 /* System variable DISPLAY not defined */
  1304. #define H_ERR_WBW 5134 /* Wrong thickness for window margin */
  1305. #define H_ERR_WDVS 5135 /* System variable DISPLAY has been set
  1306. wrong (<host>:0.0) */
  1307. #define H_ERR_TMF 5136 /* Too many fonts loaded */
  1308. #define H_ERR_WFN 5137 /* Wrong font name */
  1309. #define H_ERR_WCP 5138 /* No valid cursor position */
  1310. #define H_ERR_NTW 5139 /* Window is not a textual window */
  1311. #define H_ERR_NPW 5140 /* Window is not a image window */
  1312. #define H_ERR_STL 5141 /* String too long or too high */
  1313. #define H_ERR_NSS 5142 /* Too little space in the window rightw. */
  1314. #define H_ERR_NMS 5143 /* Window is not suitable for the mouse */
  1315. #define H_ERR_DWNA 5144 /* Here Windows on a equal machine is
  1316. permitted only */
  1317. #define H_ERR_WOM 5145 /* Wrong mode while opening a window */
  1318. #define H_ERR_WWM 5146 /* Wrong window mode for operation */
  1319. #define H_ERR_LUTF 5147 /* Operation not possible with fixed pixel */
  1320. #define H_ERR_LUTN8 5148 /* Color tables for 8 image levels only */
  1321. /* pseudo true-color */
  1322. #define H_ERR_WTCM 5149 /* Wrong mode for pseudo real colors */
  1323. #define H_ERR_WIFTL 5150 /* Wrong pixel value for LUT */
  1324. #define H_ERR_WSOI 5151 /* Wrong image size for pseudo real colors */
  1325. #define H_ERR_HRLUT 5152 /* Error in procedure HRLUT */
  1326. #define H_ERR_WPFSL 5153 /* Wrong number of entries in color table
  1327. for set_lut */
  1328. #define H_ERR_WPVS 5154 /* Wrong values for image area */
  1329. #define H_ERR_WLPN 5155 /* Wrong line pattern */
  1330. #define H_ERR_WLPL 5156 /* Wrong number of parameters for
  1331. line pattern */
  1332. #define H_ERR_WNOC 5157 /* Wrong number of colors */
  1333. #define H_ERR_WPST 5158 /* Wrong value for mode of area creation */
  1334. #define H_ERR_SWNA 5159 /* Spy window is not set (set_spy) */
  1335. #define H_ERR_NSFO 5160 /* No file for spy has been set (set_spy) */
  1336. #define H_ERR_WSPN 5161 /* Wrong parameter output depth (set_spy) */
  1337. #define H_ERR_WIFFD 5162 /* Wrong window size for window dump */
  1338. #define H_ERR_WLUTF 5163 /* Wrong color table:
  1339. Wrong file name or query_lut() */
  1340. #define H_ERR_WLUTE 5164 /* Wrong color table:
  1341. Empty string ? */
  1342. #define H_ERR_WLUTD 5165 /* Using this hardware set_lut('default')
  1343. is allowed only */
  1344. #define H_ERR_CNDP 5166 /* Error while calling online help */
  1345. #define H_ERR_LNPR 5167 /* Row can not be projected */
  1346. #define H_ERR_NFSC 5168 /* Operation is unsuitable using a computer
  1347. with fixed color table */
  1348. #define H_ERR_NACD 5169 /* Computer represents gray scales only */
  1349. #define H_ERR_LUTO 5170 /* LUT of this display is full */
  1350. #define H_ERR_WCC 5171 /* Internal error: wrong color code */
  1351. #define H_ERR_WWATTRT 5172 /* Wrong type for window attribute */
  1352. #define H_ERR_WWATTRN 5173 /* Wrong name for window attribute */
  1353. #define H_ERR_WRSPART 5174 /* negativ height of area (or 0) */
  1354. #define H_ERR_WCSPART 5175 /* negativ width of area (or 0) */
  1355. /* Window dump */
  1356. #define H_ERR_WNCV 5176 /* Window not completely visible */
  1357. /* Fonts */
  1358. #define H_ERR_FONT_NA 5177 /* Font not allowed for this operation */
  1359. /* Threads */
  1360. #define H_ERR_WDIFFTH 5178 /* Window was created in different thread */
  1361. #define H_ERR_OBJ_ATTACHED 5194 /* Drawing object already attached to another
  1362. window */
  1363. /* Image windows */
  1364. #define H_ERR_CHA3 5180 /* Internal error: only RGB-Mode */
  1365. #define H_ERR_NMWA 5181 /* No more (image-)windows available */
  1366. /* OpenGL support */
  1367. #define H_ERR_DEPTH_NOT_STORED 5179 /* Depth was not stored with window */
  1368. #define H_ERR_INDEX_NOT_STORED 5182 /* Object index was not stored with
  1369. window */
  1370. #define H_ERR_PRIM_NO_POINTS 5183 /* Operator does not support primitives
  1371. without point coordinates */
  1372. #define H_ERR_REMOTE_DESKTOP_SIZE 5184 /* Maximum image size for Windows Remote
  1373. Desktop exceeded */
  1374. #define H_ERR_NOGL 5185 /* No OpenGL support available */
  1375. #define H_ERR_NODEPTH 5186 /* No depth information available */
  1376. #define H_ERR_OGL_ERROR 5187 /* OpenGL error */
  1377. #define H_ERR_UNSUPPORTED_FBO 5188 /* Required framebuffer object is
  1378. unsupported */
  1379. #define H_ERR_OGL_HSR_NOT_SUPPORTED 5189 /* OpenGL accelerated hidden
  1380. surface removal not supported on
  1381. this machine */
  1382. /* window parameters */
  1383. #define H_ERR_WP_IWP 5190 /* Invalid window parameter */
  1384. #define H_ERR_WP_IWPV 5191 /* Invalid value for window parameter */
  1385. #define H_ERR_UMOD 5192 /* Unknown mode */
  1386. #define H_ERR_ATTIMG 5193 /* No image attached */
  1387. /* 3d navigation */
  1388. #define H_ERR_NVG_WM 5195 /* invalid navigation mode */
  1389. /* File I/O, 52xx */
  1390. #define H_ERR_FINTERN 5196 /* Internal file error */
  1391. #define H_ERR_FS 5197 /* Error while file synchronisation */
  1392. #define H_ERR_FISR 5198 /* insufficient rights */
  1393. #define H_ERR_BFD 5199 /* Bad file descriptor */
  1394. #define H_ERR_FNF 5200 /* File not found */
  1395. #define H_ERR_DWI 5201 /* Error while writing image data
  1396. (sufficient memory ?) */
  1397. #define H_ERR_DWID 5202 /* Error while writing image descriptor
  1398. (sufficient memory ?) */
  1399. #define H_ERR_DRI1 5203 /* Error while reading image data
  1400. (format of image too small ?) */
  1401. #define H_ERR_DRI2 5204 /* Error while reading image data
  1402. (format of image too big ?) */
  1403. #define H_ERR_DRID1 5205 /* Error while reading image descriptor:
  1404. File too small */
  1405. #define H_ERR_DIMMAT 5206 /* Image matrices are different */
  1406. #define H_ERR_HNF 5207 /* Help file not found (setenv HALCONROOT) */
  1407. #define H_ERR_XNF 5208 /* Help index not found (setenv HALCONROOT) */
  1408. #define H_ERR_CNCSI 5209 /* File <standard_input> can not be closed */
  1409. #define H_ERR_CNCSO 5210 /* <standard_output/error> can not be closed */
  1410. #define H_ERR_CNCF 5211 /* File can not be closed */
  1411. #define H_ERR_EDWF 5212 /* Error while writing to file */
  1412. #define H_ERR_NFA 5213 /* Exceeding of maximum number of files */
  1413. #define H_ERR_WFIN 5214 /* Wrong file name */
  1414. #define H_ERR_CNOF 5215 /* Error while opening the file */
  1415. #define H_ERR_WFMO 5216 /* Wrong file mode */
  1416. #define H_ERR_WPTY 5217 /* Wrong type for pixel (e.g. byte) */
  1417. #define H_ERR_WIW 5218 /* Wrong image width (too big ?) */
  1418. #define H_ERR_WIH 5219 /* Wrong image height (too big ?) */
  1419. #define H_ERR_FTS1 5220 /* File already exhausted before reading
  1420. an image */
  1421. #define H_ERR_FTS2 5221 /* File exhausted before terminating
  1422. the image */
  1423. #define H_ERR_WDPI 5222 /* Wrong value for resolution (dpi) */
  1424. #define H_ERR_WNOW 5223 /* Wrong output image size (width) */
  1425. #define H_ERR_WNOH 5224 /* Wrong output image size (height) */
  1426. #define H_ERR_WNFP 5225 /* Wrong number of parameter values:
  1427. Format description */
  1428. #define H_ERR_WPNA 5226 /* Wrong parameter name for operator */
  1429. #define H_ERR_WSNA 5227 /* Wrong slot name for parameter */
  1430. #define H_ERR_NPCF 5228 /* Operator class is missing in help file */
  1431. #define H_ERR_WHIF 5229 /* Wrong or inconsistent help/ *.idx
  1432. or help/ *.sta */
  1433. #define H_ERR_HINF 5230 /* File help/ *.idx not found */
  1434. #define H_ERR_HSNF 5231 /* File help/ *.sta not found */
  1435. #define H_ERR_ICSF 5232 /* Inconsistent file help/ *.sta */
  1436. #define H_ERR_EFNF 5233 /* No explication file (.exp) found */
  1437. #define H_ERR_NFWKEF 5234 /* No file found in known graphic format */
  1438. #define H_ERR_WIFT 5235 /* Wrong graphic format */
  1439. #define H_ERR_ICNF 5236 /* Inconsistent file halcon.num */
  1440. #define H_ERR_WTIFF 5237 /* File with extension 'tiff' is no
  1441. Tiff-file */
  1442. #define H_ERR_WFF 5238 /* Wrong file format */
  1443. #define H_ERR_NOGPPROC 5239 /* gnuplot could not be started */
  1444. #define H_ERR_NOGPFILE 5240 /* Output file for gnuplot could not be
  1445. opened */
  1446. #define H_ERR_NOGPOUT 5241 /* Not a valid gnuplot output stream */
  1447. #define H_ERR_NOPNM 5242 /* No PNM format */
  1448. #define H_ERR_ICODB 5243 /* Inconsistent or old help file */
  1449. #define H_ERR_INVAL_FILE_ENC 5244 /* Invalid file encoding */
  1450. #define H_ERR_FNO 5245 /* File not open */
  1451. #define H_ERR_NO_FILES 5246 /* No files in use so far (none opened) */
  1452. #define H_ERR_NORFILE 5247 /* Invalid file format for regions */
  1453. #define H_ERR_RDTB 5248 /* Error while reading region data:
  1454. Format of region too big. */
  1455. #define H_ERR_BINFILE_ENC 5249 /* Encoding for binary files not allowed */
  1456. #define H_ERR_EDRF 5250 /* Error reading file */
  1457. /* Serial interface */
  1458. #define H_ERR_SNO 5251 /* Serial port not open */
  1459. #define H_ERR_NSA 5252 /* No serial port available */
  1460. #define H_ERR_CNOS 5253 /* Could not open serial port */
  1461. #define H_ERR_CNCS 5254 /* Could not close serial port */
  1462. #define H_ERR_CNGSA 5255 /* Could not get serial port attributes */
  1463. #define H_ERR_CNSSA 5256 /* Could not set serial port attributes */
  1464. #define H_ERR_WRSBR 5257 /* Wrong baud rate for serial connection */
  1465. #define H_ERR_WRSDB 5258 /* Wrong number of data bits for
  1466. serial connection */
  1467. #define H_ERR_WRSFC 5259 /* Wrong flow control for serial connection */
  1468. #define H_ERR_CNFS 5260 /* Could not flush serial port */
  1469. #define H_ERR_EDWS 5261 /* Error during write to serial port */
  1470. #define H_ERR_EDRS 5262 /* Error during read from serial port */
  1471. #define H_ERR_REG_NOSITEM 5270 /* Serialized item does not contain
  1472. valid regions. */
  1473. #define H_ERR_REG_WRVERS 5271 /* The version of the regions is
  1474. not supported. */
  1475. #define H_ERR_IMG_NOSITEM 5272 /* Serialized item does not contain
  1476. valid images. */
  1477. #define H_ERR_IMG_WRVERS 5273 /* The version of the images is
  1478. not supported. */
  1479. #define H_ERR_XLD_NOSITEM 5274 /* Serialized item does not contain
  1480. valid XLD objects. */
  1481. #define H_ERR_XLD_WRVERS 5275 /* The version of the XLD objects is
  1482. not supported. */
  1483. #define H_ERR_OBJ_NOSITEM 5276 /* Serialized item does not contain
  1484. valid objects. */
  1485. #define H_ERR_OBJ_WRVERS 5277 /* The version of the objects is
  1486. not supported. */
  1487. #define H_ERR_XLD_DATA_TOO_LARGE 5678 /* XLD object data can only be read by
  1488. HALCON XL */
  1489. #define H_ERR_OBJ_UNEXPECTED 5279 /* Unexpected object detected */
  1490. /* File I/O, 52xx (continue) */
  1491. #define H_ERR_FNOTF 5280 /* File has not been opened in text format */
  1492. #define H_ERR_FNOBF 5281 /* File has not been opened in binary file
  1493. format */
  1494. #define H_ERR_DIRCR 5282 /* Cannot create directory */
  1495. #define H_ERR_DIRRM 5283 /* Cannot remove directory */
  1496. #define H_ERR_GETCWD 5284 /* Cannot get current directory */
  1497. #define H_ERR_SETCWD 5285 /* Cannot set current directory */
  1498. #define H_ERR_XINIT 5286 /* Need to call XInitThreads() */
  1499. /* Frame grabber / Image acquisition devices */
  1500. #define H_ERR_NFS 5300 /* No image acquisition device opened */
  1501. #define H_ERR_FGWC 5301 /* IA: wrong color depth */
  1502. #define H_ERR_FGWD 5302 /* IA: wrong device */
  1503. #define H_ERR_FGVF 5303 /* IA: determination of video format
  1504. not possible */
  1505. #define H_ERR_FGNV 5304 /* IA: no video signal */
  1506. #define H_ERR_UFG 5305 /* Unknown image acquisition device */
  1507. #define H_ERR_FGF 5306 /* IA: failed grabbing of an image */
  1508. #define H_ERR_FGWR 5307 /* IA: wrong resolution chosen */
  1509. #define H_ERR_FGWP 5308 /* IA: wrong image part chosen */
  1510. #define H_ERR_FGWPR 5309 /* IA: wrong pixel ratio chosen */
  1511. #define H_ERR_FGWH 5310 /* IA: handle not valid */
  1512. #define H_ERR_FGCL 5311 /* IA: instance not valid (already closed?) */
  1513. #define H_ERR_FGNI 5312 /* Image acquisition device could not be
  1514. initialized */
  1515. #define H_ERR_FGET 5313 /* IA: external triggering not supported */
  1516. #define H_ERR_FGLI 5314 /* IA: wrong camera input line (multiplex) */
  1517. #define H_ERR_FGCS 5315 /* IA: wrong color space */
  1518. #define H_ERR_FGPT 5316 /* IA: wrong port */
  1519. #define H_ERR_FGCT 5317 /* IA: wrong camera type */
  1520. #define H_ERR_FGTM 5318 /* IA: maximum number of acquisition device
  1521. classes exceeded */
  1522. #define H_ERR_FGDV 5319 /* IA: device busy */
  1523. #define H_ERR_FGASYNC 5320 /* IA: asynchronous grab not supported */
  1524. #define H_ERR_FGPARAM 5321 /* IA: unsupported parameter */
  1525. #define H_ERR_FGTIMEOUT 5322 /* IA: timeout */
  1526. #define H_ERR_FGGAIN 5323 /* IA: invalid gain */
  1527. #define H_ERR_FGFIELD 5324 /* IA: invalid field */
  1528. #define H_ERR_FGPART 5325 /* IA: invalid parameter type */
  1529. #define H_ERR_FGPARV 5326 /* IA: invalid parameter value */
  1530. #define H_ERR_FGFNS 5327 /* IA: function not supported */
  1531. #define H_ERR_FGIVERS 5328 /* IA: incompatible interface version */
  1532. #define H_ERR_FGSETPAR 5329 /* IA: could not set parameter value */
  1533. #define H_ERR_FGGETPAR 5330 /* IA: could not query parameter setting */
  1534. #define H_ERR_FGPARNA 5331 /* IA: parameter not available in current
  1535. configuration */
  1536. #define H_ERR_FGCLOSE 5332 /* IA: device could not be closed properly */
  1537. #define H_ERR_FGCAMFILE 5333 /* IA: camera configuration file could not be
  1538. opened */
  1539. #define H_ERR_FGCALLBACK 5334 /* IA: unsupported callback type */
  1540. #define H_ERR_FGDEVLOST 5335 /* IA: device lost */
  1541. #define H_ERR_FGABORTED 5336 /* IA: grab aborted */
  1542. /* digital io devices */
  1543. #define H_ERR_IOTIMEOUT 5350 /* IO: timeout */
  1544. #define H_ERR_IOIVERS 5351 /* IO: incompatible interface version */
  1545. #define H_ERR_IOWH 5352 /* IO: handle not valid */
  1546. #define H_ERR_IODBUSY 5353 /* IO: device busy */
  1547. #define H_ERR_IOIAR 5354 /* IO: insufficient user rights */
  1548. #define H_ERR_IONF 5355 /* IO: device or channel not found */
  1549. #define H_ERR_IOPART 5356 /* IO: invalid parameter type */
  1550. #define H_ERR_IOPARV 5357 /* IO: invalid parameter value */
  1551. #define H_ERR_IOPARNUM 5358 /* IO: invalid parameter number */
  1552. #define H_ERR_IOPARAM 5359 /* IO: unsupported parameter */
  1553. #define H_ERR_IOPARNA 5360 /* IO: parameter not available in curr
  1554. config.*/
  1555. #define H_ERR_IOFNS 5361 /* IO: function not supported */
  1556. #define H_ERR_IOME 5362 /* IO: maximum number of dio classes exceeded*/
  1557. #define H_ERR_IODNA 5363 /* IO: driver of io device not available */
  1558. #define H_ERR_IOABORTED 5364 /* IO: operation aborted */
  1559. #define H_ERR_IODATT 5365 /* IO: invalid data type */
  1560. #define H_ERR_IODEVLOST 5366 /* IO: device lost */
  1561. #define H_ERR_IOSETPAR 5367 /* IO: could not set parameter value */
  1562. #define H_ERR_IOGETPAR 5368 /* IO: could not query parameter setting */
  1563. #define H_ERR_IOCLOSE 5369 /* IO: device could not be closed properly */
  1564. /* Images from file */
  1565. /* JpegXR files */
  1566. #define H_ERR_JXR_UNSUPPORTED_FORMAT 5400 /* Image type is not
  1567. supported */
  1568. #define H_ERR_JXR_INVALID_PIXEL_FORMAT 5401 /* Invalid pixel format
  1569. passed to filter
  1570. function */
  1571. #define H_ERR_JXR_INTERNAL_ERROR 5402 /* Internal JpegXR error. */
  1572. #define H_ERR_JXR_FORMAT_SYNTAX_ERROR 5403 /* Syntax error in output
  1573. format string */
  1574. #define H_ERR_JXR_TOO_MANY_CHANNELS 5404 /* Maximum number of channels
  1575. exceeded */
  1576. #define H_ERR_JXR_EC_ERROR 5405 /* Unspecified error in JXR
  1577. library */
  1578. #define H_ERR_JXR_EC_BADMAGIC 5406 /* Bad magic number in JXR
  1579. library */
  1580. #define H_ERR_JXR_EC_FEATURE_NOT_IMPLEMENTED 5407 /* Feature not implemented in
  1581. JXR library */
  1582. #define H_ERR_JXR_EC_IO 5408 /* File read/write error in
  1583. JXR library */
  1584. #define H_ERR_JXR_EC_BADFORMAT 5409 /* Bad file format in JXR
  1585. library */
  1586. /* General */
  1587. #define H_ERR_LIB_FILE_CLOSE 5500 /* Error while closing the
  1588. image file */
  1589. #define H_ERR_LIB_FILE_OPEN 5501 /* Error while opening the
  1590. image file */
  1591. #define H_ERR_LIB_UNEXPECTED_EOF 5502 /* Premature end of the
  1592. image file */
  1593. #define H_ERR_IDTL 5503 /* Image dimensions too large for
  1594. this file format */
  1595. #define H_ERR_ITLHV 5504 /* Image too large for this HALCON
  1596. version */
  1597. #define H_ERR_TMIO 5505 /* Too many iconic objects for
  1598. this file format */
  1599. #define H_ERR_FILE_FORMAT_UNSUPPORTED 5506 /* File format is unsupported */
  1600. #define H_ERR_INCONSISTENT_DIMENSIONS 5507 /* All channels must have equal
  1601. dimensions */
  1602. /* PCX files */
  1603. #define H_ERR_PCX_NO_PCX_FILE 5510 /* File is no PCX-File */
  1604. #define H_ERR_PCX_UNKNOWN_ENCODING 5511 /* Unknown encoding */
  1605. #define H_ERR_PCX_MORE_THAN_4_PLANES 5512 /* More than 4 image plains */
  1606. #define H_ERR_PCX_COLORMAP_SIGNATURE 5513 /* Wrong magic in color table */
  1607. #define H_ERR_PCX_REPEAT_COUNT_SPANS 5514 /* Wrong number of bytes in span */
  1608. #define H_ERR_PCX_TOO_MUCH_BITS_PIXEL 5515 /* Wrong number of bits/pixels */
  1609. #define H_ERR_PCX_PACKED_PIXELS 5516 /* Wrong number of plains */
  1610. /* GIF files */
  1611. #define H_ERR_GIF_NO_GIF_PICTURE 5520 /* File is no GIF-File */
  1612. #define H_ERR_GIF_BAD_VERSION 5521 /* GIF: Wrong version */
  1613. #define H_ERR_GIF_SCREEN_DESCRIPTOR 5522 /* GIF: Wrong descriptor */
  1614. #define H_ERR_GIF_COLORMAP 5523 /* GIF: Wrong color table */
  1615. #define H_ERR_GIF_READ_ERROR_EOF 5524 /* GIF: Premature end of file */
  1616. #define H_ERR_GIF_NOT_ENOUGH_IMAGES 5525 /* GIF: Wrong number of images */
  1617. #define H_ERR_GIF_ERROR_ON_EXTENSION 5526 /* GIF: Wrong image extension */
  1618. #define H_ERR_GIF_LEFT_TOP_WIDTH 5527 /* GIF: Wrong left top width */
  1619. #define H_ERR_GIF_CIRCULAR_TABL_ENTRY 5528 /* GIF: Cyclic index of table */
  1620. #define H_ERR_GIF_BAD_IMAGE_DATA 5529 /* GIF: Wrong image data */
  1621. /* SUN-Raster files */
  1622. #define H_ERR_SUN_RASTERFILE_TYPE 5530 /* File is no Sun-Raster-File */
  1623. #define H_ERR_SUN_RASTERFILE_HEADER 5531 /* Wrong header */
  1624. #define H_ERR_SUN_COLS 5532 /* Wrong image width */
  1625. #define H_ERR_SUN_ROWS 5533 /* Wrong image height */
  1626. #define H_ERR_SUN_COLORMAP 5534 /* Wrong color map */
  1627. #define H_ERR_SUN_RASTERFILE_IMAGE 5535 /* Wrong image data */
  1628. #define H_ERR_SUN_IMPOSSIBLE_DATA 5536 /* Wrong type of pixel */
  1629. /* XWD files */
  1630. #define H_ERR_XWD_IMPOSSIBLE_DATA 5540 /* Wrong type of pixel */
  1631. #define H_ERR_XWD_VISUAL_CLASS 5541 /* Wrong visual class */
  1632. #define H_ERR_XWD_X10_HEADER 5542 /* Wrong X10 header */
  1633. #define H_ERR_XWD_X11_HEADER 5543 /* Wrong X11 header */
  1634. #define H_ERR_XWD_X10_COLORMAP 5544 /* Wrong X10 colormap */
  1635. #define H_ERR_XWD_X11_COLORMAP 5545 /* Wrong X11 colormap */
  1636. #define H_ERR_XWD_X11_PIXMAP 5546 /* Wrong pixmap */
  1637. #define H_ERR_XWD_UNKNOWN_VERSION 5547 /* Unknown version */
  1638. #define H_ERR_XWD_READING_IMAGE 5548 /* Error while reading an image */
  1639. /* TIFF files */
  1640. #define H_ERR_TIF_BAD_INPUTDATA 5550 /* Error while reading a file */
  1641. #define H_ERR_TIF_COLORMAP 5551 /* Wrong colormap */
  1642. #define H_ERR_TIF_TOO_MANY_COLORS 5552 /* Too many colors */
  1643. #define H_ERR_TIF_BAD_PHOTOMETRIC 5553 /* Wrong photometric interpretation*/
  1644. #define H_ERR_TIF_PHOTOMETRIC_DEPTH 5554 /* Wrong photometric depth */
  1645. #define H_ERR_TIF_NO_REGION 5555 /* Image is no binary file */
  1646. #define H_ERR_TIF_UNSUPPORTED_FORMAT 5556 /* Unsupported TIFF format */
  1647. #define H_ERR_TIF_BAD_SPECIFICATION 5557 /* Wrong file format specification */
  1648. #define H_ERR_TIF_FILE_CORRUPT 5558 /* TIFF file is corrupt */
  1649. #define H_ERR_TIF_TAG_UNDEFINED 5559 /* Required TIFF tag is missing */
  1650. /* BMP files */
  1651. #define H_ERR_BMP_NO_BMP_PICTURE 5560 /* File is no BMP-File */
  1652. #define H_ERR_BMP_READ_ERROR_EOF 5561 /* Premature end of file */
  1653. #define H_ERR_BMP_INCOMPLETE_HEADER 5562 /* Incomplete header */
  1654. #define H_ERR_BMP_UNKNOWN_FORMAT 5563 /* Unknown bitmap format */
  1655. #define H_ERR_BMP_UNKNOWN_COMPRESSION 5564 /* Unknown compression format */
  1656. #define H_ERR_BMP_COLORMAP 5565 /* Wrong color table */
  1657. #define H_ERR_BMP_WRITE_ERROR 5566 /* Write error on output */
  1658. #define H_ERR_BMP_NO_REGION 5567 /* File does not contain a
  1659. binary image */
  1660. /* Jpeg files */
  1661. #define H_ERR_JPG_COMP_NUM 5570 /* Wrong number of components in image */
  1662. #define H_ERR_JPGLIB_UNKNOWN 5571 /* Unknown error from libjpeg */
  1663. #define H_ERR_JPGLIB_NOTIMPL 5572 /* Not implemented feature in libjpeg */
  1664. #define H_ERR_JPGLIB_FILE 5573 /* File access error in libjpeg */
  1665. #define H_ERR_JPGLIB_TMPFILE 5574 /* Tmp file access error in libjpeg */
  1666. #define H_ERR_JPGLIB_MEMORY 5575 /* Memory error in libjpeg */
  1667. #define H_ERR_JPGLIB_INFORMAT 5576 /* Error in input image */
  1668. /* PNG files */
  1669. #define H_ERR_PNG_NO_PNG_FILE 5580 /* File is not a PNG file */
  1670. #define H_ERR_PNG_UNKNOWN_INTERLACE_TYPE 5581 /* Unknown interlace type */
  1671. #define H_ERR_PNG_UNSUPPORTED_COLOR_TYPE 5582 /* Unsupported color type */
  1672. #define H_ERR_PNG_NO_REGION 5583 /* Image is no binary file */
  1673. #define H_ERR_PNG_SIZE_TOO_BIG 5584 /* Image size too big */
  1674. /* TIFF files extension: no more code availables after 5559 */
  1675. #define H_ERR_TIF_TAG_ACCESS 5587 /* Error accessing TIFF tag */
  1676. #define H_ERR_TIF_TAG_DATATYPE 5588 /* Invalid TIFF tag value datatype */
  1677. #define H_ERR_TIF_TAG_UNSUPPORTED 5589 /* Unsupported TIFF tag requested */
  1678. /* Jpeg-2000 files */
  1679. #define H_ERR_JP2_CORRUPT 5590 /* File corrupt */
  1680. #define H_ERR_JP2_PREC_TOO_HIGH 5591 /* Image precision too high */
  1681. #define H_ERR_JP2_ENCODING_ERROR 5592 /* Error while encoding */
  1682. #define H_ERR_JP2_SIZE_TOO_BIG 5593 /* Image size too big */
  1683. /* HOBJ files */
  1684. #define H_ERR_HOBJ_NOT_ONLY_IMAGES 5599 /* File does not contain only images */
  1685. /* Socket communication and virtual links */
  1686. #define H_ERR_SOCKET_BLOCK 5600 /* Socket can not be set to
  1687. block */
  1688. #define H_ERR_SOCKET_UNBLOCK 5601 /* Socket can not be set to
  1689. unblock */
  1690. #define H_ERR_SOCKET_NO_CPAR 5602 /* Received data is no tuple */
  1691. #define H_ERR_SOCKET_NO_IMAGE 5603 /* Received data is no image */
  1692. #define H_ERR_SOCKET_NO_RL 5604 /* Received data is no region */
  1693. #define H_ERR_SOCKET_NO_XLD 5605 /* Received data is no
  1694. xld object */
  1695. #define H_ERR_SOCKET_READ_DATA_FAILED 5606 /* Error while reading
  1696. from socket */
  1697. #define H_ERR_SOCKET_WRITE_DATA_FAILED 5607 /* Error while writing
  1698. to socket */
  1699. #define H_ERR_SOCKET_WRONG_BYTE_NUMBER 5608 /* Illegal number of bytes
  1700. with get_rl */
  1701. #define H_ERR_SOCKET_BUFFER_OVERFLOW 5609 /* Buffer overflow in
  1702. read_data */
  1703. #define H_ERR_SOCKET_CANT_ASSIGN_FD 5610 /* Socket can not be created */
  1704. #define H_ERR_SOCKET_CANT_BIND 5611 /* Bind on socket failed */
  1705. #define H_ERR_SOCKET_CANT_GET_PORTNUMBER 5612 /* Socket information is not
  1706. available */
  1707. #define H_ERR_SOCKET_CANT_LISTEN 5613 /* Socket cannot listen for
  1708. incoming connections */
  1709. #define H_ERR_SOCKET_CANT_ACCEPT 5614 /* Connection could not be
  1710. accepted */
  1711. #define H_ERR_SOCKET_CANT_CONNECT 5615 /* Connection request failed */
  1712. #define H_ERR_SOCKET_GETHOSTBYNAME 5616 /* Hostname could not be
  1713. resolved */
  1714. #define H_ERR_SOCKET_ILLEGAL_TUPLE_TYPE 5618 /* Unknown tuple type on
  1715. socket */
  1716. #define H_ERR_SOCKET_TIMEOUT 5619 /* Timeout occured on socket */
  1717. #define H_ERR_SOCKET_NA 5620 /* No more sockets available */
  1718. #define H_ERR_SOCKET_NI 5621 /* Socket is not initialized */
  1719. #define H_ERR_SOCKET_OOR 5622 /* Invalid socket */
  1720. #define H_ERR_SOCKET_IS 5623 /* Socket is NULL */
  1721. #define H_ERR_SOCKET_DATA_TOO_LARGE 5624 /* Received data type is too
  1722. large */
  1723. #define H_ERR_SOCKET_WRONG_TYPE 5625 /* Wrong socket type. */
  1724. #define H_ERR_SOCKET_NO_PACKED_DATA 5626 /* Received data is not packed.
  1725. */
  1726. #define H_ERR_SOCKET_PARAM_FAILED 5627 /* Socket parameter operation
  1727. failed. */
  1728. #define H_ERR_SOCKET_FORMAT_MISMATCH 5628 /* The data does not match the
  1729. format specification. */
  1730. #define H_ERR_SOCKET_INVALID_FORMAT 5629 /* Invalid format
  1731. specification. */
  1732. #define H_ERR_SOCKET_NO_SERIALIZED_ITEM 5630 /* Received data is no
  1733. serialized item */
  1734. #define H_ERR_SOCKET_TLS_CONTEXT 5631 /* Unable to create SSL context */
  1735. #define H_ERR_SOCKET_TLS_CERT_KEY 5632 /* Invalid TLS certificate or private key */
  1736. #define H_ERR_SOCKET_TLS_HANDSHAKE 5633 /* Invalid TLS private key */
  1737. #define H_ERR_ARCINFO_TOO_MANY_XLDS 5700 /* Too many contours/polygons
  1738. for this file format */
  1739. /* Serialize/Deserialize */
  1740. #define H_ERR_QUAT_WRONG_VERSION 5750 /* The version of the quaternion
  1741. is not supported */
  1742. #define H_ERR_QUAT_NOSITEM 5751 /* Serialized item does not contain
  1743. a valid quaternion*/
  1744. #define H_ERR_HOM_MAT2D_WRONG_VERSION 5752 /* The version of the homogeneous
  1745. matrix is not supported */
  1746. #define H_ERR_HOM_MAT2D_NOSITEM 5753 /* Serialized item does not contain
  1747. a valid homogeneous matrix */
  1748. #define H_ERR_HOM_MAT3D_WRONG_VERSION 5754 /* The version of the homogeneous
  1749. 3D matrix is not supported */
  1750. #define H_ERR_HOM_MAT3D_NOSITEM 5755 /* Serialized item does not contain
  1751. a valid homogeneous 3D matrix */
  1752. #define H_ERR_TUPLE_WRONG_VERSION 5756 /* The version of the tuple
  1753. is not supported */
  1754. #define H_ERR_TUPLE_NOSITEM 5757 /* Serialized item does not
  1755. contain a valid tuple */
  1756. #define H_ERR_TUPLE_DTLFTHV 5758 /* Tuple data can only be read on
  1757. 64-bit systems */
  1758. #define H_ERR_POSE_WRONG_VERSION 5759 /* The version of the camera
  1759. parameters (pose) is not
  1760. supported */
  1761. #define H_ERR_POSE_NOSITEM 5760 /* Serialized item does not contain
  1762. valid camera parameters (pose) */
  1763. #define H_ERR_CAM_PAR_WRONG_VERSION 5761 /* The version of the internal
  1764. camera parameters is not
  1765. supported */
  1766. #define H_ERR_CAM_PAR_NOSITEM 5762 /* Serialized item does not contain
  1767. valid internal camera parameters
  1768. */
  1769. #define H_ERR_DUAL_QUAT_WRONG_VERSION 5763 /* The version of the dual
  1770. quaternion is not supported */
  1771. #define H_ERR_DUAL_QUAT_NOSITEM 5764 /* Serialized item does not contain
  1772. a valid dual quaternion*/
  1773. /* Memory management */
  1774. #define H_ERR_NP 6000 /* Access to undefined memory area */
  1775. #define H_ERR_MEM 6001 /* Not enough memory available */
  1776. #define H_ERR_ICM 6002 /* Memory partition on heap has been
  1777. overwritten */
  1778. #define H_ERR_WMS 6003 /* HAlloc: 0 bytes requested */
  1779. #define H_ERR_NOTMP 6004 /* Tmp-memory management:
  1780. Call freeing memory although nothing had
  1781. been allocated */
  1782. #define H_ERR_TMPNULL 6005 /* Tmp-memory management:
  1783. Null pointer while freeing */
  1784. #define H_ERR_CNFMEM 6006 /* Tmp-memory management:
  1785. Could not find memory element */
  1786. #define H_ERR_WMT 6007 /* memory management: wrong memory type */
  1787. #define H_ERR_MEM_VID 6021 /* Not enough video memory available */
  1788. #define H_ERR_NRA 6041 /* No memory block allocated at last */
  1789. #define H_ERR_IAD 6040 /* System parameter for memory-allocation
  1790. inconsistent */
  1791. #define H_ERR_INVALID_ALIGN 6042 /* Invalid alignement */
  1792. #define H_ERR_NULL_PTR 6043 /* Function was given a NULL ptr as input */
  1793. /* System */
  1794. #define H_ERR_CP_FAILED 6500 /* Process creation failed */
  1795. /* Language interfaces */
  1796. /* General */
  1797. #define H_ERR_WOCPI 7000 /* Wrong index for output control par. */
  1798. #define H_ERR_WOCPVN 7001 /* Wrong number of values:
  1799. Output control parameter */
  1800. #define H_ERR_WOCPT 7002 /* Wrong type: Output control parameter */
  1801. #define H_ERR_WKT 7003 /* Wrong data type for object key
  1802. (input objects) */
  1803. #define H_ERR_IOOR 7004 /* Range for integer had been passed */
  1804. #define H_ERR_IHV 7005 /* Inconsistent Halcon version */
  1805. #define H_ERR_NISS 7006 /* Not enough memory for strings allocated */
  1806. #define H_ERR_PROC_NULL 7007 /* Internal error: Proc is NULL */
  1807. #define H_ERR_UNKN 7105 /* Unknown symbolic object key (input obj.) */
  1808. #define H_ERR_WOON 7200 /* Wrong number of output object parameter */
  1809. /* C */
  1810. #define H_ERR_OTSE 7400 /* Output type <string> expected */
  1811. #define H_ERR_OTLE 7401 /* Output type <long> expected */
  1812. #define H_ERR_OTFE 7402 /* Output type <float> expected */
  1813. #define H_ERR_OPINP 7403 /* Object parameter is a zero pointer */
  1814. #define H_ERR_TWC 7404 /* Tupel had been deleted; values are not
  1815. valid any more */
  1816. /* CNNs */
  1817. #define H_ERR_CNN_DATA 7701 /* CNN: Internal data error */
  1818. #define H_ERR_CNN_MEM 7702 /* CNN: Invalid memory type */
  1819. #define H_ERR_CNN_IO_INVALID 7703 /* CNN: Invalid data
  1820. serialization */
  1821. #define H_ERR_CNN_IMPL_NOT_AVAILABLE 7704 /* CNN: Implementation not
  1822. available */
  1823. #define H_ERR_CNN_NUM_INPUTS_INVALID 7705 /* CNN: Wrong number of input data */
  1824. #define H_ERR_CNN_IMPL_INVALID 7706 /* CNN: Invalid implementation type
  1825. */
  1826. #define H_ERR_CNN_TRAINING_NOT_SUP 7707 /* CNN: Training is not supported in
  1827. the current environment. */
  1828. #define H_ERR_CNN_GPU_REQUIRED 7708 /* For this operation a GPU with
  1829. certain minimal requirements is
  1830. required. See installation guide
  1831. for details. */
  1832. #define H_ERR_CNN_CUDA_LIBS_MISSING 7709 /* For this operation the CUDA
  1833. library needs to be available.
  1834. (See installation guide for
  1835. details.) */
  1836. #define H_ERR_OCR_CNN_RE 7710 /* OCR File: Error while reading
  1837. classifier */
  1838. #define H_ERR_OCR_CNN_WGPN 7711 /* Wrong generic parameter name */
  1839. #define H_ERR_OCR_CNN_EXCLUSIV_PARAM 7712 /* One of the parameters returns
  1840. several values and has to be used
  1841. exclusively */
  1842. #define H_ERR_CNN_WGPN 7713 /* Wrong generic parameter name */
  1843. #define H_ERR_CNN_INVALID_LABELS 7714 /* Invalid labels. */
  1844. #define H_ERR_OCR_CNN_FILE_WRONG_VERSION 7715 /*OCR File: Wrong file version*/
  1845. #define H_ERR_CNN_MULTIPLE_CLASSES 7716 /* Invalid classes: At least one
  1846. class apears twice */
  1847. #define H_ERR_CNN_CUBLAS_LIBS_MISSING 7717 /* For this operation the cuBLAS
  1848. library needs to be available.
  1849. (See installation guide for
  1850. details.) */
  1851. #define H_ERR_CNN_CUDNN_LIBS_MISSING 7718 /* For this operation the CUDNN
  1852. library needs to be available.
  1853. (See installation guide for
  1854. details.) */
  1855. #define H_ERR_OCR_FNF_FIND_TEXT_SUPPORT 7719 /* File 'find_text_support.hotc'
  1856. not found (please place this
  1857. file in the ocr subdirectory
  1858. of the root directory of your
  1859. HALCON installation or in the
  1860. current working directory) */
  1861. #define H_ERR_CNN_TRAINING_FAILED 7720 /* Training step failed. This
  1862. might be caused by unsuitable
  1863. training parameters */
  1864. #define H_ERR_CNN_NO_PRETRAINED_WEIGHTS 7721 /* Weights in Graph have been
  1865. overwritten previously
  1866. and are lost. */
  1867. #define H_ERR_CNN_INVALID_INPUT_SIZE 7722 /* New input size is too small
  1868. to produce meaningful
  1869. features */
  1870. #define H_ERR_CNN_RESULT_NOT_AVAILABLE 7723 /* Result is not available. */
  1871. #define H_ERR_CNN_INVALID_INPUT_DEPTH 7724 /* New number of channels must be
  1872. either 1 or 3. */
  1873. #define H_ERR_CNN_DEPTH_NOT_AVAILABLE 7725 /* New input number of channels
  1874. can't be set to 3 if network
  1875. is specified for number of
  1876. channels 1 */
  1877. #define H_ERR_CNN_INVALID_BATCH_SIZE 7726 /* Device batch size larger than
  1878. batch size. */
  1879. #define H_ERR_CNN_INVALID_PARAM_SPEC 7727 /* Invalid specification of a
  1880. parameter. */
  1881. #define H_ERR_CNN_EXCEEDS_MAX_MEM 7728 /* Memory size exceeds maximal
  1882. allowed value. */
  1883. #define H_ERR_CNN_BATCH_SIZE_OVERFLOW 7729 /* New batch size causes integer
  1884. overflow */
  1885. #define H_ERR_CNN_INVALID_IMAGE_SIZE 7730 /* Invalid input image size for
  1886. detection model */
  1887. #define H_ERR_CNN_INVALID_LAYER_PARAM_VALUE 7731 /* Invalid parameter value
  1888. for current layer */
  1889. #define H_ERR_CNN_INVALID_LAYER_PARAM_NUM 7732 /* Invalid parameter num
  1890. for current layer */
  1891. #define H_ERR_CNN_INVALID_LAYER_PARAM_TYPE 7733 /* Invalid parameter type
  1892. for current layer */
  1893. #define H_ERR_CNN_NUM_OUTPUTS_INVALID 7734 /* CNN: Wrong number of output data
  1894. */
  1895. #define H_ERR_CNN_INVALID_SHAPE 7735 /* CNN: Invalid input shape */
  1896. #define H_ERR_CNN_INVALID_INPUT_DATA 7736 /* CNN: Invalid input data */
  1897. #define H_ERR_CNN_CUDNN_CTC_LOSS_BUGGY 7737 /* CNN: For variable input
  1898. lengths the ctc loss layer
  1899. only computes correct
  1900. gradients if the used cuDNN
  1901. version is >= 7.6.3. Please
  1902. upgrade cuDNN or do not use
  1903. variable input lengths. */
  1904. #define H_ERR_CNN_INVALID_PADDING 7738 /* CNN: Invalid padding */
  1905. #define H_ERR_CNN_IO_INVALID_LAYER_TYPE 7740 /* CNN: Invalid layer type
  1906. serialization */
  1907. #define H_ERR_CNN_INFERENCE_FAILED 7741 /* CNN: Inference failed */
  1908. #define H_ERR_CNN_RUNTIME_FAILED 7742 /* CNN: Runtime not supported on this machine */
  1909. /* Graphs */
  1910. #define H_ERR_GRAPH_INTERNAL 7751 /* Graph: Internal error */
  1911. #define H_ERR_GRAPH_IO_INVALID 7752 /* Graph: Invalid data serialization
  1912. */
  1913. #define H_ERR_GRAPH_INVALID_INDEX 7753 /* Graph: Invalid index */
  1914. /* CNN graphs */
  1915. #define H_ERR_CNNGRAPH_INTERNAL 7760 /* HCNNGraph: Internal error */
  1916. #define H_ERR_CNNGRAPH_IO_INVALID 7761 /* HCNNGraph: Invalid data
  1917. serialization */
  1918. #define H_ERR_CNNGRAPH_LAYER_INVALID 7762 /* HCNNGraph: Invalid layer
  1919. specification */
  1920. #define H_ERR_CNNGRAPH_NOINIT 7763 /* HCNNGraph: Graph not properly
  1921. initialized */
  1922. #define H_ERR_CNNGRAPH_INVALID_MEM 7764 /* CNN-Graph: Invalid memory type */
  1923. #define H_ERR_CNNGRAPH_INVALID_NUML 7765 /* CNN-Graph: Invalid number of
  1924. layers */
  1925. #define H_ERR_CNNGRAPH_INVALID_IDX 7766 /* CNN-Graph: Invalid index */
  1926. #define H_ERR_CNNGRAPH_SPEC_STATUS 7767 /* CNN-Graph: Invalid specification
  1927. status */
  1928. #define H_ERR_CNNGRAPH_NOCHANGE 7768 /* CNN-Graph: Graph is not allowed
  1929. to be changed after
  1930. initialization */
  1931. #define H_ERR_CNNGRAPH_PREPROC 7769 /* CNN-Graph: Missing preprocessing
  1932. */
  1933. #define H_ERR_CNNGRAPH_DEGREE 7770 /* CNN-Graph: Invalid vertex degree
  1934. */
  1935. #define H_ERR_CNNGRAPH_OUTSHAPE 7771 /* CNN-Graph: Invalid output shape
  1936. */
  1937. #define H_ERR_CNNGRAPH_SPEC 7772 /* CNN-Graph: Invalid specification
  1938. */
  1939. #define H_ERR_CNNGRAPH_DEF 7773 /* CNN-Graph: Invalid graph
  1940. definition */
  1941. #define H_ERR_CNNGRAPH_NO_CLASS_CHANGE 7774 /* CNN-Graph: Architecture not
  1942. suitable for the adaption of
  1943. the number of output classes */
  1944. #define H_ERR_CNNGRAPH_NO_IMAGE_RESIZE 7775 /* CNN-Graph: Architecture not
  1945. suitable for the adaption of
  1946. the image size" */
  1947. #define H_ERR_CNNGRAPH_AUX_INDEX_OOB 7776 /* CNN-Graph: Aux index out of
  1948. bounds.
  1949. */
  1950. #define H_ERR_CNNGRAPH_AUX_SPEC 7777 /* CNN-Graph: Invalid graph
  1951. definition. Probably the
  1952. auxiliary outputs of a layer have
  1953. not been connected with
  1954. corresponding aux selection
  1955. layers (SelectAux) or at least
  1956. one aux output has not been
  1957. specified during model creation
  1958. (create_dl_model call).
  1959. */
  1960. #define H_ERR_CNNGRAPH_LAYER_UNSUPPORTED 7778 /* CNN-Graph: Layer not supported
  1961. for selected runtime */
  1962. /* DL */
  1963. #define H_ERR_DL_INTERNAL 7779 /* DL: Internal error */
  1964. #define H_ERR_DL_FILE_READ 7780 /* DL: Error reading file */
  1965. #define H_ERR_DL_FILE_WRITE 7781 /* DL: Error writing file */
  1966. #define H_ERR_DL_FILE_WRONG_VERSION 7782 /* DL: Wrong file version */
  1967. #define H_ERR_DL_INPUTS_MISSING 7783 /* DL: Inputs missing in input dict */
  1968. #define H_ERR_DL_INPUT_WRONG_BS 7784 /* DL: Inputs have incorrect batch
  1969. size */
  1970. #define H_ERR_DL_INVALID_NAME 7785 /* DL: Invalid layer name */
  1971. #define H_ERR_DL_DUPLICATE_NAME 7786 /* DL: Duplicate layer name */
  1972. #define H_ERR_DL_INVALID_OUTPUT 7787 /* DL: Invalid output layer */
  1973. #define H_ERR_DL_PARAM_NOT_AVAILABLE 7788 /* DL: Parameter is not available */
  1974. #define H_ERR_DL_INPUT_WRONG_LENGTH 7789 /* DL: Tuple inputs have incorrect length */
  1975. #define H_ERR_DL_INPUT_WRONG_TYPE 7790 /* DL: Tuple inputs have incorrect type */
  1976. #define H_ERR_DL_INPUT_WRONG_VALUES 7791 /* DL: Some inputs have incorrect values */
  1977. #define H_ERR_DL_CLASS_IDS_NOT_UNIQUE 7792 /* DL: Some class ids are not unique */
  1978. #define H_ERR_DL_CLASS_IDS_INVALID 7793 /* DL: Some class ids are invalid */
  1979. #define H_ERR_DL_CLASS_IDS_INVALID_CONV 7794 /* DL: Input data of class id
  1980. conversion is invalid. */
  1981. #define H_ERR_DL_TYPE_ALREADY_DEFINED 7795 /* DL: Type already defined */
  1982. #define H_ERR_DL_NO_INFERENCE_INPUTS 7796 /* DL: Cannot identify inference
  1983. inputs. */
  1984. #define H_ERR_DL_CLASS_IDS_INVALID_OVERLAP 7797 /* DL: Some class ids overlap
  1985. with ignore class ids. */
  1986. #define H_ERR_DL_WRONG_OUTPUT_LAYER_NUM 7798 /* DL: Wrong number of output layer */
  1987. #define H_ERR_DL_WRONG_BS_MULTIPLIER 7799 /* DL: Batch size multiplier needs to be greater than 0 */
  1988. #define H_ERR_DL_INPUT_WRONG_BS_WITH_MULTIPLIER 7800 /* DL: Inputs have incorrect batch
  1989. size. The number of needed inputs is defined
  1990. by batch_size * batch_size_multiplier */
  1991. #define H_ERR_DL_READ_ONNX 7801 /* Error occured while reading an ONNX model */
  1992. #define H_ERR_DL_CLASS_IDS_MISSING 7802 /* DL: Model does not have class ids */
  1993. #define H_ERR_DL_WRITE_ONNX 7803 /* Error occured while writing an ONNX model */
  1994. #define H_ERR_DL_ONNX_LOADER 7804 /* DL: Libprotobuf for ONNX could not be loaded */
  1995. /* DL Detector */
  1996. #define H_ERR_DL_FPN_SCALES 7810 /* DL: Wrong scales during FPN creation */
  1997. #define H_ERR_DL_FPN_INVALID_BACKBONE 7811 /* DL: Backbone unusable for FPN creation */
  1998. #define H_ERR_DL_FPN_INVALID_FEATURE_MAP_SIZE 7812 /* DL: Backbone feature maps not divisible by 2 */
  1999. #define H_ERR_DL_FPN_INVALID_LEVELS 7813 /* Invalid FPN levels given */
  2000. #define H_ERR_DL_ANCHOR 7820 /* DL: Internal error using anchors */
  2001. #define H_ERR_DL_DETECTOR_INVALID_PARAM 7821 /* DL: Invalid detector parameter */
  2002. #define H_ERR_DL_DETECTOR_INVALID_PARAM_VALUE 7822 /* DL: Invalid detector parameter value */
  2003. #define H_ERR_DL_DETECTOR_INVALID_DOCKING_LAYER 7823 /* DL: Invalid docking layer */
  2004. #define H_ERR_DL_DETECTOR_INVALID_INSTANCE_TYPE 7824 /* DL: Invalid instance type */
  2005. /* DL Nodes */
  2006. #define H_ERR_DL_NODE_MISSING_PARAM_NAME 7830 /* DL-Node: Missing generic
  2007. parameter 'name'. Please
  2008. specify a layer name. */
  2009. #define H_ERR_DL_NODE_GENPARAM_NAME_NOT_ALLOWED 7831 /* DL-Node: No generic parameter
  2010. 'name' allowed for this node. */
  2011. #define H_ERR_DL_NODE_INVALID_SPEC 7832 /* DL-Node: Invalid layer specification. */
  2012. #define H_ERR_DL_NODE_DUPLICATE_EDGE 7833 /* DL-Node: There can only be one
  2013. direct connection between two
  2014. layers.*/
  2015. /* DL Solver */
  2016. #define H_ERR_DL_SOLVER_INVALID_TYPE 7840 /* DL-Solver: Invalid type. */
  2017. #define H_ERR_DL_SOLVER_INVALID_UPDATE_FORMULA 7841 /* DL-Solver: Invalid update formula. */
  2018. /* DL Heatmap */
  2019. #define H_ERR_DL_HEATMAP_UNSUPPORTED_RUNTIME 7850 /* DL: Heatmap is unsupported with
  2020. the selected runtime. */
  2021. #define H_ERR_DL_HEATMAP_UNSUPPORTED_MODEL_TYPE 7851 /* DL: Unsupported heatmap model type.
  2022. The heatmap is only applicable for
  2023. model type 'classification'. */
  2024. #define H_ERR_DL_HEATMAP_UNSUPPORTED_METHOD 7852 /* DL: Unsupported heatmap method */
  2025. #define H_ERR_DL_HEATMAP_WRONG_TARGET_CLASS_ID 7853 /* DL: Wrong target class id for heatmap */
  2026. /* DL Global Context Anomaly Detection */
  2027. #define H_ERR_DL_GCAD_NETWORK_NOT_AVAILABLE 7870 /* DL: GC Anomaly Detection network not avialable */
  2028. /* DL Anomaly Detection */
  2029. #define H_ERR_DL_ANOMALY_MODEL_INTERNAL 7880 /* DL: Internal error occurred in anomaly model */
  2030. #define H_ERR_DL_ANOMALY_MODEL_UNTRAINED 7881 /* DL: Untrained anomaly model */
  2031. #define H_ERR_DL_ANOMALY_MODEL_TRAINING_FAILED 7882 /* DL: Anomaly model training failed */
  2032. #define H_ERR_DL_ANOMALY_MODEL_PARAM_TRAINED 7883 /* DL: Unable to set parameter on a trained
  2033. anomaly detection model */
  2034. #define H_ERR_DL_ANOMALY_MODEL_RESIZE 7884 /* DL: Input image size cannot be changed */
  2035. #define H_ERR_DL_ANOMALY_MODEL_DEPTH 7885 /* DL: Input depth is not supported */
  2036. #define H_ERR_DL_ANOMALY_MODEL_INPUT_DOMAIN 7886 /* DL: Input domain must not be empty */
  2037. /* DEEP OCR */
  2038. #define H_ERR_DEEP_OCR_MODEL_INTERNAL 7890 /* Deep OCR internal error */
  2039. #define H_ERR_DEEP_OCR_MODEL_INVALID_ALPHABET 7891 /* Each entry of the alphabet
  2040. can only contain a string
  2041. of length one.
  2042. */
  2043. #define H_ERR_DEEP_OCR_MODEL_INVALID_ALPHABET_IDX 7892 /* Out of bounds index
  2044. into alphabet. */
  2045. #define H_ERR_DEEP_OCR_MODEL_INVALID_MODEL_TYPE 7893 /* The type of the given DL
  2046. model is not allowed. */
  2047. #define H_ERR_DEEP_OCR_MODEL_NOT_AVAILABLE 7894 /* The model is not available. */
  2048. #define H_ERR_DEEP_OCR_MODEL_INVALID_ALPHABET_MAPPING_NO_ALPHABET 7895 /*It is
  2049. not
  2050. possible
  2051. to
  2052. specify
  2053. a
  2054. mapping
  2055. because
  2056. there
  2057. is no
  2058. internal
  2059. alphabet
  2060. specified.
  2061. */
  2062. #define H_ERR_DEEP_OCR_MODEL_INVALID_ALPHABET_MAPPING_IDX 7896 /* Out of bounds index
  2063. into alphabet given as
  2064. mapping. */
  2065. #define H_ERR_DEEP_OCR_MODEL_INVALID_ALPHABET_MAPPING_LEN 7897 /* The length
  2066. of the
  2067. mapping and
  2068. the length
  2069. of the
  2070. internal alphabet
  2071. need to be
  2072. the same. */
  2073. #define H_ERR_DEEP_OCR_MODEL_FILE_NOT_FOUND 7898 /* The model file cannot be found. */
  2074. #define H_ERR_DEEP_OCR_MODEL_UNKNOWN_CHAR 7899 /* Some character is not
  2075. part of the internal alphabet. */
  2076. #define H_ERR_DEEP_OCR_MODEL_INVALID_WORD_LENGTH 7900 /* The given word length is invalid. */
  2077. #define H_ERR_DEEP_OCR_MODEL_ALPHABET_NOT_UNIQUE 7901 /* The given alphabet is
  2078. not a unique list of
  2079. characters */
  2080. /* DL Model */
  2081. #define H_ERR_DL_MODEL_APPLY_NO_DEF_OUTPUTS 7910 /* apply_dl_model: no default
  2082. outputs allowed */
  2083. #define H_ERR_DL_MODEL_UNSUPPORTED_GENPARAM 7911 /* DL: Unsupported generic parameter */
  2084. #define H_ERR_DL_MODEL_OPERATOR_UNSUPPORTED 7912 /* DL: Operator does not support model */
  2085. #define H_ERR_DL_MODEL_RUNTIME 7913 /* DL: Requested runtime cannot be set */
  2086. #define H_ERR_DL_MODEL_UNSUPPORTED_GENVALUE 7914 /* DL: Unsupported generic value(s) */
  2087. #define H_ERR_DL_MODEL_INVALID_NUM_SAMPLES 7915 /* DL: Invalid number of samples */
  2088. #define H_ERR_DL_MODEL_CONVERTED_PARAM 7916 /* DL: Parameter unsupported for converted model */
  2089. #define H_ERR_DL_MODEL_CONVERTED_UNSUPPORTED 7917 /* DL: Unsupported operation on converted model */
  2090. /* DL Device */
  2091. #define H_ERR_DL_DEVICE_UNSUPPORTED_PRECISION 7960 /* DL: Unsupported device precision */
  2092. /* DL Pruning */
  2093. #define H_ERR_DL_PRUNING_WRONG_DATA 7980 /* DL: Pruning data does not fit the given model */
  2094. #define H_ERR_DL_PRUNING_UNSUPPORTED_BY_CNN 7981 /* DL: Model architecture does not support pruning */
  2095. /* DL Module */
  2096. #define H_ERR_DL_MODULE_NOT_LOADED 7990 /* DLModule is not loaded */
  2097. /* Cgpx */
  2098. #define H_ERR_WPRN 8000 /* Unknown operator name */
  2099. #define H_ERR_RCNA 8001 /* register_comp_used is not activated */
  2100. #define H_ERR_WPC 8002 /* Unknown operator class */
  2101. /* Convolution and rank */
  2102. /* Error codes concerning getMask() (RMF = Read Mask-File) */
  2103. #define H_ERR_ORMF 8101 /* convol/mask: Error while opening file */
  2104. #define H_ERR_EOFRMF 8102 /* convol/mask: Premature end of file */
  2105. #define H_ERR_CVTRMF 8103 /* convol/mask: Conversion error */
  2106. #define H_ERR_LCNRMF 8104 /* convol/mask: Wrong row-/column number */
  2107. #define H_ERR_WCOVRMF 8105 /* convol/mask: Mask size overflow */
  2108. #define H_ERR_NEOFRMF 8106 /* convol/mask: Too many elements entered */
  2109. /* IPconvol() and IPRank() */
  2110. #define H_ERR_WRRA 8107 /* convol: Wrong margin type */
  2111. #define H_ERR_MCN0 8108 /* convol: No mask object has got
  2112. empty region */
  2113. #define H_ERR_WF0 8110 /* convol: Weight factor is 0 */
  2114. #define H_ERR_NWC 8111 /* convol: Inconsistent number of weights */
  2115. #define H_ERR_WRRV 8112 /* rank: Wrong rank value */
  2116. /* Border treatment */
  2117. #define H_ERR_ROVFL 8113 /* convol/rank: Error while handling margin */
  2118. #define H_ERR_EWPMF 8114 /* Error while parsing filter mask file */
  2119. #define H_ERR_WNUMM 8120 /* Wrong number of coefficients for
  2120. convolution (sigma too big?) */
  2121. /* Background estimation (Kalman) */
  2122. #define H_ERR_WBEDN 8200 /* No valid ID for data set */
  2123. #define H_ERR_NBEDA 8201 /* No data set active (set_bg_esti) */
  2124. #define H_ERR_BEDNAU 8202 /* ID already used for data set */
  2125. #define H_ERR_NBEDC 8204 /* No data set created (create_bg_esti) */
  2126. #define H_ERR_NTM 8205 /* Not possible to pass an object list */
  2127. #define H_ERR_WISBE 8206 /* Image has other size than the background
  2128. image in data set */
  2129. #define H_ERR_UDNSSBE 8207 /* Up-date-region is bigger than
  2130. background image */
  2131. #define H_ERR_SNBETS 8208 /* Number of statistic data sets is
  2132. too small */
  2133. #define H_ERR_WAMBE 8209 /* Wrong value for adapt mode */
  2134. #define H_ERR_WFMBE 8210 /* Wrong value for frame mode */
  2135. /* Pose estimation */
  2136. #define H_ERR_PE_NPCTS 8250 /* Number of point corresponcences too small */
  2137. #define H_ERR_PE_INVMET 8251 /* Invalid method */
  2138. /* OCR */
  2139. #define H_ERR_OCR_MEM1 8300 /* Maximum number of fonts exceeded */
  2140. #define H_ERR_OCR_WID 8301 /* Wrong ID (Number) for font */
  2141. #define H_ERR_OCR1 8302 /* OCR internal error: wrong ID */
  2142. #define H_ERR_OCR_NNI 8303 /* OCR not initialised: no font was read in */
  2143. #define H_ERR_OCR_NAI 8304 /* No font activated */
  2144. #define H_ERR_OCR_WTP 8305 /* OCR internal error: Wrong threshold in
  2145. angle determination */
  2146. #define H_ERR_OCR_WF 8306 /* OCR internal error: Wrong attribute */
  2147. #define H_ERR_OCR_READ 8307 /* The version of the OCR classifier
  2148. is not supported */
  2149. #define H_ERR_OCR_NODES 8308 /* OCR File: Inconsistent number of nodes */
  2150. #define H_ERR_OCR_EOF 8309 /* OCR File: File too short */
  2151. #define H_ERR_OCR_INC1 8310 /* OCR: Internal error 1 */
  2152. #define H_ERR_OCR_INC2 8311 /* OCR: Internal error 2 */
  2153. #define H_ERR_WOCRTYPE 8312 /* Wrong type of OCR tool
  2154. (no 'box' or 'net') */
  2155. #define H_ERR_OCR_TRF 8313 /* The version of the OCR training characters
  2156. is not supported */
  2157. #define H_ERR_TRF_ITL 8314 /* Image too large for training file */
  2158. #define H_ERR_TRF_RTL 8315 /* Region too large for training file */
  2159. #define H_ERR_TRF_PT 8316 /* Protected OCR training file */
  2160. #define H_ERR_TRF_WPW 8317 /* Protected OCR training file: wrong passw. */
  2161. #define H_ERR_OCR_NOSITEM 8318 /* Serialized item does not contain a valid
  2162. OCR classifier */
  2163. #define H_ERR_TRF_CON_EIO 8319 /* OCR training file concatenation failed:
  2164. identical input and output files */
  2165. #define H_ERR_OCR_MLP_NOCLASSFILE 8320 /* Invalid file format for
  2166. MLP classifier */
  2167. #define H_ERR_OCR_MLP_WRCLASSVERS 8321 /* The version of the MLP classifier
  2168. is not supported */
  2169. #define H_ERR_OCR_MLP_NOSITEM 8322 /* Serialized item does not contain
  2170. a valid MLP classifier */
  2171. #define H_ERR_OCR_SVM_NOCLASSFILE 8330 /* Invalid file format for
  2172. SVM classifier */
  2173. #define H_ERR_OCR_SVM_WRCLASSVERS 8331 /* The version of the SVM
  2174. classifier is not supported*/
  2175. #define H_ERR_OCR_SVM_NOSITEM 8332 /* Serialized item does not contain
  2176. a valid SVM classifier */
  2177. #define H_ERR_OCR_KNN_NOCLASSFILE 8333 /* Invalid file format for
  2178. k-NN classifier */
  2179. #define H_ERR_OCR_KNN_NOSITEM 8334 /* Serialized item does not contain
  2180. a valid k-NN classifier */
  2181. #define H_ERR_OCR_CNN_NOCLASSFILE 8335 /* Invalid file format for CNN
  2182. classifier */
  2183. #define H_ERR_OCR_CNN_WRCLASSVERS 8336 /* The version of the CNN classifier
  2184. is not supported */
  2185. #define H_ERR_OCR_CNN_NOSITEM 8337 /* Serialized item does not contain
  2186. a valid CNN classifier */
  2187. #define H_ERR_OCR_RESULT_NOT_AVAILABLE 8338 /* Result name is not available
  2188. for this mode */
  2189. /* OCV */
  2190. #define H_ERR_OCV_NI 8350 /* OCV system not initialized */
  2191. #define H_ERR_WOCVTYPE 8351 /* The version of the OCV tool
  2192. is not supported */
  2193. #define H_ERR_OCV_WNAME 8353 /* Wrong name for an OCV object */
  2194. #define H_ERR_OCV_II 8354 /* Training has already been applied */
  2195. #define H_ERR_OCV_NOTTR 8355 /* No training has been applied */
  2196. #define H_ERR_OCV_NOSITEM 8356 /* Serialized item does not
  2197. contain a valid OCV tool */
  2198. /* Function 1D */
  2199. #define H_ERR_WLENGTH 8370 /* Wrong number of function points */
  2200. #define H_ERR_NO_FUNCTION 8371 /* List of values is not a function */
  2201. #define H_ERR_NOT_ASCENDING 8372 /* Wrong ordering of values (not ascending)*/
  2202. #define H_ERR_ILLEGAL_DIST 8373 /* Illegal distance of function points */
  2203. #define H_ERR_NOT_MONOTONIC 8374 /* Function is not monotonic. */
  2204. #define H_ERR_WFUNCTION 8375 /* Wrong function type. */
  2205. /* Grid rectification */
  2206. #define H_ERR_GRID_CONNECT_POINTS 8390 /* The input points could not be
  2207. arranged in a regular grid */
  2208. #define H_ERR_GRID_GEN_MAP 8391 /* Error while creating the output
  2209. map */
  2210. #define H_ERR_GRID_AUTO_ROT 8392 /* Auto rotation failed */
  2211. /* Camera calibration */
  2212. #define H_ERR_CAL_NO_COMM_PAR 8393 /* No common camera parameters */
  2213. #define H_ERR_CAL_NEGVY 8394 /* Vy must be > 0 */
  2214. #define H_ERR_CAL_IDENTICAL_FP 8395 /* Same finder pattern found
  2215. multiple times */
  2216. #define H_ERR_CAL_LSCPNA 8396 /* Function not available for line scan
  2217. cameras with perspective lenses */
  2218. #define H_ERR_CAL_MARK_SEGM 8397 /* Mark segmentation failed */
  2219. #define H_ERR_CAL_CONT_EXT 8398 /* Contour extraction failed */
  2220. #define H_ERR_CAL_NO_FP 8399 /* No finder pattern found */
  2221. #define H_ERR_CAL_LCALP 8400 /* At least 3 calibration points have to be
  2222. indicated */
  2223. #define H_ERR_CAL_INCONSISTENT_FP 8401 /* Inconsistent finder pattern
  2224. positions */
  2225. #define H_ERR_CAL_NCPF 8402 /* No calibration table found */
  2226. #define H_ERR_CAL_RECPF 8403 /* Error while reading calibration table
  2227. description file */
  2228. #define H_ERR_CAL_LTMTH 8404 /* Minimum threshold while searching for
  2229. ellipses */
  2230. #define H_ERR_CAL_FRCP 8405 /* Read error / format error in calibration
  2231. table description file */
  2232. #define H_ERR_CAL_PROJ 8406 /* Error in projection:
  2233. s_x = 0 or s_y = 0 or z = 0 */
  2234. #define H_ERR_CAL_UNPRO 8407 /* Error in inverse projection */
  2235. #define H_ERR_CAL_RICPF 8408 /* Not possible to open camera parameter
  2236. file */
  2237. #define H_ERR_CAL_FICP1 8409 /* Format error in file: No colon */
  2238. #define H_ERR_CAL_FICP2 8410 /* Format error in file:
  2239. 2. colon is missing */
  2240. #define H_ERR_CAL_FICP3 8411 /* Format error in file:
  2241. Semicolon is missing */
  2242. #define H_ERR_CAL_REPOS 8412 /* Not possible to open camera parameter
  2243. (pose) file */
  2244. #define H_ERR_CAL_FOPOS 8413 /* Format error in camera parameter
  2245. (pose) file */
  2246. #define H_ERR_CAL_OCPDF 8414 /* Not possible to open calibration target
  2247. description file */
  2248. #define H_ERR_CAL_OCPPS 8415 /* Not possible to open postscript file of
  2249. calibration target */
  2250. #define H_ERR_CAL_EVECN 8416 /* Error while norming the vector */
  2251. #define H_ERR_CAL_NPLAN 8417 /* Fitting of calibration target failed */
  2252. #define H_ERR_CAL_NNMAR 8418 /* No next mark found */
  2253. #define H_ERR_CAL_NNEQU 8419 /* Normal equation system is not solvable */
  2254. #define H_ERR_CAL_QETHM 8420 /* Average quadratic error is too big for
  2255. 3D position of mark */
  2256. #define H_ERR_CAL_NOELL 8421 /* Non elliptic contour */
  2257. #define H_ERR_CAL_WPARV 8422 /* Wrong parameter value slvand() */
  2258. #define H_ERR_CAL_WFRES 8423 /* Wrong function results slvand() */
  2259. #define H_ERR_CAL_ECPDI 8424 /* Distance of marks in calibration target
  2260. description file is not possible */
  2261. #define H_ERR_CAL_WEFLA 8425 /* Specified flag for degree of freedom
  2262. not valid */
  2263. #define H_ERR_CAL_NOMER 8426 /* Minimum error did not fall below */
  2264. #define H_ERR_CAL_WPTYP 8427 /* Wrong type in Pose
  2265. (rotation / translation) */
  2266. #define H_ERR_CAL_WIMSZ 8428 /* Image size does not match the measurement
  2267. in camera parameters */
  2268. #define H_ERR_CAL_NPILS 8429 /* Point could not be projected into
  2269. linescan image */
  2270. #define H_ERR_CAL_DIACM 8430 /* Diameter of calibration marks could
  2271. not be determined */
  2272. #define H_ERR_CAL_ORICP 8431 /* Orientation of calibration plate could
  2273. not be determined */
  2274. #define H_ERR_CAL_CPNII 8432 /* Calibration plate does not lie completely
  2275. inside the image */
  2276. #define H_ERR_CAL_WNCME 8433 /* Wrong number of calibration marks
  2277. extracted */
  2278. #define H_ERR_CAL_UNKPG 8434 /* Unknown name of parameter group */
  2279. #define H_ERR_CAL_NEGFL 8435 /* Focal length must be non-negative */
  2280. #define H_ERR_CAL_TELNA 8436 /* Function not available for cameras
  2281. with telecentric lenses */
  2282. #define H_ERR_CAL_LSCNA 8437 /* Function not available for line scan
  2283. cameras */
  2284. #define H_ERR_CAL_ELLDP 8438 /* Ellipse is degenerated to a point */
  2285. #define H_ERR_CAL_NOMF 8439 /* No orientation mark found */
  2286. #define H_ERR_CAL_NCONV 8440 /* Camera calibration did not converge */
  2287. #define H_ERR_CAL_HYPNA 8441 /* Function not available for cameras with
  2288. hypercentric lenses */
  2289. #define H_ERR_CAL_DISTORT 8442 /* Point cannot be distorted. */
  2290. #define H_ERR_CAL_WREDGFILT 8443 /* Wrong edge filter. */
  2291. #define H_ERR_CAL_NEGPS 8444 /* Pixel size must be non-negative or zero */
  2292. #define H_ERR_CAL_NEGTS 8445 /* Tilt is in the wrong range */
  2293. #define H_ERR_CAL_NEGRS 8446 /* Rot is in the wrong range */
  2294. #define H_ERR_CAL_INVCAMPAR 8447 /* Camera parameters are invalid */
  2295. #define H_ERR_CAL_ILLFL 8448 /* Focal length must be positive */
  2296. #define H_ERR_CAL_ILLMAG 8449 /* Magnification must be positive */
  2297. #define H_ERR_CAL_ILLIPD 8450 /* Illegal image plane distance */
  2298. /* Calib Data Model (CM) and Camera Setup Model (CSM) errors */
  2299. #define H_ERR_CM_NOT_OPTIMIZED 8451 /* model not optimized yet - no res's*/
  2300. #define H_ERR_CM_NOT_POSTPROCC 8452 /* auxilary model results not available */
  2301. #define H_ERR_CM_NOT_INTERCONN 8453 /* setup not 'visibly' interconnected */
  2302. #define H_ERR_CM_CAMPAR_MISMCH 8454 /* camera parameter mismatch */
  2303. #define H_ERR_CM_CAMTYP_MISMCH 8455 /* camera type mismatch */
  2304. #define H_ERR_CM_CAMTYP_UNSUPD 8456 /* camera type not supported */
  2305. #define H_ERR_CM_INVALD_CAMIDX 8457 /* invalid camera ID */
  2306. #define H_ERR_CM_INVALD_DESCID 8458 /* invalid cal.obj. ID */
  2307. #define H_ERR_CM_INVALD_COBJID 8459 /* invalid cal.obj. instance ID */
  2308. #define H_ERR_CM_UNDEFINED_CAM 8460 /* undefined camera */
  2309. #define H_ERR_CM_REPEATD_INDEX 8461 /* repeated observ. index */
  2310. #define H_ERR_CM_UNDEFI_CADESC 8462 /* undefined calib. object description */
  2311. #define H_ERR_CM_NO_DESCR_FILE 8463 /* Invalid file format for calibration
  2312. data model */
  2313. #define H_ERR_CM_WR_DESCR_VERS 8464 /* The version of the calibration data
  2314. model is not supported */
  2315. #define H_ERR_CM_ZERO_MOTION 8465 /* zero-motion in linear scan camera */
  2316. #define H_ERR_CM_MULTICAM_UNSP 8466 /* multi-camera and -calibobj not
  2317. supported for all camera types */
  2318. #define H_ERR_CM_INCMPLTE_DATA 8467 /* incomplete data, required for legacy
  2319. calibration */
  2320. #define H_ERR_CSM_NO_DESCR_FIL 8468 /* Invalid file format for camera setup
  2321. model */
  2322. #define H_ERR_CSM_WR_DESCR_VER 8469 /* The version of the camera setup model
  2323. is not supported */
  2324. #define H_ERR_CM_CALTAB_NOT_AV 8470 /* full HALCON-caltab descr'n required */
  2325. #define H_ERR_CM_INVAL_OBSERID 8471 /* invalid observation ID */
  2326. #define H_ERR_CSM_NOSITEM 8472 /* Serialized item does not contain a
  2327. valid camera setup model */
  2328. #define H_ERR_CM_NOSITEM 8473 /* Serialized item does not contain a
  2329. valid calibration data model */
  2330. #define H_ERR_CM_INV_TOOLPOSID 8474 /* Invalid tool pose id */
  2331. #define H_ERR_CM_UNDEFINED_TOO 8475 /* Undefined tool pose */
  2332. #define H_ERR_CM_INVLD_MODL_TY 8476 /* Invalid calib data model type */
  2333. #define H_ERR_CSM_UNINIT_CAM 8477 /* The camera setup model contains an
  2334. uninitialized camera */
  2335. #define H_ERR_CM_NO_VALID_SOL 8478 /* The hand-eye algorithm failed
  2336. to find a solution. */
  2337. #define H_ERR_CM_INVAL_OBS_POSE 8479 /* invalid observation pose */
  2338. #define H_ERR_CM_TOO_FEW_POSES 8480 /* Not enough calibration object poses */
  2339. #define H_ERR_CM_UNDEF_CAM_TYP 8481 /* undefined camera type */
  2340. /* Stereo Model (SM) Errors */
  2341. #define H_ERR_SM_INVLD_IMG_PAIRS_DISP_VAL 8482 /* Num of image pairs does not
  2342. correspond to num of disparity values */
  2343. #define H_ERR_SM_INVLD_DISP_VAL 8483 /* Invalid min/max disparity values */
  2344. #define H_ERR_SM_NO_IM_PAIR 8484 /* No camera pair set by
  2345. set_stereo_model_image_pairs */
  2346. #define H_ERR_SM_NO_VIS_COLOR 8485 /* No reconstructed point is visible for
  2347. coloring */
  2348. #define H_ERR_SM_NO_RECONSTRUCT 8486 /* No camera pair yields
  2349. reconstructed points (please check
  2350. parameters of disparity method or
  2351. bounding box) */
  2352. #define H_ERR_SM_INVLD_BB_PARTITION 8487 /* Partitioning of bounding box is too
  2353. fine (please adapt the parameter
  2354. 'resolution' or the bounding box)*/
  2355. #define H_ERR_SM_INVLD_DISP_RANGE 8488 /* Invalid disparity range for
  2356. binocular_disparity_ms method */
  2357. #define H_ERR_SM_INVLD_BIN_PAR 8489 /* Invalid param for binoculuar method */
  2358. #define H_ERR_SM_INVLD_MODL_TY 8490 /* invalid stereo model type */
  2359. #define H_ERR_SM_NOT_PERSISTEN 8491 /* stereo model is not in persistent
  2360. mode */
  2361. #define H_ERR_SM_INVLD_BOU_BOX 8492 /* invalid bounding box */
  2362. #define H_ERR_SR_INVLD_IMG_SIZ 8493 /* stereo reconstruction: image sizes
  2363. must correspond to camera setup */
  2364. #define H_ERR_SR_BBOX_BHND_CAM 8494 /* bounding box is behind basis line */
  2365. #define H_ERR_CAL_AMBIGUOUS 8495 /* Ambigious calibration: Please,
  2366. recalibrate with improved input data!*/
  2367. #define H_ERR_CAL_PCPND 8496 /* Pose of calibration plate not
  2368. determined */
  2369. #define H_ERR_CAL_FAILED 8497 /* Calibration failed: Please check your
  2370. input data and calibrate again! */
  2371. #define H_ERR_CAL_MISSING_DATA 8498 /* No observation data supplied! */
  2372. #define H_ERR_CAL_FEWER_FOUR 8499 /* The calibration object has to be
  2373. seen at least once by every camera,
  2374. if less than four cameras are used. */
  2375. /* Matching */
  2376. /* Gray-value-based matching */
  2377. #define H_ERR_NOAP 8500 /* Invalid file format for template */
  2378. #define H_ERR_WPFV 8501 /* The version of the template is not
  2379. supported */
  2380. #define H_ERR_MATCH_MODE 8502 /* Error during changing the file mode */
  2381. #define H_ERR_MATCH_OOR 8503 /* Inconsistent match file:
  2382. Coordinates out of range */
  2383. #define H_ERR_NOTAP 8505 /* The image(s) is not a pyramid */
  2384. #define H_ERR_NGTPTS 8506 /* Number of template points too small */
  2385. #define H_ERR_PDTL 8507 /* Template data can only be read by
  2386. HALCON XL */
  2387. #define H_ERR_NCC_NOSITEM 8508 /* Serialized item does not contain
  2388. a valid NCC model */
  2389. #define H_ERR_MATCH_NOSITEM 8509 /* Serialized item does not contain
  2390. a valid template */
  2391. /* Shape-based matching (without exclusively generic SBM) */
  2392. #define H_ERR_NTPTS 8510 /* Number of shape model points too small */
  2393. #define H_ERR_CGSMM 8511 /* Gray and color shape models mixed */
  2394. #define H_ERR_SMTL 8512 /* Shape model data can only be read by
  2395. HALCON XL */
  2396. #define H_ERR_SMNXLD 8513 /* Shape model was not created from XLDs */
  2397. #define H_ERR_SM_NOSITEM 8514 /* Serialized item does not contain a valid
  2398. shape model */
  2399. #define H_ERR_SM_CL_CONT 8515 /* Shape model contour too near to clutter
  2400. region */
  2401. #define H_ERR_SM_NO_CLUT 8516 /* Shape model does not contain clutter
  2402. parameters */
  2403. #define H_ERR_SM_SAME_CL 8517 /* Shape models are not of the same clutter type */
  2404. #define H_ERR_SM_WRONG_CLCO 8518 /* Shape model has an invalid clutter
  2405. contrast */
  2406. /* Surface-based matching */
  2407. #define H_ERR_FIND_BOX_UNSUP_GENPARAM 8520 /* Box finder: Unsupported
  2408. generic parameter */
  2409. /* Component-based matching */
  2410. #define H_ERR_COMP_DRT 8530 /* Initial components have different
  2411. region types */
  2412. #define H_ERR_COMP_SAMF 8531 /* Solution of ambiguous matches failed */
  2413. #define H_ERR_IGF_NC 8532 /* Computation of the incomplete gamma
  2414. function not converged */
  2415. #define H_ERR_MSA_TMN 8533 /* Too many nodes while computing the minimum
  2416. spanning arborescence */
  2417. #define H_ERR_CTTL 8534 /* Component training data can only be read
  2418. by HALCON XL */
  2419. #define H_ERR_CMTL 8535 /* Component model data can only be read by
  2420. HALCON XL */
  2421. #define H_ERR_COMP_NOSITEM 8536 /* Serialized item does not contain a valid
  2422. component model */
  2423. #define H_ERR_TRAIN_COMP_NOSITEM 8537 /* Serialized item does not
  2424. contain a valid component
  2425. training result */
  2426. /* Image comparison */
  2427. #define H_ERR_VARIATION_WS 8540 /* Size of the training image and the
  2428. variation model differ */
  2429. #define H_ERR_VARIATION_PREP 8541 /* Variation model has not been prepared
  2430. for segmentation */
  2431. #define H_ERR_VARIATION_WRMD 8542 /* Invalid variation model training mode */
  2432. #define H_ERR_VARIATION_NOVF 8543 /* Invalid file format for variation
  2433. model */
  2434. #define H_ERR_VARIATION_WVFV 8544 /* The version of the variation model is
  2435. not supported */
  2436. #define H_ERR_VARIATION_TRDC 8545 /* Training data has been cleared */
  2437. #define H_ERR_VARIATION_NOSITEM 8546 /* Serialized item does not contain a
  2438. valid variation model */
  2439. /* Measure */
  2440. #define H_ERR_MEASURE_NA 8550 /* No more measure objects available */
  2441. #define H_ERR_MEASURE_NI 8551 /* Measure object is not initialized */
  2442. #define H_ERR_MEASURE_OOR 8552 /* Invalid measure object */
  2443. #define H_ERR_MEASURE_IS 8553 /* Measure object is NULL */
  2444. #define H_ERR_MEASURE_WS 8554 /* Measure object has wrong image size */
  2445. #define H_ERR_MEASURE_NO_MODEL_FILE 8555 /* Invalid file format for measure
  2446. object */
  2447. #define H_ERR_MEASURE_WRONG_VERSION 8556 /* The version of the measure object
  2448. is not supported */
  2449. #define H_ERR_MEASURE_TL 8557 /* Measure object data can only be
  2450. read by HALCON XL */
  2451. #define H_ERR_MEASURE_NOSITEM 8558 /* Serialized item does not contain
  2452. a valid measure object */
  2453. /* Metrology */
  2454. #define H_ERR_METROLOGY_MODEL_NI 8570 /* Metrology model is not
  2455. initialized */
  2456. #define H_ERR_METROLOGY_OBJECT_INVALID 8572 /* Invalid metrology object */
  2457. #define H_ERR_METROLOGY_FIT_NOT_ENOUGH_MEASURES 8573 /* Not enough valid
  2458. measures for fitting the
  2459. metrology object */
  2460. #define H_ERR_METROLOGY_NO_MODEL_FILE 8575 /* Invalid file format for
  2461. metrology model */
  2462. #define H_ERR_METROLOGY_WRONG_VERSION 8576 /* The version of the metrology
  2463. model is not supported */
  2464. #define H_ERR_METROLOGY_NO_FUZZY_FUNC 8577 /* Fuzzy function is not set */
  2465. #define H_ERR_METROLOGY_NOSITEM 8578 /* Serialized item does not
  2466. contain a valid metrology
  2467. model */
  2468. #define H_ERR_METROLOGY_UNDEF_CAMPAR 8579 /* Camera parameters are not
  2469. set */
  2470. #define H_ERR_METROLOGY_UNDEF_POSE 8580 /* Pose of the measurement plane
  2471. is not set */
  2472. #define H_ERR_METROLOGY_SET_MODE 8581 /* Mode of metrology model cannot
  2473. be set since an object has
  2474. already been added */
  2475. #define H_ERR_METROLOGY_OP_NOT_ALLOWED 8582 /* If the pose of the metrology
  2476. object has been set several
  2477. times, the operator is not
  2478. longer allowed */
  2479. #define H_ERR_METROLOGY_MULTI_POSE_CAM_PAR 8583 /* All objects of a metrology
  2480. model must have the same world
  2481. pose and camera parameters. */
  2482. #define H_ERR_METROLOGY_WRONG_INPUT_MODE 8584 /* Input type of metrology
  2483. model does not correspond
  2484. with the current input
  2485. type */
  2486. /* Dynamic libraries */
  2487. #define H_ERR_DLOPEN 8600 /* Dynamic library could not be opened */
  2488. #define H_ERR_DLCLOSE 8601 /* Dynamic library could not be closed */
  2489. #define H_ERR_DLLOOKUP 8602 /* Symbol not found in dynamic library */
  2490. #define H_ERR_COMPONENT_NOT_INSTALLED 8603 /* Interface library not
  2491. * available */
  2492. /* Radiometric calibration */
  2493. #define H_ERR_EAD_CAL_NII 8650 /* Not enough information for rad. calib. */
  2494. /* Generic Shape-based matching */
  2495. #define H_ERR_WGSMFV 8670 /* The version of the shape model
  2496. result is not supported */
  2497. #define H_ERR_GSM_INVALID_RES_SCALE 8671 /* Restrict scale parameter
  2498. outside the trained range */
  2499. #define H_ERR_GSM_INVALID_ANGLE 8672 /* Angle parameter outside the
  2500. trained range */
  2501. #define H_ERR_GSM_NEEDS_TRAINING 8673 /* Shape model needs training */
  2502. #define H_ERR_GSM_CONTRAST_HYS 8674 /* contrast_high cannot be smaller
  2503. than contrast_low */
  2504. #define H_ERR_GSM_CONTRAST_MIN_CONTRAST 8675 /* Neither contrast_low nor
  2505. contrast_high can be smaller
  2506. than min_contrast */
  2507. #define H_ERR_GSM_ISO_SCALE_PAIR 8676 /* iso_scale_max cannot be smaller
  2508. than iso_scale_min */
  2509. #define H_ERR_GSM_ANISO_SCALE_ROW 8677 /* scale_row_max cannot be smaller
  2510. than scale_row_min */
  2511. #define H_ERR_GSM_ANISO_SCALE_COLUMN 8678 /* scale_column_max cannot be
  2512. smaller than
  2513. scale_column_min */
  2514. #define H_ERR_GSM_ISO_NOT_SET 8679 /* Isotropic scaling not set */
  2515. #define H_ERR_GSM_ANISO_NOT_SET 8680 /* Anisotropic scaling not set */
  2516. #define H_ERR_GSM_INVALID_METRIC_XLD 8681 /* No edge direction available to
  2517. change shape matching metric */
  2518. #define H_ERR_GSM_SAME_IDENTIFIER 8682 /* Shape models with the same
  2519. identifier cannot be searched
  2520. simultaneously */
  2521. /* Barcode */
  2522. #define H_ERR_BAR_WNOM 8701 /* Wrong number of modules */
  2523. #define H_ERR_BAR_WNOE 8702 /* Wrong number of elements */
  2524. #define H_ERR_BAR_UNCHAR 8703 /* Unknown character (for this code) */
  2525. #define H_ERR_BAR_WRONGDESCR 8705 /* Wrong name for attribute in barcode
  2526. descriptor */
  2527. #define H_ERR_BAR_EL_LENGTH 8706 /* Wrong thickness of element */
  2528. #define H_ERR_BAR_NO_REG 8707 /* No region found */
  2529. #define H_ERR_BAR_WRONGCODE 8708 /* Wrong type of bar code */
  2530. #define H_ERR_BAR_INTERNAL 8709 /* Internal error in bar code reader */
  2531. #define H_ERR_BAR_NO_DECODED_SCANLINE 8710 /* Candidate does not contain a
  2532. decoded scanline */
  2533. #define H_ERR_BC_EMPTY_MODEL_LIST 8721 /* Empty model list */
  2534. #define H_ERR_BC_TRAIN_ONLY_SINGLE 8722 /* Training cannot be done for
  2535. multiple bar code types */
  2536. #define H_ERR_BC_GET_SPECIFIC 8723 /* Cannot get bar code type specific
  2537. parameter with get_bar_code_param.
  2538. Use get_bar_code_param_specific */
  2539. #define H_ERR_BC_GET_OBJ_MULTI 8724 /* Cannot get this object for multiple
  2540. bar code types. Try again with
  2541. single bar code type */
  2542. #define H_ERR_BC_WR_FILE_FORMAT 8725 /* Wrong binary (file) format */
  2543. #define H_ERR_BC_WR_FILE_VERS 8726 /* Wrong version of binary file */
  2544. #define H_ERR_BC_NOT_PERSISTANT 8727 /* The model must be in persistency
  2545. mode to deliver the required
  2546. object/result */
  2547. #define H_ERR_BC_GRAY_OUT_OF_RANGE 8728 /* Incorrect index of scanline's gray
  2548. values*/
  2549. #define H_ERR_NO_PERSISTENT_OP_CALL 8729 /* Neither find_bar_code nor
  2550. decode_bar_code_rectanlge2 has
  2551. been called in 'persistent' mode on
  2552. this model */
  2553. #define H_ERR_BC_ZOOMED_ABORTED 8730 /* The super-resolution algorithm has
  2554. been aborted */
  2555. #define H_ERR_BC_ZOOMED_INVALID_INPUT 8731 /* SRB: Invalid input data. */
  2556. #define H_ERR_BC_XCORR_INVALID_INPUT 8740 /* Invalid input detected for
  2557. barcode normalized cross
  2558. correlation */
  2559. #define H_ERR_BC_XCORR_TOO_MANY_BAD_ROWS 8741 /* Too many bad rows found during
  2560. barcode normalized cross
  2561. correlation */
  2562. #define H_ERR_BC_XCORR_NO_CORRELATION 8742 /* No correlation found during
  2563. barcode normalized cross
  2564. correlation */
  2565. /* 2D Barcode */
  2566. #define H_ERR_BAR2D_UNKNOWN_TYPE 8800 /* Specified code type is not
  2567. supported */
  2568. #define H_ERR_BAR2D_WRONG_FOREGROUND 8801 /* Wrong foreground specified */
  2569. #define H_ERR_BAR2D_WRONG_SIZE 8802 /* Wrong matrix size specified */
  2570. #define H_ERR_BAR2D_WRONG_SHAPE 8803 /* Wrong symbol shape specified */
  2571. #define H_ERR_BAR2D_WRONG_PARAM_NAME 8804 /* Wrong generic parameter name */
  2572. #define H_ERR_BAR2D_WRONG_PARAM_VAL 8805 /* Wrong generic parameter value */
  2573. #define H_ERR_BAR2D_WRONG_MODE 8806 /* Wrong symbol printing mode */
  2574. #define H_ERR_BAR2D_SYMBOL_ON_BORDER 8807 /* Symbol region too near to image
  2575. border */
  2576. #define H_ERR_BAR2D_MODULE_CONT_NUM 8808 /* No rectangular modul boundings
  2577. found */
  2578. #define H_ERR_BAR2D_SYMBOL_FINDER 8809 /* Couldn't identify symbol
  2579. finder */
  2580. #define H_ERR_BAR2D_SYMBOL_DIMENSION 8810 /* Symbol region with wrong
  2581. dimension */
  2582. #define H_ERR_BAR2D_CLASSIF_FAILED 8811 /* Classification failed */
  2583. #define H_ERR_BAR2D_DECODING_FAILED 8812 /* Decoding failed */
  2584. #define H_ERR_BAR2D_DECODING_READER 8813 /* Reader programing not
  2585. supported */
  2586. /* Error codes for errors on all types 2d data codes */
  2587. #define H_ERR_DC2D_GENERAL 8820 /* General 2d data code error */
  2588. #define H_ERR_DC2D_BROKEN_SIGN 8821 /* Corrupt signature of 2d data
  2589. code handle */
  2590. #define H_ERR_DC2D_INVALID_HANDLE 8822 /* Invalid 2d data code handle */
  2591. #define H_ERR_DC2D_EMPTY_MODEL_LIST 8823 /* List of 2d data code models is
  2592. empty */
  2593. #define H_ERR_DC2D_NOT_INITIALIZED 8824 /* Access to uninitialized (or not
  2594. persistent) internal data */
  2595. #define H_ERR_DC2D_INVALID_CANDIDATE 8825 /* Invalid 'Candidate' parameter */
  2596. #define H_ERR_DC2D_INDEX_PARNUM 8826 /* It's not possible to return more
  2597. than one parameter for several
  2598. candidates */
  2599. #define H_ERR_DC2D_EXCLUSIV_PARAM 8827 /* One of the parameters returns
  2600. several values and has to be
  2601. used exclucively for a single
  2602. candidate */
  2603. #define H_ERR_DC2D_DEF_SET_NOT_FIRST 8828 /* Parameter for default settings
  2604. must be the first in the
  2605. parameter list */
  2606. #define H_ERR_DC2D_INTERNAL_UNEXPECTED 8829 /* Unexpected 2d data code error */
  2607. #define H_ERR_DC2D_WRONG_PARAM_VALUE 8830 /* Invalid parameter value */
  2608. #define H_ERR_DC2D_WRONG_PARAM_NAME 8831 /* Unknown parameter name */
  2609. #define H_ERR_DC2D_WRONG_POLARITY 8832 /* Invalid 'polarity' */
  2610. #define H_ERR_DC2D_WRONG_SYMBOL_SHAPE 8833 /* Invalid 'symbol_shape' */
  2611. #define H_ERR_DC2D_WRONG_SYMBOL_SIZE 8834 /* Invalid symbol size */
  2612. #define H_ERR_DC2D_WRONG_MODULE_SIZE 8835 /* Invalid module size */
  2613. #define H_ERR_DC2D_WRONG_MODULE_SHAPE 8836 /* Invalid 'module_shape' */
  2614. #define H_ERR_DC2D_WRONG_ORIENTATION 8837 /* Invalid 'orientation' */
  2615. #define H_ERR_DC2D_WRONG_CONTRAST 8838 /* Invalid 'contrast_min' */
  2616. #define H_ERR_DC2D_WRONG_MEAS_THRESH 8839 /* Invalid 'measure_thresh' */
  2617. #define H_ERR_DC2D_WRONG_ALT_MEAS_RED 8840 /* Invalid 'alt_measure_red' */
  2618. #define H_ERR_DC2D_WRONG_SLANT 8841 /* Invalid 'slant_max' */
  2619. #define H_ERR_DC2D_WRONG_L_DIST 8842 /* Invalid 'L_dist_max' */
  2620. #define H_ERR_DC2D_WRONG_L_LENGTH 8843 /* Invalid 'L_length_min' */
  2621. #define H_ERR_DC2D_WRONG_GAP 8844 /* Invalid module gap */
  2622. #define H_ERR_DC2D_WRONG_DEF_SET 8845 /* Invalid 'default_parameters' */
  2623. #define H_ERR_DC2D_WRONG_TEXTURED 8846 /* Invalid 'back_texture' */
  2624. #define H_ERR_DC2D_WRONG_MIRRORED 8847 /* Invalid 'mirrored' */
  2625. #define H_ERR_DC2D_WRONG_CLASSIFICATOR 8848 /* Invalid 'classificator' */
  2626. #define H_ERR_DC2D_WRONG_PERSISTENCE 8849 /* Invalid 'persistence' */
  2627. #define H_ERR_DC2D_WRONG_MODEL_TYPE 8850 /* Invalid model type */
  2628. #define H_ERR_DC2D_WRONG_MOD_ROI_PART 8851 /* Invalid 'module_roi_part' */
  2629. #define H_ERR_DC2D_WRONG_FP_TOLERANCE 8852 /* Invalid
  2630. 'finder_pattern_tolerance' */
  2631. #define H_ERR_DC2D_WRONG_MOD_ASPECT 8853 /* Invalid 'mod_aspect_max' */
  2632. #define H_ERR_DC2D_WRONG_SM_ROBUSTNESS 8854 /* Invalid
  2633. 'small_modules_robustness' */
  2634. #define H_ERR_DC2D_WRONG_CONTRAST_TOL 8855 /* Invalid 'contrast_tolerance' */
  2635. #define H_ERR_DC2D_READ_HEAD_FORMAT 8860 /* Invalid header in 2d data code
  2636. model file */
  2637. #define H_ERR_DC2D_READ_HEAD_SIGN 8861 /* Invalid code signature in 2d
  2638. data code model file */
  2639. #define H_ERR_DC2D_READ_LINE_FORMAT 8862 /* Corrupted line in 2d data code
  2640. model file */
  2641. #define H_ERR_DC2D_WRONG_MODULE_ASPECT 8863 /* Invalid module aspect ratio */
  2642. #define H_ERR_DC2D_WRONG_LAYER_NUM 8864 /* wrong number of layers */
  2643. #define H_ERR_DCD_READ_WRONG_VERSION 8865 /* wrong data code model version */
  2644. #define H_ERR_DC2D_NOSITEM 8866 /* Serialized item does not contain
  2645. a valid 2D data code model */
  2646. #define H_ERR_DC2D_WR_FILE_FORMAT 8867 /* Wrong binary (file) format */
  2647. /* 3D Matching */
  2648. #define H_ERR_SM3D_WRONG_PARAM_NAME 8900 /* Invalid parameter value */
  2649. #define H_ERR_SM3D_WRONG_NUM_LEVELS 8901 /* Invalid 'num_levels' */
  2650. #define H_ERR_SM3D_WRONG_OPTIMIZATION 8902 /* Invalid 'optimization' */
  2651. #define H_ERR_SM3D_WRONG_METRIC 8903 /* Invalid 'metric' */
  2652. #define H_ERR_SM3D_WRONG_MIN_FACE_ANGLE 8904 /* Invalid 'min_face_angle' */
  2653. #define H_ERR_SM3D_WRONG_MIN_SIZE 8905 /* Invalid 'min_size' */
  2654. #define H_ERR_SM3D_WRONG_MODEL_TOLERANCE 8906 /* Invalid 'model_tolerance' */
  2655. #define H_ERR_SM3D_WRONG_FAST_POSE_REF 8907 /* Invalid
  2656. 'fast_pose_refinment'*/
  2657. #define H_ERR_SM3D_WRONG_LOWEST_MODEL_LEVEL 8908 /* Invalid
  2658. 'lowest_model_level'*/
  2659. #define H_ERR_SM3D_WRONG_PART_SIZE 8909 /* Invalid 'part_size'*/
  2660. #define H_ERR_SM3D_PROJECTION_TOO_LARGE 8910 /* The projected model is too
  2661. large (increase the value
  2662. for DistMin or the image
  2663. size in CamParam) */
  2664. #define H_ERR_SM3D_WRONG_OPENGL_ACCURACY 8911 /* Invalid
  2665. 'opengl_accuracy'*/
  2666. #define H_ERR_SM3D_WRONG_RECOMPUTE_SCORE 8913 /* Invalid
  2667. 'recompute_score'*/
  2668. #define H_ERR_SM3D_WRONG_LON_MIN 8920 /* Invalid 'longitude_min' */
  2669. #define H_ERR_SM3D_WRONG_LON_MAX 8921 /* Invalid 'longitude_max' */
  2670. #define H_ERR_SM3D_WRONG_LAT_MIN 8922 /* Invalid 'latitude_min */
  2671. #define H_ERR_SM3D_WRONG_LAT_MAX 8923 /* Invalid 'latitude_max' */
  2672. #define H_ERR_SM3D_WRONG_ROL_MIN 8924 /* Invalid 'cam_roll_min' */
  2673. #define H_ERR_SM3D_WRONG_ROL_MAX 8925 /* Invalid 'cam_roll_max' */
  2674. #define H_ERR_SM3D_WRONG_DIST_MIN 8926 /* Invalid 'dist_min' */
  2675. #define H_ERR_SM3D_WRONG_DIST_MAX 8927 /* Invalid 'dist_max' */
  2676. #define H_ERR_SM3D_WRONG_NUM_MATCHES 8928 /* Invalid 'num_matches' */
  2677. #define H_ERR_SM3D_WRONG_MAX_OVERLAP 8929 /* Invalid 'max_overlap' */
  2678. #define H_ERR_SM3D_WRONG_POSE_REFINEMENT 8930 /* Invalid 'pose_refinement' */
  2679. #define H_ERR_SM3D_WRONG_COV_POSE_MODE 8931 /* Invalid 'cov_pose_mode' */
  2680. #define H_ERR_SM3D_WRONG_OUTLIER_SUP 8932 /* In. 'outlier_suppression' */
  2681. #define H_ERR_SM3D_WRONG_BORDER_MODEL 8933 /* Invalid 'border_model' */
  2682. #define H_ERR_SM3D_UNDEFINED_POSE 8940 /* Pose is not well-defined */
  2683. #define H_ERR_SM3D_NO_SM3D_FILE 8941 /* Invalid file format for 3D
  2684. shape model */
  2685. #define H_ERR_SM3D_WRONG_FILE_VERSION 8942 /* The version of the 3D shape
  2686. model is not supported */
  2687. #define H_ERR_SM3D_MTL 8943 /* 3D shape model can only be
  2688. read by HALCON XL */
  2689. #define H_ERR_SM3D_NO_OM3D_FACES 8944 /* 3D object model does not
  2690. contain any faces */
  2691. #define H_ERR_SM3D_NOSITEM 8945 /* Serialized item does not
  2692. contain a valid 3D shape
  2693. model */
  2694. #define H_ERR_SM3D_WRONG_UNION_ADJACENT_CONTOURS 8946 /* Invalid
  2695. 'union_adjacent_contours' */
  2696. /* Descriptor-based matching */
  2697. #define H_ERR_DESCR_NODESCRFILE 8960 /* Invalid file format for
  2698. descriptor model */
  2699. #define H_ERR_DESCR_WRDESCRVERS 8961 /* The version of the
  2700. descriptor model is not
  2701. supported */
  2702. #define H_ERR_DM_WRONG_NUM_CIRC_RADIUS 8962 /* Invalid 'radius' */
  2703. #define H_ERR_DM_WRONG_NUM_CHECK_NEIGH 8963 /* Invalid 'check_neighbor' */
  2704. #define H_ERR_DM_WRONG_NUM_MIN_CHECK_NEIGH 8964 /* Invalid
  2705. 'min_check_neighbor_diff' */
  2706. #define H_ERR_DM_WRONG_NUM_MIN_SCORE 8965 /* Invalid 'min_score' */
  2707. #define H_ERR_DM_WRONG_NUM_SIGMAGRAD 8966 /* Invalid 'sigma_grad' */
  2708. #define H_ERR_DM_WRONG_NUM_SIGMAINT 8967 /* Invalid 'sigma_smooth' */
  2709. #define H_ERR_DM_WRONG_NUM_ALPHA 8968 /* Invalid 'alpha' */
  2710. #define H_ERR_DM_WRONG_NUM_THRESHOLD 8969 /* Invalid 'threshold' */
  2711. #define H_ERR_DM_WRONG_NUM_DEPTH 8970 /* Invalid 'depth' */
  2712. #define H_ERR_DM_WRONG_NUM_TREES 8971 /* Invalid 'number_trees' */
  2713. #define H_ERR_DM_WRONG_NUM_MIN_SCORE_DESCR 8972 /* Invalid 'min_score_descr' */
  2714. #define H_ERR_DM_WRONG_NUM_PATCH_SIZE 8973 /* Invalid 'patch_size' */
  2715. #define H_ERR_DM_WRONG_TILT 8974 /* Invalid 'tilt' */
  2716. #define H_ERR_DM_WRONG_PAR_GUIDE 8975 /* Invalid 'guided_matching' */
  2717. #define H_ERR_DM_WRONG_PAR_SUBPIX 8976 /* Invalid 'subpix' */
  2718. #define H_ERR_DM_TOO_FEW_POINTS 8977 /* Too few feature points
  2719. can be found */
  2720. #define H_ERR_DM_WRONG_NUM_MINROT 8978 /* Invalid 'min_rot' */
  2721. #define H_ERR_DM_WRONG_NUM_MAXROT 8979 /* Invalid 'max_rot' */
  2722. #define H_ERR_DM_WRONG_NUM_MINSCALE 8980 /* Invalid 'min_scale' */
  2723. #define H_ERR_DM_WRONG_NUM_MAXSCALE 8981 /* Invalid 'max_scale' */
  2724. #define H_ERR_DM_WRONG_NUM_MASKSIZEGRD 8982 /* Invalid 'mask_size_grd' */
  2725. #define H_ERR_DM_WRONG_NUM_MASKSIZESMOOTH 8983 /* Invalid
  2726. 'mask_size_smooth' */
  2727. #define H_ERR_BROKEN_MODEL 8984 /* Model broken */
  2728. #define H_ERR_DM_WRONG_DESCR_TYPE 8985 /* Invalid 'descriptor_type' */
  2729. #define H_ERR_DM_WRONG_PAR_MATCHER 8986 /* Invalid 'matcher' */
  2730. #define H_ERR_DM_TOO_MANY_CLASSES 8987 /* Too many point classes -
  2731. cannot be written to file */
  2732. #define H_ERR_DESCR_NOSITEM 8988 /* Serialized item does not
  2733. contain a valid descriptor
  2734. model */
  2735. /* Misc */
  2736. #define H_ERR_NOT_IMPL 9000 /* Function not implemented on this machine */
  2737. #define H_ERR_WIT 9001 /* Image to process has wrong gray
  2738. value type */
  2739. #define H_ERR_WIC 9002 /* Wrong image component */
  2740. #define H_ERR_UNDI 9003 /* Undefined gray values */
  2741. #define H_ERR_WIS 9004 /* Wrong image format for operation
  2742. (too big or too small) */
  2743. #define H_ERR_WCN 9005 /* Wrong number of image components for
  2744. image output */
  2745. #define H_ERR_STRTL 9006 /* String is too long
  2746. (max. 1024 characters) */
  2747. #define H_ERR_WITFO 9007 /* Wrong pixel type for this operation */
  2748. #define H_ERR_NIIT 9008 /* Operation not realized yet for this
  2749. pixel type */
  2750. #define H_ERR_NOCIMA 9009 /* Image is no color image with three
  2751. channels */
  2752. #define H_ERR_DEMO_NOFG 9010 /* Image acquisition devices are not supported
  2753. in the demo version */
  2754. #define H_ERR_DEMO_NOPA 9011 /* Packages are not supported in the
  2755. demo version */
  2756. #define H_ERR_IEUNKV 9020 /* Internal Error: Unknown value*/
  2757. #define H_ERR_WPFO 9021 /* Wrong paramter for this operation */
  2758. #define H_ERR_IDTS 9022 /* Image domain too small */
  2759. #define H_ERR_CNCLDRW 9023 /* Draw operator has been canceled */
  2760. #define H_ERR_REGEX_MATCH 9024 /* Error during matching of regular
  2761. * expression */
  2762. #define H_ERR_STUD_OPNA 9050 /* Operator is not available in the
  2763. student version of HALCON */
  2764. #define H_ERR_STUD_PANA 9051 /* Packages are not available in the
  2765. student version of HALCON */
  2766. #define H_ERR_STUD_FGNA 9052 /* The selected image acquisition device is not
  2767. available in the student version of HALCON*/
  2768. #define H_ERR_NDPA 9053 /* No data points available */
  2769. #define H_ERR_WR_OBJ_TYPE 9054 /* Object type is not supported. */
  2770. #define H_ERR_OP_DISABLED 9055 /* Operator is disabled. */
  2771. /* Linear equations */
  2772. #define H_ERR_TMU 9100 /* Too many unknown variables in
  2773. linear equation */
  2774. #define H_ERR_NUS 9101 /* No (unique) solution for the
  2775. linear equation */
  2776. #define H_ERR_NEE 9102 /* Too little equations in linear equation */
  2777. /* Geometric configurations */
  2778. #define H_ERR_PDDL 9150 /* Points do not define a line */
  2779. /* Matrix operations */
  2780. #define H_ERR_MNI 9200 /* Matrix is not invertible */
  2781. #define H_ERR_SVD_CNVRG 9201 /* Singular value decomposition did not
  2782. converge */
  2783. #define H_ERR_SVD_FEWROW 9202 /* Matrix has too few rows for singular
  2784. value partition */
  2785. #define H_ERR_TQLI_CNVRG 9203 /* Eigenvalue computation did not converge */
  2786. #define H_ERR_JACOBI_CNVRG 9204 /* Eigenvalue computation did not converge */
  2787. #define H_ERR_MATRIX_SING 9205 /* Matrix is singular */
  2788. #define H_ERR_MATCH_CNVRG 9206 /* Function matching did not converge */
  2789. #define H_ERR_MAT_UNDEF 9207 /* Input matrix undefined */
  2790. #define H_ERR_MAT_WDIM 9208 /* Input matrix with wrong dimension */
  2791. #define H_ERR_MAT_NSQR 9209 /* Input matrix is not quadratic */
  2792. #define H_ERR_MAT_FAIL 9210 /* Matrix operation failed */
  2793. #define H_ERR_MAT_NPD 9211 /* Matrix is not positive definite */
  2794. #define H_ERR_MAT_DBZ 9212 /* Matrix element division by 0 */
  2795. #define H_ERR_MAT_NUT 9213 /* Matrix is not an upper triangular matrix */
  2796. #define H_ERR_MAT_NLT 9214 /* Matrix is not a lower triangular matrix */
  2797. #define H_ERR_MAT_NEG 9215 /* Matrix element is negative */
  2798. #define H_ERR_MAT_UNCHAR 9216 /* Matrix file: Invalid character */
  2799. #define H_ERR_MAT_NOT_COMPLETE 9217 /* Matrix file: matrix incomplete */
  2800. #define H_ERR_MAT_READ 9218 /* Invalid file format for matrix */
  2801. #define H_ERR_MAT_COMPLEX 9219 /* Resulting matrix has complex values */
  2802. #define H_ERR_WMATEXP 9220 /* Wrong value in matrix of exponents */
  2803. #define H_ERR_MAT_WRONG_VERSION 9221 /* The version of the matrix is not
  2804. supported */
  2805. #define H_ERR_MAT_NOSITEM 9222 /* Serialized item does not contain a valid
  2806. matrix */
  2807. /* Tree */
  2808. #define H_ERR_WNODE 9230 /* Internal Error: Wrong Node */
  2809. #define H_ERR_CMP_INCONSISTENT 9231 /* Inconsistent red black tree */
  2810. #define H_ERR_LAPACK_PAR 9250 /* Internal error */
  2811. /* Stripack */
  2812. #define H_ERR_STRI_NPNT 9260 /* Number of points too small */
  2813. #define H_ERR_STRI_COLL 9261 /* First 3 points are collinear */
  2814. #define H_ERR_STRI_IDPNT 9262 /* Identical points in triangulation */
  2815. #define H_ERR_STRI_NALLOC 9263 /* Array not allocated large enough */
  2816. #define H_ERR_STRI_DEGEN 9264 /* Triangle is degenerate */
  2817. #define H_ERR_STRI_ITRI 9265 /* Inconsistent triangulation */
  2818. #define H_ERR_STRI_SELFINT 9266 /* Self-intersecting polygon */
  2819. #define H_ERR_STRI_INCONS 9267 /* Inconsistent polygon data */
  2820. #define H_ERR_STRI_AMBINT 9268 /* Ambiguous great circle arc intersection */
  2821. #define H_ERR_STRI_AMBARC 9269 /* Ambiguous great circle arc */
  2822. #define H_ERR_STRI_ILLPAR 9270 /* Illegal parameter */
  2823. /* Tripack */
  2824. #define H_ERR_TRI_NPNT 9280 /* Not enough points for planar triangular
  2825. meshing */
  2826. #define H_ERR_TRI_COLL 9281 /* The first three points of the triangular
  2827. meshing are collinear */
  2828. #define H_ERR_TRI_IDPNT 9282 /* Planar triangular meshing contains
  2829. identical input points */
  2830. #define H_ERR_TRI_IDPNTIN 9283 /* Invalid points for planar triangular
  2831. meshing */
  2832. #define H_ERR_TRI_NALLOC 9284 /* Internal error: allocated array too small
  2833. for planar triangular meshing */
  2834. #define H_ERR_TRI_ITRI 9285 /* Internal error: planar triangular meshing
  2835. inconsistent */
  2836. #define H_ERR_TRI_OUTR 9286 /* Node index outside triangulation range */
  2837. /* Triangulation */
  2838. #define H_ERR_TRI_LOCINC 9290 /* Local inconsistencies for all points with
  2839. valid neighbors (parameters only allow few
  2840. valid neighborhoods or point cloud not
  2841. subsampled) */
  2842. /* Orthogonal Projection */
  2843. #define H_ERR_WSPVP 9300 /* Eye point and reference point coincide */
  2844. /* Dual Quaternions */
  2845. #define H_ERR_DQ_ZERO_NORM 9310 /* Real part of the dual quaternion has
  2846. length 0 */
  2847. /* Timeout */
  2848. #define H_ERR_TIMEOUT 9400 /* Timeout occurred */
  2849. #define H_ERR_WRONG_TIMEOUT 9401 /* Invalid 'timeout' */
  2850. #define H_ERR_TIMEOUT_AFTER_SBM_CLEAR 9402 /* Timeout occured after cached
  2851. transformations have been freed
  2852. (internal error) */
  2853. /* Deformable matching */
  2854. #define H_ERR_DEFORM_WRONG_NUM_CLUSTER 9450 /* Invalid 'part_size' */
  2855. #define H_ERR_DEFORM_WRONG_NUM_MIN_SIZE 9451 /* Invalid 'min_size' */
  2856. #define H_ERR_DEFORM_WRONG_NUM_LSQ 9452 /* Invalid number of
  2857. least-squares iterations */
  2858. #define H_ERR_DEFORM_WRONG_ANGLE_STEP 9453 /* Invalid 'angle_step' */
  2859. #define H_ERR_DEFORM_WRONG_SCALE_R_STEP 9454 /* Invalid 'scale_r_step' */
  2860. #define H_ERR_DEFORM_WRONG_SCALE_C_STEP 9455 /* Invalid 'scale_c_step' */
  2861. #define H_ERR_DEFORM_WRONG_MAX_ANGLE 9456 /* Invalid
  2862. 'max_angle_distortion' */
  2863. #define H_ERR_DEFORM_WRONG_MAX_ANISO 9457 /* Invalid
  2864. 'max_aniso_scale_distortion' */
  2865. #define H_ERR_DEFORM_WRONG_MIN_SIZE 9458 /* Invalid 'min_size' */
  2866. #define H_ERR_DEFORM_WRONG_COV_POSE_MODE 9459 /* Invalid 'cov_pose_mode' */
  2867. #define H_ERR_DEFORM_NO_CALIBRATION_INFO 9460 /* Model contains no
  2868. calibration information */
  2869. #define H_ERR_DEFORM_WRONG_PARAM_NAME 9461 /* Generic parameter name
  2870. does not exist */
  2871. #define H_ERR_DEFORM_IMAGE_TO_CAMERA_DIFF 9462 /* camera has different
  2872. resolution than image */
  2873. #define H_ERR_DEFORM_NO_MODEL_IN_FILE 9463 /* Invalid file format for
  2874. deformable model */
  2875. #define H_ERR_DEFORM_WRONG_VERSION 9464 /* The version of the
  2876. deformable model is not
  2877. supported */
  2878. #define H_ERR_DEFORM_WRONG_SMOOTH_DEFORM 9465 /* Invalid
  2879. 'deformation_smoothness'*/
  2880. #define H_ERR_DEFORM_WRONG_EXPAND_BORDER 9466 /* Invalid 'expand_border' */
  2881. #define H_ERR_DEFORM_ORIGIN_OUTSIDE_TEMPLATE 9467 /* Model origin outside of
  2882. axis-aligned bounding
  2883. rectangle of template
  2884. region */
  2885. #define H_ERR_DEFORM_NOSITEM 9468 /* Serialized item does not
  2886. contain a valid deformable
  2887. model */
  2888. /* Edge extraction */
  2889. #define H_ERR_VIEW_ESTIM_FAIL 9499 /* Estimation of viewpose failed */
  2890. /* Surface Based Matching */
  2891. #define H_ERR_SFM_NO_POINTS 9500 /* Object model has no points */
  2892. #define H_ERR_SFM_NO_FACES 9501 /* Object model has no faces */
  2893. #define H_ERR_SFM_NO_NORMALS 9502 /* Object model has no normals */
  2894. #define H_ERR_SFM_NO_VISIBILITY 9503 /* 3D surface model not trained for
  2895. calculating view-based score */
  2896. #define H_ERR_SFM_NO_3D_EDGES 9504 /* 3D surface model not trained for
  2897. edge-supported matching */
  2898. #define H_ERR_SFM_NO_SFM_FILE 9506 /* Invalid file format for 3D
  2899. surface model */
  2900. #define H_ERR_SFM_WRONG_FILE_VERSION 9507 /* The version of the 3D surface
  2901. model is not supported */
  2902. #define H_ERR_SFM_NOSITEM 9508 /* Serialized item does not contain
  2903. a valid 3D surface model */
  2904. #define H_ERR_SFM_TOO_MANY_SYMMS 9509 /* Poses generate too many
  2905. symmetries */
  2906. /* Object Model 3D */
  2907. #define H_ERR_OM3D_INVALID_FILE 9510 /* Invalid 3D file */
  2908. #define H_ERR_OM3D_INVALID_MODEL 9511 /* Invalid 3D Object Model */
  2909. #define H_ERR_OM3D_UNKNOWN_FILE_TYPE 9512 /* Unknown 3D file type */
  2910. #define H_ERR_OM3D_WRONG_FILE_VERSION 9513 /* The version of the 3D object
  2911. model is not supported */
  2912. #define H_ERR_OM3D_MISSING_ATTRIB 9514 /* Required attribute is missing */
  2913. /* Object Model 3D Errors for special attributes */
  2914. #define H_ERR_OM3D_MISSING_ATTRIB_V_COORD 9515 /* Required attribute
  2915. point_coord is
  2916. missing */
  2917. #define H_ERR_OM3D_MISSING_ATTRIB_V_NORMALS 9516 /* Required attribute
  2918. point_normal is
  2919. missing */
  2920. #define H_ERR_OM3D_MISSING_ATTRIB_F_TRIANGLES 9517 /* Required attribute
  2921. face_triangle is
  2922. missing */
  2923. #define H_ERR_OM3D_MISSING_ATTRIB_F_LINES 9518 /* Required attribute
  2924. line_array is
  2925. missing */
  2926. #define H_ERR_OM3D_MISSING_ATTRIB_F_TRINEIGB 9519 /* Required attribute
  2927. f_trineighb is
  2928. missing */
  2929. #define H_ERR_OM3D_MISSING_ATTRIB_F_POLYGONS 9520 /* Required attribute
  2930. face_polygon is
  2931. missing */
  2932. #define H_ERR_OM3D_MISSING_ATTRIB_V_2DMAP 9521 /* Required attribute
  2933. xyz_mapping is
  2934. missing */
  2935. #define H_ERR_OM3D_MISSING_ATTRIB_O_PRIMITIVE 9522 /* Required attribute
  2936. o_primitive is
  2937. missing */
  2938. #define H_ERR_OM3D_MISSING_ATTRIB_SHAPE_MODEL 9523 /* Required attribute
  2939. shape_model
  2940. is missing */
  2941. #define H_ERR_OM3D_MISSING_ATTRIB_EXTENDED 9524 /* Required extended
  2942. attribute missing in
  2943. 3D object model */
  2944. #define H_ERR_OM3D_NOSITEM 9525 /* Serialized item does not contain
  2945. a valid 3D object model */
  2946. #define H_ERR_OM3D_MISSING_O_PRIMITIVE_EXTENSION 9526 /* Primitive in 3D
  2947. object model has no
  2948. extended data */
  2949. #define H_ERR_OM3D_CONTAIN_ATTRIB_F_TRIANGLES 9527 /* Operation invalid, 3D
  2950. object model already
  2951. contains triangles */
  2952. #define H_ERR_OM3D_CONTAIN_ATTRIB_F_LINES 9528 /* Operation invalid, 3D
  2953. object model already
  2954. contains lines */
  2955. #define H_ERR_OM3D_CONTAIN_ATTRIB_F_POLYGONS 9529 /* Operation invalid, 3D
  2956. object model already
  2957. contains faces or
  2958. polygons */
  2959. #define H_ERR_OM3D_ISOLATED_OBJECT 9530 /* In a global registration an
  2960. input object has no
  2961. neighbors */
  2962. #define H_ERR_OM3D_SET_ALL_COORD 9531 /* All components of points
  2963. must be set at once */
  2964. #define H_ERR_OM3D_SET_ALL_NORMALS 9532 /* All components of normals
  2965. must be set at once */
  2966. #define H_ERR_OM3D_NUM_NOT_FIT_COORD 9533 /* Number of values doesn't
  2967. correspond to number of
  2968. already existing points */
  2969. #define H_ERR_OM3D_NUM_NOT_FIT_NORMALS 9534 /* Number of values doesn't
  2970. correspond to number of
  2971. already existing normals */
  2972. #define H_ERR_OM3D_NUM_NOT_FIT_TRIANGLES 9535 /* Number of values doesn't
  2973. correspond to already
  2974. existing triangulation */
  2975. #define H_ERR_OM3D_NUM_NOT_FIT_POLYGONS 9536 /* Number of values doesn't
  2976. correspond to length of
  2977. already existing polygons */
  2978. #define H_ERR_OM3D_NUM_NOT_FIT_LINES 9537 /* Number of values doesn't
  2979. correspond to length of
  2980. already existing polylines */
  2981. #define H_ERR_OM3D_NUM_NOT_FIT_2DMAP 9538 /* Number of values doesn't
  2982. correspond already existing
  2983. 2D mapping */
  2984. #define H_ERR_OM3D_NUM_NOT_FIT_EXTENDED 9539 /* Number of values doesn't
  2985. correspond to already
  2986. existing extended
  2987. attribute */
  2988. #define H_ERR_OM3D_FACE_INTENSITY_WITH_POINTS 9540 /* Per-face intensity
  2989. is used with point
  2990. attribute */
  2991. #define H_ERR_OM3D_ATTRIBUTE_NOT_SUPPORTED 9541 /* Attribute is not (yet)
  2992. supported */
  2993. #define H_ERR_OM3D_NOT_IN_BB 9542 /* No point within bounding
  2994. box */
  2995. #define H_ERR_DIF_TOO_SMALL 9543 /* distance_in_front
  2996. is smaller than the
  2997. resolution */
  2998. #define H_ERR_MINTH_TOO_SMALL 9544 /* The minimum thickness is
  2999. smaller than the surface
  3000. tolerance */
  3001. #define H_ERR_OM3D_WRONG_DIMENSION 9545 /* Input width or height does
  3002. not match the number of
  3003. points in 3D object model */
  3004. #define H_ERR_OM3D_MISSING_DIMENSION 9546 /* Image width or height
  3005. must be set */
  3006. /* 3D segmentation and fitting */
  3007. #define H_ERR_SF_OM3D_TRIANGLES_NOT_SUITABLE 9550 /* Triangles of the 3D
  3008. object model are not
  3009. suitable for this
  3010. operator */
  3011. #define H_ERR_SF_OM3D_FEW_POINTS 9551 /* Too few suitable 3D points in
  3012. the 3D object model */
  3013. /* Serialized item */
  3014. #define H_ERR_NO_SERIALIZED_ITEM 9580 /* Not a valid serialized item
  3015. file */
  3016. #define H_ERR_END_OF_FILE 9581 /* Serialized item: premature end
  3017. of file */
  3018. /* Sample-based identification */
  3019. #define H_ERR_SID_WRONG_RESIZE_METHOD 9600 /* Invalid 'image_resize_method' */
  3020. #define H_ERR_SID_WRONG_RESIZE_VALUE 9601 /* Invalid 'image_resize_value' */
  3021. #define H_ERR_SID_WRONG_RATING_METHOD 9602 /* Invalid 'rating_method' */
  3022. #define H_ERR_SID_NO_IMAGE_INFO_TYPE 9603 /* At least one type of image
  3023. information must be used */
  3024. #define H_ERR_SID_MODEL_NO_COLOR 9604 /* Sample identifier does not
  3025. contain color information */
  3026. #define H_ERR_SID_MODEL_NO_TEXTURE 9605 /* Sample identifier does not
  3027. contain texture information */
  3028. #define H_ERR_SID_NO_IMAGE_INFO 9606 /* Sample image does not contain
  3029. enough information */
  3030. #define H_ERR_SID_NO_UNPREPARED_DATA 9607 /* Sample identifier does not
  3031. contain unprepared data
  3032. (use
  3033. add_sample_identifier_preparation_data) */
  3034. #define H_ERR_SID_MODEL_NOT_PREPARED 9608 /* Sample identifier has not been
  3035. prepared yet (use
  3036. prepare_sample_identifier) */
  3037. #define H_ERR_SID_NO_UNTRAINED_DATA 9609 /* Sample identifier does not
  3038. contain untrained data (use
  3039. add_sample_identifier_training_data) */
  3040. #define H_ERR_SID_MODEL_NOT_TRAINED 9610 /* Sample identifier has not been
  3041. trained yet (use
  3042. train_sample_identifier) */
  3043. #define H_ERR_SID_NO_RESULT_DATA 9611 /* Sample identifier does not
  3044. contain result data */
  3045. #define H_ERR_SID_NUM_TRAIN_OBJ 9612 /* Sample identifier must contain
  3046. at least two training objects
  3047. (use
  3048. add_sample_identifier_training_data) */
  3049. #define H_ERR_FINI_USR_THREADS 9700 /* More than one user thread still uses HALCON
  3050. * resources during finalization */
  3051. /************************************************************************/
  3052. #define H_ERR_START_EXT 10000 /* User defined error codes must be
  3053. larger than this value */
  3054. /************************************************************************/
  3055. /* Legacy error codes */
  3056. /************************************************************************/
  3057. /* Error codes concerning licensing */
  3058. #define H_ERR_NO_LICENSE 2003 /* No license found */
  3059. #define H_ERR_NO_LS_SERVER 2004 /* Lost connection to license server */
  3060. #define H_ERR_NO_MODULES 2005 /* No modules in license (no VENDOR_STRING) */
  3061. #define H_ERR_NO_LIC_OPER 2006 /* No license for this operator */
  3062. #define H_ERR_FLEX_LM_BAD_TZ 2007 /* Time zone offset from GMT is
  3063. > 24 hours */
  3064. #define H_ERR_FLEX_LM_BADPLATFORM 2008 /* Vendor keys do not support this
  3065. platform */
  3066. #define H_ERR_LM_BADKEYDATA 2009 /* Bad vendor keys */
  3067. #define H_ERR_FLEX_LM_BADVENDORDATA 2010 /* Unknown vendor key type */
  3068. #define H_ERR_FLEX_LM_CANTMALLOC 2011 /* malloc() call failed */
  3069. #define H_ERR_FLEX_LM_EXPIREDKEYS 2012 /* Vendor keys have expired */
  3070. #define H_ERR_FLEX_LM_FUNCNOTAVAIL 2013 /* Second call to lc_inti()
  3071. (multiple jobs), and vendore
  3072. keys do not support multiple
  3073. jobs */
  3074. #define H_ERR_FLEX_LM_NOKEYDATA 2014 /* Vendor key data not supplied */
  3075. #define H_ERR_FLEX_LM_LIBRARYMISMATCH 2015 /* lmclient.h/liblmgr.a version
  3076. mismatch */
  3077. #define H_ERR_FLEX_LM_NONETWORK 2016 /* Networking software not
  3078. available on this machine */
  3079. #define H_ERR_FLEX_LM_OLDVENDORDATA 2017 /* Old vendor keys supplied */
  3080. #define H_ERR_FLEX_LM_BADCODE 2018 /* License key in license file does
  3081. not match other data in file */
  3082. #define H_ERR_FLEX_LM_BADHANDSHAKE 2019 /* Encryption handshake with daemon
  3083. failed */
  3084. #define H_ERR_FLEX_LM_BADPARAM 2020 /* 'key' structure is incorrect
  3085. type, or feature == NULL,
  3086. or num_licenses == 0 */
  3087. #define H_ERR_FLEX_LM_BADSYSDATE 2021 /* System clock has been set back */
  3088. #define H_ERR_FLEX_LM_BAD_VERSION 2022 /* Version argument is invalid
  3089. floating point format */
  3090. #define H_ERR_FLEX_LM_BUSYNEWSERV 2023 /* License server busy starting
  3091. another copy of itself */
  3092. #define H_ERR_FLEX_LM_CANTCONNECT 2024 /* Cannot establish a connection
  3093. with a license server */
  3094. #define H_ERR_FLEX_LM_FEATQUEUE 2025 /* Feature is queued. lc_status
  3095. will determine when it is
  3096. available */
  3097. #define H_ERR_FLEX_LM_FUNC_NOT_AVAIL 2026 /* Vendor keys do not support this
  3098. function */
  3099. #define H_ERR_FLEX_LM_LOCALFILTER 2027 /* Checkout request filtered by the
  3100. vendor-defined filter routine */
  3101. #define H_ERR_FLEX_LM_MAXLIMIT 2028 /* Checkout exceeds MAX specified
  3102. in options file */
  3103. #define H_ERR_FLEX_LM_MAXUSERS 2029 /* All licenses in use */
  3104. #define H_ERR_FLEX_LM_NO_SERVER_IN_FILE 2030 /* No license server specified
  3105. for counted license */
  3106. #define H_ERR_FLEX_LM_NOFEATURE 2031 /* Can not find feature in the
  3107. license file */
  3108. #define H_ERR_FLEX_LM_NOSERVSUPP 2032 /* Server has different license
  3109. file than client - client's
  3110. license has feature, but
  3111. server's does not */
  3112. #define H_ERR_FLEX_LM_OLDVER 2033 /* License file does not support
  3113. a version this new */
  3114. #define H_ERR_FLEX_LM_PLATNOTLIC 2034 /* This platform not authorized by
  3115. license - running on platform
  3116. not included in PLATFORMS list */
  3117. #define H_ERR_FLEX_LM_SERVBUSY 2035 /* License server busy */
  3118. #define H_ERR_FLEX_LM_NOCONFFILE 2036 /* Could not find license.dat */
  3119. #define H_ERR_FLEX_LM_BADFILE 2037 /* Invalid license file syntax */
  3120. #define H_ERR_FLEX_LM_NOSERVER 2038 /* Cannot connect to a license
  3121. server */
  3122. #define H_ERR_FLEX_LM_NOSERVICE 2039 /* No TCP "license" service
  3123. exists */
  3124. #define H_ERR_FLEX_LM_NOSOCKET 2040 /* No socket connection to
  3125. license manager server */
  3126. #define H_ERR_FLEX_LM_NOTTHISHOST 2041 /* Invalid host */
  3127. #define H_ERR_FLEX_LM_LONGGONE 2042 /* Feature has expired */
  3128. #define H_ERR_FLEX_LM_BADDATE 2043 /* Invalid date format in license
  3129. file */
  3130. #define H_ERR_FLEX_LM_BADCOMM 2044 /* Invalid returned data from
  3131. license server */
  3132. #define H_ERR_FLEX_LM_BADHOST 2045 /* Cannot find SERVER hostname in
  3133. network database */
  3134. #define H_ERR_FLEX_LM_CANTREAD 2046 /* Cannot read data from license
  3135. server */
  3136. #define H_ERR_FLEX_LM_CANTWRITE 2047 /* Cannot write data to license
  3137. server */
  3138. #define H_ERR_FLEX_LM_SELECTERR 2048 /* Error in select system call */
  3139. #define H_ERR_FLEX_LM_CHECKINBAD 2049 /* Feature checkin failure
  3140. detected at license */
  3141. #define H_ERR_FLEX_LM_USERSQUEUED 2050 /* Users are queued for this
  3142. feature */
  3143. #define H_ERR_FLEX_LM_SERVLONGGONE 2051 /* License server does not
  3144. support this version of this
  3145. feature */
  3146. #define H_ERR_FLEX_LM_TOOMANY 2052 /* Request for more licenses than
  3147. this feature supports */
  3148. #define H_ERR_FLEX_LM_CANTREADKMEM 2053 /* Cannot read /dev/kmem */
  3149. #define H_ERR_FLEX_LM_CANTREADVMUNIX 2054 /* Cannot read /vmunix */
  3150. #define H_ERR_FLEX_LM_CANTFINDETHER 2055 /* Cannot find ethernet device */
  3151. #define H_ERR_FLEX_LM_NOREADLIC 2056 /* Cannot read license file */
  3152. #define H_ERR_FLEX_LM_TOOEARLY 2057 /* Feature not yet available */
  3153. #define H_ERR_FLEX_LM_NOSUCHATTR 2058 /* No such attribute */
  3154. #define H_ERR_FLEX_LM_CLOCKBAD 2059 /* Clock difference too large
  3155. between client and server */
  3156. #define H_ERR_FLEX_LM_FEATCORRUPT 2060 /* Feature database corrupted in
  3157. daemon */
  3158. #define H_ERR_FLEX_LM_BADFEATPARAM 2061 /* Duplicate selection mismatch
  3159. for this feature */
  3160. #define H_ERR_FLEX_LM_FEATEXCLUDE 2062 /* User/host on EXCLUDE list for
  3161. feature */
  3162. #define H_ERR_FLEX_LM_FEATNOTINCLUDE 2063 /* User/host not on INCLUDE list
  3163. for feature */
  3164. #define H_ERR_FLEX_LM_NEVERCHECKOUT 2064 /* Feature was never checked
  3165. out */
  3166. #define H_ERR_FLEX_LM_BADKEYDATA 2065 /* Invalid FLEXlm key data
  3167. supplied */
  3168. #define H_ERR_FLEX_LM_NOCLOCKCHECK 2066 /* Clock setting check not
  3169. available in daemon */
  3170. #define H_ERR_FLEX_LM_DATE_TOOBIG 2067 /* Date too late for binary
  3171. format */
  3172. #define H_ERR_FLEX_LM_NOFLEXLMINIT 2068 /* FLEXlm not initialized */
  3173. #define H_ERR_FLEX_LM_NOSERVRESP 2069 /* Server did not respond to
  3174. message */
  3175. #define H_ERR_FLEX_LM_CHECKOUTFILTERED 2070 /* Request rejected by vendor
  3176. defined filter */
  3177. #define H_ERR_FLEX_LM_NOFEATSET 2071 /* No FEATURESET line present in
  3178. license file */
  3179. #define H_ERR_FLEX_LM_BADFEATSET 2072 /* Incorrect FEATURESET line in
  3180. license file */
  3181. #define H_ERR_FLEX_LM_CANTCOMPUTEFEATSET 2073 /* Cannot compute FEATURESET
  3182. line */
  3183. #define H_ERR_FLEX_LM_SOCKETFAIL 2074 /* socket() call failed */
  3184. #define H_ERR_FLEX_LM_SETSOCKFAIL 2075 /* setsockopt() failed */
  3185. #define H_ERR_FLEX_LM_BADCHECKSUM 2076 /* Message checksum failure */
  3186. #define H_ERR_FLEX_LM_SERVNOREADLIC 2077 /* Cannot read license file from
  3187. server */
  3188. #define H_ERR_FLEX_LM_NOTLICADMIN 2078 /* Not a license administrator */
  3189. #define H_ERR_FLEX_LM_REMOVETOOSOON 2079 /* lmremove request too soon */
  3190. #define H_ERR_FLEX_LM_ENDPATH 2080 /* Attempt to read beyond the end
  3191. of LF path */
  3192. #define H_ERR_FLEX_LM_VMS_SETIMR_FAILED 2081 /* SYS$SETIMR call failed */
  3193. #define H_ERR_FLEX_LM_INTERNAL_ERROR 2082 /* Internal FLEXlm Erro - Please
  3194. report to Globetrotter
  3195. Software */
  3196. #define H_ERR_FLEX_LM_NOADMINAPI 2083 /* FLEXadmin API functions not
  3197. avilable */
  3198. #define H_ERR_FLEX_LM_BADPKG 2084 /* Invalid PACKAGE line in
  3199. license file */
  3200. #define H_ERR_FLEX_LM_SERVOLDVER 2085 /* Server FLEXlm version older
  3201. than client's */
  3202. #define H_ERR_FLEX_LM_USER_BASED 2086 /* Incorrect number of USERS/HOSTS
  3203. INCLUDED in options file */
  3204. #define H_ERR_FLEX_LM_NOSERVCAP 2087 /* Server doesn't support this
  3205. request */
  3206. #define H_ERR_FLEX_LM_OBJECTUSED 2088 /* This license object already in
  3207. use */
  3208. #define H_ERR_FLEX_LM_FUTURE_FILE 2089 /* Future license file format */
  3209. #define H_ERR_FLEX_LM_SERVER_REMOVED 2090 /* Feature removed during
  3210. lmreread */
  3211. #define H_ERR_FLEX_LM_POOL 2091 /* This feature is available in a
  3212. different license pool */
  3213. #define H_ERR_FLEX_LM_NOT_THIS_HOST 2092 /* Network connect to THIS_HOST
  3214. failed */
  3215. #define H_ERR_FLEX_LM_HOSTDOWN 2093 /* Server node is down or not
  3216. responding */
  3217. #define H_ERR_FLEX_LM_VENDOR_DOWN 2094 /* The desired vendor daemon is
  3218. down */
  3219. #define H_ERR_FLEX_LM_BADDECFILE 2095 /* The decimal format license is
  3220. typed incorrectly */
  3221. #define H_ERR_FLEX_LM_RESVFOROTHERS 2096 /* All licenses are reserved for
  3222. others */
  3223. #define H_ERR_FLEX_LM_TSOK_ERR 2097 /* Terminal Server remote client
  3224. not allowed */
  3225. #define H_ERR_FLEX_LM_BORROW_TOOLONG 2098 /* Cannot borrow that long */
  3226. #define H_ERR_FLEX_LM_SERVER_MAXED_OUT 2099 /* License server out of network
  3227. connections */
  3228. #define H_ERR_FLEX_LM_NODONGLE 2300 /* Dongle not attached, or can't
  3229. read dongle */
  3230. #define H_ERR_FLEX_LM_NODONGLEDRIVER 2301 /* Missing dongle driver */
  3231. #define H_ERR_FLEX_LM_FLEXLOCK2CKOUT 2302 /* FLEXlock checkouts attempted */
  3232. #define H_ERR_FLEX_LM_SIGN_REQ 2303 /* SIGN= attribute required */
  3233. #define H_ERR_FLEX_LM_NOCROSUPPORT 2304 /* CRO not supported for this
  3234. platform */
  3235. #define H_ERR_FLEX_LM_BORROW_LINGER_ERR 2305 /* BORROW failed */
  3236. #define H_ERR_FLEX_LM_BORROW_EXPIRED 2306 /* BORROW period has expired */
  3237. #define H_ERR_FLEX_LM_FLOATOK_ONEHOSTID 2307 /* FLOAT_OK license must have
  3238. exactly one dongle hostid */
  3239. #define H_ERR_FLEX_LM_BORROW_DELETE_ERR 2308 /* Unable to delete local borrow
  3240. info" */
  3241. #define H_ERR_FLEX_LM_BORROW_RETURN_EARLY_ERR 2309 /* Returning borrowed
  3242. license early
  3243. not enabled */
  3244. #define H_ERR_FLEX_LM_BORROW_RETURN_SERVER_ERR 2310 /* Returning borrowed
  3245. license on server
  3246. failed */
  3247. #define H_ERR_FLEX_LM_CANT_CHECKOUT_JUST_PACKAGE 2311 /* Checkout just a
  3248. PACKAGE failed*/
  3249. #define H_ERR_FLEX_LM_COMPOSITEID_INIT_ERR 2312 /* Composite Hostid not
  3250. initialized */
  3251. #define H_ERR_FLEX_LM_COMPOSITEID_ITEM_ERR 2313 /* An item needed for Composite
  3252. Hostid missing or invalid */
  3253. #define H_ERR_FLEX_LM_BORROW_MATCH_ERR 2314 /* Borrowed license doesn't match
  3254. any known server license */
  3255. #define H_ERR_FLEX_LM_EVENTLOG_INIT_ERR 2315 /* Error enabling event log */
  3256. #define H_ERR_FLEX_LM_EVENTLOG_DISABLED 2316 /* Event logging is disabled */
  3257. #define H_ERR_FLEX_LM_EVENTLOG_WRITE_ERR 2317 /* Error writing to event log */
  3258. #define H_ERR_FLEX_LM_TIMEOUT 2318 /* Timeout */
  3259. #define H_ERR_FLEX_LM_BADCOMMAND 2319 /* Bad message command */
  3260. #define H_ERR_FLEX_LM_SOCKET_BROKEN_PIPE 2320 /* Error writing to socket */
  3261. #define H_ERR_FLEX_LM_INVALID_SIGNATURE 2321 /* Failed to generate version
  3262. specific license */
  3263. #define H_ERR_FLEX_LM_UNCOUNTED_NOT_SUPPORTED 2322 /* Vers.-specific signatures
  3264. not supported */
  3265. #define H_ERR_FLEX_LM_REDUNDANT_SIGNATURES 2323 /* License template contains
  3266. redundant signature
  3267. specifiers */
  3268. #define H_ERR_FLEX_LM_BADCODE_V71_LK 2324 /* Invalid V71_LK signature */
  3269. #define H_ERR_FLEX_LM_BADCODE_V71_SIGN 2325 /* Invalid V71_SIGN signature */
  3270. #define H_ERR_FLEX_LM_BADCODE_V80_LK 2326 /* Invalid V80_LK signature */
  3271. #define H_ERR_FLEX_LM_BADCODE_V80_SIGN 2327 /* Invalid V80_SIGN signature */
  3272. #define H_ERR_FLEX_LM_BADCODE_V81_LK 2328 /* Invalid V81_LK signature */
  3273. #define H_ERR_FLEX_LM_BADCODE_V81_SIGN 2329 /* Invalid V81_SIGN signature */
  3274. #define H_ERR_FLEX_LM_BADCODE_V81_SIGN2 2330 /* Invalid V81_SIGN2 signature */
  3275. #define H_ERR_FLEX_LM_BADCODE_V84_LK 2331 /* Invalid V84_LK signature */
  3276. #define H_ERR_FLEX_LM_BADCODE_V84_SIGN 2332 /* Invalid V84_SIGN signature */
  3277. #define H_ERR_FLEX_LM_BADCODE_V84_SIGN2 2333 /* Invalid V84_SIGN2 signature */
  3278. #define H_ERR_FLEX_LM_LK_REQ 2334 /* License key required but
  3279. missing from the certificate */
  3280. #define H_ERR_FLEX_LM_BADAUTH 2335 /* Bad AUTH={} signature */
  3281. #define H_ERR_FLEX_LM_REPAIR_NEEDED 2336 /* TS record invalid */
  3282. #define H_ERR_FLEX_LM_TS_OPEN 2337 /* Cannot open TS */
  3283. #define H_ERR_FLEX_LM_BAD_FULFILLMENT 2338 /* Invalid Fulfillment record */
  3284. #define H_ERR_FLEX_LM_BAD_ACTREQ 2339 /* Invalid activation request
  3285. received */
  3286. #define H_ERR_FLEX_LM_TS_NO_FULFILL_MATCH 2340 /* No fulfillment exists in
  3287. trusted storage which matches
  3288. the request */
  3289. #define H_ERR_FLEX_LM_BAD_ACT_RESP 2341 /* Invalid activation response
  3290. received */
  3291. #define H_ERR_FLEX_LM_CANTRETURN 2342 /* Can't return the fulfillment */
  3292. #define H_ERR_FLEX_LM_RETURNEXCEEDSMAX 2343 /* Return would exceed max
  3293. count(s) */
  3294. #define H_ERR_FLEX_LM_NO_REPAIRS_LEFT 2344 /* No repair count left */
  3295. #define H_ERR_FLEX_LM_NOT_ALLOWED 2345 /* Specified operation is not
  3296. allowed */
  3297. #define H_ERR_FLEX_LM_ENTLEXCLUDE 2346 /* User/host on EXCLUDE list for
  3298. entitlement */
  3299. #define H_ERR_FLEX_LM_ENTLNOTINCLUDE 2347 /* User/host not in INCLUDE list
  3300. for entitlement */
  3301. #define H_ERR_FLEX_LM_ACTIVATION 2348 /* Activation error */
  3302. #define H_ERR_FLEX_LM_TS_BADDATE 2349 /* Invalid date format in trusted
  3303. storage */
  3304. #define H_ERR_FLEX_LM_ENCRYPTION_FAILED 2350 /* Message encryption failed */
  3305. #define H_ERR_FLEX_LM_DECRYPTION_FAILED 2351 /* Message decryption failed */
  3306. #define H_ERR_FLEX_LM_BADCONTEXT 2352 /* Bad filter context */
  3307. #define H_ERR_FLEX_LM_SUPERSEDE_CONFLICT 2353 /* SUPERSEDE feature conflict */
  3308. #define H_ERR_FLEX_LM_INVALID_SUPERSEDE_SIGN 2354 /* Invalid SUPERSEDE_SIGN
  3309. syntax */
  3310. #define H_ERR_FLEX_LM_SUPERSEDE_SIGN_EMPTYSTRING 2355 /* SUPERSEDE_SIGN does
  3311. not contain a feature
  3312. name and license
  3313. signature */
  3314. #define H_ERR_FLEX_LM_ONE_TSOK_PLATFORM_ERR 2356 /* ONE_TS_OK is not supported
  3315. in this Windows Platform */
  3316. #define H_ERR_FLEX_LM_ONE_TSOK_MTX_ERR 2357 /* Internal error */
  3317. #define H_ERR_FLEX_LM_ONE_TSOK_ERR 2358 /* Only one terminal server
  3318. remote client checkout is
  3319. allowed for this feature */
  3320. #define H_ERR_FLEX_LM_SSIDNULL 2359 /* Internal error */
  3321. #define H_ERR_FLEX_LM_SMTXNOTREL 2360 /* Internal error */
  3322. #define H_ERR_FLEX_LM_MTXNOPERM 2361 /* Internal error */
  3323. #define H_ERR_FLEX_LM_COMPOSITEID_ETHER_ERR 2362 /* More than one ethernet
  3324. hostid not supported in
  3325. composite hostid
  3326. definition */
  3327. #define H_ERR_FLEX_LM_LIC_FILE_CHAR_EXCEED 2363 /* The number of characters in
  3328. the license file paths
  3329. exceeds the permissible
  3330. limit */
  3331. #define H_ERR_FLEX_LM_TZ_INVALID_SYNTAX 2364 /* Invalid TZ keyword syntax */
  3332. #define H_ERR_FLEX_LM_TZ_INVALID_TZONE_SPEC 2365 /* Invalid time zone override
  3333. specification in the
  3334. client */
  3335. #define H_ERR_FLEX_LM_TZ_INVALID_TZONE_INFO 2366 /* The time zone information
  3336. could not be obtained */
  3337. #define H_ERR_FLEX_LM_TZ_UNAUTHORIZED 2367 /* License client time zone not
  3338. authorized for license
  3339. rights */
  3340. #define H_ERR_FLEX_LM_INVALID_VM_PLATFORMS 2368 /* Invalid syntax for
  3341. VM_PLATFORMS keyword */
  3342. #define H_ERR_FLEX_LM_VM_PHYSICAL_ONLY 2369 /* Feature can be checked out
  3343. from physical machine only */
  3344. #define H_ERR_FLEX_LM_VM_VIRTUAL_ONLY 2370 /* Feature can be checked out
  3345. from virtual machine only */
  3346. #define H_ERR_FLEX_LM_VM_BAD_KEY 2371 /* Vendor keys do not support
  3347. Virtualization feature */
  3348. #define H_ERR_FLEX_LM_MAXLIMIT_EXCEED 2372 /* Checkout request denied as it
  3349. exceeds the MAX limit
  3350. specified in the options
  3351. file */
  3352. #define H_ERR_FLEX_LM_BA_API_INTERNAL_ERROR 2373 /* Binding agent API -
  3353. Internal error */
  3354. #define H_ERR_FLEX_LM_BA_COMM_ERROR 2374 /* Binding agent communication
  3355. error */
  3356. #define H_ERR_FLEX_LM_INVALID_BA_VERSION 2375 /* Invalid Binding agent
  3357. version */
  3358. #define H_ERR_FLEX_LM_SERVERQUERY_LOAD_REQUEST_FAILED 2376
  3359. /* Failed to load ServerQuery
  3360. request */
  3361. #define H_ERR_FLEX_LM_SERVERQUERY_RESPONSE_FAILED 2377
  3362. /* Failed to generate ServerQuery
  3363. response */
  3364. #define H_ERR_FLEX_LM_INVALID_IPADDRESS 2378 /* Invalid IP address used while
  3365. overriding */
  3366. /* Adapt this to be the highest error code concerning FlexLM */
  3367. #define H_ERR_LAST_FLEX_LM_ERROR H_ERR_FLEX_LM_INVALID_IPADDRESS
  3368. #endif
  3369. /* clang-format on */