kingno
2025-03-31 f5bd202c943df54f160d3ae2dd44e8ef150a8b7a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
#ifndef SR7LINK__H
#define SR7LINK__H
 
#include <stdio.h>
 
#ifdef WIN32
#define  SR7_IF_API __declspec(dllexport)
#else
#define  SR7_IF_API extern
#endif
 
typedef void * SR7IF_Data;
 
/// \brief                      高速数据通信的回调函数接口.
///    \param pBuffer              指向储存概要数据的缓冲区的指针.
///    \param dwSize               每个单元(行)的字节数量.
///    \param dwCount              存储在pBuffer中的内存的单元数量.
///    \param dwNotify             中断或批量结束等中断的通知.
///    \param dwUser               用户自定义信息.
///
typedef void (*SR7IF_CALLBACK)(char* pBuffer, unsigned int dwSize, unsigned int dwCount, unsigned int dwNotify, unsigned int dwUser);
typedef void (*SR7IF_BatchOneTimeCallBack)(const void *info, const SR7IF_Data *data);
 
 
typedef struct {
    unsigned char    abyIpAddress[4];
} SR7IF_ETHERNET_CONFIG;
 
#define SR7IF_ERROR_NOT_FOUND                     (-999)                  // 功能(相机)不存在.
#define SR7IF_ERROR_COMMAND                       (-998)                  // 该命令不支持.
#define SR7IF_ERROR_PARAMETER                     (-997)                  // 参数错误.
#define SR7IF_ERROR_UNIMPLEMENTED                 (-996)                  // 功能未实现.
#define SR7IF_ERROR_HANDLE                        (-995)                  // 句柄无效.
#define SR7IF_ERROR_MEMORY                        (-994)                  // 内存(溢出/定义)错误.
#define SR7IF_ERROR_TIMEOUT                       (-993)                  // 操作超时.
#define SR7IF_ERROR_DATABUFFER                    (-992)                  // 数据大缓冲区不足.
#define SR7IF_ERROR_STREAM                        (-991)                  // 数据流错误.
#define SR7IF_ERROR_CLOSED                        (-990)                  // 接口关闭不可用.
#define SR7IF_ERROR_VERSION                       (-989)                  // 当前版本无效.
#define SR7IF_ERROR_ABORT                         (-988)                  // 操作被终止,如连接被关闭、连接中断等.
#define SR7IF_ERROR_ALREADY_EXISTS                (-987)                  // 操作和现有的设置冲突.
#define SR7IF_ERROR_FRAME_LOSS                    (-986)                  // 批处理帧丢失.
#define SR7IF_ERROR_ROLL_DATA_OVERFLOW            (-985)                  // 无终止循环批处理出现溢出异常等.
#define SR7IF_ERROR_ROLL_BUSY                     (-984)                  // 无终止循环批处理读数据忙.
#define SR7IF_ERROR_MODE                          (-983)                  // 当前处理函数与设置的批处理模式有冲突.
#define SR7IF_ERROR_CAMERA_NOT_ONLINE             (-982)                  // 相机(传感头)不在线.
#define SR7IF_ERROR                               (-1)                    // 一般性错误,如设置失败、数据获取失败等.
#define SR7IF_NORMAL_STOP                         (-100)                  // 正常停止,如外部IO停止批处理操作等.
#define SR7IF_OK                                  (0)                     // 正确操作.
 
#ifdef __cplusplus
extern "C" {
#endif
 
///
/// \brief SR7IF_EthernetOpen   通信连接.
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param pEthernetConfig      Ethernet 通信设定.
/// \return
///     <0:                     失败.
///     =0:                     成功.
///
SR7_IF_API int SR7IF_EthernetOpen(unsigned int lDeviceId, SR7IF_ETHERNET_CONFIG* pEthernetConfig);
 
///
/// \brief SR7IF_CommClose      断开与相机的连接.
/// \param lDeviceId            设备ID号,范围为0-3.
/// \return
///     <0:                     失败.
///     =0:                     成功.
///
SR7_IF_API int SR7IF_CommClose(unsigned int lDeviceId);
 
///
/// \brief SR7IF_SwitchProgram  切换相机配置的参数.重启后不保存配方号.
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param No:                  任务参数列表编号 0 - 63.
/// \return
///     <0:                     失败.
///     =0:                     成功.
///
SR7_IF_API int SR7IF_SwitchProgram(unsigned int lDeviceId, int No);
 
///
/// \brief SR7IF_GetOnlineCameraB   获取传感头B是否在线
/// \param lDeviceId            设备ID号,范围为0-3.
/// \return
///     <0:                     -982:传感头B不在线
///                             其他:获取失败
///     =0:                     传感头B在线
///
SR7_IF_API int SR7IF_GetOnlineCameraB(unsigned int lDeviceId);
 
 
///
/// \brief SR7IF_StartMeasure   开始批处理,立即执行批处理程序.
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param Timeout              非循环获取时,超时时间(单位ms);循环模式该参数可设置为-1.
/// \return
///     <0:                     失败
///     =0:                     成功
///
SR7_IF_API int SR7IF_StartMeasure(unsigned int lDeviceId, int Timeout = 50000);
 
 
/// \brief SR7IF_StartIOTriggerMeasure 开始批处理,硬件IO触发开始批处理,具体查看硬件手册.
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param Timeout              非循环获取时,超时时间(单位ms);循环模式该参数可设置为-1.
/// \param restart              预留,设为0.
/// \return
///     <0:                     失败
///     =0:                     成功
///
SR7_IF_API int SR7IF_StartIOTriggerMeasure(unsigned int lDeviceId, int Timeout = 50000, int restart = 0);
 
///
/// \brief SR7IF_StopMeasure    停止批处理
/// \param lDeviceId            设备ID号,范围为0-3.
/// \return
///     <0:                     失败.
///     =0:                     成功.
///
SR7_IF_API int SR7IF_StopMeasure(unsigned int lDeviceId);
 
/// \brief SR7IF_ReceiveData    阻塞方式获取数据.
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param DataObj              返回数据指针.
/// \return
///     <0:                     获取失败.
///     =0:                     成功.
///
SR7_IF_API int SR7IF_ReceiveData(unsigned int lDeviceId, SR7IF_Data DataObj);
 
 
/// \brief SR7IF_ProfilePointSetCount 获取当前批处理设定行数
/// \param lDeviceId            设备ID号,范围为0-3
/// \param DataObj              预留,设置为NULL
/// \return                     返回实际批处理行数
///
SR7_IF_API int SR7IF_ProfilePointSetCount(unsigned int lDeviceId, const SR7IF_Data DataObj);
 
/// \brief SR7IF_ProfilePointCount 获取批处理实际获取行数.
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param DataObj              预留,设置为NULL.
/// \return                     返回批处理实际获取行数.
///
SR7_IF_API int SR7IF_ProfilePointCount(unsigned int lDeviceId, const SR7IF_Data DataObj);
 
/// \brief SR7IF_ProfileDataWidth 获取数据宽度.
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param DataObj              预留,设置为NULL.
/// \return                     返回数据宽度(单位像素).
///
SR7_IF_API int SR7IF_ProfileDataWidth(unsigned int lDeviceId, const SR7IF_Data DataObj);
 
///
/// \brief SR7IF_ProfileData_XPitch 获取数据x方向间距.
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param DataObj              预留,设置为NULL.
/// \return                     返回数据x方向间距(mm).
///
SR7_IF_API double SR7IF_ProfileData_XPitch(unsigned int lDeviceId, const SR7IF_Data DataObj);
 
///
/// \brief SR7IF_GetEncoder     获取编码器值
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param DataObj              预留,设置为NULL
/// \param Encoder              返回数据指针,双相机为A/B交替数据
/// \return
///     <0:                     获取失败.
///     =0:                     成功.
///
SR7_IF_API int SR7IF_GetEncoder(unsigned int lDeviceId, const SR7IF_Data DataObj, unsigned int *Encoder);
 
///
/// \brief SR7IF_GetEncoderContiune 非阻塞方式获取编码器值
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param DataObj              预留,设置为NULL
/// \param Encoder              返回数据指针,双相机为A/B交替数据
/// \param GetCnt               获取数据长度
/// \return
///     <0:                     获取失败.
///     >=0:                    实际返回的数据长度.
///
SR7_IF_API int SR7IF_GetEncoderContiune(unsigned int lDeviceId, const SR7IF_Data DataObj, unsigned int *Encoder, unsigned int GetCnt);
 
 
///
/// \brief SR7IF_GetProfileData 阻塞方式获取轮廓数据
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param DataObj              预留,设置为NULL
/// \param Profile              返回数据指针,双相机为A/B行交替数据
/// \return
///     <0:                     获取失败.
///     =0:                     成功.
///
SR7_IF_API int SR7IF_GetProfileData(unsigned int lDeviceId, const SR7IF_Data DataObj, int *Profile);
 
///
/// \brief SR7IF_GetProfileContiuneData 非阻塞方式获取轮廓数据
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param DataObj              预留,设置为NULL
/// \param Profile              返回数据指针,双相机为A/B行交替数据
/// \param GetCnt               获取数据长度
/// \return
///     <0:                     获取失败.
///     >=0:                    实际返回的数据长度.
///
SR7_IF_API int SR7IF_GetProfileContiuneData(unsigned int lDeviceId, const SR7IF_Data DataObj, int *Profile, unsigned int GetCnt);
 
 
 
///
/// \brief SR7IF_GetIntensityData  阻塞方式获取亮度数据
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param DataObj              预留,设置为NULL
/// \param Intensity            返回数据指针,双相机为A/B行交替数据
/// \return
///     <0:                     获取失败.
///     =0:                     成功.
///
SR7_IF_API int SR7IF_GetIntensityData(unsigned int lDeviceId, const SR7IF_Data DataObj, unsigned char *Intensity);
 
 
///
/// \brief SR7IF_GetIntensityContiuneData 非阻塞获取亮度数据
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param DataObj              预留,设置为NULL
/// \param Intensity            返回数据指针,双相机为A/B行交替数据
/// \param GetCnt               获取数据长度
/// \return
///     <0:                     获取失败.
///     >=0:                    返回获实际数据行数.
///
SR7_IF_API int SR7IF_GetIntensityContiuneData(unsigned int lDeviceId, const SR7IF_Data DataObj, unsigned char *Intensity, unsigned int GetCnt);
 
///
/// \brief SR7IF_GetBatchRollData 无终止循环获取数据
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param DataObj              预留,设置为NULL
/// \param Profile              返回轮廓数据指针,双相机为A/B行交替数据
/// \param Intensity            返回亮度数据指针,双相机为A/B行交替数据
/// \param Encoder              返回编码器数据指针,双相机为A/B交替数据
/// \param FrameId              返回帧编号数据指针
/// \param FrameLoss            返回批处理过快掉帧数量数据指针,双相机为A/B交替数据
/// \param GetCnt               获取数据长度
/// \return
///     <0:                     获取失败.
///     >=0:                    实际返回的数据长度.
///
SR7_IF_API int SR7IF_GetBatchRollData(unsigned int lDeviceId, const SR7IF_Data DataObj,
                                        int *Profile, unsigned char *Intensity, unsigned int *Encoder, long long *FrameId, unsigned int *FrameLoss,
                                        unsigned int GetCnt);
 
///
/// \brief SR7IF_GetError       获取系统错误信息
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param pbyErrCnt            返回错误码数量
/// \param pwErrCode            返回错误码指针
/// \return
///     <0:                     获取失败.
///     =0:                     成功.
///
SR7_IF_API int SR7IF_GetError(unsigned int lDeviceId, int *pbyErrCnt, int *pwErrCode);
 
///
/// \brief SR7IF_GetBatchRollError   无终止循环获取数据异常计算值
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param EthErrCnt            返回网络传输导致错误的数量
/// \param UserErrCnt           返回用户获取导致错误的数量
/// \return
///     <0:                     获取失败.
///     =0:                     成功.
///
SR7_IF_API int SR7IF_GetBatchRollError(unsigned int lDeviceId, int *EthErrCnt, int *UserErrCnt);
 
 
///
/// \brief SR7IF_ClearError     暂无
/// \param lDeviceId
/// \param wErrCode
/// \return
///     <0:                     清除失败
///     =0:                     成功
///
SR7_IF_API int SR7IF_ClearError(unsigned int lDeviceId, unsigned short wErrCode);
 
///
/// \brief SR7IF_GetVersion     获取库版本号.
/// \return                     返回版本信息.
///
SR7_IF_API const char *SR7IF_GetVersion();
 
///
/// \brief SR7IF_GetModels      获取相机型号.
/// \param lDeviceId            设备ID号,范围为0-3.
/// \return                     返回相机型号字符串.
///
SR7_IF_API const char *SR7IF_GetModels(unsigned int lDeviceId);
 
///
/// \brief SR7IF_GetHeaderSerial   获取相机头序列号
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param Head                 0:相机头A  1:相机头B
/// \return
///     !=NULL:                 返回相机序列号字符串.
///     =NULL:                  失败,相应头不存在或者参数错误.
///
SR7_IF_API const char *SR7IF_GetHeaderSerial(unsigned int lDeviceId, int Head);
 
/// 高速数据通信相关
///
/// \brief SR7IF_HighSpeedDataEthernetCommunicationInitalize 初始化以太网高速数据通信.
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param pEthernetConfig      Ethernet 通信设定.
/// \param wHighSpeedPortNo     Ethernet 通信端口设定.
/// \param pCallBack            高速通信中数据接收的回调函数.
/// \param dwProfileCnt         回调函数被调用的频率. 范围1-256
/// \param dwThreadId           线程号.
/// \return
///     <0:                     失败.
///     =0:                     成功.
///
SR7_IF_API int SR7IF_HighSpeedDataEthernetCommunicationInitalize(unsigned int lDeviceId, SR7IF_ETHERNET_CONFIG* pEthernetConfig, int wHighSpeedPortNo,
    SR7IF_CALLBACK pCallBack, unsigned int dwProfileCnt, unsigned int dwThreadId);
 
 
///
/// \brief SR7IF_SetOutputPortLevel      设置输出端口电平.
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param Port                 输出端口号,范围为0-7.
/// \param Level                输出电平值.
/// \return
///     <0:                     失败.
///     =0:                     成功.
///
SR7_IF_API int SR7IF_SetOutputPortLevel(unsigned int lDeviceId, unsigned int Port, bool Level);
 
 
///
/// \brief SR7IF_SetOutputPortLevel      读取输入端口电平.
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param Port                 输入端口号,范围为0-7.
/// \param Level                读取输入电平.
/// \return
///     <0:                     失败.
///     =0:                     成功.
///
SR7_IF_API int SR7IF_GetInputPortLevel(unsigned int lDeviceId, unsigned int Port, bool *Level);
 
///
/// \brief SR7IF_GetSingleProfile   获取当前一条轮廓(非批处理下,需在EdgeImaging中设置为2.5D模式)
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param pProfileData         返回轮廓的指针.
/// \param pEncoder             返回编码器的指针.
/// \return
///     <0:                     失败.
///     =0:                     成功.
///
SR7_IF_API int SR7IF_GetSingleProfile(unsigned int lDeviceId, int *pProfileData, unsigned int *pEncoder);
 
///
/// \brief SR7IF_SetSetting     参数设定.
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param Depth                设置的值的级别.
/// \param Type                 设置类型.
/// \param Category             设置种类.
/// \param Item                 设置项目.
/// \param Target[4]            根据发送 / 接收的设定,可能需要进行相应的指定。无需设定时,指定为 0。
/// \param pData                设置数据.
/// \param DataSize             设置数据的长度.
/// \return
///     <0:                     失败.
///     =0:                     成功.
///
SR7_IF_API int SR7IF_SetSetting(unsigned int lDeviceId, int Depth, int Type, int Category, int Item, int Target[4], void *pData, int DataSize);
 
 
///
/// \brief SR7IF_GetSetting     参数设定.
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param Type                 获取类型.
/// \param Category             获取种类.
/// \param Item                 获取项目.
/// \param Target[4]            根据发送 / 接收的设定,可能需要进行相应的指定。无需设定时,指定为 0。
/// \param pData                获取的数据.
/// \param DataSize             获取数据的长度.
/// \return
///     <0:                     失败.
///     =0:                     成功.
///
SR7_IF_API int SR7IF_GetSetting(unsigned int lDeviceId, int Type, int Category, int Item, int Target[4], void *pData, int DataSize);
///
/// \brief SR7IF_ExportParameters   将系统参数导出,注意只导出当前任务的参数.
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param size                 返回参数表的大小.
/// \return
///     NULL:                   失败.
///     其他:                    成功.
///
SR7_IF_API const char *SR7IF_ExportParameters(unsigned int lDeviceId, unsigned int *size);
 
///
/// \brief SR7IF_LoadParameters   将导出的参数导入到系统中.
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param pSettingdata         导入参数表指针.
/// \param size                 导入参数表的大小.
/// \return
///     <0:                     失败.
///     =0:                     成功.
///
SR7_IF_API int SR7IF_LoadParameters(unsigned int lDeviceId, const char *pSettingdata, unsigned int size);
 
///
/// \brief SR7IF_GetLicenseKey   返回产品剩余天数
/// \param RemainDay            返回剩余天数
/// \return
///     < 0:                     失败,参数错误或产品未注册
///     >=0:                     成功.
///
SR7_IF_API int SR7IF_GetLicenseKey(unsigned int lDeviceId, unsigned short *RemainDay);
 
///
/// \brief SR7IF_GetCurrentEncoder   读取当前编码器值
/// \param value                    返回编码器值
/// \return
///     <0:                     失败.
///     =0:                     成功.
///
SR7_IF_API int SR7IF_GetCurrentEncoder(unsigned int lDeviceId, unsigned int *value);
 
//
typedef struct {
    int xPoints;                //x方向数据数量
    int BatchPoints;            //批处理数量
    unsigned int BatchTimes;    //批处理次数
 
    double xPixth;              //x方向点间距
    unsigned int startEncoder;  //批处理开始编码器值
    int HeadNumber;             //相机头数量
    int returnStatus;           //SR7IF_OK:正常批处理
                                //SR7IF_NORMAL_STOP
                                //SR7IF_ERROR_ABORT
                                //SR7IF_ERROR_CLOSED
} SR7IF_STR_CALLBACK_INFO;
///
/// \brief SR7IF_SetBatchOneTimeDataHandler   设置回调函数,建议获取数据后另外开启线程进行处理(获取数据模式:批处理一次回调一次)
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param CallFunc             回调函数.
/// \return
///     <0:                     失败.
///     =0:                     成功.
///
SR7_IF_API int SR7IF_SetBatchOneTimeDataHandler(unsigned int lDeviceId, SR7IF_BatchOneTimeCallBack CallFunc);
 
///
/// \brief SR7IF_StartMeasureWithCallback   开始批处理(获取数据模式:批处理一次回调一次)
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param ImmediateBatch       0:立即开始批处理  1:等待外部开始批处理.
/// \return
///     <0:                     失败.
///     =0:                     成功.
///
SR7_IF_API int SR7IF_StartMeasureWithCallback(int iDeviceId, int ImmediateBatch);
 
///
/// \brief SR7IF_TriggerOneBatch   批处理软件触发开始(获取数据模式:批处理一次回调一次)
/// \param lDeviceId            设备ID号,范围为0-3.
/// \return
///     <0:                     失败.
///     =0:                     成功.
///
SR7_IF_API int SR7IF_TriggerOneBatch(int iDeviceId);
 
///
/// \brief SR7IF_GetBatchProfilePoint   批处理轮廓获取(获取数据模式:批处理一次回调一次)
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param Head                 0:相机头A  1:相机头B
/// \return
///     !=NULL:                 返回数据指针
///     =NULL:                  失败,无数据或者相应头不存在.
///
SR7_IF_API const int *SR7IF_GetBatchProfilePoint(const SR7IF_Data *DataIndex, int Head);
 
///
/// \brief SR7IF_GetBatchIntensityPoint   批处理亮度获取(获取数据模式:批处理一次回调一次)
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param Head                 0:相机头A  1:相机头B
/// \return
///     !=NULL:                 返回数据指针
///     =NULL:                  失败,无数据或者相应头不存在.
///
SR7_IF_API const unsigned char *SR7IF_GetBatchIntensityPoint(const SR7IF_Data *DataIndex, int Head);
 
///
/// \brief SR7IF_GetBatchEncoderPoint   批处理编码器获取(获取数据模式:批处理一次回调一次)
/// \param lDeviceId            设备ID号,范围为0-3.
/// \param Head                 0:相机头A  1:相机头B
/// \return
///     !=NULL:                 返回数据指针
///     =NULL:                  失败,无数据或者相应头不存在.
///
SR7_IF_API const unsigned int *SR7IF_GetBatchEncoderPoint(const SR7IF_Data *DataIndex, int Head);
 
 
#ifdef __cplusplus
}
#endif
#endif //SR7LINK__H