| PDM-IR SDK 3.0.12 PDM-IR_SDK

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

PDM-IR_SDK.h
Go to the documentation of this file.
1 /*
2 #######################################
3
4 Copyright 2017 Micro-Photon-Devices s.r.l.
5
6 SOFTWARE PRODUCT: PDM-IR_SDK
7
8 Micro-Photon-Devices (MPD) expressly disclaims any warranty for the SOFTWARE PRODUCT.
9 The SOFTWARE PRODUCT is provided 'As Is' without any express or implied warranty of any kind,
10 including but not limited to any warranties of merchantability, noninfringement, or
11 fitness of a particular purpose. MPD does not warrant or assume responsibility for the
12 accuracy or completeness of any information, text, graphics, links or other items contained
13 within the SOFTWARE PRODUCT. MPD further expressly disclaims any warranty or representation
14 to Authorized Users or to any third party.
15 In no event shall MPD be liable for any damages (including, without limitation, lost profits,
16 business interruption, or lost information) rising out of 'Authorized Users' use of or inability
17 to use the SOFTWARE PRODUCT, even if MPD has been advised of the possibility of such damages.
18 In no event will MPD be liable for loss of data or for indirect, special, incidental,
19 consequential (including lost profit), or other damages based in contract, tort
20 or otherwise. MPD shall have no liability with respect to the content of the
21 SOFTWARE PRODUCT or any part thereof, including but not limited to errors or omissions contained
22 therein, libel, infringements of rights of publicity, privacy, trademark rights, business
23 interruption, personal injury, loss of privacy, moral rights or the disclosure of confidential
24 information.
25
26 #######################################
27 */
28 #ifndef __PDM_IR_SDK_h__
29 #define __PDM_IR_SDK_h__
30
31
32 #pragma once
33
34 #define WIN32_LEAN_AND_MEAN
56 #ifdef __cplusplus
57 extern "C" {
58 #endif
59
62 #ifndef DllSDKExport
63 #if defined(_WIN32)
64 #ifdef PDM_IR_DLL_EXPORTS
65 #define DllSDKExport __declspec(dllexport)
66 #else
67 #define DllSDKExport __declspec(dllimport)
68 #endif
69 #else
70 #define DllSDKExport __attribute__ ((visibility("default")))
71 #endif
72 #endif
73
79
80
81 typedef unsigned char UINT8;
82 typedef signed char INT8;
84 typedef signed short INT16;
85 typedef unsigned short UINT16;
87 typedef unsigned int UINT32;
88 typedef signed int INT32;
93 typedef enum {
94 RESULT_OK,
95 RESULT_DATA_OUT_LIMIT_HIGH,
96 RESULT_DATA_OUT_LIMIT_LOW,
97 RESULT_DATA_ERROR,
98 RESULT_ERROR_COMMUNICATION
99 } RESULT;
100
104 typedef enum {
105 THIGH = 0,
106 TMEDIUM = 1,
107 TLOW = 2,
108 TLOWEST = 3
109 } TEMP_VALUES;
110
114 typedef enum {
115 HOLDOFFTYPE_EDGE = 0,
116 HOLDOFFTYPE_LEVEL = 1
117 } HOLDOFFTYPE;
118
123 typedef enum {
124 GATEMODE_INTERNAL = 0,
125 GATEMODE_EXTERNAL = 1
126 } GATEMODE;
127
131 typedef enum {
132 GATESHAPE_FIXEDGATE = 0,
133 GATESHAPE_FREEGATE = 1,
134 GATESHAPE_FREERUNNING = 2,
135 } GATESHAPE;
136
140 typedef enum {
141 TREDGE_LH = 0,
142 TREDGE_HL = 1,
143 } TREDGE;
144
149 typedef enum {
150 In_AND_Aux = 0,
151 In_OR_Aux = 1,
152 In_XOR_Aux = 2,
153 notIn_AND_Aux = 3,
154 notIn_OR_Aux = 4,
155 notIn_XOR_Aux = 5,
156 In_AND_notAux = 6,
157 In_OR_notAux = 7,
158 In_XOR_notAux = 8,
159 notIn_AND_notAux = 9,
160 notIn_OR_notAux = 10,
161 notIn_XOR_notAux = 11,
162 In_NAND_Aux = 12,
163 In_NOR_Aux = 13,
164 In_XNOR_Aux = 14,
165 notIn_NAND_Aux = 15,
166 notIn_NOR_Aux = 16,
167 notIn_XNOR_Aux = 17,
168 In_NAND_notAux = 18,
169 In_NOR_notAux = 19,
170 In_XNOR_notAux = 20,
171 notIn_NAND_notAux = 21,
172 notIn_NOR_notAux = 22,
173 notIn_XNOR_notAux = 23,
174 only_notIN = 24,
175 only_IN = 25
176 } TRFUNCT;
177
181 typedef enum {
182 OUTMODE_TRIGGERGATE = 0,
183 OUTMODE_PHOTONOUT = 1,
184 OUTMODE_HOLDOFF = 2,
185 OUTMODE_VALIDGATE = 3,
186 OUTMODE_INTERNALTRIGGER = 4,
187 OUTMODE_MODULESTATUS = 5
188 } OUTMODE;
189
193 typedef enum {
194 COUNTERSTATUS_OFF = 0,
195 COUNTERSTATUS_ON = 1,
196 COUNTERSTATUS_Continuous = 2
197 } COUNTERSTATUS;
198
202 typedef enum {
203 TYPE_1 = 0x1,
204 TYPE_2 = 0x2,
205 TYPE_3 = 0x3,
206 TYPE_4 = 0x4,
207 TYPE_5 = 0x5,
208 } SPAD_TYPE;
209
213 typedef enum {
214 STATUSBITS_OFF = 0,
215 STATUSBITS_ON = 1,
216 STATUSBITS_Updating = 2,
217 STATUSBITS_SafeValue = 3,
218 STATUSBITS_ToBeUpdated = 4,
219 STATUSBITS_Updated = 5
220 }STATUSBITS;
221
225 typedef struct {
226 unsigned int Fpga;
227 unsigned int Board;
228 unsigned long RH;
229 }Temperature_s;
230
234 typedef struct {
235 UINT16 Amplitude;
236 TEMP_VALUES Temperature;
237 UINT32 HoldOff;
238 HOLDOFFTYPE HoldOffLevel;
239 GATEMODE GateMode;
240 GATESHAPE GateShape;
241 TREDGE TriggerInEdge;
242 INT16 TriggerInTh;
243 TREDGE AuxInEdge;
244 INT16 AuxInTh;
245 TRFUNCT TriggerFunction;
246 UINT32 Frequency;
247 UINT32 Ton;
248 OUTMODE TtlOut;
249 OUTMODE NimOut;
250 UINT8 DelayTriggerIn;
251 UINT8 DelayTriggerInternal;
252 UINT8 DelayAuxIn;
253 UINT8 DelayGate;
254 UINT8 DelayNimOut;
255 UINT8 DelayTtlOut;
256 UINT16 CounterIntegrationTime;
257 COUNTERSTATUS CounterAvalancheStatus;
258 COUNTERSTATUS CounterValidGateStatus;
259 COUNTERSTATUS CounterAuxInStatus;
260 COUNTERSTATUS CounterTriggerInStatus;
261 COUNTERSTATUS CounterInternalTriggerStatus;
262 }MODULECONFIG;
263
265 typedef struct {
266 UINT16 SN;
267 SPAD_TYPE SpadType;
268 char SpadName[16];
269 char FpgaFwVer[16];
270 char FpgaHwVer[16];
271 char McuFwVer[16];
272 char McuHwVer[16];
273 }MODULEINFO;
274
278 typedef struct {
279 Temperature_s Temperature;
280 STATUSBITS StatusBitModule;
281 STATUSBITS StatusBitTEC;
282 STATUSBITS StatusBitVpol;
283 STATUSBITS StatusBitAmpi;
284 STATUSBITS StatusBitGate;
285 STATUSBITS StatusBitGateForm;
286 STATUSBITS StatusBitHO;
287 STATUSBITS StatusBitTrigger;
288 STATUSBITS StatusBitPLL;
289 STATUSBITS StatusBitOutputs;
290 STATUSBITS StatusBitDelayTriggerIn;
291 STATUSBITS StatusBitDelayTriggerInternal;
292 STATUSBITS StatusBitDelayAuxIn;
293 STATUSBITS StatusBitDelayGate;
294 STATUSBITS StatusBitDelayNimOut;
295 STATUSBITS StatusBitDelayTtlOut;
296 STATUSBITS StatusBitCounters;
297 UINT32 ErrorStatus;
298 }MODULESTATUS;
299
302 //------------ Constructor -----------------------------------------
317 DllSDKExport RESULT PDMIR_SearchDevices(UINT16 *arrayDataSN, UINT16 *numDevsFound);
318
325 DllSDKExport RESULT PDMIR_OpenCommunication(UINT16 serialNumber);
326
334 DllSDKExport RESULT PDMIR_CloseCommunication(UINT16 serialNumber);
336 //------------ Set methods -----------------------------------------
352 DllSDKExport RESULT PDMIR_SetAmplitude(UINT16 serialNumber, UINT16 AmplimV);
353
363 DllSDKExport RESULT PDMIR_SetTemperature(UINT16 serialNumber, TEMP_VALUES temp);
364
375 DllSDKExport RESULT PDMIR_SetHoldOff(UINT16 serialNumber, UINT32 holdOff, HOLDOFFTYPE type);
376
387 DllSDKExport RESULT PDMIR_SetGateMode(UINT16 serialNumber, GATEMODE gm);
388
398 DllSDKExport RESULT PDMIR_SetGateShape(UINT16 serialNumber, GATESHAPE gs);
399
409 DllSDKExport RESULT PDMIR_SetTriggerInEdge(UINT16 serialNumber, TREDGE TriggerInEdge);
410
420 DllSDKExport RESULT PDMIR_SetTriggerInTh(UINT16 serialNumber, INT16 TriggerTh);
421
431 DllSDKExport RESULT PDMIR_SetAuxInEdge(UINT16 serialNumber, TREDGE TriggerEdge);
432
442 DllSDKExport RESULT PDMIR_SetAuxInTh(UINT16 serialNumber, INT16 TriggerTh);
443
453 DllSDKExport RESULT PDMIR_SetTriggerFunction(UINT16 serialNumber, TRFUNCT TriggerFunction);
454
464 DllSDKExport RESULT PDMIR_SetFrequency(UINT16 serialNumber, UINT32 frequency);
465
475 DllSDKExport RESULT PDMIR_SetTon(UINT16 serialNumber, UINT32 tOn);
476
486 DllSDKExport RESULT PDMIR_SetTTLOut(UINT16 serialNumber, OUTMODE TTLOut);
487
497 DllSDKExport RESULT PDMIR_SetNIMOut(UINT16 serialNumber, OUTMODE NIMOut);
498
508 DllSDKExport RESULT PDMIR_SetDelayTriggerIn(UINT16 serialNumber, UINT8 delay);
509
519 DllSDKExport RESULT PDMIR_SetDelayTriggerInternal(UINT16 serialNumber, UINT8 delay);
520
530 DllSDKExport RESULT PDMIR_SetDelayAuxIn(UINT16 serialNumber, UINT8 delay);
531
541 DllSDKExport RESULT PDMIR_SetDelayGate(UINT16 serialNumber, UINT8 delay);
542
552 DllSDKExport RESULT PDMIR_SetDelayNIMOut(UINT16 serialNumber, UINT8 delay);
553
563 DllSDKExport RESULT PDMIR_SetDelayTTLOut(UINT16 serialNumber, UINT8 delay);
564
574 DllSDKExport RESULT PDMIR_SetCounterIntegrationTime(UINT16 serialNumber, UINT16 integrationTime);
575
585 DllSDKExport RESULT PDMIR_SetCounterAvalancheEnable(UINT16 serialNumber, COUNTERSTATUS Cstatus);
586
596 DllSDKExport RESULT PDMIR_SetCounterValidGateEnable(UINT16 serialNumber, COUNTERSTATUS Cstatus);
597
607 DllSDKExport RESULT PDMIR_SetCounterAuxInEnable(UINT16 serialNumber, COUNTERSTATUS Cstatus);
608
618 DllSDKExport RESULT PDMIR_SetCounterTriggerInEnable(UINT16 serialNumber, COUNTERSTATUS Cstatus);
619
629 DllSDKExport RESULT PDMIR_SetCounterInternalTriggerEnable(UINT16 serialNumber, COUNTERSTATUS Cstatus);
630
639 DllSDKExport RESULT PDMIR_SetModuleOnOff(UINT16 serialNumber, STATUSBITS Mstatus);
641 //------------ Get methods -----------------------------------------
656 DllSDKExport RESULT PDMIR_GetAmplitude(UINT16 serialNumber, UINT16 *ampi);
657
666 DllSDKExport RESULT PDMIR_GetTemperature(UINT16 serialNumber, TEMP_VALUES *temp);
667
677 DllSDKExport RESULT PDMIR_GetHoldOff(UINT16 serialNumber, UINT32 *holdOff, HOLDOFFTYPE *type);
678
687 DllSDKExport RESULT PDMIR_GetGateMode(UINT16 serialNumber, GATEMODE *gate);
688
697 DllSDKExport RESULT PDMIR_GetGateShape(UINT16 serialNumber, GATESHAPE *shape);
698
707 DllSDKExport RESULT PDMIR_GetTriggerInEdge(UINT16 serialNumber, TREDGE *edge);
708
717 DllSDKExport RESULT PDMIR_GetTriggerInTh(UINT16 serialNumber, INT16 *TriggerInTh);
718
727 DllSDKExport RESULT PDMIR_GetAuxInEdge(UINT16 serialNumber, TREDGE *edge);
728
737 DllSDKExport RESULT PDMIR_GetAuxInTh(UINT16 serialNumber, INT16 *AuxInTh);
738
747 DllSDKExport RESULT PDMIR_GetTriggerFunction(UINT16 serialNumber, TRFUNCT *function);
748
757 DllSDKExport RESULT PDMIR_GetFrequency(UINT16 serialNumber, UINT32 *freq);
758
767 DllSDKExport RESULT PDMIR_GetTon(UINT16 serialNumber, UINT32 *Ton);
768
777 DllSDKExport RESULT PDMIR_GetTTLOut(UINT16 serialNumber, OUTMODE *TTLOut);
778
787 DllSDKExport RESULT PDMIR_GetNIMOut(UINT16 serialNumber, OUTMODE *NIMOut);
788
797 DllSDKExport RESULT PDMIR_GetDelayTriggerIn(UINT16 serialNumber, UINT8 *delay);
798
807 DllSDKExport RESULT PDMIR_GetDelayTriggerInternal(UINT16 serialNumber, UINT8 *delay);
808
817 DllSDKExport RESULT PDMIR_GetDelayAuxIn(UINT16 serialNumber, UINT8 *delay);
818
827 DllSDKExport RESULT PDMIR_GetDelayGate(UINT16 serialNumber, UINT8 *delay);
828
837 DllSDKExport RESULT PDMIR_GetDelayNIMOut(UINT16 serialNumber, UINT8 *delay);
838
847 DllSDKExport RESULT PDMIR_GetDelayTTLOut(UINT16 serialNumber, UINT8 *delay);
848
857 DllSDKExport RESULT PDMIR_GetCounterIntegrationTime(UINT16 serialNumber, UINT16 *integrationTime);
858
867 DllSDKExport RESULT PDMIR_GetCounterAvalancheStatus(UINT16 serialNumber, COUNTERSTATUS *status);
868
877 DllSDKExport RESULT PDMIR_GetCounterValidGateStatus(UINT16 serialNumber, COUNTERSTATUS *status);
878
887 DllSDKExport RESULT PDMIR_GetCounterAuxInStatus(UINT16 serialNumber, COUNTERSTATUS *status);
888
897 DllSDKExport RESULT PDMIR_GetCounterTriggerInStatus(UINT16 serialNumber, COUNTERSTATUS *status);
898
907 DllSDKExport RESULT PDMIR_GetCounterInternalTriggerStatus(UINT16 serialNumber, COUNTERSTATUS *status);
908
918 DllSDKExport RESULT PDMIR_GetCounterAvalancheLastValue(UINT16 serialNumber, UINT8 *index, UINT32 *counts);
919
929 DllSDKExport RESULT PDMIR_GetCounterValidGateLastValue(UINT16 serialNumber, UINT8 *index, UINT32 *counts);
930
940 DllSDKExport RESULT PDMIR_GetCounterAuxInLastValue(UINT16 serialNumber, UINT8 *index, UINT32 *counts);
941
951 DllSDKExport RESULT PDMIR_GetCounterTriggerInLastValue(UINT16 serialNumber, UINT8 *index, UINT32 *counts);
952
962 DllSDKExport RESULT PDMIR_GetCounterInternalTriggerLastValue(UINT16 serialNumber, UINT8 *index, UINT32 *counts);
963
975 DllSDKExport RESULT PDMIR_GetCounterAvalancheValueAtIndex(UINT16 serialNumber, UINT8 *index, UINT32 *counts);
976
988 DllSDKExport RESULT PDMIR_GetCounterValidGateValueAtIndex(UINT16 serialNumber, UINT8 *index, UINT32 *counts);
989
1001 DllSDKExport RESULT PDMIR_GetCounterAuxInValueAtIndex(UINT16 serialNumber, UINT8 *index, UINT32 *counts);
1002
1014 DllSDKExport RESULT PDMIR_GetCounterTriggerInValueAtIndex(UINT16 serialNumber, UINT8 *index, UINT32 *counts);
1015
1027 DllSDKExport RESULT PDMIR_GetCounterInternalTriggerValueAtIndex(UINT16 serialNumber, UINT8 *index, UINT32 *counts);
1028
1036 DllSDKExport RESULT PDMIR_GetModuleInfo(UINT16 serialNumber, MODULEINFO *info);
1037
1050 DllSDKExport RESULT PDMIR_GetModuleStatus(UINT16 serialNumber, STATUSBITS *mStatus, STATUSBITS *mTemperature, STATUSBITS *mSpad, STATUSBITS *mGate, UINT32 *errors);
1051
1058 DllSDKExport void PDMIR_ErrorTranslator(UINT32 error, char *stringOut);
1060 //------------ Configuration methods -----------------------------------------
1066
1077 DllSDKExport RESULT PDMIR_SaveCurrentConfig(UINT16 serialNumber, UINT8 configNumber, char *configName);
1078
1089 DllSDKExport RESULT PDMIR_SaveCurrentConfigForceOverWrite(UINT16 serialNumber, UINT8 configNumber, char *configName);
1090
1100 DllSDKExport RESULT PDMIR_DeleteConfig(UINT16 serialNumber, UINT8 configNumber);
1101
1111 DllSDKExport RESULT PDMIR_SetConfigPowerUp(UINT16 serialNumber, UINT8 configNumber);
1112
1125 DllSDKExport RESULT PDMIR_LoadConfig(UINT16 serialNumber, UINT8 configNumber);
1126
1133 DllSDKExport RESULT PDMIR_GetCurrentConfig(UINT16 serialNumber, MODULECONFIG *config);
1134
1145 DllSDKExport RESULT PDMIR_GetConfigX(UINT16 serialNumber, UINT8 configNumber, MODULECONFIG *config, char *configName);
1146
1155 DllSDKExport RESULT PDMIR_GetConfigPowerUp(UINT16 serialNumber, UINT8 *configNumber);
1159
1160 #ifdef __cplusplus
1161 }
1162 #endif
1163
1164 #endif //__PDM_IR_SDK_h__
MODULECONFIG::AuxInTh
INT16 AuxInTh
The Threshold of the Aux In expressed in mV.
Definition: PDM-IR_SDK.h:244
TRFUNCT
TRFUNCT
Function Type enum.
Definition: PDM-IR_SDK.h:149
PDMIR_GetCounterAvalancheLastValue
DllSDKExport RESULT PDMIR_GetCounterAvalancheLastValue(UINT16 serialNumber, UINT8 *index, UINT32 *counts)
Get the photon out counter value of the PDM-IR.
OUTMODE_HOLDOFF
The Output reproduces the hold off signal.
Definition: PDM-IR_SDK.h:184
MODULECONFIG::GateMode
GATEMODE GateMode
The Gate Mode: trigger internal or external.
Definition: PDM-IR_SDK.h:239
HOLDOFFTYPE_EDGE
When the hold off time is over, the gate is not applied until the next rising edge of the gate window...
Definition: PDM-IR_SDK.h:115
notIn_NAND_Aux
Inverted Selected trigger NAND Aux In.
Definition: PDM-IR_SDK.h:165
notIn_OR_notAux
Inverted Selected trigger OR Inverted Aux In.
Definition: PDM-IR_SDK.h:160
In_NOR_Aux
Selected trigger NOR Aux In.
Definition: PDM-IR_SDK.h:163
PDMIR_GetModuleInfo
DllSDKExport RESULT PDMIR_GetModuleInfo(UINT16 serialNumber, MODULEINFO *info)
Get the module information of the PDM-IR.
MODULESTATUS::StatusBitDelayGate
STATUSBITS StatusBitDelayGate
Indicates if the delay in the Gate path is set.
Definition: PDM-IR_SDK.h:293
PDMIR_GetCounterAuxInValueAtIndex
DllSDKExport RESULT PDMIR_GetCounterAuxInValueAtIndex(UINT16 serialNumber, UINT8 *index, UINT32 *counts)
Get the Aux In counter value of the PDM-IR at specified index.
OUTMODE_TRIGGERGATE
The Output reproduces the trigger gate signal.
Definition: PDM-IR_SDK.h:182
PDMIR_SetAuxInTh
DllSDKExport RESULT PDMIR_SetAuxInTh(UINT16 serialNumber, INT16 TriggerTh)
Set the Aux In Threshold of the PDM-IR.
RESULT_DATA_ERROR
Error parsing the values referenced.
Definition: PDM-IR_SDK.h:97
PDMIR_SaveCurrentConfigForceOverWrite
DllSDKExport RESULT PDMIR_SaveCurrentConfigForceOverWrite(UINT16 serialNumber, UINT8 configNumber, char *configName)
Store current configuration of the PDM-IR in the configNumber position overwriting the existing one...
notIn_XNOR_Aux
Inverted Selected trigger XNOR Aux In.
Definition: PDM-IR_SDK.h:167
MODULECONFIG::TriggerInTh
INT16 TriggerInTh
The Threshold of the trigger In expressed in mV.
Definition: PDM-IR_SDK.h:242
PDMIR_SetGateMode
DllSDKExport RESULT PDMIR_SetGateMode(UINT16 serialNumber, GATEMODE gm)
Set the gate mode of the PDM-IR.
PDMIR_GetCurrentConfig
DllSDKExport RESULT PDMIR_GetCurrentConfig(UINT16 serialNumber, MODULECONFIG *config)
Get the current configuration parameters of the PDM-IR.
STATUSBITS_ToBeUpdated
The Parameter needs to be updated.
Definition: PDM-IR_SDK.h:218
PDMIR_SetTriggerInTh
DllSDKExport RESULT PDMIR_SetTriggerInTh(UINT16 serialNumber, INT16 TriggerTh)
Set the Trigger In Threshold of the PDM-IR.
HOLDOFFTYPE
HOLDOFFTYPE
hold Off Type enum.
Definition: PDM-IR_SDK.h:114
OUTMODE_INTERNALTRIGGER
The Output reproduces the internal trigger signal.
Definition: PDM-IR_SDK.h:186
STATUSBITS
STATUSBITS
Parameter Status enum.
Definition: PDM-IR_SDK.h:213
PDMIR_SetGateShape
DllSDKExport RESULT PDMIR_SetGateShape(UINT16 serialNumber, GATESHAPE gs)
Set the gate shape of the PDM-IR.
MODULECONFIG::TtlOut
OUTMODE TtlOut
The output signal of the TTL out.
Definition: PDM-IR_SDK.h:248
MODULESTATUS::StatusBitVpol
STATUSBITS StatusBitVpol
Indicates the polarization Voltage status.
Definition: PDM-IR_SDK.h:282
PDMIR_GetDelayTTLOut
DllSDKExport RESULT PDMIR_GetDelayTTLOut(UINT16 serialNumber, UINT8 *delay)
Get the TTL out delay of the PDM-IR.
MODULESTATUS::StatusBitOutputs
STATUSBITS StatusBitOutputs
Indicates the Outputs status.
Definition: PDM-IR_SDK.h:289
MODULECONFIG::Ton
UINT32 Ton
The On time of the gate in case of fixed gate width in ns.
Definition: PDM-IR_SDK.h:247
notIn_XNOR_notAux
Inverted Selected trigger XNOR Inverted Aux In.
Definition: PDM-IR_SDK.h:173
MODULECONFIG
Module Configuration Structure.
Definition: PDM-IR_SDK.h:234
In_XOR_Aux
Selected trigger XOR Aux In.
Definition: PDM-IR_SDK.h:152
MODULESTATUS::StatusBitCounters
STATUSBITS StatusBitCounters
Indicates the Outputs status.
Definition: PDM-IR_SDK.h:296
notIn_NAND_notAux
Inverted Selected trigger NAND Inverted Aux In.
Definition: PDM-IR_SDK.h:171
GATEMODE_EXTERNAL
The Gate trigger is the external trigger.
Definition: PDM-IR_SDK.h:125
MODULESTATUS::StatusBitAmpi
STATUSBITS StatusBitAmpi
Indicates the Excess Bias status.
Definition: PDM-IR_SDK.h:283
PDMIR_SetCounterInternalTriggerEnable
DllSDKExport RESULT PDMIR_SetCounterInternalTriggerEnable(UINT16 serialNumber, COUNTERSTATUS Cstatus)
Set the internal trigger counter of the PDM-IR.
PDMIR_LoadConfig
DllSDKExport RESULT PDMIR_LoadConfig(UINT16 serialNumber, UINT8 configNumber)
Load a stored configuration of the PDM-IR.
PDMIR_SetHoldOff
DllSDKExport RESULT PDMIR_SetHoldOff(UINT16 serialNumber, UINT32 holdOff, HOLDOFFTYPE type)
Set the hold off time of the SPAD.
MODULECONFIG::DelayNimOut
UINT8 DelayNimOut
The delay time of the NIM out Signal.
Definition: PDM-IR_SDK.h:254
In_AND_notAux
Selected trigger AND Inverted Aux In.
Definition: PDM-IR_SDK.h:156
notIn_NOR_notAux
Inverted Selected trigger NOR Inverted Aux In.
Definition: PDM-IR_SDK.h:172
notIn_XOR_Aux
Inverted Selected trigger XOR Aux In.
Definition: PDM-IR_SDK.h:155
MODULECONFIG::CounterValidGateStatus
COUNTERSTATUS CounterValidGateStatus
The valid gate counter status.
Definition: PDM-IR_SDK.h:258
OUTMODE_VALIDGATE
The Output reproduces the valid gate signal.
Definition: PDM-IR_SDK.h:185
PDMIR_SetDelayTriggerInternal
DllSDKExport RESULT PDMIR_SetDelayTriggerInternal(UINT16 serialNumber, UINT8 delay)
Set the Internal Trigger delay of the PDM-IR.
PDMIR_OpenCommunication
DllSDKExport RESULT PDMIR_OpenCommunication(UINT16 serialNumber)
Open the communication with a module.
MODULESTATUS::ErrorStatus
UINT32 ErrorStatus
Indicates if there are some error in the module.
Definition: PDM-IR_SDK.h:297
MODULESTATUS::StatusBitDelayTriggerInternal
STATUSBITS StatusBitDelayTriggerInternal
Indicates if the delay in the Internal Trigger path is set.
Definition: PDM-IR_SDK.h:291
TYPE_5
useful parameter for device statistics.
Definition: PDM-IR_SDK.h:207
PDMIR_SetTriggerInEdge
DllSDKExport RESULT PDMIR_SetTriggerInEdge(UINT16 serialNumber, TREDGE TriggerInEdge)
Set the Trigger In Edge of the PDM-IR.
PDMIR_SaveCurrentConfig
DllSDKExport RESULT PDMIR_SaveCurrentConfig(UINT16 serialNumber, UINT8 configNumber, char *configName)
Store current configuration of the PDM-IR in the configNumber position.
In_AND_Aux
Selected trigger AND Aux In.
Definition: PDM-IR_SDK.h:150
COUNTERSTATUS_OFF
The Counter is disabled.
Definition: PDM-IR_SDK.h:194
PDMIR_GetGateShape
DllSDKExport RESULT PDMIR_GetGateShape(UINT16 serialNumber, GATESHAPE *shape)
Get the gate shape of the PDM-IR.
PDMIR_GetAuxInTh
DllSDKExport RESULT PDMIR_GetAuxInTh(UINT16 serialNumber, INT16 *AuxInTh)
Get the Aux In Threshold of the PDM-IR.
OUTMODE_PHOTONOUT
The Output reproduces the photon out signal.
Definition: PDM-IR_SDK.h:183
MODULESTATUS::StatusBitGate
STATUSBITS StatusBitGate
Indicates the Gate status.
Definition: PDM-IR_SDK.h:284
TMEDIUM
Medium temperature: the dark count rate is the one shown in the test report.
Definition: PDM-IR_SDK.h:106
In_XNOR_notAux
Selected trigger XNOR Inverted Aux In.
Definition: PDM-IR_SDK.h:170
notIn_AND_notAux
Inverted Selected trigger AND Inverted Aux In.
Definition: PDM-IR_SDK.h:159
PDMIR_GetCounterInternalTriggerLastValue
DllSDKExport RESULT PDMIR_GetCounterInternalTriggerLastValue(UINT16 serialNumber, UINT8 *index, UINT32 *counts)
Get the internal trigger counter value of the PDM-IR.
PDMIR_SetModuleOnOff
DllSDKExport RESULT PDMIR_SetModuleOnOff(UINT16 serialNumber, STATUSBITS Mstatus)
Set the module status of the PDM-IR.
only_notIN
Inverted Selected trigger.
Definition: PDM-IR_SDK.h:174
PDMIR_GetCounterValidGateStatus
DllSDKExport RESULT PDMIR_GetCounterValidGateStatus(UINT16 serialNumber, COUNTERSTATUS *status)
Get the valid gate counter of the PDM-IR.
PDMIR_GetCounterTriggerInStatus
DllSDKExport RESULT PDMIR_GetCounterTriggerInStatus(UINT16 serialNumber, COUNTERSTATUS *status)
Get the trigger In counter of the PDM-IR.
MODULECONFIG::Frequency
UINT32 Frequency
The Internal frequency of the PDM-IR in Hz.
Definition: PDM-IR_SDK.h:246
PDMIR_GetGateMode
DllSDKExport RESULT PDMIR_GetGateMode(UINT16 serialNumber, GATEMODE *gate)
Get the gate mode of the PDM-IR.
PDMIR_GetCounterAvalancheValueAtIndex
DllSDKExport RESULT PDMIR_GetCounterAvalancheValueAtIndex(UINT16 serialNumber, UINT8 *index, UINT32 *counts)
Get the photon out counter value of the PDM-IR at specified index.
PDMIR_SetCounterIntegrationTime
DllSDKExport RESULT PDMIR_SetCounterIntegrationTime(UINT16 serialNumber, UINT16 integrationTime)
Set the counters integration time of the PDM-IR.
GATESHAPE
GATESHAPE
Gate Shape enum.
Definition: PDM-IR_SDK.h:131
TLOW
Low temperature: the dark count rate is very low.
Definition: PDM-IR_SDK.h:107
In_NAND_notAux
Selected trigger NAND Inverted Aux In.
Definition: PDM-IR_SDK.h:168
In_XOR_notAux
Selected trigger XOR Inverted Aux In.
Definition: PDM-IR_SDK.h:158
PDMIR_GetCounterAvalancheStatus
DllSDKExport RESULT PDMIR_GetCounterAvalancheStatus(UINT16 serialNumber, COUNTERSTATUS *status)
Get the photon out counter of the PDM-IR.
Temperature_s::Fpga
unsigned int Fpga
The Digital core temperature.
Definition: PDM-IR_SDK.h:226
MODULECONFIG::DelayGate
UINT8 DelayGate
The delay time of the Gate Signal.
Definition: PDM-IR_SDK.h:253
PDMIR_SetAmplitude
DllSDKExport RESULT PDMIR_SetAmplitude(UINT16 serialNumber, UINT16 AmplimV)
Set the gate amplitude of the PDM-IR.
MODULECONFIG::DelayTriggerIn
UINT8 DelayTriggerIn
The delay time of the Trigger In Signal.
Definition: PDM-IR_SDK.h:250
MODULECONFIG::DelayTtlOut
UINT8 DelayTtlOut
The delay time of the TTL out Signal.
Definition: PDM-IR_SDK.h:255
PDMIR_GetDelayGate
DllSDKExport RESULT PDMIR_GetDelayGate(UINT16 serialNumber, UINT8 *delay)
Get the Gate delay of the PDM-IR.
UINT16
unsigned short UINT16
16 bit signed definition
Definition: PDM-IR_SDK.h:85
INT32
signed int INT32
32 bit signed definition
Definition: PDM-IR_SDK.h:88
PDMIR_SetDelayTTLOut
DllSDKExport RESULT PDMIR_SetDelayTTLOut(UINT16 serialNumber, UINT8 delay)
Set the TTL out delay of the PDM-IR.
MODULECONFIG::CounterInternalTriggerStatus
COUNTERSTATUS CounterInternalTriggerStatus
The internal trigger counter status.
Definition: PDM-IR_SDK.h:261
STATUSBITS_SafeValue
The Parameter has a safe value, used before update the value waiting the right update order...
Definition: PDM-IR_SDK.h:217
TYPE_3
useful parameter for device statistics.
Definition: PDM-IR_SDK.h:205
PDMIR_GetCounterInternalTriggerStatus
DllSDKExport RESULT PDMIR_GetCounterInternalTriggerStatus(UINT16 serialNumber, COUNTERSTATUS *status)
Get the internal trigger counter of the PDM-IR.
TREDGE_HL
Falling Edge Trigger.
Definition: PDM-IR_SDK.h:142
PDMIR_DeleteConfig
DllSDKExport RESULT PDMIR_DeleteConfig(UINT16 serialNumber, UINT8 configNumber)
Delete the configuration stored in the configNumber position.
INT8
signed char INT8
8 bit signed definition
Definition: PDM-IR_SDK.h:82
PDMIR_GetNIMOut
DllSDKExport RESULT PDMIR_GetNIMOut(UINT16 serialNumber, OUTMODE *NIMOut)
Get the NIM ouput signal of the PDM-IR.
PDMIR_SearchDevices
DllSDKExport RESULT PDMIR_SearchDevices(UINT16 *arrayDataSN, UINT16 *numDevsFound)
Modules list Constructor.
only_IN
Selected trigger.
Definition: PDM-IR_SDK.h:175
PDMIR_GetCounterValidGateValueAtIndex
DllSDKExport RESULT PDMIR_GetCounterValidGateValueAtIndex(UINT16 serialNumber, UINT8 *index, UINT32 *counts)
Get the valid gate counter value of the PDM-IR at specified index.
TREDGE
TREDGE
Edge Type enum.
Definition: PDM-IR_SDK.h:140
PDMIR_GetTriggerInEdge
DllSDKExport RESULT PDMIR_GetTriggerInEdge(UINT16 serialNumber, TREDGE *edge)
Get the Trigger In Edge of the PDM-IR.
PDMIR_GetCounterInternalTriggerValueAtIndex
DllSDKExport RESULT PDMIR_GetCounterInternalTriggerValueAtIndex(UINT16 serialNumber, UINT8 *index, UINT32 *counts)
Get the internal trigger counter value of the PDM-IR at specified index.
TREDGE_LH
Rising Edge Trigger.
Definition: PDM-IR_SDK.h:141
MODULECONFIG::CounterTriggerInStatus
COUNTERSTATUS CounterTriggerInStatus
The trigger in counter status.
Definition: PDM-IR_SDK.h:260
In_XNOR_Aux
Selected trigger XNOR Aux In.
Definition: PDM-IR_SDK.h:164
Temperature_s::Board
unsigned int Board
The PDM-IR temperature.
Definition: PDM-IR_SDK.h:227
MODULESTATUS::StatusBitDelayTriggerIn
STATUSBITS StatusBitDelayTriggerIn
Indicates if the delay in the Trigger in path is set.
Definition: PDM-IR_SDK.h:290
PDMIR_SetTemperature
DllSDKExport RESULT PDMIR_SetTemperature(UINT16 serialNumber, TEMP_VALUES temp)
Set the working temperature of the PDM-IR.
MODULESTATUS
Module Status Structure.
Definition: PDM-IR_SDK.h:278
In_NOR_notAux
Selected trigger NOR Inverted Aux In.
Definition: PDM-IR_SDK.h:169
MODULECONFIG::HoldOff
UINT32 HoldOff
The Hold Off value after an avalanche expressed in ns.
Definition: PDM-IR_SDK.h:237
PDMIR_GetHoldOff
DllSDKExport RESULT PDMIR_GetHoldOff(UINT16 serialNumber, UINT32 *holdOff, HOLDOFFTYPE *type)
Get the hold off time of the PDM-IR.
MODULECONFIG::CounterIntegrationTime
UINT16 CounterIntegrationTime
The counters&#39; integration time.
Definition: PDM-IR_SDK.h:256
TEMP_VALUES
TEMP_VALUES
Temperature enum.
Definition: PDM-IR_SDK.h:104
MODULECONFIG::HoldOffLevel
HOLDOFFTYPE HoldOffLevel
The Hold Off type: edge or level.
Definition: PDM-IR_SDK.h:238
PDMIR_GetDelayTriggerIn
DllSDKExport RESULT PDMIR_GetDelayTriggerIn(UINT16 serialNumber, UINT8 *delay)
Get the Trigger In delay of the PDM-IR.
COUNTERSTATUS_Continuous
The Counter is enabled.
Definition: PDM-IR_SDK.h:196
SPAD_TYPE
SPAD_TYPE
SPAD Type enum.
Definition: PDM-IR_SDK.h:202
UINT32
unsigned int UINT32
32 bit unsigned definition
Definition: PDM-IR_SDK.h:87
PDMIR_GetDelayTriggerInternal
DllSDKExport RESULT PDMIR_GetDelayTriggerInternal(UINT16 serialNumber, UINT8 *delay)
Get the Internal Trigger delay of the PDM-IR.
notIn_OR_Aux
Inverted Selected trigger OR Aux In.
Definition: PDM-IR_SDK.h:154
Temperature_s::RH
unsigned long RH
The Relative Humidity of the PDM-IR.
Definition: PDM-IR_SDK.h:228
MODULECONFIG::Temperature
TEMP_VALUES Temperature
The temperature value.
Definition: PDM-IR_SDK.h:236
UINT8
unsigned char UINT8
8 bit unsigned definition
Definition: PDM-IR_SDK.h:81
PDMIR_GetTriggerInTh
DllSDKExport RESULT PDMIR_GetTriggerInTh(UINT16 serialNumber, INT16 *TriggerInTh)
Get the Trigger In Threshold of the PDM-IR.
PDMIR_SetCounterValidGateEnable
DllSDKExport RESULT PDMIR_SetCounterValidGateEnable(UINT16 serialNumber, COUNTERSTATUS Cstatus)
Set the valid gate counter of the PDM-IR.
PDMIR_GetTemperature
DllSDKExport RESULT PDMIR_GetTemperature(UINT16 serialNumber, TEMP_VALUES *temp)
Get the working temperature of the PDM-IR.
GATESHAPE_FIXEDGATE
The Gate has a fixed width determinated by the Ton.
Definition: PDM-IR_SDK.h:132
PDMIR_SetCounterAuxInEnable
DllSDKExport RESULT PDMIR_SetCounterAuxInEnable(UINT16 serialNumber, COUNTERSTATUS Cstatus)
Set the Aux In counter of the PDM-IR.
PDMIR_GetFrequency
DllSDKExport RESULT PDMIR_GetFrequency(UINT16 serialNumber, UINT32 *freq)
Get the internal trigger frequency in Hz of the PDM-IR.
MODULESTATUS::StatusBitHO
STATUSBITS StatusBitHO
Indicates the hold Off status.
Definition: PDM-IR_SDK.h:286
PDMIR_ErrorTranslator
DllSDKExport void PDMIR_ErrorTranslator(UINT32 error, char *stringOut)
Get the string description of an error code of the PDM-IR.
PDMIR_GetCounterTriggerInLastValue
DllSDKExport RESULT PDMIR_GetCounterTriggerInLastValue(UINT16 serialNumber, UINT8 *index, UINT32 *counts)
Get the trigger in counter value of the PDM-IR.
PDMIR_GetDelayNIMOut
DllSDKExport RESULT PDMIR_GetDelayNIMOut(UINT16 serialNumber, UINT8 *delay)
Get the NIM out delay of the PDM-IR.
MODULEINFO::SpadType
SPAD_TYPE SpadType
The Spad type.
Definition: PDM-IR_SDK.h:267
PDMIR_SetTTLOut
DllSDKExport RESULT PDMIR_SetTTLOut(UINT16 serialNumber, OUTMODE TTLOut)
Set the TTL ouput signal of the PDM-IR.
COUNTERSTATUS
COUNTERSTATUS
Counter Status enum.
Definition: PDM-IR_SDK.h:193
STATUSBITS_ON
The Parameter is enabled.
Definition: PDM-IR_SDK.h:215
PDMIR_GetAmplitude
DllSDKExport RESULT PDMIR_GetAmplitude(UINT16 serialNumber, UINT16 *ampi)
Get the gate amplitude of the PDM-IR.
MODULECONFIG::DelayTriggerInternal
UINT8 DelayTriggerInternal
The delay time of the Internal Trigger Signal.
Definition: PDM-IR_SDK.h:251
PDMIR_GetConfigPowerUp
DllSDKExport RESULT PDMIR_GetConfigPowerUp(UINT16 serialNumber, UINT8 *configNumber)
Get the stored configuration number set as power up configuration of the PDM-IR.
MODULESTATUS::StatusBitGateForm
STATUSBITS StatusBitGateForm
Indicates the GateForm status.
Definition: PDM-IR_SDK.h:285
PDMIR_SetTon
DllSDKExport RESULT PDMIR_SetTon(UINT16 serialNumber, UINT32 tOn)
Set the Ton time in ns of the PDM-IR.
TLOWEST
Lowest temperature: the dark count rate is the lowest as possible.
Definition: PDM-IR_SDK.h:108
GATESHAPE_FREEGATE
The Gate has the same digital shape and duration of the trigger gate signal.
Definition: PDM-IR_SDK.h:133
MODULECONFIG::TriggerInEdge
TREDGE TriggerInEdge
The Rising or falling edge of the trigger In.
Definition: PDM-IR_SDK.h:241
INT16
signed short INT16
16 bit unsigned definition
Definition: PDM-IR_SDK.h:84
PDMIR_GetCounterTriggerInValueAtIndex
DllSDKExport RESULT PDMIR_GetCounterTriggerInValueAtIndex(UINT16 serialNumber, UINT8 *index, UINT32 *counts)
Get the trigger in counter value of the PDM-IR at specified index.
PDMIR_SetFrequency
DllSDKExport RESULT PDMIR_SetFrequency(UINT16 serialNumber, UINT32 frequency)
Set the internal trigger frequency in Hz of the PDM-IR.
MODULEINFO
Structure containing the information of the PDM-IR.
Definition: PDM-IR_SDK.h:265
MODULESTATUS::StatusBitModule
STATUSBITS StatusBitModule
Indicates if the SPAD is on.
Definition: PDM-IR_SDK.h:280
MODULESTATUS::StatusBitPLL
STATUSBITS StatusBitPLL
Indicates the GateForm status.
Definition: PDM-IR_SDK.h:288
STATUSBITS_Updating
The Parameter is updating the state.
Definition: PDM-IR_SDK.h:216
PDMIR_GetTon
DllSDKExport RESULT PDMIR_GetTon(UINT16 serialNumber, UINT32 *Ton)
Get the Ton time in ns of the PDM-IR.
MODULECONFIG::DelayAuxIn
UINT8 DelayAuxIn
The delay time of the Aux In Signal.
Definition: PDM-IR_SDK.h:252
PDMIR_GetCounterValidGateLastValue
DllSDKExport RESULT PDMIR_GetCounterValidGateLastValue(UINT16 serialNumber, UINT8 *index, UINT32 *counts)
Get the valid gate counter value of the PDM-IR.
PDMIR_SetCounterAvalancheEnable
DllSDKExport RESULT PDMIR_SetCounterAvalancheEnable(UINT16 serialNumber, COUNTERSTATUS Cstatus)
Set the photon out counter of the PDM-IR.
MODULEINFO::SN
UINT16 SN
The PDM-IR Serial Number.
Definition: PDM-IR_SDK.h:266
PDMIR_GetCounterIntegrationTime
DllSDKExport RESULT PDMIR_GetCounterIntegrationTime(UINT16 serialNumber, UINT16 *integrationTime)
Get the counters integration time of the PDM-IR.
PDMIR_SetDelayTriggerIn
DllSDKExport RESULT PDMIR_SetDelayTriggerIn(UINT16 serialNumber, UINT8 delay)
Set the Trigger In delay of the PDM-IR.
GATESHAPE_FREERUNNING
The SPAD is always on when not in hold off.
Definition: PDM-IR_SDK.h:134
MODULESTATUS::StatusBitDelayTtlOut
STATUSBITS StatusBitDelayTtlOut
Indicates if the delay in the TTL OUT path is set.
Definition: PDM-IR_SDK.h:295
TYPE_4
useful parameter for device statistics.
Definition: PDM-IR_SDK.h:206
MODULECONFIG::TriggerFunction
TRFUNCT TriggerFunction
The Function between trigger (internal or external) and Aux In.
Definition: PDM-IR_SDK.h:245
RESULT_ERROR_COMMUNICATION
Error communicating with the module.
Definition: PDM-IR_SDK.h:98
COUNTERSTATUS_ON
The Counter is enabled only for one period.
Definition: PDM-IR_SDK.h:195
MODULESTATUS::StatusBitDelayAuxIn
STATUSBITS StatusBitDelayAuxIn
Indicates if the delay in the Aux In path is set.
Definition: PDM-IR_SDK.h:292
In_OR_Aux
Selected trigger OR Aux In.
Definition: PDM-IR_SDK.h:151
In_NAND_Aux
Selected trigger NAND Aux In.
Definition: PDM-IR_SDK.h:162
OUTMODE
OUTMODE
Output Type enum.
Definition: PDM-IR_SDK.h:181
PDMIR_GetTriggerFunction
DllSDKExport RESULT PDMIR_GetTriggerFunction(UINT16 serialNumber, TRFUNCT *function)
Get the Function between Aux In and trigger (in or internal) of the PDM-IR.
In_OR_notAux
Selected trigger OR Inverted Aux In.
Definition: PDM-IR_SDK.h:157
STATUSBITS_Updated
The Parameter is updated.
Definition: PDM-IR_SDK.h:219
PDMIR_SetDelayNIMOut
DllSDKExport RESULT PDMIR_SetDelayNIMOut(UINT16 serialNumber, UINT8 delay)
Set the NIM out delay of the PDM-IR.
TYPE_1
useful parameter for device statistics.
Definition: PDM-IR_SDK.h:203
PDMIR_SetTriggerFunction
DllSDKExport RESULT PDMIR_SetTriggerFunction(UINT16 serialNumber, TRFUNCT TriggerFunction)
Set the Function between Aux In and trigger (in or internal) of the PDM-IR.
MODULECONFIG::GateShape
GATESHAPE GateShape
The Gate Shape: fixed gate, free gate or free running.
Definition: PDM-IR_SDK.h:240
TYPE_2
useful parameter for device statistics.
Definition: PDM-IR_SDK.h:204
RESULT
RESULT
Error table enum.
Definition: PDM-IR_SDK.h:93
PDMIR_SetDelayAuxIn
DllSDKExport RESULT PDMIR_SetDelayAuxIn(UINT16 serialNumber, UINT8 delay)
Set the Aux In delay of the PDM-IR.
Temperature_s
Temperature Structure.
Definition: PDM-IR_SDK.h:225
RESULT_DATA_OUT_LIMIT_HIGH
At least one of the input values are above the maximum value accepted.
Definition: PDM-IR_SDK.h:95
PDMIR_GetDelayAuxIn
DllSDKExport RESULT PDMIR_GetDelayAuxIn(UINT16 serialNumber, UINT8 *delay)
Get the Aux In delay of the PDM-IR.
PDMIR_GetAuxInEdge
DllSDKExport RESULT PDMIR_GetAuxInEdge(UINT16 serialNumber, TREDGE *edge)
Get the Aux In Edge of the PDM-IR.
notIn_AND_Aux
Inverted Selected trigger AND Aux In.
Definition: PDM-IR_SDK.h:153
RESULT_OK
result as expected.
Definition: PDM-IR_SDK.h:94
MODULECONFIG::NimOut
OUTMODE NimOut
The output signal of the NIM out.
Definition: PDM-IR_SDK.h:249
THIGH
High temperature: the dark count rate is the highest than other temperature modes, but no particular caution is required for module thermal stability.
Definition: PDM-IR_SDK.h:105
MODULECONFIG::Amplitude
UINT16 Amplitude
The Gate Amplitude (Excess Bias) expressed in mV.
Definition: PDM-IR_SDK.h:235
MODULESTATUS::Temperature
Temperature_s Temperature
The PDM-IR temperatures.
Definition: PDM-IR_SDK.h:279
MODULECONFIG::CounterAuxInStatus
COUNTERSTATUS CounterAuxInStatus
The Aux In counter status.
Definition: PDM-IR_SDK.h:259
HOLDOFFTYPE_LEVEL
The Gate window is applied after the hold off time is over.
Definition: PDM-IR_SDK.h:116
PDMIR_GetModuleStatus
DllSDKExport RESULT PDMIR_GetModuleStatus(UINT16 serialNumber, STATUSBITS *mStatus, STATUSBITS *mTemperature, STATUSBITS *mSpad, STATUSBITS *mGate, UINT32 *errors)
Get the module status of the PDM-IR.
MODULESTATUS::StatusBitDelayNimOut
STATUSBITS StatusBitDelayNimOut
Indicates if the delay in the NIM OUT path is set.
Definition: PDM-IR_SDK.h:294
notIn_XOR_notAux
Inverted Selected trigger XOR Inverted Aux In.
Definition: PDM-IR_SDK.h:161
PDMIR_SetNIMOut
DllSDKExport RESULT PDMIR_SetNIMOut(UINT16 serialNumber, OUTMODE NIMOut)
Set the NIM ouput signal of the PDM-IR.
MODULESTATUS::StatusBitTrigger
STATUSBITS StatusBitTrigger
Indicates the GateForm status.
Definition: PDM-IR_SDK.h:287
GATEMODE
GATEMODE
Gate Mode enum.
Definition: PDM-IR_SDK.h:123
PDMIR_GetTTLOut
DllSDKExport RESULT PDMIR_GetTTLOut(UINT16 serialNumber, OUTMODE *TTLOut)
Get the TTL ouput signal of the PDM-IR.
PDMIR_GetCounterAuxInLastValue
DllSDKExport RESULT PDMIR_GetCounterAuxInLastValue(UINT16 serialNumber, UINT8 *index, UINT32 *counts)
Get the aux in counter value of the PDM-IR.
RESULT_DATA_OUT_LIMIT_LOW
At least one of the input values are below the minimum value accepted.
Definition: PDM-IR_SDK.h:96
STATUSBITS_OFF
The Parameter is disabled.
Definition: PDM-IR_SDK.h:214
notIn_NOR_Aux
Inverted Selected trigger NOR Aux In.
Definition: PDM-IR_SDK.h:166
PDMIR_CloseCommunication
DllSDKExport RESULT PDMIR_CloseCommunication(UINT16 serialNumber)
Close the communication with a module.
OUTMODE_MODULESTATUS
The Output is high in case of error of the module (electrical signal of the RED led) ...
Definition: PDM-IR_SDK.h:187
PDMIR_SetDelayGate
DllSDKExport RESULT PDMIR_SetDelayGate(UINT16 serialNumber, UINT8 delay)
Set the Gate delay of the PDM-IR.
MODULESTATUS::StatusBitTEC
STATUSBITS StatusBitTEC
Indicates the TEC status.
Definition: PDM-IR_SDK.h:281
MODULECONFIG::CounterAvalancheStatus
COUNTERSTATUS CounterAvalancheStatus
The photon out counter status.
Definition: PDM-IR_SDK.h:257
MODULECONFIG::AuxInEdge
TREDGE AuxInEdge
The Rising or falling edge of the Aux In.
Definition: PDM-IR_SDK.h:243
PDMIR_SetAuxInEdge
DllSDKExport RESULT PDMIR_SetAuxInEdge(UINT16 serialNumber, TREDGE TriggerEdge)
Set the Aux In Edge of the PDM-IR.
PDMIR_SetConfigPowerUp
DllSDKExport RESULT PDMIR_SetConfigPowerUp(UINT16 serialNumber, UINT8 configNumber)
Set a stored configuration as power up configuration of the PDM-IR.
PDMIR_GetConfigX
DllSDKExport RESULT PDMIR_GetConfigX(UINT16 serialNumber, UINT8 configNumber, MODULECONFIG *config, char *configName)
Get a stored configuration of the PDM-IR.
GATEMODE_INTERNAL
The Gate trigger is the internal trigger.
Definition: PDM-IR_SDK.h:124
PDMIR_SetCounterTriggerInEnable
DllSDKExport RESULT PDMIR_SetCounterTriggerInEnable(UINT16 serialNumber, COUNTERSTATUS Cstatus)
Set the trigger In counter of the PDM-IR.
PDMIR_GetCounterAuxInStatus
DllSDKExport RESULT PDMIR_GetCounterAuxInStatus(UINT16 serialNumber, COUNTERSTATUS *status)
Get the Aux In counter of the PDM-IR.