BioImager  3.9.1
A .NET microscopy imaging library. Supports various microscopes by using imported libraries & GUI automation. Supported libraries include PriorĀ® & ZeissĀ® & all devices supported by Micromanager 2.0 and python-microscope.
Loading...
Searching...
No Matches
constants.cs
1using System;
2
3namespace BioImager
4{
5 static class Prior
6 {
7 /* equivalent of errors.h in C-SDK */
8 /* *************************************************************************************************************************** */
9
10 /**
11 * @brief SDK ERROR CODES returned directly by the SDk
12 */
13 public const int PRIOR_OK = 0;
14 public const int PRIOR_UNRECOGNISED_COMMAND = -10001;
15 public const int PRIOR_FAILEDTOOPENPORT = -10002;
16 public const int PRIOR_FAILEDTOFINDCONTROLLER = -10003;
17 public const int PRIOR_NOTCONNECTED = -10004;
18 public const int PRIOR_ALREADYCONNECTED = -10005;
19 public const int PRIOR_INVALID_PARAMETERS = -10007;
20 public const int PRIOR_UNRECOGNISED_DEVICE = -10008;
21 public const int PRIOR_APPDATAPATHERROR = -10009;
22 public const int PRIOR_LOADERERROR = -10010;
23 public const int PRIOR_CONTROLLERERROR = -10011;
24 public const int PRIOR_NOTIMPLEMENTEDYET = -10012;
25 public const int PRIOR_UNEXPECTED_ERROR = -10100;
26 public const int PRIOR_SDK_NOT_INITIALISED = -10200;
27 public const int PRIOR_SDK_INVALID_SESSION = -10300;
28 public const int PRIOR_SDK_NOMORE_SESSIONS = -10301;
29
30
31 /* *************************************************************************************************************************** */
32
33 /**
34 * @brief CONTROLLER ERROR codes returned by the stage controller being used.
35 */
36 public const int PRIOR_NO_STAGE = 1;
37 public const int PRIOR_NOT_IDLE = 2;
38 public const int PRIOR_NO_DRIVE = 3;
39 public const int PRIOR_STRING_PARSE = 4;
40 public const int PRIOR_COMMAND_NOT_FOUND = 5;
41 public const int PRIOR_INVALID_SHUTTER = 6;
42 public const int PRIOR_NO_FOCUS = 7;
43 public const int PRIOR_VALUE_OUT_OF_RANGE = 8;
44 public const int PRIOR_INVALID_WHEEL = 9;
45 public const int PRIOR_ARG1_OUT_OF_RANGE = 10;
46 public const int PRIOR_ARG2_OUT_OF_RANGE = 11;
47 public const int PRIOR_ARG3_OUT_OF_RANGE = 12;
48 public const int PRIOR_ARG4_OUT_OF_RANGE = 13;
49 public const int PRIOR_ARG5_OUT_OF_RANGE = 14;
50 public const int PRIOR_ARG6_OUT_OF_RANGE = 15;
51 public const int PRIOR_INCORRECT_STATE = 16;
52 public const int PRIOR_NO_FILTER_WHEEL = 17;
53 public const int PRIOR_QUEUE_FULL = 18;
54 public const int PRIOR_COMP_MODE_SET = 19;
55 public const int PRIOR_SHUTTER_NOT_FITTED = 20;
56 public const int PRIOR_INVALID_CHECKSUM = 21;
57 public const int PRIOR_NOT_ROTARY = 22;
58 public const int PRIOR_NO_FOURTH_AXIS = 40;
59 public const int PRIOR_AUTOFOCUS_IN_PROG = 41;
60 public const int PRIOR_NO_VIDEO = 42;
61 public const int PRIOR_NO_ENCODER = 43;
62 public const int PRIOR_SIS_NOT_DONE = 44;
63 public const int PRIOR_NO_VACUUM_DETECTOR = 45;
64 public const int PRIOR_NO_SHUTTLE = 46;
65 public const int PRIOR_VACUUM_QUEUED = 47;
66 public const int PRIOR_SIZ_NOT_DONE = 48;
67 public const int PRIOR_NOT_SLIDE_LOADER = 49;
68 public const int PRIOR_ALREADY_PRELOADED = 50;
69 public const int PRIOR_STAGE_NOT_MAPPED = 51;
70 public const int PRIOR_TRIGGER_NOT_FITTED = 52;
71 public const int PRIOR_INTERPOLATOR_NOT_FITTED = 53;
72 public const int PRIOR_WRITE_FAIL = 80;
73 public const int PRIOR_ERASE_FAIL = 81;
74 public const int PRIOR_NO_DEVICE = 128;
75 public const int PRIOR_NO_PMD_AXIS = 129;
76
77 };
78};