AcmP 0.1.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,4802 @@
1
+ from AcmP.AdvMotApi_CM2 import *
2
+ from AcmP.MotionInfo import *
3
+ from AcmP.AdvMotDrv import *
4
+ import os
5
+
6
+ if os.name == 'nt':
7
+ lib = CDLL(r'C:\Windows\System32\ADVMOT.dll')
8
+ else:
9
+ lib = CDLL('/usr/lib/libadvmot.so')
10
+
11
+ class AdvCmnAPI_CM2:
12
+ # Device
13
+ # try:
14
+ # Acm2_DevOpen = lib.Acm2_DevOpen
15
+ # Acm2_DevOpen.argtypes = [c_uint32, POINTER(DEVICEINFO)]
16
+ # Acm2_DevOpen.restype = c_uint32
17
+ # except:
18
+ # pass
19
+
20
+ try:
21
+ Acm2_DevInitialize = lib.Acm2_DevInitialize
22
+ Acm2_DevInitialize.restype = c_uint32
23
+ except:
24
+ pass
25
+
26
+ try:
27
+ Acm2_GetAvailableDevs = lib.Acm2_GetAvailableDevs
28
+ Acm2_GetAvailableDevs.argtypes = [POINTER(DEVLIST), c_uint32, POINTER(c_uint32)]
29
+ Acm2_GetAvailableDevs.restype = c_uint32
30
+ except:
31
+ pass
32
+
33
+ # try:
34
+ # Acm2_DevExportMappingTable = lib.Acm2_DevExportMappingTable
35
+ # Acm2_DevExportMappingTable.argtypes = [c_char_p]
36
+ # Acm2_DevExportMappingTable.restype = c_uint32
37
+ # except:
38
+ # pass
39
+
40
+ # try:
41
+ # Acm2_DevImportMappingTable = lib.Acm2_DevImportMappingTable
42
+ # Acm2_DevImportMappingTable.argtypes = [c_char_p]
43
+ # Acm2_DevImportMappingTable.restype = c_uint32
44
+ # except:
45
+ # pass
46
+
47
+ try:
48
+ Acm2_DevSaveAllMapFile = lib.Acm2_DevSaveAllMapFile
49
+ Acm2_DevSaveAllMapFile.argtypes = [c_char_p]
50
+ Acm2_DevSaveAllMapFile.restype = c_uint32
51
+ except:
52
+ pass
53
+
54
+ try:
55
+ Acm2_DevLoadAllMapFile = lib.Acm2_DevLoadAllMapFile
56
+ Acm2_DevLoadAllMapFile.argtypes = [c_char_p]
57
+ Acm2_DevLoadAllMapFile.restype = c_uint32
58
+ except:
59
+ pass
60
+
61
+ try:
62
+ Acm2_GetMappedPhysicalID = lib.Acm2_GetMappedPhysicalID
63
+ Acm2_GetMappedPhysicalID.argtypes = [c_int, c_uint32, POINTER(c_uint32), POINTER(c_uint32)]
64
+ Acm2_GetMappedPhysicalID.restype = c_uint32
65
+ except:
66
+ pass
67
+
68
+ try:
69
+ Acm2_GetMappedLogicalIDList = lib.Acm2_GetMappedLogicalIDList
70
+ Acm2_GetMappedLogicalIDList.argtypes = [c_int, c_uint32, POINTER(c_uint32), POINTER(c_uint32)]
71
+ Acm2_GetMappedLogicalIDList.restype = c_uint32
72
+ except:
73
+ pass
74
+
75
+ try:
76
+ Acm2_GetMappedObjInfo = lib.Acm2_GetMappedObjInfo
77
+ Acm2_GetMappedObjInfo.argtypes = [c_int, c_uint32, c_void_p]
78
+ Acm2_GetMappedObjInfo.restype = c_uint32
79
+ except:
80
+ pass
81
+
82
+ try:
83
+ Acm2_DevAllClose = lib.Acm2_DevAllClose
84
+ Acm2_DevAllClose.restype = c_uint32
85
+ except:
86
+ pass
87
+
88
+ try:
89
+ Acm2_GetLastError = lib.Acm2_GetLastError
90
+ Acm2_GetLastError.argtypes = [c_uint, c_uint32]
91
+ Acm2_GetLastError.restype = c_uint32
92
+ except:
93
+ pass
94
+
95
+ try:
96
+ Acm2_GetProperty = lib.Acm2_GetProperty
97
+ Acm2_GetProperty.argtypes = [c_uint32, c_uint32, POINTER(c_double)]
98
+ Acm2_GetProperty.restype = c_uint32
99
+ except:
100
+ pass
101
+
102
+ try:
103
+ Acm2_SetProperty = lib.Acm2_SetProperty
104
+ Acm2_SetProperty.argtypes = [c_uint32, c_uint32, c_double]
105
+ Acm2_SetProperty.restype = c_uint32
106
+ except:
107
+ pass
108
+
109
+ try:
110
+ Acm2_SetMultiProperty = lib.Acm2_SetMultiProperty
111
+ Acm2_SetMultiProperty.argtypes = [c_uint32, POINTER(c_uint32), POINTER(c_double), c_uint32, POINTER(c_uint32)]
112
+ Acm2_SetMultiProperty.restype = c_uint32
113
+ except:
114
+ pass
115
+
116
+ try:
117
+ Acm2_GetMultiProperty = lib.Acm2_GetMultiProperty
118
+ Acm2_GetMultiProperty.argtypes = [c_uint32, POINTER(c_uint32), POINTER(c_double), c_uint32, POINTER(c_uint32)]
119
+ Acm2_GetMultiProperty.restype = c_uint32
120
+ except:
121
+ pass
122
+
123
+ try:
124
+ Acm2_GetRawProperty = lib.Acm2_GetRawProperty
125
+ Acm2_GetRawProperty.argtypes = [c_uint32, c_uint32, c_void_p, POINTER(c_uint32)]
126
+ Acm2_GetRawProperty.restype = c_uint32
127
+ except:
128
+ pass
129
+
130
+ try:
131
+ Acm2_EnableCallBackFuncForOneEvent = lib.Acm2_EnableCallBackFuncForOneEvent
132
+ Acm2_EnableCallBackFuncForOneEvent.argtypes = [c_uint32, c_int, CALLBACK_FUNC]
133
+ Acm2_EnableCallBackFuncForOneEvent.restype = c_uint32
134
+ except:
135
+ pass
136
+
137
+ try:
138
+ Acm2_DevLoadAllConfig = lib.Acm2_DevLoadAllConfig
139
+ Acm2_DevLoadAllConfig.argtypes = [c_char_p]
140
+ Acm2_DevLoadAllConfig.restype = c_uint32
141
+ except:
142
+ pass
143
+
144
+ try:
145
+ Acm2_DevLoadConfig = lib.Acm2_DevLoadConfig
146
+ Acm2_DevLoadConfig.argtypes = [c_uint32, c_char_p]
147
+ Acm2_DevLoadConfig.restype = c_uint32
148
+ except:
149
+ pass
150
+
151
+ try:
152
+ Acm2_DevReadMailBox = lib.Acm2_DevReadMailBox
153
+ Acm2_DevReadMailBox.argtypes = [c_uint, c_uint32, c_uint32, c_uint32, c_uint32, POINTER(c_uint32)]
154
+ Acm2_DevReadMailBox.restype = c_uint32
155
+ except:
156
+ pass
157
+
158
+ try:
159
+ Acm2_DevWriteMailBox = lib.Acm2_DevWriteMailBox
160
+ Acm2_DevWriteMailBox.argtypes = [c_uint, c_uint32, c_uint32, c_uint32, c_uint32, POINTER(c_uint32)]
161
+ Acm2_DevWriteMailBox.restype = c_uint32
162
+ except:
163
+ pass
164
+
165
+ try:
166
+ Acm2_GetErrors = lib.Acm2_GetErrors
167
+ Acm2_GetErrors.argtypes = [c_uint32, c_void_p, POINTER(c_uint32)]
168
+ Acm2_GetErrors.restype = c_uint32
169
+ except:
170
+ pass
171
+
172
+ try:
173
+ Acm2_ResetErrorRecord = lib.Acm2_ResetErrorRecord
174
+ Acm2_ResetErrorRecord.argtypes = [c_uint32]
175
+ Acm2_ResetErrorRecord.restype = c_uint32
176
+ except:
177
+ pass
178
+
179
+ try:
180
+ Acm2_DevPreviewMotion = lib.Acm2_DevPreviewMotion
181
+ Acm2_DevPreviewMotion.argtypes = [c_uint32, c_char_p, c_char_p, c_uint16]
182
+ Acm2_DevPreviewMotion.restype = c_uint32
183
+ except:
184
+ pass
185
+ # Axis
186
+ try:
187
+ Acm2_AxReturnPausePosition = lib.Acm2_AxReturnPausePosition
188
+ Acm2_AxReturnPausePosition.argtypes = [c_uint32]
189
+ Acm2_AxReturnPausePosition.restype = c_uint32
190
+ except:
191
+ pass
192
+
193
+ try:
194
+ Acm2_AxSetSvOn = lib.Acm2_AxSetSvOn
195
+ Acm2_AxSetSvOn.argtypes = [c_uint32, c_uint]
196
+ Acm2_AxSetSvOn.restype = c_uint32
197
+ except:
198
+ pass
199
+
200
+ try:
201
+ Acm2_DevSetAllSvOn = lib.Acm2_DevSetAllSvOn
202
+ Acm2_DevSetAllSvOn.argtypes = [c_uint]
203
+ Acm2_DevSetAllSvOn.restype = c_uint32
204
+ except:
205
+ pass
206
+
207
+ try:
208
+ Acm2_AxSetErcOn = lib.Acm2_AxSetErcOn
209
+ Acm2_AxSetErcOn.argtypes = [c_uint32, c_uint]
210
+ Acm2_AxSetErcOn.restype = c_uint32
211
+ except:
212
+ pass
213
+
214
+ try:
215
+ Acm2_AxResetAlm = lib.Acm2_AxResetAlm
216
+ Acm2_AxResetAlm.argtypes = [c_uint32, c_uint]
217
+ Acm2_AxResetAlm.restype = c_uint32
218
+ except:
219
+ pass
220
+
221
+ try:
222
+ Acm2_AxPTP = lib.Acm2_AxPTP
223
+ Acm2_AxPTP.argtypes = [c_uint32, c_uint, c_double]
224
+ Acm2_AxPTP.restype = c_uint32
225
+ except:
226
+ pass
227
+
228
+ try:
229
+ Acm2_AxMoveContinue = lib.Acm2_AxMoveContinue
230
+ Acm2_AxMoveContinue.argtypes = [c_uint32, c_uint]
231
+ Acm2_AxMoveContinue.restype = c_uint32
232
+ except:
233
+ pass
234
+
235
+ try:
236
+ Acm2_AxMotionStop = lib.Acm2_AxMotionStop
237
+ Acm2_AxMotionStop.argtypes = [POINTER(c_uint32), c_uint32, c_uint, c_double]
238
+ Acm2_AxMotionStop.restype = c_uint32
239
+ except:
240
+ pass
241
+
242
+ try:
243
+ Acm2_AxHome = lib.Acm2_AxHome
244
+ Acm2_AxHome.argtypes = [c_uint32, c_uint, c_uint]
245
+ Acm2_AxHome.restype = c_uint32
246
+ except:
247
+ pass
248
+
249
+ try:
250
+ Acm2_AxMoveGantryHome = lib.Acm2_AxMoveGantryHome
251
+ Acm2_AxMoveGantryHome.argtypes = [c_uint32, c_uint, c_uint]
252
+ Acm2_AxMoveGantryHome.restype = c_uint32
253
+ except:
254
+ pass
255
+
256
+ try:
257
+ Acm2_AxSetHomeSpeedProfile = lib.Acm2_AxSetHomeSpeedProfile
258
+ Acm2_AxSetHomeSpeedProfile.argtypes = [c_uint32, SPEED_PROFILE_PRM]
259
+ Acm2_AxSetHomeSpeedProfile.restype = c_uint32
260
+ except:
261
+ pass
262
+
263
+ try:
264
+ Acm2_AxChangePos = lib.Acm2_AxChangePos
265
+ Acm2_AxChangePos.argtypes = [c_uint32, c_double]
266
+ Acm2_AxChangePos.restype = c_uint32
267
+ except:
268
+ pass
269
+
270
+ try:
271
+ Acm2_AxChangeVel = lib.Acm2_AxChangeVel
272
+ Acm2_AxChangeVel.argtypes = [c_uint32, c_double, c_double, c_double]
273
+ Acm2_AxChangeVel.restype = c_uint32
274
+ except:
275
+ pass
276
+
277
+ try:
278
+ Acm2_AxChangeVelByRate = lib.Acm2_AxChangeVelByRate
279
+ Acm2_AxChangeVelByRate.argtypes = [c_uint32, c_uint32, c_double, c_double]
280
+ Acm2_AxChangeVelByRate.restype = c_uint32
281
+ except:
282
+ pass
283
+
284
+ try:
285
+ Acm2_AxMoveImpose = lib.Acm2_AxMoveImpose
286
+ Acm2_AxMoveImpose.argtypes = [c_uint32, c_double, c_double]
287
+ Acm2_AxMoveImpose.restype = c_uint32
288
+ except:
289
+ pass
290
+
291
+ try:
292
+ Acm2_AxResetError = lib.Acm2_AxResetError
293
+ Acm2_AxResetError.argtypes = [c_uint32]
294
+ Acm2_AxResetError.restype = c_uint32
295
+ except:
296
+ pass
297
+
298
+ try:
299
+ Acm2_DevResetAllError = lib.Acm2_DevResetAllError
300
+ Acm2_DevResetAllError.restype = c_uint32
301
+ except:
302
+ pass
303
+
304
+ try:
305
+ Acm2_AxGetState = lib.Acm2_AxGetState
306
+ Acm2_AxGetState.argtypes = [c_uint32, c_uint, POINTER(c_uint32)]
307
+ Acm2_AxGetState.restype = c_uint32
308
+ except:
309
+ pass
310
+
311
+ try:
312
+ Acm2_AxGetMotionIO = lib.Acm2_AxGetMotionIO
313
+ Acm2_AxGetMotionIO.argtypes = [c_uint32, POINTER(MOTION_IO)]
314
+ Acm2_AxGetMotionIO.restype = c_uint32
315
+ except:
316
+ pass
317
+
318
+ try:
319
+ Acm2_AxSetPosition = lib.Acm2_AxSetPosition
320
+ Acm2_AxSetPosition.argtypes = [c_uint32, c_uint, c_double]
321
+ Acm2_AxSetPosition.restype = c_uint32
322
+ except:
323
+ pass
324
+
325
+ try:
326
+ Acm2_AxGetPosition = lib.Acm2_AxGetPosition
327
+ Acm2_AxGetPosition.argtypes = [c_uint32, c_uint, POINTER(c_double)]
328
+ Acm2_AxGetPosition.restype = c_uint32
329
+ except:
330
+ pass
331
+
332
+ try:
333
+ Acm2_AxGetMachPosition = lib.Acm2_AxGetMachPosition
334
+ Acm2_AxGetMachPosition.argtypes = [c_uint32, POINTER(c_double)]
335
+ Acm2_AxGetMachPosition.restype = c_uint32
336
+ except:
337
+ pass
338
+
339
+ try:
340
+ Acm2_AxSetSpeedProfile = lib.Acm2_AxSetSpeedProfile
341
+ Acm2_AxSetSpeedProfile.argtypes = [c_uint32, SPEED_PROFILE_PRM]
342
+ Acm2_AxSetSpeedProfile.restype = c_uint32
343
+ except:
344
+ pass
345
+
346
+ try:
347
+ Acm2_AxGetVel = lib.Acm2_AxGetVel
348
+ Acm2_AxGetVel.argtypes = [c_uint32, c_uint, POINTER(c_double)]
349
+ Acm2_AxGetVel.restype = c_uint32
350
+ except:
351
+ pass
352
+
353
+ try:
354
+ Acm2_AxEnableExternalMode = lib.Acm2_AxEnableExternalMode
355
+ Acm2_AxEnableExternalMode.argtypes = [c_uint32, c_uint]
356
+ Acm2_AxEnableExternalMode.restype = c_uint32
357
+ except:
358
+ pass
359
+
360
+ try:
361
+ Acm2_AxSoftJog = lib.Acm2_AxSoftJog
362
+ Acm2_AxSoftJog.argtypes = [c_uint32, c_uint]
363
+ Acm2_AxSoftJog.restype = c_uint32
364
+ except:
365
+ pass
366
+
367
+ try:
368
+ Acm2_AxSetJogSpeedProfile = lib.Acm2_AxSetJogSpeedProfile
369
+ Acm2_AxSetJogSpeedProfile.argtypes = [c_uint32, JOG_SPEED_PROFILE_PRM]
370
+ Acm2_AxSetJogSpeedProfile.restype = c_uint32
371
+ except:
372
+ pass
373
+
374
+ try:
375
+ Acm2_AxMotionStart = lib.Acm2_AxMotionStart
376
+ Acm2_AxMotionStart.argtypes = [c_uint32, c_uint32]
377
+ Acm2_AxMotionStart.restype = c_uint32
378
+ except:
379
+ pass
380
+
381
+ try:
382
+ Acm2_AxPause = lib.Acm2_AxPause
383
+ Acm2_AxPause.argtypes = [c_uint32]
384
+ Acm2_AxPause.restype = c_uint32
385
+ except:
386
+ pass
387
+
388
+ try:
389
+ Acm2_AxResume = lib.Acm2_AxResume
390
+ Acm2_AxResume.argtypes = [c_uint32]
391
+ Acm2_AxResume.restype = c_uint32
392
+ except:
393
+ pass
394
+
395
+ try:
396
+ Acm2_AxResetPVTTable = lib.Acm2_AxResetPVTTable
397
+ Acm2_AxResetPVTTable.argtypes = [c_uint32]
398
+ Acm2_AxResetPVTTable.restype = c_uint32
399
+ except:
400
+ pass
401
+
402
+ try:
403
+ Acm2_AxLoadPVTTable = lib.Acm2_AxLoadPVTTable
404
+ Acm2_AxLoadPVTTable.argtypes = [c_uint32, POINTER(c_double), POINTER(c_double), POINTER(c_double), c_uint32]
405
+ Acm2_AxLoadPVTTable.restype = c_uint32
406
+ except:
407
+ pass
408
+
409
+ try:
410
+ Acm2_AxLoadPVTTableContinuous = lib.Acm2_AxLoadPVTTableContinuous
411
+ Acm2_AxLoadPVTTableContinuous.argtypes = [c_uint32, POINTER(c_double), POINTER(c_double), POINTER(c_double), POINTER(c_double), POINTER(c_double), POINTER(c_double), c_double, c_uint32]
412
+ Acm2_AxLoadPVTTableContinuous.restype = c_uint32
413
+ except:
414
+ pass
415
+
416
+ try:
417
+ Acm2_AxMovePVT = lib.Acm2_AxMovePVT
418
+ Acm2_AxMovePVT.argtypes = [c_uint32]
419
+ Acm2_AxMovePVT.restype = c_uint32
420
+ except:
421
+ pass
422
+
423
+ try:
424
+ Acm2_AxCheckPTBuffer = lib.Acm2_AxCheckPTBuffer
425
+ Acm2_AxCheckPTBuffer.argtypes = [c_uint32, POINTER(c_uint32)]
426
+ Acm2_AxCheckPTBuffer.restype = c_uint32
427
+ except:
428
+ pass
429
+
430
+ try:
431
+ Acm2_AxAddPTData = lib.Acm2_AxAddPTData
432
+ Acm2_AxAddPTData.argtypes = [c_uint32, c_double, c_double]
433
+ Acm2_AxAddPTData.restype = c_uint32
434
+ except:
435
+ pass
436
+
437
+ try:
438
+ Acm2_AxMovePT = lib.Acm2_AxMovePT
439
+ Acm2_AxMovePT.argtypes = [c_uint32]
440
+ Acm2_AxMovePT.restype = c_uint32
441
+ except:
442
+ pass
443
+
444
+ try:
445
+ Acm2_AxResetPTData = lib.Acm2_AxResetPTData
446
+ Acm2_AxResetPTData.argtypes = [c_uint32]
447
+ Acm2_AxResetPTData.restype = c_uint32
448
+ except:
449
+ pass
450
+ # Follow
451
+ try:
452
+ Acm2_AxGearIn = lib.Acm2_AxGearIn
453
+ Acm2_AxGearIn.argtypes = [c_uint32, c_uint32, GEAR_IN_PRM]
454
+ Acm2_AxGearIn.restype = c_uint32
455
+ except:
456
+ pass
457
+
458
+ try:
459
+ Acm2_AxGantryIn = lib.Acm2_AxGantryIn
460
+ Acm2_AxGantryIn.argtypes = [c_uint32, c_uint32, GANTRY_IN_PRM]
461
+ Acm2_AxGantryIn.restype = c_uint32
462
+ except:
463
+ pass
464
+
465
+ try:
466
+ Acm2_AxPhaseAx = lib.Acm2_AxPhaseAx
467
+ Acm2_AxPhaseAx.argtypes = [c_uint32, PHASE_AXIS_PRM]
468
+ Acm2_AxPhaseAx.restype = c_uint32
469
+ except:
470
+ pass
471
+
472
+ try:
473
+ Acm2_AxSyncOut = lib.Acm2_AxSyncOut
474
+ Acm2_AxSyncOut.argtypes = [c_uint32]
475
+ Acm2_AxSyncOut.restype = c_uint32
476
+ except:
477
+ pass
478
+
479
+ # Group
480
+ try:
481
+ Acm2_GpGetPausePosition = lib.Acm2_GpGetPausePosition
482
+ Acm2_GpGetPausePosition.argtypes = [c_uint32, POINTER(c_double)]
483
+ Acm2_GpGetPausePosition.restype = c_uint32
484
+ except:
485
+ pass
486
+
487
+ try:
488
+ Acm2_GpCreate = lib.Acm2_GpCreate
489
+ Acm2_GpCreate.argtypes = [c_uint32, POINTER(c_uint32), c_uint32]
490
+ Acm2_GpCreate.restype = c_uint32
491
+ except:
492
+ pass
493
+
494
+ try:
495
+ Acm2_GpGetAxesInGroup = lib.Acm2_GpGetAxesInGroup
496
+ Acm2_GpGetAxesInGroup.argtypes = [c_uint32, POINTER(c_uint32), POINTER(c_uint32)]
497
+ Acm2_GpGetAxesInGroup.restype = c_uint32
498
+ except:
499
+ pass
500
+
501
+ try:
502
+ Acm2_GpResetError = lib.Acm2_GpResetError
503
+ Acm2_GpResetError.argtypes = [c_uint32]
504
+ Acm2_GpResetError.restype = c_uint32
505
+ except:
506
+ pass
507
+
508
+ try:
509
+ Acm2_GpLine = lib.Acm2_GpLine
510
+ Acm2_GpLine.argtypes = [c_uint32, c_uint, POINTER(c_double), POINTER(c_uint32)]
511
+ Acm2_GpLine.restype = c_uint32
512
+ except:
513
+ pass
514
+
515
+ try:
516
+ Acm2_GpArc_Center = lib.Acm2_GpArc_Center
517
+ Acm2_GpArc_Center.argtypes = [c_uint32, c_uint, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_uint]
518
+ Acm2_GpArc_Center.restype = c_uint32
519
+ except:
520
+ pass
521
+
522
+ try:
523
+ Acm2_GpArc_3P = lib.Acm2_GpArc_3P
524
+ Acm2_GpArc_3P.argtypes = [c_uint32, c_uint, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_uint]
525
+ Acm2_GpArc_3P.restype = c_uint32
526
+ except:
527
+ pass
528
+
529
+ try:
530
+ Acm2_GpArc_Angle = lib.Acm2_GpArc_Angle
531
+ Acm2_GpArc_Angle.argtypes = [c_uint32, c_uint, POINTER(c_double), POINTER(c_uint32), c_double, c_uint]
532
+ Acm2_GpArc_Angle.restype = c_uint32
533
+ except:
534
+ pass
535
+
536
+ try:
537
+ Acm2_Gp3DArc_Center = lib.Acm2_Gp3DArc_Center
538
+ Acm2_Gp3DArc_Center.argtypes = [c_uint32, c_uint, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_uint]
539
+ Acm2_Gp3DArc_Center.restype = c_uint32
540
+ except:
541
+ pass
542
+
543
+ try:
544
+ Acm2_Gp3DArc_NormVec = lib.Acm2_Gp3DArc_NormVec
545
+ Acm2_Gp3DArc_NormVec.argtypese = [c_uint32, c_uint, POINTER(c_double), POINTER(c_double), POINTER(c_float), c_double, c_uint]
546
+ Acm2_Gp3DArc_NormVec.restype = c_uint32
547
+ except:
548
+ pass
549
+
550
+ try:
551
+ Acm2_Gp3DArc_3P = lib.Acm2_Gp3DArc_3P
552
+ Acm2_Gp3DArc_3P.argtypes = [c_uint32, c_uint, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_uint, c_uint32]
553
+ Acm2_Gp3DArc_3P.restype = c_uint32
554
+ except:
555
+ pass
556
+
557
+ try:
558
+ Acm2_Gp3DArc_3PAngle = lib.Acm2_Gp3DArc_3PAngle
559
+ Acm2_Gp3DArc_3PAngle.argtypes = [c_uint32, c_uint, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_double, c_uint]
560
+ Acm2_Gp3DArc_3PAngle.restype = c_uint32
561
+ except:
562
+ pass
563
+
564
+ try:
565
+ Acm2_GpHelix_Center = lib.Acm2_GpHelix_Center
566
+ Acm2_GpHelix_Center.argtypes = [c_uint32, c_uint, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_uint]
567
+ Acm2_GpHelix_Center.restype = c_uint32
568
+ except:
569
+ pass
570
+
571
+ try:
572
+ Acm2_GpHelix_3P = lib.Acm2_GpHelix_3P
573
+ Acm2_GpHelix_3P.argtypes = [c_uint32, c_uint, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_uint]
574
+ Acm2_GpHelix_3P.restype = c_uint32
575
+ except:
576
+ pass
577
+
578
+ try:
579
+ Acm2_GpHelix_Angle = lib.Acm2_GpHelix_Angle
580
+ Acm2_GpHelix_Angle.argtypes = [c_uint32, c_uint, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_uint]
581
+ Acm2_GpHelix_Angle.restype = c_uint32
582
+ except:
583
+ pass
584
+
585
+ try:
586
+ Acm2_GpResume = lib.Acm2_GpResume
587
+ Acm2_GpResume.argtypes = [c_uint32]
588
+ Acm2_GpResume.restype = c_uint32
589
+ except:
590
+ pass
591
+
592
+ try:
593
+ Acm2_GpPause = lib.Acm2_GpPause
594
+ Acm2_GpPause.argtypes = [c_uint32]
595
+ Acm2_GpPause.restype = c_uint32
596
+ except:
597
+ pass
598
+
599
+ try:
600
+ Acm2_GpMotionStop = lib.Acm2_GpMotionStop
601
+ Acm2_GpMotionStop.argtypes = [c_uint32, c_uint, c_double]
602
+ Acm2_GpMotionStop.restype = c_uint32
603
+ except:
604
+ pass
605
+
606
+ try:
607
+ Acm2_GpChangeVel = lib.Acm2_GpChangeVel
608
+ Acm2_GpChangeVel.argtypes = [c_uint32, c_double, c_double, c_double]
609
+ Acm2_GpChangeVel.restype = c_uint32
610
+ except:
611
+ pass
612
+
613
+ try:
614
+ Acm2_GpChangeVelByRate = lib.Acm2_GpChangeVelByRate
615
+ Acm2_GpChangeVelByRate.argtypes = [c_uint32, c_uint32, c_double, c_double]
616
+ Acm2_GpChangeVelByRate.restype = c_uint32
617
+ except:
618
+ pass
619
+
620
+ try:
621
+ Acm2_GpGetVel = lib.Acm2_GpGetVel
622
+ Acm2_GpGetVel.argtypes = [c_uint32, c_uint, POINTER(c_double)]
623
+ Acm2_GpGetVel.restype = c_uint32
624
+ except:
625
+ pass
626
+
627
+ try:
628
+ Acm2_GpSetSpeedProfile = lib.Acm2_GpSetSpeedProfile
629
+ Acm2_GpSetSpeedProfile.argtypes = [c_uint32, SPEED_PROFILE_PRM]
630
+ Acm2_GpSetSpeedProfile.restype = c_uint32
631
+ except:
632
+ pass
633
+
634
+ try:
635
+ Acm2_GpGetState = lib.Acm2_GpGetState
636
+ Acm2_GpGetState.argtypes = [c_uint32, POINTER(c_uint32)]
637
+ Acm2_GpGetState.restype = c_uint32
638
+ except:
639
+ pass
640
+
641
+ # Path
642
+ try:
643
+ Acm2_GpLoadPath = lib.Acm2_GpLoadPath
644
+ Acm2_GpLoadPath.argtypes = [c_uint32, c_char_p, POINTER(c_uint32)]
645
+ Acm2_GpLoadPath.restype = c_uint32
646
+ except:
647
+ pass
648
+
649
+ try:
650
+ Acm2_GpAddPath = lib.Acm2_GpAddPath
651
+ Acm2_GpAddPath.argtypes = [c_uint32, c_uint32, c_uint, c_double, c_double, c_double, c_double, POINTER(c_double), POINTER(c_double), POINTER(c_uint32)]
652
+ Acm2_GpAddPath.restype = c_uint32
653
+ except:
654
+ pass
655
+
656
+ try:
657
+ Acm2_GpMovePath = lib.Acm2_GpMovePath
658
+ Acm2_GpMovePath.argtypes = [c_uint32]
659
+ Acm2_GpMovePath.restype = c_uint32
660
+ except:
661
+ pass
662
+
663
+ try:
664
+ Acm2_GpResetPath = lib.Acm2_GpResetPath
665
+ Acm2_GpResetPath.argtypes = [c_uint32]
666
+ Acm2_GpResetPath.restype = c_uint32
667
+ except:
668
+ pass
669
+
670
+ try:
671
+ Acm2_GpGetPathStatus = lib.Acm2_GpGetPathStatus
672
+ Acm2_GpGetPathStatus.argtypes = [c_uint32, POINTER(c_uint)]
673
+ Acm2_GpGetPathStatus.restype = c_uint32
674
+ except:
675
+ pass
676
+
677
+ try:
678
+ Acm2_GpMoveSelPath = lib.Acm2_GpMoveSelPath
679
+ Acm2_GpMoveSelPath.argtypes = [c_uint32, c_uint32, c_uint32, c_uint32]
680
+ Acm2_GpMoveSelPath.restype = c_uint32
681
+ except:
682
+ pass
683
+
684
+ try:
685
+ Acm2_GpGetPathIndexStatus = lib.Acm2_GpGetPathIndexStatus
686
+ Acm2_GpGetPathIndexStatus.argtypes = [c_uint32, c_uint32, POINTER(c_uint32), POINTER(c_uint32), POINTER(c_double), POINTER(c_double), POINTER(c_double), POINTER(c_double), POINTER(c_double), POINTER(c_double), POINTER(c_uint32)]
687
+ Acm2_GpGetPathIndexStatus.restype = c_uint32
688
+ except:
689
+ pass
690
+
691
+ try:
692
+ Acm2_GpDelay = lib.Acm2_GpDelay
693
+ Acm2_GpDelay.argtypes = [c_uint32, c_uint32]
694
+ Acm2_GpDelay.restype = c_uint32
695
+ except:
696
+ pass
697
+
698
+ try:
699
+ Acm2_GpPathDO = lib.Acm2_GpPathDO
700
+ Acm2_GpPathDO.argtypes = [c_uint32, PATH_DO_PRM]
701
+ Acm2_GpPathDO.restype = c_uint32
702
+ except:
703
+ pass
704
+
705
+ try:
706
+ Acm2_GpPathWaitDI = lib.Acm2_GpPathWaitDI
707
+ Acm2_GpPathWaitDI.argtypes = [c_uint32, PATH_DI_WAIT_PRM]
708
+ Acm2_GpPathWaitDI.restype = c_uint32
709
+ except:
710
+ pass
711
+
712
+ try:
713
+ Acm2_GpPathWaitForAxis = lib.Acm2_GpPathWaitForAxis
714
+ Acm2_GpPathWaitForAxis.argtypes = [c_uint32, PATH_AX_WAIT_PRM]
715
+ Acm2_GpPathWaitForAxis.restype = c_uint32
716
+ except:
717
+ pass
718
+
719
+ try:
720
+ Acm2_GpLookAheadPath = lib.Acm2_GpLookAheadPath
721
+ Acm2_GpLookAheadPath.argtypes = [c_uint32, c_uint16, c_char_p]
722
+ Acm2_GpLookAheadPath.restype = c_uint32
723
+ except:
724
+ pass
725
+
726
+ try:
727
+ Acm2_GpLookAheadPathFile = lib.Acm2_GpLookAheadPathFile
728
+ Acm2_GpLookAheadPathFile.argtypes = [c_uint32, c_uint16, c_char_p, c_char_p, POINTER(c_uint32)]
729
+ Acm2_GpLookAheadPathFile.restype = c_uint32
730
+ except:
731
+ pass
732
+
733
+ # try:
734
+ # Acm2_GpLoadAndMovePath = lib.Acm2_GpLoadAndMovePath
735
+ # Acm2_GpLoadAndMovePath.argtypes = [c_uint32, c_char_p, POINTER(c_uint32)]
736
+ # Acm2_GpLoadAndMovePath.restype = c_uint32
737
+ # except:
738
+ # pass
739
+
740
+ # DIO
741
+ try:
742
+ Acm2_ChSetDOBit = lib.Acm2_ChSetDOBit
743
+ Acm2_ChSetDOBit.argtypes = [c_uint32, c_uint32]
744
+ Acm2_ChSetDOBit.restype = c_uint32
745
+ except:
746
+ pass
747
+
748
+ try:
749
+ Acm2_ChGetDOBit = lib.Acm2_ChGetDOBit
750
+ Acm2_ChGetDOBit.argtypes = [c_uint32, POINTER(c_uint32)]
751
+ Acm2_ChGetDOBit.restype = c_uint32
752
+ except:
753
+ pass
754
+
755
+ try:
756
+ Acm2_ChGetDIBit = lib.Acm2_ChGetDIBit
757
+ Acm2_ChGetDIBit.argtypes = [c_uint32, POINTER(c_uint32)]
758
+ Acm2_ChGetDIBit.restype = c_uint32
759
+ except:
760
+ pass
761
+
762
+ try:
763
+ Acm2_ChSetDOBitByRingNo = lib.Acm2_ChSetDOBitByRingNo
764
+ Acm2_ChSetDOBitByRingNo.argtypes = [c_uint32, c_uint32, c_uint32, c_uint32]
765
+ Acm2_ChSetDOBitByRingNo.restype = c_uint32
766
+ except:
767
+ pass
768
+
769
+ try:
770
+ Acm2_ChGetDOBitByRingNo = lib.Acm2_ChGetDOBitByRingNo
771
+ Acm2_ChGetDOBitByRingNo.argtypes = [c_uint32, c_uint32, c_uint32, POINTER(c_uint32)]
772
+ Acm2_ChGetDOBitByRingNo.restype = c_uint32
773
+ except:
774
+ pass
775
+
776
+ try:
777
+ Acm2_ChGetDIBitByRingNo = lib.Acm2_ChGetDIBitByRingNo
778
+ Acm2_ChGetDIBitByRingNo.argtypes = [c_uint32, c_uint32, c_uint32, POINTER(c_uint32)]
779
+ Acm2_ChGetDIBitByRingNo.restype = c_uint32
780
+ except:
781
+ pass
782
+
783
+ try:
784
+ Acm2_ChSetDOByte = lib.Acm2_ChSetDOByte
785
+ Acm2_ChSetDOByte.argtypes = [c_uint32, c_uint32, POINTER(c_uint32)]
786
+ Acm2_ChSetDOByte.restype = c_uint32
787
+ except:
788
+ pass
789
+
790
+ try:
791
+ Acm2_ChGetDOByte = lib.Acm2_ChGetDOByte
792
+ Acm2_ChGetDOByte.argtypes = [c_uint32, c_uint32, POINTER(c_uint32)]
793
+ Acm2_ChGetDOByte.restype = c_uint32
794
+ except:
795
+ pass
796
+
797
+ try:
798
+ Acm2_ChGetDIByte = lib.Acm2_ChGetDIByte
799
+ Acm2_ChGetDIByte.argtypes = [c_uint32, c_uint32, POINTER(c_uint32)]
800
+ Acm2_ChGetDIByte.restype = c_uint32
801
+ except:
802
+ pass
803
+
804
+ try:
805
+ Acm2_ChSetDOByteByRingNo = lib.Acm2_ChSetDOByteByRingNo
806
+ Acm2_ChSetDOByteByRingNo.argtypes = [c_uint32, c_uint32, c_uint32, c_uint32, POINTER(c_uint32)]
807
+ Acm2_ChSetDOByteByRingNo.restype = c_uint32
808
+ except:
809
+ pass
810
+
811
+ try:
812
+ Acm2_ChGetDOByteByRingNo = lib.Acm2_ChGetDOByteByRingNo
813
+ Acm2_ChGetDOByteByRingNo.argtypes = [c_uint32, c_uint32, c_uint32, c_uint32, POINTER(c_uint32)]
814
+ Acm2_ChGetDOByteByRingNo.restype = c_uint32
815
+ except:
816
+ pass
817
+
818
+ try:
819
+ Acm2_ChGetDIByteByRingNo = lib.Acm2_ChGetDIByteByRingNo
820
+ Acm2_ChGetDIByteByRingNo.argtypes = [c_uint32, c_uint32, c_uint32, c_uint32, POINTER(c_uint32)]
821
+ Acm2_ChGetDIByteByRingNo.restype = c_uint32
822
+ except:
823
+ pass
824
+ # AIO
825
+ try:
826
+ Acm2_ChSetAOData = lib.Acm2_ChSetAOData
827
+ Acm2_ChSetAOData.argtypes = [c_uint32, c_uint, c_double]
828
+ Acm2_ChSetAOData.restype = c_uint32
829
+ except:
830
+ pass
831
+
832
+ try:
833
+ Acm2_ChGetAOData = lib.Acm2_ChGetAOData
834
+ Acm2_ChGetAOData.argtypes = [c_uint32, c_uint, POINTER(c_double)]
835
+ Acm2_ChGetAOData.restype = c_uint32
836
+ except:
837
+ pass
838
+
839
+ try:
840
+ Acm2_ChSetAODataByRingNo = lib.Acm2_ChSetAODataByRingNo
841
+ Acm2_ChSetAODataByRingNo.argtypes = [c_uint32, c_uint32, c_uint32, c_uint, c_double]
842
+ Acm2_ChSetAODataByRingNo.restype = c_uint32
843
+ except:
844
+ pass
845
+
846
+ try:
847
+ Acm2_ChGetAODataByRingNo = lib.Acm2_ChGetAODataByRingNo
848
+ Acm2_ChGetAODataByRingNo.argtypes = [c_uint32, c_uint32, c_uint32, c_uint, POINTER(c_double)]
849
+ Acm2_ChGetAODataByRingNo.restype = c_uint32
850
+ except:
851
+ pass
852
+
853
+ try:
854
+ Acm2_ChGetAIData = lib.Acm2_ChGetAIData
855
+ Acm2_ChGetAIData.argtypes = [c_uint32, c_uint, POINTER(c_double)]
856
+ Acm2_ChGetAIData.restype = c_uint32
857
+ except:
858
+ pass
859
+
860
+ try:
861
+ Acm2_ChGetAIDataByRingNo = lib.Acm2_ChGetAIDataByRingNo
862
+ Acm2_ChGetAIDataByRingNo.argtypes = [c_uint32, c_uint32, c_uint32, c_uint, POINTER(c_double)]
863
+ Acm2_ChGetAIDataByRingNo.restype = c_uint32
864
+ except:
865
+ pass
866
+
867
+ try:
868
+ Acm2_ChGetCntData = lib.Acm2_ChGetCntData
869
+ Acm2_ChGetCntData.argtypes = [c_uint32, POINTER(c_double)]
870
+ Acm2_ChGetCntData.restype = c_uint32
871
+ except:
872
+ pass
873
+
874
+ try:
875
+ Acm2_ChSetCntData = lib.Acm2_ChSetCntData
876
+ Acm2_ChSetCntData.argtypes = [c_uint32, c_double]
877
+ Acm2_ChSetCntData.restype = c_uint32
878
+ except:
879
+ pass
880
+ # Motion DIO:Compare
881
+ try:
882
+ Acm2_ChLinkCmpFIFO = lib.Acm2_ChLinkCmpFIFO
883
+ Acm2_ChLinkCmpFIFO.argtypes = [c_uint32, POINTER(c_uint32), c_uint32]
884
+ Acm2_ChLinkCmpFIFO.restype = c_uint32
885
+ except:
886
+ pass
887
+
888
+ try:
889
+ Acm2_ChLinkCmpObject = lib.Acm2_ChLinkCmpObject
890
+ Acm2_ChLinkCmpObject.argtypes = [c_uint32, c_uint, POINTER(c_uint32), c_uint32]
891
+ Acm2_ChLinkCmpObject.restype = c_uint32
892
+ except:
893
+ pass
894
+
895
+ try:
896
+ Acm2_ChGetLinkedCmpObject = lib.Acm2_ChGetLinkedCmpObject
897
+ Acm2_ChGetLinkedCmpObject.argtypes = [c_uint32, POINTER(c_uint), POINTER(c_uint32), POINTER(c_uint32)]
898
+ Acm2_ChGetLinkedCmpObject.restype = c_uint32
899
+ except:
900
+ pass
901
+
902
+ try:
903
+ Acm2_ChEnableCmp = lib.Acm2_ChEnableCmp
904
+ Acm2_ChEnableCmp.argtypes = [c_uint32, c_uint32]
905
+ Acm2_ChEnableCmp.restype = c_uint32
906
+ except:
907
+ pass
908
+
909
+ try:
910
+ Acm2_ChSetCmpOut = lib.Acm2_ChSetCmpOut
911
+ Acm2_ChSetCmpOut.argtypes = [c_uint32, c_uint]
912
+ Acm2_ChSetCmpOut.restype = c_uint32
913
+ except:
914
+ pass
915
+
916
+ try:
917
+ Acm2_ChSetCmpDoOut = lib.Acm2_ChSetCmpDoOut
918
+ Acm2_ChSetCmpDoOut.argtypes = [c_uint32, c_uint]
919
+ Acm2_ChSetCmpDoOut.restype = c_uint32
920
+ except:
921
+ pass
922
+
923
+ try:
924
+ Acm2_AxGetCmpData = lib.Acm2_AxGetCmpData
925
+ Acm2_AxGetCmpData.argtypes = [c_uint32, POINTER(c_double)]
926
+ Acm2_AxGetCmpData.restype = c_uint32
927
+ except:
928
+ pass
929
+
930
+ try:
931
+ Acm2_ChGetCmpData = lib.Acm2_ChGetCmpData
932
+ Acm2_ChGetCmpData.argtypes = [c_uint32, POINTER(c_double), c_uint32]
933
+ Acm2_ChGetCmpData.restype = c_uint32
934
+ except:
935
+ pass
936
+
937
+ try:
938
+ Acm2_AxSetCmpTable = lib.Acm2_AxSetCmpTable
939
+ Acm2_AxSetCmpTable.argtypes = [c_uint32, POINTER(c_double), c_uint32]
940
+ Acm2_AxSetCmpTable.restype = c_uint32
941
+ except:
942
+ pass
943
+
944
+ try:
945
+ Acm2_AxSetCmpAuto = lib.Acm2_AxSetCmpAuto
946
+ Acm2_AxSetCmpAuto.argtypes = [c_uint32, c_double, c_double, c_double]
947
+ Acm2_AxSetCmpAuto.restype = c_uint32
948
+ except:
949
+ pass
950
+
951
+ try:
952
+ Acm2_ChSetCmpAuto = lib.Acm2_ChSetCmpAuto
953
+ Acm2_ChSetCmpAuto.argtypes = [c_uint32, c_double, c_double, c_double]
954
+ Acm2_ChSetCmpAuto.restype = c_uint32
955
+ except:
956
+ pass
957
+
958
+ try:
959
+ Acm2_ChSetCmpBufferData = lib.Acm2_ChSetCmpBufferData
960
+ Acm2_ChSetCmpBufferData.argtypes = [c_uint32, POINTER(c_double), c_uint32]
961
+ Acm2_ChSetCmpBufferData.restype = c_uint32
962
+ except:
963
+ pass
964
+
965
+ try:
966
+ Acm2_ChSetMultiCmpTable = lib.Acm2_ChSetMultiCmpTable
967
+ Acm2_ChSetMultiCmpTable.argtypes = [c_uint32, c_uint, c_uint32]
968
+ Acm2_ChSetMultiCmpTable.restype = c_uint32
969
+ except:
970
+ pass
971
+
972
+ try:
973
+ Acm2_ChSetMultiCmpBufferData = lib.Acm2_ChSetMultiCmpBufferData
974
+ Acm2_ChSetMultiCmpBufferData.argtypes = [c_uint32, POINTER(c_double), c_uint32, c_uint32]
975
+ Acm2_ChSetMultiCmpBufferData.restype = c_uint32
976
+ except:
977
+ pass
978
+
979
+ try:
980
+ Acm2_ChResetCmpData = lib.Acm2_ChResetCmpData
981
+ Acm2_ChResetCmpData.argtypes = [c_uint32]
982
+ Acm2_ChResetCmpData.restype = c_uint32
983
+ except:
984
+ pass
985
+
986
+ try:
987
+ Acm2_ChGetCmpBufferStatus = lib.Acm2_ChGetCmpBufferStatus
988
+ Acm2_ChGetCmpBufferStatus.argtypes = [c_uint32, POINTER(BUFFER_STATUS)]
989
+ Acm2_ChGetCmpBufferStatus.restype = c_uint32
990
+ except:
991
+ pass
992
+ # Motion IO: Latch
993
+ try:
994
+ Acm2_ChLinkLatchAxis = lib.Acm2_ChLinkLatchAxis
995
+ Acm2_ChLinkLatchAxis.argtypes = [c_uint32, POINTER(c_uint32), c_uint32]
996
+ Acm2_ChLinkLatchAxis.restype = c_uint32
997
+ except:
998
+ pass
999
+
1000
+ try:
1001
+ Acm2_ChLinkLatchObject = lib.Acm2_ChLinkLatchObject
1002
+ Acm2_ChLinkLatchObject.argtypes = [c_uint32, c_uint, POINTER(c_uint32), c_uint32]
1003
+ Acm2_ChLinkLatchObject.restype = c_uint32
1004
+ except:
1005
+ pass
1006
+
1007
+ try:
1008
+ Acm2_ChGetLinkedLatchObject = lib.Acm2_ChGetLinkedLatchObject
1009
+ Acm2_ChGetLinkedLatchObject.argtypes = [c_uint32, POINTER(c_uint),POINTER(c_uint32), POINTER(c_uint32)]
1010
+ Acm2_ChGetLinkedLatchObject.restype = c_uint32
1011
+ except:
1012
+ pass
1013
+
1014
+ try:
1015
+ Acm2_ChTriggerLatch = lib.Acm2_ChTriggerLatch
1016
+ Acm2_ChTriggerLatch.argtypes = [c_uint32]
1017
+ Acm2_ChTriggerLatch.restype = c_uint32
1018
+ except:
1019
+ pass
1020
+
1021
+ try:
1022
+ Acm2_AxReadLatchBuffer = lib.Acm2_AxReadLatchBuffer
1023
+ Acm2_AxReadLatchBuffer.argtypes = [c_uint32, POINTER(c_double), POINTER(c_uint32)]
1024
+ Acm2_AxReadLatchBuffer.restype = c_uint32
1025
+ except:
1026
+ pass
1027
+
1028
+ try:
1029
+ Acm2_ChReadLatchBuffer = lib.Acm2_ChReadLatchBuffer
1030
+ Acm2_ChReadLatchBuffer.argtypes = [c_uint32, POINTER(c_double), c_uint32, POINTER(c_uint32)]
1031
+ Acm2_ChReadLatchBuffer.restype = c_uint32
1032
+ except:
1033
+ pass
1034
+
1035
+ try:
1036
+ Acm2_AxGetLatchBufferStatus = lib.Acm2_AxGetLatchBufferStatus
1037
+ Acm2_AxGetLatchBufferStatus.argtypes = [c_uint32, POINTER(c_uint32), POINTER(c_uint32)]
1038
+ Acm2_AxGetLatchBufferStatus.restype = c_uint32
1039
+ except:
1040
+ pass
1041
+
1042
+ try:
1043
+ Acm2_ChGetLatchBufferStatus = lib.Acm2_ChGetLatchBufferStatus
1044
+ Acm2_ChGetLatchBufferStatus.argtypes = [c_uint32, POINTER(BUFFER_STATUS)]
1045
+ Acm2_ChGetLatchBufferStatus.restype = c_uint32
1046
+ except:
1047
+ pass
1048
+
1049
+ try:
1050
+ Acm2_AxResetLatchBuffer = lib.Acm2_AxResetLatchBuffer
1051
+ Acm2_AxResetLatchBuffer.argtypes = [c_uint32]
1052
+ Acm2_AxResetLatchBuffer.restype = c_uint32
1053
+ except:
1054
+ pass
1055
+
1056
+ try:
1057
+ Acm2_ChResetLatchBuffer = lib.Acm2_ChResetLatchBuffer
1058
+ Acm2_ChResetLatchBuffer.argtypes = [c_uint32]
1059
+ Acm2_ChResetLatchBuffer.restype = c_uint32
1060
+ except:
1061
+ pass
1062
+ # Motion IO: PWM
1063
+ try:
1064
+ Acm2_ChLinkPWMTable = lib.Acm2_ChLinkPWMTable
1065
+ Acm2_ChLinkPWMTable.argtypes = [c_uint32, c_uint, c_uint32]
1066
+ Acm2_ChLinkPWMTable.restype = c_uint32
1067
+ except:
1068
+ pass
1069
+
1070
+ try:
1071
+ Acm2_ChGetLinkedPWMTable = lib.Acm2_ChGetLinkedPWMTable
1072
+ Acm2_ChGetLinkedPWMTable.argtypes = [c_uint32, POINTER(c_uint), POINTER(c_uint32), POINTER(c_uint32)]
1073
+ Acm2_ChGetLinkedPWMTable.restype = c_uint32
1074
+ except:
1075
+ pass
1076
+
1077
+ try:
1078
+ Acm2_ChSetPWMTable = lib.Acm2_ChSetPWMTable
1079
+ Acm2_ChSetPWMTable.argtypes = [c_uint32, POINTER(c_double), POINTER(c_double), c_uint32]
1080
+ Acm2_ChSetPWMTable.restype = c_uint32
1081
+ except:
1082
+ pass
1083
+
1084
+ try:
1085
+ Acm2_ChLoadPWMTableFile = lib.Acm2_ChLoadPWMTableFile
1086
+ Acm2_ChLoadPWMTableFile.argtypes = [c_uint32, c_char_p, POINTER(c_uint32)]
1087
+ Acm2_ChLoadPWMTableFile.restype = c_uint32
1088
+ except:
1089
+ pass
1090
+
1091
+ try:
1092
+ Acm2_ChGetPWMTableStatus = lib.Acm2_ChGetPWMTableStatus
1093
+ Acm2_ChGetPWMTableStatus.argtypes = [c_uint32, POINTER(PWM_TABLE_STATUS)]
1094
+ Acm2_ChGetPWMTableStatus.restype = c_uint32
1095
+ except:
1096
+ pass
1097
+ # Motion IO: External Drive
1098
+ try:
1099
+ Acm2_ChGetExtDriveData = lib.Acm2_ChGetExtDriveData
1100
+ Acm2_ChGetExtDriveData.argtypes = [c_uint32, POINTER(c_double)]
1101
+ Acm2_ChGetExtDriveData.restype = c_uint32
1102
+ except:
1103
+ pass
1104
+
1105
+ try:
1106
+ Acm2_ChSetExtDriveData = lib.Acm2_ChSetExtDriveData
1107
+ Acm2_ChSetExtDriveData.argtypes = [c_uint32, c_double]
1108
+ Acm2_ChSetExtDriveData.restype = c_uint32
1109
+ except:
1110
+ pass
1111
+
1112
+ try:
1113
+ Acm2_ChLinkExtDriveObject = lib.Acm2_ChLinkExtDriveObject
1114
+ Acm2_ChLinkExtDriveObject.argtypes = [c_uint32, c_uint, c_uint32]
1115
+ Acm2_ChLinkExtDriveObject.restype = c_uint32
1116
+ except:
1117
+ pass
1118
+
1119
+ try:
1120
+ Acm2_ChGetLinkedExtDriveObject = lib.Acm2_ChGetLinkedExtDriveObject
1121
+ Acm2_ChGetLinkedExtDriveObject.argtypes = [c_uint32, POINTER(c_uint), POINTER(c_uint32), POINTER(c_uint32)]
1122
+ Acm2_ChGetLinkedExtDriveObject.restype = c_uint32
1123
+ except:
1124
+ pass
1125
+ # Motion DAQ
1126
+ try:
1127
+ Acm2_DevMDaqConfig = lib.Acm2_DevMDaqConfig
1128
+ Acm2_DevMDaqConfig.argtypes = [c_uint32, c_uint32, c_uint32, c_uint32, c_uint32, c_uint32]
1129
+ Acm2_DevMDaqConfig.restype = c_uint32
1130
+ except:
1131
+ pass
1132
+
1133
+ try:
1134
+ Acm2_DevMDaqGetConfig = lib.Acm2_DevMDaqGetConfig
1135
+ Acm2_DevMDaqGetConfig.argtypes = [c_uint32, POINTER(c_uint32), POINTER(c_uint32), POINTER(c_uint32), POINTER(c_uint32), POINTER(c_uint32)]
1136
+ Acm2_DevMDaqGetConfig.restype = c_uint32
1137
+ except:
1138
+ pass
1139
+
1140
+ try:
1141
+ Acm2_DevMDaqStart = lib.Acm2_DevMDaqStart
1142
+ Acm2_DevMDaqStart.argtypes = [c_uint32]
1143
+ Acm2_DevMDaqStart.restype = c_uint32
1144
+ except:
1145
+ pass
1146
+
1147
+ try:
1148
+ Acm2_DevMDaqStop = lib.Acm2_DevMDaqStop
1149
+ Acm2_DevMDaqStop.argtypes = [c_uint32]
1150
+ Acm2_DevMDaqStop.restype = c_uint32
1151
+ except:
1152
+ pass
1153
+
1154
+ try:
1155
+ Acm2_DevMDaqReset = lib.Acm2_DevMDaqReset
1156
+ Acm2_DevMDaqReset.argtypes = [c_uint32]
1157
+ Acm2_DevMDaqReset.restype = c_uint32
1158
+ except:
1159
+ pass
1160
+
1161
+ try:
1162
+ Acm2_DevMDaqGetStatus = lib.Acm2_DevMDaqGetStatus
1163
+ Acm2_DevMDaqGetStatus.argtypes = [c_uint32, POINTER(c_uint32), POINTER(c_uint32)]
1164
+ Acm2_DevMDaqGetStatus.restype = c_uint32
1165
+ except:
1166
+ pass
1167
+
1168
+ try:
1169
+ Acm2_DevMDaqGetData = lib.Acm2_DevMDaqGetData
1170
+ Acm2_DevMDaqGetData.argtypes = [c_uint32, c_uint32, c_uint32, POINTER(c_double)]
1171
+ Acm2_DevMDaqGetData.restype = c_uint32
1172
+ except:
1173
+ pass
1174
+ # # Donwload DSP FW
1175
+ # try:
1176
+ # Acm2_GetDSPFrmWareDwnLoadRate = lib.Acm2_GetDSPFrmWareDwnLoadRate
1177
+ # Acm2_GetDSPFrmWareDwnLoadRate.argtypes = [c_uint32, POINTER(c_double)]
1178
+ # Acm2_GetDSPFrmWareDwnLoadRate.restype = c_uint32
1179
+ # except:
1180
+ # pass
1181
+
1182
+ # try:
1183
+ # Acm2_DevDownLoadDSPFrmWare_STP2 = lib.Acm2_DevDownLoadDSPFrmWare_STP2
1184
+ # Acm2_DevDownLoadDSPFrmWare_STP2.argtypes = [c_uint32, c_char_p]
1185
+ # Acm2_DevDownLoadDSPFrmWare_STP2.restype = c_uint32
1186
+ # except:
1187
+ # pass
1188
+ # EtherCAT
1189
+ try:
1190
+ Acm2_DevLoadENI = lib.Acm2_DevLoadENI
1191
+ Acm2_DevLoadENI.argtypes = [c_uint32, c_char_p]
1192
+ Acm2_DevLoadENI.restype = c_uint32
1193
+ except:
1194
+ pass
1195
+
1196
+ try:
1197
+ Acm2_DevConnect = lib.Acm2_DevConnect
1198
+ Acm2_DevConnect.argtypes = [c_uint32]
1199
+ Acm2_DevConnect.restype = c_uint32
1200
+ except:
1201
+ pass
1202
+
1203
+ try:
1204
+ Acm2_DevDisConnect = lib.Acm2_DevDisConnect
1205
+ Acm2_DevDisConnect.argtypes = [c_uint32]
1206
+ Acm2_DevDisConnect.restype = c_uint32
1207
+ except:
1208
+ pass
1209
+
1210
+ try:
1211
+ Acm2_DevGetSubDevicesID = lib.Acm2_DevGetSubDevicesID
1212
+ Acm2_DevGetSubDevicesID.argtypes = [c_uint32, c_uint, POINTER(c_uint32), POINTER(c_uint32)]
1213
+ Acm2_DevGetSubDevicesID.restype = c_uint32
1214
+ except:
1215
+ pass
1216
+
1217
+ try:
1218
+ Acm2_DevGetMDeviceInfo = lib.Acm2_DevGetMDeviceInfo
1219
+ Acm2_DevGetMDeviceInfo.argtypes = [c_uint32, POINTER(ADVAPI_MDEVICE_INFO)]
1220
+ Acm2_DevGetMDeviceInfo.restype = c_uint32
1221
+ except:
1222
+ pass
1223
+
1224
+ try:
1225
+ Acm2_DevGetSubDeviceInfo = lib.Acm2_DevGetSubDeviceInfo
1226
+ Acm2_DevGetSubDeviceInfo.argtypes = [c_uint32, c_uint, c_uint32, POINTER(ADVAPI_SUBDEVICE_INFO_CM2)]
1227
+ Acm2_DevGetSubDeviceInfo.restype = c_uint32
1228
+ except:
1229
+ pass
1230
+
1231
+ try:
1232
+ Acm2_DevGetSubDeviceFwVersion = lib.Acm2_DevGetSubDeviceFwVersion
1233
+ Acm2_DevGetSubDeviceFwVersion.argtypes = [c_uint32, c_uint, c_uint32, c_char_p]
1234
+ Acm2_DevGetSubDeviceFwVersion.restype = c_uint32
1235
+ except:
1236
+ pass
1237
+
1238
+ try:
1239
+ Acm2_DevSetSubDeviceID = lib.Acm2_DevSetSubDeviceID
1240
+ Acm2_DevSetSubDeviceID.argtypes = [c_uint32, c_int, c_uint32, c_uint32]
1241
+ Acm2_DevSetSubDeviceID.restype = c_uint32
1242
+ except:
1243
+ pass
1244
+
1245
+ try:
1246
+ Acm2_DevSetSubDeviceStates = lib.Acm2_DevSetSubDeviceStates
1247
+ Acm2_DevSetSubDeviceStates.argtypes = [c_uint32, c_uint, c_uint32, POINTER(c_uint32)]
1248
+ Acm2_DevSetSubDeviceStates.restype = c_uint32
1249
+ except:
1250
+ pass
1251
+
1252
+ try:
1253
+ Acm2_DevGetSubDeviceStates = lib.Acm2_DevGetSubDeviceStates
1254
+ Acm2_DevGetSubDeviceStates.argtypes = [c_uint32, c_uint, c_uint32, POINTER(c_uint32)]
1255
+ Acm2_DevGetSubDeviceStates.restype = c_uint32
1256
+ except:
1257
+ pass
1258
+
1259
+ try:
1260
+ Acm2_DevWriteSDO = lib.Acm2_DevWriteSDO
1261
+ Acm2_DevWriteSDO.argtypes = [c_uint32, c_uint, c_uint32, c_uint32, c_uint32, c_uint32, c_uint32, c_void_p]
1262
+ Acm2_DevWriteSDO.restype = c_uint32
1263
+ except:
1264
+ pass
1265
+
1266
+ try:
1267
+ Acm2_DevReadSDO = lib.Acm2_DevReadSDO
1268
+ Acm2_DevReadSDO.argtypes = [c_uint32, c_uint, c_uint32, c_uint32, c_uint32, c_uint32, c_uint32, c_void_p]
1269
+ Acm2_DevReadSDO.restype = c_uint32
1270
+ except:
1271
+ pass
1272
+
1273
+ try:
1274
+ Acm2_DevWritePDO = lib.Acm2_DevWritePDO
1275
+ Acm2_DevWritePDO.argtypes = [c_uint32, c_uint, c_uint32, c_uint32, c_uint32, c_uint32, c_uint32, c_void_p]
1276
+ Acm2_DevWritePDO.restype = c_uint32
1277
+ except:
1278
+ pass
1279
+
1280
+ try:
1281
+ Acm2_DevReadPDO = lib.Acm2_DevReadPDO
1282
+ Acm2_DevReadPDO.argtypes = [c_uint32, c_uint, c_uint32, c_uint32, c_uint32, c_uint32, c_uint32, c_void_p]
1283
+ Acm2_DevReadPDO.restype = c_uint32
1284
+ except:
1285
+ pass
1286
+
1287
+ try:
1288
+ Acm2_DevWriteReg = lib.Acm2_DevWriteReg
1289
+ Acm2_DevWriteReg.argtypes = [c_uint32, c_uint, c_uint32, c_uint32, c_uint32, c_uint32, c_void_p]
1290
+ Acm2_DevWriteReg.restype = c_uint32
1291
+ except:
1292
+ pass
1293
+
1294
+ try:
1295
+ Acm2_DevReadReg = lib.Acm2_DevReadReg
1296
+ Acm2_DevReadReg.argtypes = [c_uint32, c_uint, c_uint32, c_uint32, c_uint32, c_uint32, c_void_p]
1297
+ Acm2_DevReadReg.restype = c_uint32
1298
+ except:
1299
+ pass
1300
+
1301
+ try:
1302
+ Acm2_DevReadSubDeviceCommErrCnt = lib.Acm2_DevReadSubDeviceCommErrCnt
1303
+ Acm2_DevReadSubDeviceCommErrCnt.argtypes = [c_uint32, POINTER(c_uint32), POINTER(c_uint32)]
1304
+ Acm2_DevReadSubDeviceCommErrCnt.restype = c_uint32
1305
+ except:
1306
+ pass
1307
+
1308
+ try:
1309
+ Acm2_Ax1DCompensateTable = lib.Acm2_Ax1DCompensateTable
1310
+ Acm2_Ax1DCompensateTable.argtypes = [c_uint32, c_double, c_double, POINTER(c_double), c_uint32, c_uint32]
1311
+ Acm2_Ax1DCompensateTable.restype = c_uint32
1312
+ except:
1313
+ pass
1314
+
1315
+ try:
1316
+ Acm2_Ax2DCompensateTable = lib.Acm2_Ax2DCompensateTable
1317
+ Acm2_Ax2DCompensateTable.argtypes = [c_uint32, c_uint32, c_double, c_double, c_double, c_double, POINTER(c_double), POINTER(c_double), c_uint32, c_uint32]
1318
+ Acm2_Ax2DCompensateTable.restype = c_uint32
1319
+ except:
1320
+ pass
1321
+
1322
+ try:
1323
+ Acm2_AxZAxisCompensateTable = lib.Acm2_AxZAxisCompensateTable
1324
+ Acm2_AxZAxisCompensateTable.argtypes = [c_uint32, c_uint32, c_uint32, c_double, c_double, c_double, c_double, POINTER(c_double), c_uint32, c_uint32]
1325
+ Acm2_AxZAxisCompensateTable.restype = c_uint32
1326
+ except:
1327
+ pass
1328
+
1329
+ try:
1330
+ Acm2_AxGetCompensatePosition = lib.Acm2_AxGetCompensatePosition
1331
+ Acm2_AxGetCompensatePosition.argtypes = [c_uint32, POINTER(c_double)]
1332
+ Acm2_AxGetCompensatePosition.restype = c_uint32
1333
+ except:
1334
+ pass
1335
+
1336
+ try:
1337
+ Acm2_DevOscChannelDataStart = lib.Acm2_DevOscChannelDataStart
1338
+ Acm2_DevOscChannelDataStart.argtypes = [c_uint32]
1339
+ Acm2_DevOscChannelDataStart.restype = c_uint32
1340
+ except:
1341
+ pass
1342
+
1343
+ try:
1344
+ Acm2_DevOscChannelDataStop = lib.Acm2_DevOscChannelDataStop
1345
+ Acm2_DevOscChannelDataStop.argtypes = [c_uint32]
1346
+ Acm2_DevOscChannelDataStop.restype = c_uint32
1347
+ except:
1348
+ pass
1349
+
1350
+ try:
1351
+ Acm2_DevGetOscChannelDataConfig = lib.Acm2_DevGetOscChannelDataConfig
1352
+ Acm2_DevGetOscChannelDataConfig.argtypes = [c_uint32, c_uint16, POINTER(OSC_PROFILE_PRM)]
1353
+ Acm2_DevGetOscChannelDataConfig.restype = c_uint32
1354
+ except:
1355
+ pass
1356
+
1357
+ try:
1358
+ Acm2_DevSetOscChannelDataConfig = lib.Acm2_DevSetOscChannelDataConfig
1359
+ Acm2_DevSetOscChannelDataConfig.argtypes = [c_uint32, c_uint16, OSC_PROFILE_PRM]
1360
+ Acm2_DevSetOscChannelDataConfig.restype = c_uint32
1361
+ except:
1362
+ pass
1363
+
1364
+ try:
1365
+ Acm2_DevGetOscChannelData = lib.Acm2_DevGetOscChannelData
1366
+ Acm2_DevGetOscChannelData.argtypes = [c_uint32, c_uint16, c_uint32, POINTER(c_uint32), POINTER(c_double)]
1367
+ Acm2_DevGetOscChannelData.restype = c_uint32
1368
+ except:
1369
+ pass
1370
+
1371
+ try:
1372
+ Acm2_DevGetOscChannelStatus = lib.Acm2_DevGetOscChannelStatus
1373
+ Acm2_DevGetOscChannelStatus.argtypes = [c_uint32, POINTER(c_uint32)]
1374
+ Acm2_DevGetOscChannelStatus.restype = c_uint32
1375
+ except:
1376
+ pass
1377
+
1378
+ class AdvCmnAPI:
1379
+ # Device
1380
+ try:
1381
+ Acm_GetAvailableDevs = lib.Acm_GetAvailableDevs
1382
+ Acm_GetAvailableDevs.argtypes = [POINTER(DEVLIST), c_uint32, POINTER(c_uint32)]
1383
+ Acm_GetAvailableDevs.restype = c_uint32
1384
+ except:
1385
+ pass
1386
+
1387
+ try:
1388
+ Acm_GetErrorMessage = lib.Acm_GetErrorMessage
1389
+ Acm_GetErrorMessage.argtypes = [c_uint32, c_char_p, c_uint32]
1390
+ Acm_GetErrorMessage.restype = c_bool
1391
+ except:
1392
+ pass
1393
+
1394
+ try:
1395
+ Acm_DevOpen = lib.Acm_DevOpen
1396
+ Acm_DevOpen.argtypes = [c_uint32, POINTER(c_void_p)]
1397
+ Acm_DevOpen.restype = c_uint32
1398
+ except:
1399
+ pass
1400
+
1401
+ try:
1402
+ Acm_DevECATOpen = lib.Acm_DevECATOpen
1403
+ Acm_DevECATOpen.argtypes = [c_uint32, c_uint16, c_uint16, c_uint16, POINTER(c_void_p)]
1404
+ Acm_DevECATOpen.restype = c_uint32
1405
+ except:
1406
+ pass
1407
+
1408
+ try:
1409
+ Acm_DevReOpen = lib.Acm_DevReOpen
1410
+ # Acm_DevReOpen.argtypes = [HANDLE]
1411
+ Acm_DevReOpen.argtypes = [c_void_p]
1412
+ Acm_DevReOpen.restype = c_uint32
1413
+ except:
1414
+ pass
1415
+
1416
+ try:
1417
+ Acm_DevClose = lib.Acm_DevClose
1418
+ # Acm_DevClose.argtypes = [POINTER(HANDLE)]
1419
+ Acm_DevClose.argtypes = [POINTER(c_void_p)]
1420
+ Acm_DevClose.restype = c_uint32
1421
+ except:
1422
+ pass
1423
+
1424
+ try:
1425
+ Acm_GetLastError = lib.Acm_GetLastError
1426
+ Acm_GetLastError.argtypes = [c_void_p]
1427
+ Acm_GetLastError.restype = c_uint32
1428
+ except:
1429
+ pass
1430
+
1431
+ try:
1432
+ Acm_GetProperty = lib.Acm_GetProperty
1433
+ Acm_GetProperty.argtypes = [c_void_p, c_uint32, c_void_p, POINTER(c_uint32)]
1434
+ Acm_GetProperty.restype = c_uint32
1435
+ except:
1436
+ pass
1437
+
1438
+ try:
1439
+ Acm_SetProperty = lib.Acm_SetProperty
1440
+ Acm_SetProperty.argtypes = [c_void_p, c_uint32, c_void_p, c_uint32]
1441
+ Acm_SetProperty.restype = c_uint32
1442
+ except:
1443
+ pass
1444
+
1445
+ try:
1446
+ Acm_GetU32Property = lib.Acm_GetU32Property
1447
+ Acm_GetU32Property.argtypes = [c_void_p, c_uint32, POINTER(c_uint32)]
1448
+ Acm_GetU32Property.restype = c_uint32
1449
+ except:
1450
+ pass
1451
+
1452
+ try:
1453
+ Acm_GetI32Property = lib.Acm_GetI32Property
1454
+ Acm_GetI32Property.argtypes = [c_void_p, c_uint32, POINTER(c_int32)]
1455
+ Acm_GetI32Property.restype = c_uint32
1456
+ except:
1457
+ pass
1458
+
1459
+ try:
1460
+ Acm_GetF64Property = lib.Acm_GetF64Property
1461
+ Acm_GetF64Property.argtypes = [c_void_p, c_uint32, POINTER(c_double)]
1462
+ Acm_GetF64Property.restype = c_uint32
1463
+ except:
1464
+ pass
1465
+
1466
+ try:
1467
+ Acm_GetStringProperty = lib.Acm_GetStringProperty
1468
+ Acm_GetStringProperty.argtypes = [c_void_p, c_uint32, POINTER(c_uint8)]
1469
+ Acm_GetStringProperty.restype = c_uint32
1470
+ except:
1471
+ pass
1472
+
1473
+ try:
1474
+ Acm_SetU32Property = lib.Acm_SetU32Property
1475
+ Acm_SetU32Property.argtypes = [c_void_p, c_uint32, c_uint32]
1476
+ Acm_SetU32Property.restype = c_uint32
1477
+ except:
1478
+ pass
1479
+
1480
+ try:
1481
+ Acm_SetI32Property = lib.Acm_SetI32Property
1482
+ Acm_SetI32Property.argtypes = [c_void_p, c_uint32, c_int32]
1483
+ Acm_SetI32Property.restype = c_uint32
1484
+ except:
1485
+ pass
1486
+
1487
+ try:
1488
+ Acm_SetF64Property = lib.Acm_SetF64Property
1489
+ Acm_SetF64Property.argtypes = [c_void_p, c_uint32, c_double]
1490
+ Acm_SetF64Property.restype = c_uint32
1491
+ except:
1492
+ pass
1493
+
1494
+ try:
1495
+ Acm_SetStringProperty = lib.Acm_SetStringProperty
1496
+ Acm_SetStringProperty.argtypes = [c_void_p, c_uint32, POINTER(c_uint8)]
1497
+ Acm_SetStringProperty.restype = c_uint32
1498
+ except:
1499
+ pass
1500
+
1501
+ try:
1502
+ Acm_GetMultiProperty = lib.Acm_GetMultiProperty
1503
+ Acm_GetMultiProperty.argtypes = [c_void_p, POINTER(c_uint32), POINTER(c_double), c_uint32, POINTER(c_uint32)]
1504
+ Acm_GetMultiProperty.restype = c_uint32
1505
+ except:
1506
+ pass
1507
+
1508
+ try:
1509
+ Acm_SetMultiU32Property = lib.Acm_SetMultiU32Property
1510
+ Acm_SetMultiU32Property.argtypes = [c_void_p, POINTER(c_uint32), POINTER(c_uint32), c_uint32]
1511
+ Acm_SetMultiU32Property.restype = c_uint32
1512
+ except:
1513
+ pass
1514
+
1515
+ try:
1516
+ Acm_SetMultiI32Property = lib.Acm_SetMultiI32Property
1517
+ Acm_SetMultiI32Property.argtypes = [c_void_p, POINTER(c_uint32), POINTER(c_int32), c_uint32]
1518
+ Acm_SetMultiI32Property.restype = c_uint32
1519
+ except:
1520
+ pass
1521
+
1522
+ try:
1523
+ Acm_SetMultiF64Property = lib.Acm_SetMultiF64Property
1524
+ Acm_SetMultiF64Property.argtypes = [c_void_p, POINTER(c_uint32), POINTER(c_double), c_uint32]
1525
+ Acm_SetMultiF64Property.restype = c_uint32
1526
+ except:
1527
+ pass
1528
+
1529
+ try:
1530
+ Acm_GetChannelProperty = lib.Acm_GetChannelProperty
1531
+ Acm_GetChannelProperty.argtypes = [c_void_p, c_uint32, c_uint32, POINTER(c_double)]
1532
+ Acm_GetChannelProperty.restype = c_uint32
1533
+ except:
1534
+ pass
1535
+
1536
+ try:
1537
+ Acm_SetChannelProperty = lib.Acm_SetChannelProperty
1538
+ Acm_SetChannelProperty.argtypes = [c_void_p, c_uint32, c_uint32, c_double]
1539
+ Acm_SetChannelProperty.restype = c_uint32
1540
+ except:
1541
+ pass
1542
+
1543
+ try:
1544
+ Acm_GetMultiChannelProperty = lib.Acm_GetMultiChannelProperty
1545
+ Acm_GetMultiChannelProperty.argtypes = [c_void_p, c_uint32, c_uint32, c_uint32, POINTER(c_double)]
1546
+ Acm_GetMultiChannelProperty.restype = c_uint32
1547
+ except:
1548
+ pass
1549
+
1550
+ try:
1551
+ Acm_SetMultiChannelProperty = lib.Acm_SetMultiChannelProperty
1552
+ Acm_SetMultiChannelProperty.argtypes = [c_void_p, c_uint32, c_uint32, c_uint32, POINTER(c_double)]
1553
+ Acm_SetMultiChannelProperty.restype = c_uint32
1554
+ except:
1555
+ pass
1556
+
1557
+ try:
1558
+ Acm_DevEnableEvent = lib.Acm_DevEnableEvent
1559
+ Acm_DevEnableEvent.argtypes = [c_void_p, c_uint32]
1560
+ Acm_DevEnableEvent.restype = c_uint32
1561
+ except:
1562
+ pass
1563
+
1564
+ try:
1565
+ Acm_DevCheckEvent = lib.Acm_DevCheckEvent
1566
+ Acm_DevCheckEvent.argtypes = [c_void_p, POINTER(c_uint32), c_uint32]
1567
+ Acm_DevCheckEvent.restype = c_uint32
1568
+ except:
1569
+ pass
1570
+
1571
+ try:
1572
+ Acm_EnableMotionEvent = lib.Acm_EnableMotionEvent
1573
+ Acm_EnableMotionEvent.argtypes = [c_void_p, POINTER(c_uint32), POINTER(c_uint32), c_uint32, c_uint32]
1574
+ Acm_EnableMotionEvent.restype = c_uint32
1575
+ except:
1576
+ pass
1577
+
1578
+ try:
1579
+ Acm_CheckMotionEvent = lib.Acm_CheckMotionEvent
1580
+ Acm_CheckMotionEvent.argtypes = [c_void_p, POINTER(c_uint32), POINTER(c_uint32), c_uint32, c_uint32, c_uint32]
1581
+ Acm_CheckMotionEvent.restype = c_uint32
1582
+ except:
1583
+ pass
1584
+
1585
+ try:
1586
+ Acm_CancelCheckEvent = lib.Acm_CancelCheckEvent
1587
+ Acm_CancelCheckEvent.argtypes = [c_void_p]
1588
+ Acm_CancelCheckEvent.restype = c_uint32
1589
+ except:
1590
+ pass
1591
+
1592
+ try:
1593
+ Acm_DevEnableEvent_All = lib.Acm_DevEnableEvent_All
1594
+ Acm_DevEnableEvent_All.argtypes = [c_void_p, POINTER(c_uint32), POINTER(c_uint32), POINTER(c_uint32), c_uint32, c_uint32]
1595
+ Acm_DevEnableEvent_All.restype = c_uint32
1596
+ except:
1597
+ pass
1598
+
1599
+ try:
1600
+ Acm_DevCheckEvent_All = lib.Acm_DevCheckEvent_All
1601
+ Acm_DevCheckEvent_All.argtypes = [c_void_p, POINTER(c_uint32), POINTER(c_uint32), POINTER(c_uint32), c_uint32, c_uint32, c_uint32]
1602
+ Acm_DevCheckEvent_All.restype = c_uint32
1603
+ except:
1604
+ pass
1605
+
1606
+ try:
1607
+ Acm_DevLoadConfig = lib.Acm_DevLoadConfig
1608
+ Acm_DevLoadConfig.argtypes = [c_void_p, c_uint32, c_uint32]
1609
+ Acm_DevLoadConfig.restype = c_uint32
1610
+ except:
1611
+ pass
1612
+
1613
+ try:
1614
+ Acm_DevSlaveFwDownload = lib.Acm_DevSlaveFwDownload
1615
+ Acm_DevSlaveFwDownload.argtypes = [c_void_p, c_uint16, c_uint16, c_char_p, c_char_p, c_uint32]
1616
+ Acm_DevSlaveFwDownload.restype = c_uint32
1617
+ except:
1618
+ pass
1619
+
1620
+ # try:
1621
+ # Acm_DevDownloadCAMTable = lib.Acm_DevDownloadCAMTable
1622
+ # Acm_DevDownloadCAMTable.argtypes = [c_void_p, c_uint32, POINTER(c_double), POINTER(c_double),
1623
+ # POINTER(c_double), POINTER(c_double), c_uint32]
1624
+ # Acm_DevDownloadCAMTable.restype = c_uint32
1625
+ # except:
1626
+ # pass
1627
+
1628
+ # try:
1629
+ # Acm_DevLoadCAMTableFile = lib.Acm_DevLoadCAMTableFile
1630
+ # Acm_DevLoadCAMTableFile.argtypes = [c_void_p, c_char_p, c_uint32, POINTER(c_uint32), POINTER(c_uint32)]
1631
+ # Acm_DevLoadCAMTableFile.restype = c_uint32
1632
+ # except:
1633
+ # pass
1634
+
1635
+ # try:
1636
+ # Acm_DevConfigCAMTable = lib.Acm_DevConfigCAMTable
1637
+ # Acm_DevConfigCAMTable.argtypes = [c_void_p, c_uint32, c_uint32, c_uint32, c_uint32]
1638
+ # Acm_DevConfigCAMTable.restype = c_uint32
1639
+ # except:
1640
+ # pass
1641
+
1642
+ try:
1643
+ Acm_DevReadMailBox = lib.Acm_DevReadMailBox
1644
+ Acm_DevReadMailBox.argtypes = [c_void_p, c_uint16, c_uint32, c_uint32, POINTER(c_uint32)]
1645
+ Acm_DevReadMailBox.restype = c_uint32
1646
+ except:
1647
+ pass
1648
+
1649
+ try:
1650
+ Acm_DevReadMultiMailBox = lib.Acm_DevReadMultiMailBox
1651
+ Acm_DevReadMultiMailBox.argtypes = [c_void_p, c_uint8, POINTER(c_uint16), POINTER(c_uint32), POINTER(c_uint32), c_uint32]
1652
+ Acm_DevReadMultiMailBox.restype = c_uint32
1653
+ except:
1654
+ pass
1655
+
1656
+ try:
1657
+ Acm_DevWriteMailBox = lib.Acm_DevWriteMailBox
1658
+ Acm_DevWriteMailBox.argtypes = [c_void_p, c_uint16, c_uint32, c_uint32, POINTER(c_uint32)]
1659
+ Acm_DevWriteMailBox.restype = c_uint32
1660
+ except:
1661
+ pass
1662
+
1663
+ try:
1664
+ Acm_DevWriteDPMData = lib.Acm_DevWriteDPMData
1665
+ Acm_DevWriteDPMData.argtypes = [c_void_p, c_uint16, c_uint32, c_uint32, POINTER(c_uint32)]
1666
+ Acm_DevWriteDPMData.restype = c_uint32
1667
+ except:
1668
+ pass
1669
+
1670
+ try:
1671
+ Acm_DevWriteMultiMailBox = lib.Acm_DevWriteMultiMailBox
1672
+ Acm_DevWriteMultiMailBox.argtypes = [c_void_p, c_uint8, POINTER(c_uint16), POINTER(c_uint32), POINTER(c_uint32), c_uint32]
1673
+ Acm_DevWriteMultiMailBox.restype = c_uint32
1674
+ except:
1675
+ pass
1676
+
1677
+ try:
1678
+ Acm_WriteRingBuffer = lib.Acm_WriteRingBuffer
1679
+ Acm_WriteRingBuffer.argtypes = [c_void_p, c_uint32, c_uint32, c_uint32, POINTER(c_uint32)]
1680
+ Acm_WriteRingBuffer.restype = c_uint32
1681
+ except:
1682
+ pass
1683
+
1684
+ try:
1685
+ Acm_ReadRingBuffer = lib.Acm_ReadRingBuffer
1686
+ Acm_ReadRingBuffer.argtypes = [c_void_p, POINTER(c_uint32), POINTER(c_uint32), c_uint32, POINTER(c_uint32)]
1687
+ Acm_ReadRingBuffer.restype = c_uint32
1688
+ except:
1689
+ pass
1690
+
1691
+ try:
1692
+ Acm_LoadENI = lib.Acm_LoadENI
1693
+ Acm_LoadENI.argtypes = [c_void_p, c_char_p]
1694
+ Acm_LoadENI.restype = c_uint32
1695
+ except:
1696
+ pass
1697
+
1698
+ try:
1699
+ Acm_DevGetComStatus = lib.Acm_DevGetComStatus
1700
+ Acm_DevGetComStatus.argtypes = [c_void_p, c_uint16, POINTER(c_uint16)]
1701
+ Acm_DevGetComStatus.restype = c_uint32
1702
+ except:
1703
+ pass
1704
+
1705
+ try:
1706
+ Acm_DevGetErrorTable = lib.Acm_DevGetErrorTable
1707
+ Acm_DevGetErrorTable.argtypes = [c_void_p, c_uint16, POINTER(c_uint32), POINTER(c_uint32)]
1708
+ Acm_DevGetErrorTable.restype = c_uint32
1709
+ except:
1710
+ pass
1711
+
1712
+ try:
1713
+ Acm_DevGetMasInfo = lib.Acm_DevGetMasInfo
1714
+ Acm_DevGetMasInfo.argtypes = [c_void_p, c_void_p, POINTER(c_uint16), POINTER(c_uint32)]
1715
+ Acm_DevGetMasInfo.restype = c_uint32
1716
+ except:
1717
+ pass
1718
+
1719
+ try:
1720
+ Acm_DevGetMasStates = lib.Acm_DevGetMasStates
1721
+ Acm_DevGetMasStates.argtypes = [c_void_p, c_uint16, POINTER(c_uint16), POINTER(c_uint16)]
1722
+ Acm_DevGetMasStates.restype = c_uint32
1723
+ except:
1724
+ pass
1725
+
1726
+ try:
1727
+ Acm_DevGetSlaveInfo = lib.Acm_DevGetSlaveInfo
1728
+ Acm_DevGetSlaveInfo.argtypes = [c_void_p, c_uint16, c_uint16, c_void_p]
1729
+ Acm_DevGetSlaveInfo.restype = c_uint32
1730
+ except:
1731
+ pass
1732
+
1733
+ try:
1734
+ Acm_DevGetModuleInfo = lib.Acm_DevGetModuleInfo
1735
+ Acm_DevGetModuleInfo.argtypes = [c_void_p, c_uint16, c_uint16, POINTER(c_uint32), POINTER(c_uint32)]
1736
+ Acm_DevGetModuleInfo.restype = c_uint32
1737
+ except:
1738
+ pass
1739
+
1740
+ try:
1741
+ Acm_DevGetIOInfo = lib.Acm_DevGetIOInfo
1742
+ Acm_DevGetIOInfo.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, c_uint8, c_void_p]
1743
+ Acm_DevGetIOInfo.restype = c_uint32
1744
+ except:
1745
+ pass
1746
+
1747
+ try:
1748
+ Acm_DevGetSlaveDataCnt = lib.Acm_DevGetSlaveDataCnt
1749
+ Acm_DevGetSlaveDataCnt.argtypes = [c_void_p, c_uint16, c_uint16, c_uint8, POINTER(c_uint32)]
1750
+ Acm_DevGetSlaveDataCnt.restype = c_uint32
1751
+ except:
1752
+ pass
1753
+
1754
+ try:
1755
+ Acm_DevGetSlaveFwVersion = lib.Acm_DevGetSlaveFwVersion
1756
+ Acm_DevGetSlaveFwVersion.argtypes = [c_void_p, c_uint16, c_uint16, c_char_p]
1757
+ Acm_DevGetSlaveFwVersion.restype = c_uint32
1758
+ except:
1759
+ pass
1760
+
1761
+ try:
1762
+ Acm_DevSetSlaveID = lib.Acm_DevSetSlaveID
1763
+ Acm_DevSetSlaveID.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16]
1764
+ Acm_DevSetSlaveID.restype = c_uint32
1765
+ except:
1766
+ pass
1767
+
1768
+ try:
1769
+ Acm_CheckVersion = lib.Acm_CheckVersion
1770
+ Acm_CheckVersion.argtypes = [c_void_p, c_uint32, POINTER(c_uint32)]
1771
+ Acm_CheckVersion.restype = c_uint32
1772
+ except:
1773
+ pass
1774
+
1775
+ try:
1776
+ Acm_DevMultiTrigSetPWMTableOnTime = lib.Acm_DevMultiTrigSetPWMTableOnTime
1777
+ Acm_DevMultiTrigSetPWMTableOnTime.argtypes = [c_void_p, POINTER(c_uint32), c_uint32]
1778
+ Acm_DevMultiTrigSetPWMTableOnTime.restype = c_uint32
1779
+ except:
1780
+ pass
1781
+
1782
+ try:
1783
+ Acm_DevMultiTrigSetCmpDO = lib.Acm_DevMultiTrigSetCmpDO
1784
+ Acm_DevMultiTrigSetCmpDO.argtypes = [c_void_p, c_uint32]
1785
+ Acm_DevMultiTrigSetCmpDO.restype = c_uint32
1786
+ except:
1787
+ pass
1788
+
1789
+ try:
1790
+ Acm_DevMultiTrigForceCmpOut = lib.Acm_DevMultiTrigForceCmpOut
1791
+ Acm_DevMultiTrigForceCmpOut.argtypes = [c_void_p, c_uint32]
1792
+ Acm_DevMultiTrigForceCmpOut.restype = c_uint32
1793
+ except:
1794
+ pass
1795
+
1796
+ try:
1797
+ Acm_DevMutiTrigSetCmpDO = lib.Acm_DevMutiTrigSetCmpDO
1798
+ Acm_DevMutiTrigSetCmpDO.argtypes = [c_void_p, c_uint32]
1799
+ Acm_DevMutiTrigSetCmpDO.restype = c_uint32
1800
+ except:
1801
+ pass
1802
+
1803
+ try:
1804
+ Acm_DevMutiTrigForceCmpOut = lib.Acm_DevMutiTrigForceCmpOut
1805
+ Acm_DevMutiTrigForceCmpOut.argtypes = [c_void_p, c_uint32]
1806
+ Acm_DevMutiTrigForceCmpOut.restype = c_uint32
1807
+ except:
1808
+ pass
1809
+
1810
+ try:
1811
+ Acm_MasStartRing = lib.Acm_MasStartRing
1812
+ Acm_MasStartRing.argtypes = [c_void_p, c_uint16]
1813
+ Acm_MasStartRing.restype = c_uint32
1814
+ except:
1815
+ pass
1816
+
1817
+ try:
1818
+ Acm_MasStopRing = lib.Acm_MasStopRing
1819
+ Acm_MasStopRing.argtypes = [c_void_p, c_uint16]
1820
+ Acm_MasStopRing.restype = c_uint32
1821
+ except:
1822
+ pass
1823
+
1824
+ try:
1825
+ Acm_MasGetComStatus = lib.Acm_MasGetComStatus
1826
+ Acm_MasGetComStatus.argtypes = [c_void_p, c_uint16, POINTER(c_uint16)]
1827
+ Acm_MasGetComStatus.restype = c_uint32
1828
+ except:
1829
+ pass
1830
+
1831
+ try:
1832
+ Acm_MasGetComCyclicTime = lib.Acm_MasGetComCyclicTime
1833
+ Acm_MasGetComCyclicTime.argtypes = [c_void_p, c_uint16, POINTER(c_double)]
1834
+ Acm_MasGetComCyclicTime.restype = c_uint32
1835
+ except:
1836
+ pass
1837
+
1838
+ try:
1839
+ Acm_MasGetDataCyclicTime = lib.Acm_MasGetDataCyclicTime
1840
+ Acm_MasGetDataCyclicTime.argtypes = [c_void_p, c_uint16, POINTER(c_double)]
1841
+ Acm_MasGetDataCyclicTime.restype = c_uint32
1842
+ except:
1843
+ pass
1844
+
1845
+ try:
1846
+ Acm_MasGetActiveTable = lib.Acm_MasGetActiveTable
1847
+ Acm_MasGetActiveTable.argtypes = [c_void_p, c_uint16, POINTER(c_uint32), POINTER(c_uint32)]
1848
+ Acm_MasGetActiveTable.restype = c_uint32
1849
+ except:
1850
+ pass
1851
+
1852
+ try:
1853
+ Acm_MasGetErrorTable = lib.Acm_MasGetErrorTable
1854
+ Acm_MasGetErrorTable.argtypes = [c_void_p, c_uint16, POINTER(c_uint32), POINTER(c_uint32)]
1855
+ Acm_MasGetErrorTable.restype = c_uint32
1856
+ except:
1857
+ pass
1858
+
1859
+ try:
1860
+ Acm_MasGetSlaveInfo = lib.Acm_MasGetSlaveInfo
1861
+ Acm_MasGetSlaveInfo.argtypes = [c_void_p, c_uint16, c_uint16, POINTER(c_uint32)]
1862
+ Acm_MasGetSlaveInfo.restype = c_uint32
1863
+ except:
1864
+ pass
1865
+
1866
+ try:
1867
+ Acm_MasLogComStatus = lib.Acm_MasLogComStatus
1868
+ Acm_MasLogComStatus.argtypes = [c_void_p, c_uint16]
1869
+ Acm_MasLogComStatus.restype = c_uint32
1870
+ except:
1871
+ pass
1872
+
1873
+ try:
1874
+ Acm_DevDownloadScanData = lib.Acm_DevDownloadScanData
1875
+ Acm_DevDownloadScanData.argtypes = [c_void_p, POINTER(DEV_PRE_SCAN_DATA), c_uint32]
1876
+ Acm_DevDownloadScanData.restype = c_uint32
1877
+ except:
1878
+ pass
1879
+ # Axis
1880
+ try:
1881
+ Acm_AxOpen = lib.Acm_AxOpen
1882
+ Acm_AxOpen.argtypes = [c_void_p, c_uint16, POINTER(c_void_p)]
1883
+ Acm_AxOpen.restype = c_uint32
1884
+ except:
1885
+ pass
1886
+
1887
+ try:
1888
+ Acm_AxOpenbyID = lib.Acm_AxOpenbyID
1889
+ Acm_AxOpenbyID.argtypes = [c_void_p, c_uint16, c_uint8, POINTER(c_void_p)]
1890
+ Acm_AxOpenbyID.restype = c_uint32
1891
+ except:
1892
+ pass
1893
+
1894
+ try:
1895
+ Acm_AxClose = lib.Acm_AxClose
1896
+ Acm_AxClose.argtypes = [POINTER(c_void_p)]
1897
+ Acm_AxClose.restype = c_uint32
1898
+ except:
1899
+ pass
1900
+
1901
+ try:
1902
+ Acm_AxSetSvOn = lib.Acm_AxSetSvOn
1903
+ Acm_AxSetSvOn.argtypes = [c_void_p, c_uint32]
1904
+ Acm_AxSetSvOn.restype = c_uint32
1905
+ except:
1906
+ pass
1907
+
1908
+ try:
1909
+ Acm_AxResetAlm = lib.Acm_AxResetAlm
1910
+ Acm_AxResetAlm.argtypes = [c_void_p, c_uint32]
1911
+ Acm_AxResetAlm.restype = c_uint32
1912
+ except:
1913
+ pass
1914
+
1915
+ try:
1916
+ Acm_AxMoveRel = lib.Acm_AxMoveRel
1917
+ Acm_AxMoveRel.argtypes = [c_void_p, c_double]
1918
+ Acm_AxMoveRel.restype = c_uint32
1919
+ except:
1920
+ pass
1921
+
1922
+ try:
1923
+ Acm_AxMoveRel_T = lib.Acm_AxMoveRel_T
1924
+ Acm_AxMoveRel_T.argtypes = [c_void_p, c_double, c_double, c_double]
1925
+ Acm_AxMoveRel_T.restype = c_uint32
1926
+ except:
1927
+ pass
1928
+
1929
+ try:
1930
+ Acm_AxMoveRel_SD = lib.Acm_AxMoveRel_SD
1931
+ Acm_AxMoveRel_SD.argtypes = [c_void_p, c_double, c_double]
1932
+ Acm_AxMoveRel_SD.restype = c_uint32
1933
+ except:
1934
+ pass
1935
+
1936
+ try:
1937
+ Acm_AxMoveRel_EC = lib.Acm_AxMoveRel_EC
1938
+ Acm_AxMoveRel_EC.argtypes = [c_void_p, c_double]
1939
+ Acm_AxMoveRel_EC.restype = c_uint32
1940
+ except:
1941
+ pass
1942
+
1943
+ try:
1944
+ Acm_AxMoveAbs = lib.Acm_AxMoveAbs
1945
+ Acm_AxMoveAbs.argtypes = [c_void_p, c_double]
1946
+ Acm_AxMoveAbs.restype = c_uint32
1947
+ except:
1948
+ pass
1949
+
1950
+ try:
1951
+ Acm_AxMoveAbs_T = lib.Acm_AxMoveAbs_T
1952
+ Acm_AxMoveAbs_T.argtypes = [c_void_p, c_double, c_double, c_double]
1953
+ Acm_AxMoveAbs_T.restype = c_uint32
1954
+ except:
1955
+ pass
1956
+
1957
+ try:
1958
+ Acm_AxMoveAbs_SD = lib.Acm_AxMoveAbs_SD
1959
+ Acm_AxMoveAbs_SD.argtypes = [c_void_p, c_double, c_double]
1960
+ Acm_AxMoveAbs_SD.restype = c_uint32
1961
+ except:
1962
+ pass
1963
+
1964
+ try:
1965
+ Acm_AxMoveAbs_EC = lib.Acm_AxMoveAbs_EC
1966
+ Acm_AxMoveAbs_EC.argtypes = [c_void_p, c_double]
1967
+ Acm_AxMoveAbs_EC.restype = c_uint32
1968
+ except:
1969
+ pass
1970
+
1971
+ try:
1972
+ Acm_AxMoveVel = lib.Acm_AxMoveVel
1973
+ Acm_AxMoveVel.argtypes = [c_void_p, c_uint16]
1974
+ Acm_AxMoveVel.restype = c_uint32
1975
+ except:
1976
+ pass
1977
+
1978
+ try:
1979
+ Acm_AxStopDec = lib.Acm_AxStopDec
1980
+ Acm_AxStopDec.argtypes = [c_void_p]
1981
+ Acm_AxStopDec.restype = c_uint32
1982
+ except:
1983
+ pass
1984
+
1985
+ try:
1986
+ Acm_AxStopDecEx = lib.Acm_AxStopDecEx
1987
+ Acm_AxStopDecEx.argtypes = [c_void_p, c_double]
1988
+ Acm_AxStopDecEx.restype = c_uint32
1989
+ except:
1990
+ pass
1991
+
1992
+ try:
1993
+ Acm_AxStopEmg = lib.Acm_AxStopEmg
1994
+ Acm_AxStopEmg.argtypes = [c_void_p]
1995
+ Acm_AxStopEmg.restype = c_uint32
1996
+ except:
1997
+ pass
1998
+
1999
+ try:
2000
+ Acm_AxMoveImpose = lib.Acm_AxMoveImpose
2001
+ Acm_AxMoveImpose.argtypes = [c_void_p, c_double, c_double]
2002
+ Acm_AxMoveImpose.restype = c_uint32
2003
+ except:
2004
+ pass
2005
+
2006
+ try:
2007
+ Acm_AxHomeEx = lib.Acm_AxHomeEx
2008
+ Acm_AxHomeEx.argtypes = [c_void_p, c_uint32]
2009
+ Acm_AxHomeEx.restype = c_uint32
2010
+ except:
2011
+ pass
2012
+
2013
+ try:
2014
+ Acm_AxHome = lib.Acm_AxHome
2015
+ Acm_AxHome.argtypes = [c_void_p, c_uint32, c_uint32]
2016
+ Acm_AxHome.restype = c_uint32
2017
+ except:
2018
+ pass
2019
+
2020
+ try:
2021
+ Acm_AxMoveHome = lib.Acm_AxMoveHome
2022
+ Acm_AxMoveHome.argtypes = [c_void_p, c_uint32, c_uint32]
2023
+ Acm_AxMoveHome.restype = c_uint32
2024
+ except:
2025
+ pass
2026
+
2027
+ try:
2028
+ Acm_AxMoveGantryHome = lib.Acm_AxMoveGantryHome
2029
+ Acm_AxMoveGantryHome.argtypes = [c_void_p, c_uint32, c_uint32]
2030
+ Acm_AxMoveGantryHome.restype = c_uint32
2031
+ except:
2032
+ pass
2033
+
2034
+ try:
2035
+ Acm_AxChangeVel = lib.Acm_AxChangeVel
2036
+ Acm_AxChangeVel.argtypes = [c_void_p, c_double]
2037
+ Acm_AxChangeVel.restype = c_uint32
2038
+ except:
2039
+ pass
2040
+
2041
+ try:
2042
+ Acm_AxChangePos = lib.Acm_AxChangePos
2043
+ Acm_AxChangePos.argtypes = [c_void_p, c_double]
2044
+ Acm_AxChangePos.restype = c_uint32
2045
+ except:
2046
+ pass
2047
+
2048
+ try:
2049
+ Acm_AxChangeVelByRate = lib.Acm_AxChangeVelByRate
2050
+ Acm_AxChangeVelByRate.argtypes = [c_void_p, c_uint32]
2051
+ Acm_AxChangeVelByRate.restype = c_uint32
2052
+ except:
2053
+ pass
2054
+
2055
+ try:
2056
+ Acm_AxChangeVelEx = lib.Acm_AxChangeVelEx
2057
+ Acm_AxChangeVelEx.argtypes = [c_void_p, c_double, c_double, c_double]
2058
+ Acm_AxChangeVelEx.restype = c_uint32
2059
+ except:
2060
+ pass
2061
+
2062
+ try:
2063
+ Acm_AxChangeVelExByRate = lib.Acm_AxChangeVelExByRate
2064
+ Acm_AxChangeVelExByRate.argtypes = [c_void_p, c_uint32, c_double, c_double]
2065
+ Acm_AxChangeVelExByRate.restype = c_uint32
2066
+ except:
2067
+ pass
2068
+
2069
+ try:
2070
+ Acm_AxResetError = lib.Acm_AxResetError
2071
+ Acm_AxResetError.argtypes = [c_void_p]
2072
+ Acm_AxResetError.restype = c_uint32
2073
+ except:
2074
+ pass
2075
+
2076
+ try:
2077
+ Acm_AxGetState = lib.Acm_AxGetState
2078
+ Acm_AxGetState.argtypes = [c_void_p, POINTER(c_uint16)]
2079
+ Acm_AxGetState.restype = c_uint32
2080
+ except:
2081
+ pass
2082
+
2083
+ try:
2084
+ Acm_AxGetMotionIO = lib.Acm_AxGetMotionIO
2085
+ Acm_AxGetMotionIO.argtypes = [c_void_p, POINTER(c_uint32)]
2086
+ Acm_AxGetMotionIO.restype = c_uint32
2087
+ except:
2088
+ pass
2089
+
2090
+ try:
2091
+ Acm_AxGetMotionStatus = lib.Acm_AxGetMotionStatus
2092
+ Acm_AxGetMotionStatus.argtypes = [c_void_p, POINTER(c_uint32)]
2093
+ Acm_AxGetMotionStatus.restype = c_uint32
2094
+ except:
2095
+ pass
2096
+
2097
+ try:
2098
+ Acm_AxGetCmdPosition = lib.Acm_AxGetCmdPosition
2099
+ Acm_AxGetCmdPosition.argtypes = [c_void_p, POINTER(c_double)]
2100
+ Acm_AxGetCmdPosition.restype = c_uint32
2101
+ except:
2102
+ pass
2103
+
2104
+ try:
2105
+ Acm_AxGetMachPosition = lib.Acm_AxGetMachPosition
2106
+ Acm_AxGetMachPosition.argtypes = [c_void_p, POINTER(c_double)]
2107
+ Acm_AxGetMachPosition.restype = c_uint32
2108
+ except:
2109
+ pass
2110
+
2111
+ try:
2112
+ Acm_AxSetCmdPosition = lib.Acm_AxSetCmdPosition
2113
+ Acm_AxSetCmdPosition.argtypes = [c_void_p, POINTER(c_double)]
2114
+ Acm_AxSetCmdPosition.restype = c_uint32
2115
+ except:
2116
+ pass
2117
+
2118
+ try:
2119
+ Acm_AxGetActualPosition = lib.Acm_AxGetActualPosition
2120
+ Acm_AxGetActualPosition.argtypes = [c_void_p, POINTER(c_double)]
2121
+ Acm_AxGetActualPosition.restype = c_uint32
2122
+ except:
2123
+ pass
2124
+
2125
+ try:
2126
+ Acm_AxSetActualPosition = lib.Acm_AxSetActualPosition
2127
+ Acm_AxSetActualPosition.argtypes = [c_void_p, c_double]
2128
+ Acm_AxSetActualPosition.restype = c_uint32
2129
+ except:
2130
+ pass
2131
+
2132
+ try:
2133
+ Acm_AxGetCmdVelocity = lib.Acm_AxGetCmdVelocity
2134
+ Acm_AxGetCmdVelocity.argtypes = [c_void_p, POINTER(c_double)]
2135
+ Acm_AxGetCmdVelocity.restype = c_uint32
2136
+ except:
2137
+ pass
2138
+
2139
+ try:
2140
+ Acm_AxGetActVelocity = lib.Acm_AxGetActVelocity
2141
+ Acm_AxGetActVelocity.argtypes = [c_void_p, POINTER(c_double)]
2142
+ Acm_AxGetActVelocity.restype = c_uint32
2143
+ except:
2144
+ pass
2145
+
2146
+ try:
2147
+ Acm_AxGetLagCounter = lib.Acm_AxGetLagCounter
2148
+ Acm_AxGetLagCounter.argtypes = [c_void_p, POINTER(c_double)]
2149
+ Acm_AxGetLagCounter.restype = c_uint32
2150
+ except:
2151
+ pass
2152
+
2153
+ try:
2154
+ Acm_AxSetExtDrive = lib.Acm_AxSetExtDrive
2155
+ Acm_AxSetExtDrive.argtypes = [c_void_p, c_uint16]
2156
+ Acm_AxSetExtDrive.restype = c_uint32
2157
+ except:
2158
+ pass
2159
+
2160
+ try:
2161
+ Acm_AxDoSetBit = lib.Acm_AxDoSetBit
2162
+ Acm_AxDoSetBit.argtypes = [c_void_p, c_uint16, c_uint8]
2163
+ Acm_AxDoSetBit.restype = c_uint32
2164
+ except:
2165
+ pass
2166
+
2167
+ try:
2168
+ Acm_AxDiSetBit = lib.Acm_AxDiSetBit
2169
+ Acm_AxDiSetBit.argtypes = [c_void_p, c_uint16, c_uint8]
2170
+ Acm_AxDiSetBit.restype = c_uint32
2171
+ except:
2172
+ pass
2173
+
2174
+ try:
2175
+ Acm_AxDoGetBit = lib.Acm_AxDoGetBit
2176
+ Acm_AxDoGetBit.argtypes = [c_void_p, c_uint16, POINTER(c_uint8)]
2177
+ Acm_AxDoGetBit.restype = c_uint32
2178
+ except:
2179
+ pass
2180
+
2181
+ try:
2182
+ Acm_AxDiGetBit = lib.Acm_AxDiGetBit
2183
+ Acm_AxDiGetBit.argtypes = [c_void_p, c_uint16, POINTER(c_uint8)]
2184
+ Acm_AxDiGetBit.restype = c_uint32
2185
+ except:
2186
+ pass
2187
+
2188
+ try:
2189
+ Acm_AxDoSetByte = lib.Acm_AxDoSetByte
2190
+ Acm_AxDoSetByte.argtypes = [c_void_p, c_uint16, c_uint8]
2191
+ Acm_AxDoSetByte.restype = c_uint32
2192
+ except:
2193
+ pass
2194
+
2195
+ try:
2196
+ Acm_AxDoGetByte = lib.Acm_AxDoGetByte
2197
+ Acm_AxDoGetByte.argtypes = [c_void_p, c_uint16, POINTER(c_uint8)]
2198
+ Acm_AxDoGetByte.restype = c_uint32
2199
+ except:
2200
+ pass
2201
+
2202
+ try:
2203
+ Acm_AxDiGetByte = lib.Acm_AxDiGetByte
2204
+ Acm_AxDiGetByte.argtypes = [c_void_p, c_uint16, POINTER(c_uint8)]
2205
+ Acm_AxDiGetByte.restype = c_uint32
2206
+ except:
2207
+ pass
2208
+
2209
+ try:
2210
+ Acm_AxSimStartSuspendVel = lib.Acm_AxSimStartSuspendVel
2211
+ Acm_AxSimStartSuspendVel.argtypes = [c_void_p, c_uint16]
2212
+ Acm_AxSimStartSuspendVel.restype = c_uint32
2213
+ except:
2214
+ pass
2215
+
2216
+ try:
2217
+ Acm_AxSimStartSuspendRel = lib.Acm_AxSimStartSuspendRel
2218
+ Acm_AxSimStartSuspendRel.argtypes = [c_void_p, c_double]
2219
+ Acm_AxSimStartSuspendRel.restype = c_uint32
2220
+ except:
2221
+ pass
2222
+
2223
+ try:
2224
+ Acm_AxSimStartSuspendAbs = lib.Acm_AxSimStartSuspendAbs
2225
+ Acm_AxSimStartSuspendAbs.argtypes = [c_void_p, c_double]
2226
+ Acm_AxSimStartSuspendAbs.restype = c_uint32
2227
+ except:
2228
+ pass
2229
+
2230
+ try:
2231
+ Acm_AxSimStart = lib.Acm_AxSimStart
2232
+ Acm_AxSimStart.argtypes = [c_void_p]
2233
+ Acm_AxSimStart.restype = c_uint32
2234
+ except:
2235
+ pass
2236
+
2237
+ try:
2238
+ Acm_AxSimStop = lib.Acm_AxSimStop
2239
+ Acm_AxSimStop.argtypes = [c_void_p]
2240
+ Acm_AxSimStop.restype = c_uint32
2241
+ except:
2242
+ pass
2243
+
2244
+ try:
2245
+ Acm_AxGetLatchData = lib.Acm_AxGetLatchData
2246
+ Acm_AxGetLatchData.argtypes = [c_void_p, c_uint32, POINTER(c_double)]
2247
+ Acm_AxGetLatchData.restype = c_uint32
2248
+ except:
2249
+ pass
2250
+
2251
+ try:
2252
+ Acm_AxStartSoftLatch = lib.Acm_AxStartSoftLatch
2253
+ Acm_AxStartSoftLatch.argtypes = [c_void_p]
2254
+ Acm_AxStartSoftLatch.restype = c_uint32
2255
+ except:
2256
+ pass
2257
+
2258
+ try:
2259
+ Acm_AxResetLatch = lib.Acm_AxResetLatch
2260
+ Acm_AxResetLatch.argtypes = [c_void_p]
2261
+ Acm_AxResetLatch.restype = c_uint32
2262
+ except:
2263
+ pass
2264
+
2265
+ try:
2266
+ Acm_AxGetLatchFlag = lib.Acm_AxGetLatchFlag
2267
+ Acm_AxGetLatchFlag.argtypes = [c_void_p, POINTER(c_uint8)]
2268
+ Acm_AxGetLatchFlag.restype = c_uint32
2269
+ except:
2270
+ pass
2271
+
2272
+ try:
2273
+ Acm_AxTriggerLatch = lib.Acm_AxTriggerLatch
2274
+ Acm_AxTriggerLatch.argtypes = [c_void_p]
2275
+ Acm_AxTriggerLatch.restype = c_uint32
2276
+ except:
2277
+ pass
2278
+
2279
+ try:
2280
+ Acm_AxReadLatchBuffer = lib.Acm_AxReadLatchBuffer
2281
+ Acm_AxReadLatchBuffer.argtypes = [c_void_p, POINTER(c_double), POINTER(c_uint32)]
2282
+ Acm_AxReadLatchBuffer.restype = c_uint32
2283
+ except:
2284
+ pass
2285
+
2286
+ try:
2287
+ Acm_AxResetLatchBuffer = lib.Acm_AxResetLatchBuffer
2288
+ Acm_AxResetLatchBuffer.argtypes = [c_void_p]
2289
+ Acm_AxResetLatchBuffer.restype = c_uint32
2290
+ except:
2291
+ pass
2292
+
2293
+ try:
2294
+ Acm_AxGetLatchBufferStatus = lib.Acm_AxGetLatchBufferStatus
2295
+ Acm_AxGetLatchBufferStatus.argtypes = [c_void_p, POINTER(c_uint32), POINTER(c_uint32)]
2296
+ Acm_AxGetLatchBufferStatus.restype = c_uint32
2297
+ except:
2298
+ pass
2299
+
2300
+ # try:
2301
+ # Acm_AxCamInAx = lib.Acm_AxCamInAx
2302
+ # Acm_AxCamInAx.argtypes = [c_void_p, c_void_p, c_double, c_double, c_double, c_double, c_uint32, c_uint32]
2303
+ # Acm_AxCamInAx.restype = c_uint32
2304
+ # except:
2305
+ # pass
2306
+
2307
+ try:
2308
+ Acm_AxGearInAx = lib.Acm_AxGearInAx
2309
+ Acm_AxGearInAx.argtypes = [c_void_p, c_void_p, c_int32, c_int32, c_uint32, c_uint32]
2310
+ Acm_AxGearInAx.restype = c_uint32
2311
+ except:
2312
+ pass
2313
+
2314
+ try:
2315
+ Acm_AxTangentInGp = lib.Acm_AxTangentInGp
2316
+ Acm_AxTangentInGp.argtypes = [c_void_p, c_void_p, POINTER(c_int16), c_uint8, c_int16]
2317
+ Acm_AxTangentInGp.restype = c_uint32
2318
+ except:
2319
+ pass
2320
+
2321
+ try:
2322
+ Acm_AxGantryInAx = lib.Acm_AxGantryInAx
2323
+ Acm_AxGantryInAx.argtypes = [c_void_p, c_void_p, c_int16, c_int16]
2324
+ Acm_AxGantryInAx.restype = c_uint32
2325
+ except:
2326
+ pass
2327
+
2328
+ try:
2329
+ Acm_AxPhaseAx = lib.Acm_AxPhaseAx
2330
+ Acm_AxPhaseAx.argtypes = [c_void_p, c_double, c_double, c_double, c_double]
2331
+ Acm_AxPhaseAx.restype = c_uint32
2332
+ except:
2333
+ pass
2334
+
2335
+ try:
2336
+ Acm_AxSetChannelCmpSetting = lib.Acm_AxSetChannelCmpSetting
2337
+ Acm_AxSetChannelCmpSetting.argtypes = [c_void_p, c_uint16, c_uint32, c_uint32, c_uint32, c_uint32]
2338
+ Acm_AxSetChannelCmpSetting.restype = c_uint32
2339
+ except:
2340
+ pass
2341
+
2342
+ try:
2343
+ Acm_AxGetChannelCmpSetting = lib.Acm_AxGetChannelCmpSetting
2344
+ Acm_AxGetChannelCmpSetting.argtypes = [c_void_p, c_uint16, POINTER(c_uint32), POINTER(c_uint32), POINTER(c_uint32), POINTER(c_uint32)]
2345
+ Acm_AxGetChannelCmpSetting.restype = c_uint32
2346
+ except:
2347
+ pass
2348
+
2349
+ try:
2350
+ Acm_AxResetChannelCmp = lib.Acm_AxResetChannelCmp
2351
+ Acm_AxResetChannelCmp.argtypes = [c_void_p, c_uint16]
2352
+ Acm_AxResetChannelCmp.restype = c_uint32
2353
+ except:
2354
+ pass
2355
+
2356
+ try:
2357
+ Acm_AxAddChannelCmpDatas = lib.Acm_AxAddChannelCmpDatas
2358
+ Acm_AxAddChannelCmpDatas.argtypes = [c_void_p, c_uint16, POINTER(c_double), c_uint32]
2359
+ Acm_AxAddChannelCmpDatas.restype = c_uint32
2360
+ except:
2361
+ pass
2362
+
2363
+ try:
2364
+ Acm_AxGetChannelCmpData = lib.Acm_AxGetChannelCmpData
2365
+ Acm_AxGetChannelCmpData.argtypes = [c_void_p, c_uint16, POINTER(c_double)]
2366
+ Acm_AxGetChannelCmpData.restype = c_uint32
2367
+ except:
2368
+ pass
2369
+
2370
+ try:
2371
+ Acm_AxLoadChannelNextData = lib.Acm_AxLoadChannelNextData
2372
+ Acm_AxLoadChannelNextData.argtypes = [c_void_p, c_uint16]
2373
+ Acm_AxLoadChannelNextData.restype = c_uint32
2374
+ except:
2375
+ pass
2376
+
2377
+ try:
2378
+ Acm_AxGetCmpbufferRemainCount = lib.Acm_AxGetCmpbufferRemainCount
2379
+ Acm_AxGetCmpbufferRemainCount.argtypes = [c_void_p, c_uint16, POINTER(c_uint32)]
2380
+ Acm_AxGetCmpbufferRemainCount.restype = c_uint32
2381
+ except:
2382
+ pass
2383
+
2384
+ try:
2385
+ Acm_AxSetCmpAuto = lib.Acm_AxSetCmpAuto
2386
+ Acm_AxSetCmpAuto.argtypes = [c_void_p, c_double, c_double, c_double]
2387
+ Acm_AxSetCmpAuto.restype = c_uint32
2388
+ except:
2389
+ pass
2390
+
2391
+ try:
2392
+ Acm_AxGetCmpData = lib.Acm_AxGetCmpData
2393
+ Acm_AxGetCmpData.argtypes = [c_void_p, POINTER(c_double)]
2394
+ Acm_AxGetCmpData.restype = c_uint32
2395
+ except:
2396
+ pass
2397
+
2398
+ try:
2399
+ Acm_AxSetCmpData = lib.Acm_AxSetCmpData
2400
+ Acm_AxSetCmpData.argtypes = [c_void_p, c_double]
2401
+ Acm_AxSetCmpData.restype = c_uint32
2402
+ except:
2403
+ pass
2404
+
2405
+ try:
2406
+ Acm_AxSetCmpTable = lib.Acm_AxSetCmpTable
2407
+ Acm_AxSetCmpTable.argtypes = [c_void_p, POINTER(c_double), c_int32]
2408
+ Acm_AxSetCmpTable.restype = c_uint32
2409
+ except:
2410
+ pass
2411
+
2412
+ try:
2413
+ Acm_AxChangeCmpIndex = lib.Acm_AxChangeCmpIndex
2414
+ Acm_AxChangeCmpIndex.argtypes = [c_void_p, c_uint32]
2415
+ Acm_AxChangeCmpIndex.restype = c_uint32
2416
+ except:
2417
+ pass
2418
+
2419
+ try:
2420
+ Acm_AxSetCmpBufferData = lib.Acm_AxSetCmpBufferData
2421
+ Acm_AxSetCmpBufferData.argtypes = [c_void_p, POINTER(c_double), c_int32]
2422
+ Acm_AxSetCmpBufferData.restype = c_uint32
2423
+ except:
2424
+ pass
2425
+
2426
+ try:
2427
+ Acm_AxResetCmpData = lib.Acm_AxResetCmpData
2428
+ Acm_AxResetCmpData.argtypes = [c_void_p]
2429
+ Acm_AxResetCmpData.restype = c_uint32
2430
+ except:
2431
+ pass
2432
+
2433
+ try:
2434
+ Acm_AxGetCmpBufferStatus = lib.Acm_AxGetCmpBufferStatus
2435
+ Acm_AxGetCmpBufferStatus.argtypes = [c_void_p, POINTER(c_uint32), POINTER(c_uint32), POINTER(c_uint32)]
2436
+ Acm_AxGetCmpBufferStatus.restype = c_uint32
2437
+ except:
2438
+ pass
2439
+
2440
+ try:
2441
+ Acm_AxResetMPGOffset = lib.Acm_AxResetMPGOffset
2442
+ Acm_AxResetMPGOffset.argtypes = [c_void_p]
2443
+ Acm_AxResetMPGOffset.restype = c_uint32
2444
+ except:
2445
+ pass
2446
+
2447
+ try:
2448
+ Acm_AxMovePTPBufferRel = lib.Acm_AxMovePTPBufferRel
2449
+ Acm_AxMovePTPBufferRel.argtypes = [c_void_p, c_uint16, POINTER(c_double), POINTER(c_double),
2450
+ POINTER(c_double), POINTER(c_uint16), c_uint32]
2451
+ Acm_AxMovePTPBufferRel.restype = c_uint32
2452
+ except:
2453
+ pass
2454
+
2455
+ try:
2456
+ Acm_AxMovePTPBufferAbs = lib.Acm_AxMovePTPBufferAbs
2457
+ Acm_AxMovePTPBufferAbs.argtypes = [c_void_p, c_uint16, POINTER(c_double), POINTER(c_double),
2458
+ POINTER(c_double), POINTER(c_uint16), c_uint32]
2459
+ Acm_AxMovePTPBufferAbs.restype = c_uint32
2460
+ except:
2461
+ pass
2462
+
2463
+ try:
2464
+ Acm_AxEnableCompensation = lib.Acm_AxEnableCompensation
2465
+ Acm_AxEnableCompensation.argtypes = [c_void_p, c_double]
2466
+ Acm_AxEnableCompensation.restype = c_uint32
2467
+ except:
2468
+ pass
2469
+
2470
+ try:
2471
+ Acm_AxGetCompensationValue = lib.Acm_AxGetCompensationValue
2472
+ Acm_AxGetCompensationValue.argtypes = [c_void_p, c_double, c_double, c_double]
2473
+ Acm_AxGetCompensationValue.restype = c_uint32
2474
+ except:
2475
+ pass
2476
+
2477
+ try:
2478
+ Acm_AxSetCompenPara = lib.Acm_AxSetCompenPara
2479
+ Acm_AxSetCompenPara.argtypes = [c_void_p, c_void_p, c_uint32, c_uint32, c_uint32]
2480
+ Acm_AxSetCompenPara.restype = c_uint32
2481
+ except:
2482
+ pass
2483
+
2484
+ try:
2485
+ Acm_AxDIStartMoveAbs = lib.Acm_AxDIStartMoveAbs
2486
+ Acm_AxDIStartMoveAbs.argtypes = [c_void_p, c_uint16, c_double]
2487
+ Acm_AxDIStartMoveAbs.restype = c_uint32
2488
+ except:
2489
+ pass
2490
+
2491
+ try:
2492
+ Acm_AxDIStartMoveRel = lib.Acm_AxDIStartMoveRel
2493
+ Acm_AxDIStartMoveRel.argtypes = [c_void_p, c_uint16, c_double]
2494
+ Acm_AxDIStartMoveRel.restype = c_uint32
2495
+ except:
2496
+ pass
2497
+
2498
+ try:
2499
+ Acm_AxDIStartMoveVel = lib.Acm_AxDIStartMoveVel
2500
+ Acm_AxDIStartMoveVel.argtypes = [c_void_p, c_uint16, c_uint16]
2501
+ Acm_AxDIStartMoveVel.restype = c_uint32
2502
+ except:
2503
+ pass
2504
+
2505
+ try:
2506
+ Acm_AxDisableDIStart = lib.Acm_AxDisableDIStart
2507
+ Acm_AxDisableDIStart.argtypes = [c_void_p]
2508
+ Acm_AxDisableDIStart.restype = c_uint32
2509
+ except:
2510
+ pass
2511
+
2512
+ try:
2513
+ Acm_AxSetPWMTableOnTime = lib.Acm_AxSetPWMTableOnTime
2514
+ Acm_AxSetPWMTableOnTime.argtypes = [c_void_p, POINTER(c_uint32), c_int32]
2515
+ Acm_AxSetPWMTableOnTime.restype = c_uint32
2516
+ except:
2517
+ pass
2518
+
2519
+ try:
2520
+ Acm_AxGetINxStopStatus = lib.Acm_AxGetINxStopStatus
2521
+ Acm_AxGetINxStopStatus.argtypes = [c_void_p, POINTER(c_uint32)]
2522
+ Acm_AxGetINxStopStatus.restype = c_uint32
2523
+ except:
2524
+ pass
2525
+
2526
+ try:
2527
+ Acm_AxResetINxStopStatus = lib.Acm_AxResetINxStopStatus
2528
+ Acm_AxResetINxStopStatus.argtypes = [c_void_p]
2529
+ Acm_AxResetINxStopStatus.restype = c_uint32
2530
+ except:
2531
+ pass
2532
+
2533
+ try:
2534
+ Acm_AxJog = lib.Acm_AxJog
2535
+ Acm_AxJog.argtypes = [c_void_p, c_uint16]
2536
+ Acm_AxJog.restype = c_uint32
2537
+ except:
2538
+ pass
2539
+
2540
+ try:
2541
+ Acm_AxSetCmpDO = lib.Acm_AxSetCmpDO
2542
+ Acm_AxSetCmpDO.argtypes = [c_void_p, c_uint32]
2543
+ Acm_AxSetCmpDO.restype = c_uint32
2544
+ except:
2545
+ pass
2546
+
2547
+ try:
2548
+ Acm_AxDownloadTorqueTable = lib.Acm_AxDownloadTorqueTable
2549
+ Acm_AxDownloadTorqueTable.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), c_uint32]
2550
+ Acm_AxDownloadTorqueTable.restype = c_uint32
2551
+ except:
2552
+ pass
2553
+
2554
+ try:
2555
+ Acm_AxLoadTorqueTableFile = lib.Acm_AxLoadTorqueTableFile
2556
+ Acm_AxLoadTorqueTableFile.argtypes = [c_void_p, c_char_p, POINTER(c_uint32)]
2557
+ Acm_AxLoadTorqueTableFile.restype = c_uint32
2558
+ except:
2559
+ pass
2560
+
2561
+ try:
2562
+ Acm_AxResetPVTTable = lib.Acm_AxResetPVTTable
2563
+ Acm_AxResetPVTTable.argtypes = [c_void_p]
2564
+ Acm_AxResetPVTTable.restype = c_uint32
2565
+ except:
2566
+ pass
2567
+
2568
+ try:
2569
+ Acm_AxLoadPVTTable = lib.Acm_AxLoadPVTTable
2570
+ Acm_AxLoadPVTTable.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_double), c_uint32]
2571
+ Acm_AxLoadPVTTable.restype = c_uint32
2572
+ except:
2573
+ pass
2574
+
2575
+ try:
2576
+ Acm_AxCalculatePVTTableContinuous = lib.Acm_AxCalculatePVTTableContinuous
2577
+ Acm_AxCalculatePVTTableContinuous.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_double),
2578
+ POINTER(c_double), POINTER(c_double), POINTER(c_double), c_uint32, POINTER(c_double)]
2579
+ Acm_AxCalculatePVTTableContinuous.restype = c_uint32
2580
+ except:
2581
+ pass
2582
+
2583
+ try:
2584
+ Acm_AxLoadPVTTableContinuous = lib.Acm_AxLoadPVTTableContinuous
2585
+ Acm_AxLoadPVTTableContinuous.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_double),
2586
+ POINTER(c_double), POINTER(c_double), POINTER(c_double), c_double, c_uint32]
2587
+ Acm_AxLoadPVTTableContinuous.restype = c_uint32
2588
+ except:
2589
+ pass
2590
+
2591
+ try:
2592
+ Acm_AxStartPVT = lib.Acm_AxStartPVT
2593
+ Acm_AxStartPVT.argtypes = [c_void_p, c_uint8]
2594
+ Acm_AxStartPVT.restype = c_uint32
2595
+ except:
2596
+ pass
2597
+
2598
+ try:
2599
+ Acm_AxStartAllPVT = lib.Acm_AxStartAllPVT
2600
+ Acm_AxStartAllPVT.argtypes = [c_void_p, c_uint8, c_uint32]
2601
+ Acm_AxStartAllPVT.restype = c_uint32
2602
+ except:
2603
+ pass
2604
+
2605
+ try:
2606
+ Acm_AxCheckPTBuffer = lib.Acm_AxCheckPTBuffer
2607
+ Acm_AxCheckPTBuffer.argtypes = [c_void_p, POINTER(c_uint16)]
2608
+ Acm_AxCheckPTBuffer.restype = c_uint32
2609
+ except:
2610
+ pass
2611
+
2612
+ try:
2613
+ Acm_AxAddPTData = lib.Acm_AxAddPTData
2614
+ Acm_AxAddPTData.argtypes = [c_void_p, c_double, c_double]
2615
+ Acm_AxAddPTData.restype = c_uint32
2616
+ except:
2617
+ pass
2618
+
2619
+ try:
2620
+ Acm_AxStartPT = lib.Acm_AxStartPT
2621
+ Acm_AxStartPT.argtypes = [c_void_p, c_uint8]
2622
+ Acm_AxStartPT.restype = c_uint32
2623
+ except:
2624
+ pass
2625
+
2626
+ try:
2627
+ Acm_AxStartAllPT = lib.Acm_AxStartAllPT
2628
+ Acm_AxStartAllPT.argtypes = [c_void_p, c_uint8, c_uint32]
2629
+ Acm_AxStartAllPT.restype = c_uint32
2630
+ except:
2631
+ pass
2632
+
2633
+ try:
2634
+ Acm_AxResetPTData = lib.Acm_AxResetPTData
2635
+ Acm_AxResetPTData.argtypes = [c_void_p]
2636
+ Acm_AxResetPTData.restype = c_uint32
2637
+ except:
2638
+ pass
2639
+
2640
+ try:
2641
+ Acm_AxAddPVAData = lib.Acm_AxAddPVAData
2642
+ Acm_AxAddPVAData.argtypes = [c_void_p, c_double, POINTER(c_double), POINTER(c_double), POINTER(c_double), c_uint32]
2643
+ Acm_AxAddPVAData.restype = c_uint32
2644
+ except:
2645
+ pass
2646
+ # Group
2647
+ try:
2648
+ Acm_GpOpen = lib.Acm_GpOpen
2649
+ Acm_GpOpen.argtypes = [c_void_p, POINTER(c_void_p), c_ushort]
2650
+ Acm_GpOpen.restype = c_uint32
2651
+ except:
2652
+ pass
2653
+
2654
+ try:
2655
+ Acm_GpAddAxis = lib.Acm_GpAddAxis
2656
+ Acm_GpAddAxis.argtypes = [POINTER(c_void_p), c_void_p]
2657
+ Acm_GpAddAxis.restype = c_uint32
2658
+ except:
2659
+ pass
2660
+
2661
+ try:
2662
+ Acm_GpRemAxis = lib.Acm_GpRemAxis
2663
+ Acm_GpRemAxis.argtypes = [c_void_p, c_void_p]
2664
+ Acm_GpRemAxis.restype = c_uint32
2665
+ except:
2666
+ pass
2667
+
2668
+ try:
2669
+ Acm_GpClose = lib.Acm_GpClose
2670
+ Acm_GpClose.argtypes = [POINTER(c_void_p)]
2671
+ Acm_GpClose.restype = c_uint32
2672
+ except:
2673
+ pass
2674
+
2675
+ try:
2676
+ Acm_GpGetState = lib.Acm_GpGetState
2677
+ Acm_GpGetState.argtypes = [c_void_p, POINTER(c_uint16)]
2678
+ Acm_GpGetState.restype = c_uint32
2679
+ except:
2680
+ pass
2681
+
2682
+ try:
2683
+ Acm_GpResetError = lib.Acm_GpResetError
2684
+ Acm_GpResetError.argtypes = [c_void_p]
2685
+ Acm_GpResetError.restype = c_uint32
2686
+ except:
2687
+ pass
2688
+
2689
+ try:
2690
+ Acm_GpIpoMask = lib.Acm_GpIpoMask
2691
+ Acm_GpIpoMask.argtypes = [c_void_p, c_void_p, c_uint32]
2692
+ Acm_GpIpoMask.restype = c_uint32
2693
+ except:
2694
+ pass
2695
+
2696
+ try:
2697
+ Acm_GpMoveLinearRel = lib.Acm_GpMoveLinearRel
2698
+ Acm_GpMoveLinearRel.argtypes = [c_void_p, POINTER(c_double), POINTER(c_uint32)]
2699
+ Acm_GpMoveLinearRel.restype = c_uint32
2700
+ except:
2701
+ pass
2702
+
2703
+ try:
2704
+ Acm_GpMoveLinearAbs = lib.Acm_GpMoveLinearAbs
2705
+ Acm_GpMoveLinearAbs.argtypes = [c_void_p, POINTER(c_double), POINTER(c_uint32)]
2706
+ Acm_GpMoveLinearAbs.restype = c_uint32
2707
+ except:
2708
+ pass
2709
+
2710
+ try:
2711
+ Acm_GpMoveDirectRel = lib.Acm_GpMoveDirectRel
2712
+ Acm_GpMoveDirectRel.argtypes = [c_void_p, POINTER(c_double), POINTER(c_uint32)]
2713
+ Acm_GpMoveDirectRel.restype = c_uint32
2714
+ except:
2715
+ pass
2716
+
2717
+ try:
2718
+ Acm_GpMoveDirectAbs = lib.Acm_GpMoveDirectAbs
2719
+ Acm_GpMoveDirectAbs.argtypes = [c_void_p, POINTER(c_double), POINTER(c_uint32)]
2720
+ Acm_GpMoveDirectAbs.restype = c_uint32
2721
+ except:
2722
+ pass
2723
+
2724
+ try:
2725
+ Acm_GpMoveCircularRel = lib.Acm_GpMoveCircularRel
2726
+ Acm_GpMoveCircularRel.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16]
2727
+ Acm_GpMoveCircularRel.restype = c_uint32
2728
+ except:
2729
+ pass
2730
+
2731
+ try:
2732
+ Acm_GpMoveCircularAbs = lib.Acm_GpMoveCircularAbs
2733
+ Acm_GpMoveCircularAbs.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16]
2734
+ Acm_GpMoveCircularAbs.restype = c_uint32
2735
+ except:
2736
+ pass
2737
+
2738
+ try:
2739
+ Acm_GpMoveCircularRel_3P = lib.Acm_GpMoveCircularRel_3P
2740
+ Acm_GpMoveCircularRel_3P.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16]
2741
+ Acm_GpMoveCircularRel_3P.restype = c_uint32
2742
+ except:
2743
+ pass
2744
+
2745
+ try:
2746
+ Acm_GpMoveCircularAbs_3P = lib.Acm_GpMoveCircularAbs_3P
2747
+ Acm_GpMoveCircularAbs_3P.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16]
2748
+ Acm_GpMoveCircularAbs_3P.restype = c_uint32
2749
+ except:
2750
+ pass
2751
+
2752
+ try:
2753
+ Acm_GpMoveCircularRel_Angle = lib.Acm_GpMoveCircularRel_Angle
2754
+ Acm_GpMoveCircularRel_Angle.argtypes = [c_void_p, POINTER(c_double), c_uint16, POINTER(c_uint32), c_int16]
2755
+ Acm_GpMoveCircularRel_Angle.restype = c_uint32
2756
+ except:
2757
+ pass
2758
+
2759
+ try:
2760
+ Acm_GpMoveCircularAbs_Angle = lib.Acm_GpMoveCircularAbs_Angle
2761
+ Acm_GpMoveCircularAbs_Angle.argtypes = [c_void_p, POINTER(c_double), c_uint16, POINTER(c_uint32), c_int16]
2762
+ Acm_GpMoveCircularAbs_Angle.restype = c_uint32
2763
+ except:
2764
+ pass
2765
+
2766
+ try:
2767
+ Acm_GpMoveArcRel_Angle = lib.Acm_GpMoveArcRel_Angle
2768
+ Acm_GpMoveArcRel_Angle.argtypes = [c_void_p, POINTER(c_double), c_double, POINTER(c_uint32), c_int16]
2769
+ Acm_GpMoveArcRel_Angle.restype = c_uint32
2770
+ except:
2771
+ pass
2772
+
2773
+ try:
2774
+ Acm_GpMoveArcAbs_Angle = lib.Acm_GpMoveArcAbs_Angle
2775
+ Acm_GpMoveArcAbs_Angle.argtypes = [c_void_p, POINTER(c_double), c_double, POINTER(c_uint32), c_int16]
2776
+ Acm_GpMoveArcAbs_Angle.restype = c_uint32
2777
+ except:
2778
+ pass
2779
+
2780
+ try:
2781
+ Acm_GpMove3DArcAbs = lib.Acm_GpMove3DArcAbs
2782
+ Acm_GpMove3DArcAbs.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16]
2783
+ Acm_GpMove3DArcAbs.restype = c_uint32
2784
+ except:
2785
+ pass
2786
+
2787
+ try:
2788
+ Acm_GpMove3DArcRel = lib.Acm_GpMove3DArcRel
2789
+ Acm_GpMove3DArcRel.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16]
2790
+ Acm_GpMove3DArcRel.restype = c_uint32
2791
+ except:
2792
+ pass
2793
+
2794
+ try:
2795
+ Acm_GpMove3DArcAbs_V = lib.Acm_GpMove3DArcAbs_V
2796
+ Acm_GpMove3DArcAbs_V.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), c_double, POINTER(c_uint32), c_int16]
2797
+ Acm_GpMove3DArcAbs_V.restype = c_uint32
2798
+ except:
2799
+ pass
2800
+
2801
+ try:
2802
+ Acm_GpMove3DArcRel_V = lib.Acm_GpMove3DArcRel_V
2803
+ Acm_GpMove3DArcRel_V.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), c_double, POINTER(c_uint32), c_int16]
2804
+ Acm_GpMove3DArcRel_V.restype = c_uint32
2805
+ except:
2806
+ pass
2807
+
2808
+ try:
2809
+ Acm_GpMove3DArcAbs_3P = lib.Acm_GpMove3DArcAbs_3P
2810
+ Acm_GpMove3DArcAbs_3P.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16, c_uint16]
2811
+ Acm_GpMove3DArcAbs_3P.restype = c_uint32
2812
+ except:
2813
+ pass
2814
+
2815
+ try:
2816
+ Acm_GpMove3DArcRel_3P = lib.Acm_GpMove3DArcRel_3P
2817
+ Acm_GpMove3DArcRel_3P.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16, c_uint16]
2818
+ Acm_GpMove3DArcRel_3P.restype = c_uint32
2819
+ except:
2820
+ pass
2821
+
2822
+ try:
2823
+ Acm_GpMove3DArcAbs_3PAngle = lib.Acm_GpMove3DArcAbs_3PAngle
2824
+ Acm_GpMove3DArcAbs_3PAngle.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16, c_double]
2825
+ Acm_GpMove3DArcAbs_3PAngle.restype = c_uint32
2826
+ except:
2827
+ pass
2828
+
2829
+ try:
2830
+ Acm_GpMove3DArcRel_3PAngle = lib.Acm_GpMove3DArcRel_3PAngle
2831
+ Acm_GpMove3DArcRel_3PAngle.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16, c_double]
2832
+ Acm_GpMove3DArcRel_3PAngle.restype = c_uint32
2833
+ except:
2834
+ pass
2835
+
2836
+ try:
2837
+ Acm_GpMoveHelixAbs = lib.Acm_GpMoveHelixAbs
2838
+ Acm_GpMoveHelixAbs.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16]
2839
+ Acm_GpMoveHelixAbs.restype = c_uint32
2840
+ except:
2841
+ pass
2842
+
2843
+ try:
2844
+ Acm_GpMoveHelixRel = lib.Acm_GpMoveHelixRel
2845
+ Acm_GpMoveHelixRel.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16]
2846
+ Acm_GpMoveHelixRel.restype = c_uint32
2847
+ except:
2848
+ pass
2849
+
2850
+ try:
2851
+ Acm_GpMoveHelixAbs_3P = lib.Acm_GpMoveHelixAbs_3P
2852
+ Acm_GpMoveHelixAbs_3P.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16]
2853
+ Acm_GpMoveHelixAbs_3P.restype = c_uint32
2854
+ except:
2855
+ pass
2856
+
2857
+ try:
2858
+ Acm_GpMoveHelixRel_3P = lib.Acm_GpMoveHelixRel_3P
2859
+ Acm_GpMoveHelixRel_3P.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16]
2860
+ Acm_GpMoveHelixRel_3P.restype = c_uint32
2861
+ except:
2862
+ pass
2863
+
2864
+ try:
2865
+ Acm_GpMoveHelixRel_Angle = lib.Acm_GpMoveHelixRel_Angle
2866
+ Acm_GpMoveHelixRel_Angle.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16]
2867
+ Acm_GpMoveHelixRel_Angle.restype = c_uint32
2868
+ except:
2869
+ pass
2870
+
2871
+ try:
2872
+ Acm_GpMoveHelixAbs_Angle = lib.Acm_GpMoveHelixAbs_Angle
2873
+ Acm_GpMoveHelixAbs_Angle.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16]
2874
+ Acm_GpMoveHelixAbs_Angle.restype = c_uint32
2875
+ except:
2876
+ pass
2877
+
2878
+ try:
2879
+ Acm_GpMoveEllipticalRel = lib.Acm_GpMoveEllipticalRel
2880
+ Acm_GpMoveEllipticalRel.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16, c_double]
2881
+ Acm_GpMoveEllipticalRel.restype = c_uint32
2882
+ except:
2883
+ pass
2884
+
2885
+ try:
2886
+ Acm_GpMoveEllipticalAbs = lib.Acm_GpMoveEllipticalAbs
2887
+ Acm_GpMoveEllipticalAbs.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16, c_double]
2888
+ Acm_GpMoveEllipticalAbs.restype = c_uint32
2889
+ except:
2890
+ pass
2891
+
2892
+ try:
2893
+ Acm_GpLoadPath = lib.Acm_GpLoadPath
2894
+ Acm_GpLoadPath.argtypes = [c_void_p, c_char_p, POINTER(c_void_p), POINTER(c_uint32)]
2895
+ Acm_GpLoadPath.restype = c_uint32
2896
+ except:
2897
+ pass
2898
+
2899
+ try:
2900
+ Acm_GpUnloadPath = lib.Acm_GpUnloadPath
2901
+ Acm_GpUnloadPath.argtypes = [c_void_p, POINTER(c_void_p)]
2902
+ Acm_GpUnloadPath.restype = c_uint32
2903
+ except:
2904
+ pass
2905
+
2906
+ try:
2907
+ Acm_GpMovePath = lib.Acm_GpMovePath
2908
+ Acm_GpMovePath.argtypes = [c_void_p, c_void_p]
2909
+ Acm_GpMovePath.restype = c_uint32
2910
+ except:
2911
+ pass
2912
+
2913
+ try:
2914
+ Acm_GpMoveAllPath = lib.Acm_GpMoveAllPath
2915
+ Acm_GpMoveAllPath.argtypes = [POINTER(c_void_p), c_uint32]
2916
+ Acm_GpMoveAllPath.restype = c_uint32
2917
+ except:
2918
+ pass
2919
+
2920
+ try:
2921
+ Acm_GpAddPath = lib.Acm_GpAddPath
2922
+ Acm_GpAddPath.argtypes = [c_void_p, c_uint16, c_uint16, c_double, c_double, POINTER(c_double), POINTER(c_double), POINTER(c_uint32)]
2923
+ Acm_GpAddPath.restype = c_uint32
2924
+ except:
2925
+ pass
2926
+
2927
+ try:
2928
+ Acm_GpAddPath2 = lib.Acm_GpAddPath2
2929
+ Acm_GpAddPath2.argtypes = [c_void_p, c_uint16, c_uint16, c_double, c_double, c_double,
2930
+ c_double, POINTER(c_double), POINTER(c_double), POINTER(c_uint32)]
2931
+ Acm_GpAddPath2.restype = c_uint32
2932
+ except:
2933
+ pass
2934
+
2935
+ try:
2936
+ Acm_GpLookAheadPath = lib.Acm_GpLookAheadPath
2937
+ Acm_GpLookAheadPath.argtypes = [c_void_p, c_uint16, c_char_p]
2938
+ Acm_GpLookAheadPath.restype = c_uint32
2939
+ except:
2940
+ pass
2941
+
2942
+ try:
2943
+ Acm_GpResetPath = lib.Acm_GpResetPath
2944
+ Acm_GpResetPath.argtypes = [POINTER(c_void_p)]
2945
+ Acm_GpResetPath.restype = c_uint32
2946
+ except:
2947
+ pass
2948
+
2949
+ try:
2950
+ Acm_GpGetPathStatus = lib.Acm_GpGetPathStatus
2951
+ Acm_GpGetPathStatus.argtypes = [c_void_p, POINTER(c_uint32), POINTER(c_uint32), POINTER(c_uint32), POINTER(c_uint32)]
2952
+ Acm_GpGetPathStatus.restype = c_uint32
2953
+ except:
2954
+ pass
2955
+
2956
+ try:
2957
+ Acm_GpMoveSelPath = lib.Acm_GpMoveSelPath
2958
+ Acm_GpMoveSelPath.argtypes = [c_void_p, c_void_p, c_uint32, c_uint32, c_uint8]
2959
+ Acm_GpMoveSelPath.restype = c_uint32
2960
+ except:
2961
+ pass
2962
+
2963
+ try:
2964
+ Acm_GpGetPathIndexStatus = lib.Acm_GpGetPathIndexStatus
2965
+ Acm_GpGetPathIndexStatus.argtypes = [c_void_p, c_uint32, POINTER(c_uint16), POINTER(c_uint16), POINTER(c_double),
2966
+ POINTER(c_double), POINTER(c_double), POINTER(c_double), POINTER(c_uint32)]
2967
+ Acm_GpGetPathIndexStatus.restype = c_uint32
2968
+ except:
2969
+ pass
2970
+
2971
+ try:
2972
+ Acm_GpAddBSplinePath = lib.Acm_GpAddBSplinePath
2973
+ Acm_GpAddBSplinePath.argtypes = [c_void_p, c_double, c_double, POINTER(c_double), POINTER(c_double), c_uint32, POINTER(c_double),
2974
+ c_uint32, c_uint32, c_uint32]
2975
+ Acm_GpAddBSplinePath.restype = c_uint32
2976
+ except:
2977
+ pass
2978
+
2979
+ try:
2980
+ Acm_GpAddCSplinePath = lib.Acm_GpAddCSplinePath
2981
+ Acm_GpAddCSplinePath.argtypes = [c_void_p, c_double, c_double, POINTER(c_double), POINTER(c_double), POINTER(c_double),
2982
+ c_uint32, c_uint32]
2983
+ Acm_GpAddCSplinePath.restype = c_uint32
2984
+ except:
2985
+ pass
2986
+
2987
+ try:
2988
+ Acm_GpResumeMotion = lib.Acm_GpResumeMotion
2989
+ Acm_GpResumeMotion.argtypes = [c_void_p]
2990
+ Acm_GpResumeMotion.restype = c_uint32
2991
+ except:
2992
+ pass
2993
+
2994
+ try:
2995
+ Acm_GpPauseMotion = lib.Acm_GpPauseMotion
2996
+ Acm_GpPauseMotion.argtypes = [c_void_p]
2997
+ Acm_GpPauseMotion.restype = c_uint32
2998
+ except:
2999
+ pass
3000
+
3001
+ try:
3002
+ Acm_GpStopDec = lib.Acm_GpStopDec
3003
+ Acm_GpStopDec.argtypes = [c_void_p]
3004
+ Acm_GpStopDec.restype = c_uint32
3005
+ except:
3006
+ pass
3007
+
3008
+ try:
3009
+ Acm_GpStopDecEx = lib.Acm_GpStopDecEx
3010
+ Acm_GpStopDecEx.argtypes = [c_void_p, c_double]
3011
+ Acm_GpStopDecEx.restype = c_uint32
3012
+ except:
3013
+ pass
3014
+
3015
+ try:
3016
+ Acm_GpStopEmg = lib.Acm_GpStopEmg
3017
+ Acm_GpStopEmg.argtypes = [c_void_p]
3018
+ Acm_GpStopEmg.restype = c_uint32
3019
+ except:
3020
+ pass
3021
+
3022
+ try:
3023
+ Acm_GpChangeVel = lib.Acm_GpChangeVel
3024
+ Acm_GpChangeVel.argtypes = [c_void_p, c_double]
3025
+ Acm_GpChangeVel.restype = c_uint32
3026
+ except:
3027
+ pass
3028
+
3029
+ try:
3030
+ Acm_GpChangeVelByRate = lib.Acm_GpChangeVelByRate
3031
+ Acm_GpChangeVelByRate.argtypes = [c_void_p, c_uint32]
3032
+ Acm_GpChangeVelByRate.restype = c_uint32
3033
+ except:
3034
+ pass
3035
+
3036
+ try:
3037
+ Acm_GpGetCmdVel = lib.Acm_GpGetCmdVel
3038
+ Acm_GpGetCmdVel.argtypes = [c_void_p, POINTER(c_double)]
3039
+ Acm_GpGetCmdVel.restype = c_uint32
3040
+ except:
3041
+ pass
3042
+
3043
+ try:
3044
+ Acm_GpGetINxStopStatus = lib.Acm_GpGetINxStopStatus
3045
+ Acm_GpGetINxStopStatus.argtypes = [c_void_p, POINTER(c_uint32)]
3046
+ Acm_GpGetINxStopStatus.restype = c_uint32
3047
+ except:
3048
+ pass
3049
+
3050
+ try:
3051
+ Acm_GpResetINxStopStatus = lib.Acm_GpResetINxStopStatus
3052
+ Acm_GpResetINxStopStatus.argtypes = [c_void_p]
3053
+ Acm_GpResetINxStopStatus.restype = c_uint32
3054
+ except:
3055
+ pass
3056
+ # DIO
3057
+ try:
3058
+ Acm_DaqDiGetByte = lib.Acm_DaqDiGetByte
3059
+ Acm_DaqDiGetByte.argtypes = [c_void_p, c_uint16, POINTER(c_uint8)]
3060
+ Acm_DaqDiGetByte.restype = c_uint32
3061
+ except:
3062
+ pass
3063
+
3064
+ try:
3065
+ Acm_DaqDiGetBit = lib.Acm_DaqDiGetBit
3066
+ Acm_DaqDiGetBit.argtypes = [c_void_p, c_uint16, POINTER(c_uint8)]
3067
+ Acm_DaqDiGetBit.restype = c_uint32
3068
+ except:
3069
+ pass
3070
+
3071
+ try:
3072
+ Acm_DaqDoSetByte = lib.Acm_DaqDoSetByte
3073
+ Acm_DaqDoSetByte.argtypes = [c_void_p, c_uint16, c_uint8]
3074
+ Acm_DaqDoSetByte.restype = c_uint32
3075
+ except:
3076
+ pass
3077
+
3078
+ try:
3079
+ Acm_DaqDoSetBit = lib.Acm_DaqDoSetBit
3080
+ Acm_DaqDoSetBit.argtypes = [c_void_p, c_uint16, c_uint8]
3081
+ Acm_DaqDoSetBit.restype = c_uint32
3082
+ except:
3083
+ pass
3084
+
3085
+ try:
3086
+ Acm_DaqDiSetBit = lib.Acm_DaqDiSetBit
3087
+ Acm_DaqDiSetBit.argtypes = [c_void_p, c_uint16, c_uint8]
3088
+ Acm_DaqDiSetBit.restype = c_uint32
3089
+ except:
3090
+ pass
3091
+
3092
+ try:
3093
+ Acm_DaqDoGetByte = lib.Acm_DaqDoGetByte
3094
+ Acm_DaqDoGetByte.argtypes = [c_void_p, c_uint16, POINTER(c_uint8)]
3095
+ Acm_DaqDoGetByte.restype = c_uint32
3096
+ except:
3097
+ pass
3098
+
3099
+ try:
3100
+ Acm_DaqDoGetBit = lib.Acm_DaqDoGetBit
3101
+ Acm_DaqDoGetBit.argtypes = [c_void_p, c_uint16, POINTER(c_uint8)]
3102
+ Acm_DaqDoGetBit.restype = c_uint32
3103
+ except:
3104
+ pass
3105
+
3106
+ try:
3107
+ Acm_DaqDiGetBytes = lib.Acm_DaqDiGetBytes
3108
+ Acm_DaqDiGetBytes.argtypes = [c_void_p, c_uint16, c_uint16, POINTER(c_uint8)]
3109
+ Acm_DaqDiGetBytes.restype = c_uint32
3110
+ except:
3111
+ pass
3112
+
3113
+ try:
3114
+ Acm_DaqDoSetBytes = lib.Acm_DaqDoSetBytes
3115
+ Acm_DaqDoSetBytes.argtypes = [c_void_p, c_uint16, c_uint16, POINTER(c_uint8)]
3116
+ Acm_DaqDoSetBytes.restype = c_uint32
3117
+ except:
3118
+ pass
3119
+
3120
+ try:
3121
+ Acm_DaqDoGetBytes = lib.Acm_DaqDoGetBytes
3122
+ Acm_DaqDoGetBytes.argtypes = [c_void_p, c_uint16, c_uint16, POINTER(c_uint8)]
3123
+ Acm_DaqDoGetBytes.restype = c_uint32
3124
+ except:
3125
+ pass
3126
+
3127
+ try:
3128
+ Acm_DaqDiGetByteEx = lib.Acm_DaqDiGetByteEx
3129
+ Acm_DaqDiGetByteEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_uint8)]
3130
+ Acm_DaqDiGetByteEx.restype = c_uint32
3131
+ except:
3132
+ pass
3133
+
3134
+ try:
3135
+ Acm_DaqDiGetBitEx = lib.Acm_DaqDiGetBitEx
3136
+ Acm_DaqDiGetBitEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_uint8)]
3137
+ Acm_DaqDiGetBitEx.restype = c_uint32
3138
+ except:
3139
+ pass
3140
+
3141
+ try:
3142
+ Acm_DaqDoSetByteEx = lib.Acm_DaqDoSetByteEx
3143
+ Acm_DaqDoSetByteEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_uint8)]
3144
+ Acm_DaqDoSetByteEx.restype = c_uint32
3145
+ except:
3146
+ pass
3147
+
3148
+ try:
3149
+ Acm_DaqDoSetBitEx = lib.Acm_DaqDoSetBitEx
3150
+ Acm_DaqDoSetBitEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_uint8)]
3151
+ Acm_DaqDoSetBitEx.restype = c_uint32
3152
+ except:
3153
+ pass
3154
+
3155
+ try:
3156
+ Acm_DaqDoGetByteEx = lib.Acm_DaqDoGetByteEx
3157
+ Acm_DaqDoGetByteEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_uint8)]
3158
+ Acm_DaqDoGetByteEx.restype = c_uint32
3159
+ except:
3160
+ pass
3161
+
3162
+ try:
3163
+ Acm_DaqDoGetBitEx = lib.Acm_DaqDoGetBitEx
3164
+ Acm_DaqDoGetBitEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_uint8)]
3165
+ Acm_DaqDoGetBitEx.restype = c_uint32
3166
+ except:
3167
+ pass
3168
+ # AIO
3169
+ try:
3170
+ Acm_DaqAiGetRawData = lib.Acm_DaqAiGetRawData
3171
+ Acm_DaqAiGetRawData.argtypes = [c_void_p, c_uint16, POINTER(c_uint16)]
3172
+ Acm_DaqAiGetRawData.restype = c_uint32
3173
+ except:
3174
+ pass
3175
+
3176
+ try:
3177
+ Acm_DaqAiGetEngData = lib.Acm_DaqAiGetEngData
3178
+ Acm_DaqAiGetEngData.argtypes = [c_void_p, c_uint16, POINTER(c_float)]
3179
+ Acm_DaqAiGetEngData.restype = c_uint32
3180
+ except:
3181
+ pass
3182
+
3183
+ try:
3184
+ Acm_DaqAiGetVoltData = lib.Acm_DaqAiGetVoltData
3185
+ Acm_DaqAiGetVoltData.argtypes = [c_void_p, c_uint16, POINTER(c_float)]
3186
+ Acm_DaqAiGetVoltData.restype = c_uint32
3187
+ except:
3188
+ pass
3189
+
3190
+ try:
3191
+ Acm_DaqAiGetCurrData = lib.Acm_DaqAiGetCurrData
3192
+ Acm_DaqAiGetCurrData.argtypes = [c_void_p, c_uint16, POINTER(c_float)]
3193
+ Acm_DaqAiGetCurrData.restype = c_uint32
3194
+ except:
3195
+ pass
3196
+
3197
+ try:
3198
+ Acm_DaqAiZeroCalibration = lib.Acm_DaqAiZeroCalibration
3199
+ Acm_DaqAiZeroCalibration.argtypes = [c_void_p, c_uint16]
3200
+ Acm_DaqAiZeroCalibration.restype = c_uint32
3201
+ except:
3202
+ pass
3203
+
3204
+ try:
3205
+ Acm_DaqAiSpanCalibration = lib.Acm_DaqAiSpanCalibration
3206
+ Acm_DaqAiSpanCalibration.argtypes = [c_void_p, c_uint16]
3207
+ Acm_DaqAiSpanCalibration.restype = c_uint32
3208
+ except:
3209
+ pass
3210
+
3211
+ try:
3212
+ Acm_DaqAiGetChannelStatus = lib.Acm_DaqAiGetChannelStatus
3213
+ Acm_DaqAiGetChannelStatus.argtypes = [c_void_p, c_uint16, POINTER(c_uint32)]
3214
+ Acm_DaqAiGetChannelStatus.restype = c_uint32
3215
+ except:
3216
+ pass
3217
+
3218
+ try:
3219
+ Acm_DaqAoSetRawData = lib.Acm_DaqAoSetRawData
3220
+ Acm_DaqAoSetRawData.argtypes = [c_void_p, c_uint16, c_uint16]
3221
+ Acm_DaqAoSetRawData.restype = c_uint32
3222
+ except:
3223
+ pass
3224
+
3225
+ try:
3226
+ Acm_DaqAoSetEngData = lib.Acm_DaqAoSetEngData
3227
+ Acm_DaqAoSetEngData.argtypes = [c_void_p, c_uint16, c_float]
3228
+ Acm_DaqAoSetEngData.restype = c_uint32
3229
+ except:
3230
+ pass
3231
+
3232
+ try:
3233
+ Acm_DaqAoSetVoltData = lib.Acm_DaqAoSetVoltData
3234
+ Acm_DaqAoSetVoltData.argtypes = [c_void_p, c_uint16, c_float]
3235
+ Acm_DaqAoSetVoltData.restype = c_uint32
3236
+ except:
3237
+ pass
3238
+
3239
+ try:
3240
+ Acm_DaqAoSetCurrData = lib.Acm_DaqAoSetCurrData
3241
+ Acm_DaqAoSetCurrData.argtypes = [c_void_p, c_uint16, c_float]
3242
+ Acm_DaqAoSetCurrData.restype = c_uint32
3243
+ except:
3244
+ pass
3245
+
3246
+ try:
3247
+ Acm_DaqAoGetRawData = lib.Acm_DaqAoGetRawData
3248
+ Acm_DaqAoGetRawData.argtypes = [c_void_p, c_uint16, POINTER(c_uint16)]
3249
+ Acm_DaqAoGetRawData.restype = c_uint32
3250
+ except:
3251
+ pass
3252
+
3253
+ try:
3254
+ Acm_DaqAoGetEngData = lib.Acm_DaqAoGetEngData
3255
+ Acm_DaqAoGetEngData.argtypes = [c_void_p, c_uint16, POINTER(c_float)]
3256
+ Acm_DaqAoGetEngData.restype = c_uint32
3257
+ except:
3258
+ pass
3259
+
3260
+ try:
3261
+ Acm_DaqAoGetVoltData = lib.Acm_DaqAoGetVoltData
3262
+ Acm_DaqAoGetVoltData.argtypes = [c_void_p, c_uint16, POINTER(c_float)]
3263
+ Acm_DaqAoGetVoltData.restype = c_uint32
3264
+ except:
3265
+ pass
3266
+
3267
+ try:
3268
+ Acm_DaqAoGetCurrData = lib.Acm_DaqAoGetCurrData
3269
+ Acm_DaqAoGetCurrData.argtypes = [c_void_p, c_uint16, POINTER(c_float)]
3270
+ Acm_DaqAoGetCurrData.restype = c_uint32
3271
+ except:
3272
+ pass
3273
+
3274
+ try:
3275
+ Acm_DaqAoSetCaliType = lib.Acm_DaqAoSetCaliType
3276
+ Acm_DaqAoSetCaliType.argtypes = [c_void_p, c_uint16, POINTER(c_float)]
3277
+ Acm_DaqAoSetCaliType.restype = c_uint32
3278
+ except:
3279
+ pass
3280
+
3281
+ try:
3282
+ Acm_DaqAoSetCaliValue = lib.Acm_DaqAoSetCaliValue
3283
+ Acm_DaqAoSetCaliValue.argtypes = [c_void_p, c_uint16, c_uint16]
3284
+ Acm_DaqAoSetCaliValue.restype = c_uint32
3285
+ except:
3286
+ pass
3287
+
3288
+ try:
3289
+ Acm_DaqAoCaliDone = lib.Acm_DaqAoCaliDone
3290
+ Acm_DaqAoCaliDone.argtypes = [c_void_p, c_uint16, c_bool]
3291
+ Acm_DaqAoCaliDone.restype = c_uint32
3292
+ except:
3293
+ pass
3294
+
3295
+ try:
3296
+ Acm_DaqAoCaliDefault = lib.Acm_DaqAoCaliDefault
3297
+ Acm_DaqAoCaliDefault.argtypes = [c_void_p, c_uint16]
3298
+ Acm_DaqAoCaliDefault.restype = c_uint32
3299
+ except:
3300
+ pass
3301
+
3302
+ try:
3303
+ Acm_DaqAoGetChannelStatus = lib.Acm_DaqAoGetChannelStatus
3304
+ Acm_DaqAoGetChannelStatus.argtypes = [c_void_p, c_uint16, POINTER(c_uint32)]
3305
+ Acm_DaqAoGetChannelStatus.restype = c_uint32
3306
+ except:
3307
+ pass
3308
+
3309
+ try:
3310
+ Acm_DaqSetScaledProperty = lib.Acm_DaqSetScaledProperty
3311
+ Acm_DaqSetScaledProperty.argtypes = [c_void_p, c_uint, c_uint16, c_float, c_float, c_uint16, c_int16]
3312
+ Acm_DaqSetScaledProperty.restype = c_uint32
3313
+ except:
3314
+ pass
3315
+
3316
+ try:
3317
+ Acm_DaqAiGetRawDataEx = lib.Acm_DaqAiGetRawDataEx
3318
+ Acm_DaqAiGetRawDataEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_uint16)]
3319
+ Acm_DaqAiGetRawDataEx.restype = c_uint32
3320
+ except:
3321
+ pass
3322
+
3323
+ try:
3324
+ Acm_DaqAiGetEngDataEx = lib.Acm_DaqAiGetEngDataEx
3325
+ Acm_DaqAiGetEngDataEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_float)]
3326
+ Acm_DaqAiGetEngDataEx.restype = c_uint32
3327
+ except:
3328
+ pass
3329
+
3330
+ try:
3331
+ Acm_DaqAiGetVoltDataEx = lib.Acm_DaqAiGetVoltDataEx
3332
+ Acm_DaqAiGetVoltDataEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_float)]
3333
+ Acm_DaqAiGetVoltDataEx.restype = c_uint32
3334
+ except:
3335
+ pass
3336
+
3337
+ try:
3338
+ Acm_DaqAiGetCurrDataEx = lib.Acm_DaqAiGetCurrDataEx
3339
+ Acm_DaqAiGetCurrDataEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_float)]
3340
+ Acm_DaqAiGetCurrDataEx.restype = c_uint32
3341
+ except:
3342
+ pass
3343
+
3344
+ try:
3345
+ Acm_DaqAiGetChannelStatusEx = lib.Acm_DaqAiGetChannelStatusEx
3346
+ Acm_DaqAiGetChannelStatusEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_uint32)]
3347
+ Acm_DaqAiGetChannelStatusEx.restype = c_uint32
3348
+ except:
3349
+ pass
3350
+
3351
+ try:
3352
+ Acm_DaqAoSetRawDataEx = lib.Acm_DaqAoSetRawDataEx
3353
+ Acm_DaqAoSetRawDataEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, c_uint16]
3354
+ Acm_DaqAoSetRawDataEx.restype = c_uint32
3355
+ except:
3356
+ pass
3357
+
3358
+ try:
3359
+ Acm_DaqAoSetEngDataEx = lib.Acm_DaqAoSetEngDataEx
3360
+ Acm_DaqAoSetEngDataEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, c_float]
3361
+ Acm_DaqAoSetEngDataEx.restype = c_uint32
3362
+ except:
3363
+ pass
3364
+
3365
+ try:
3366
+ Acm_DaqAoSetVoltDataEx = lib.Acm_DaqAoSetVoltDataEx
3367
+ Acm_DaqAoSetVoltDataEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, c_float]
3368
+ Acm_DaqAoSetVoltDataEx.restype = c_uint32
3369
+ except:
3370
+ pass
3371
+
3372
+ try:
3373
+ Acm_DaqAoSetCurrDataEx = lib.Acm_DaqAoSetCurrDataEx
3374
+ Acm_DaqAoSetCurrDataEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, c_float]
3375
+ Acm_DaqAoSetCurrDataEx.restype = c_uint32
3376
+ except:
3377
+ pass
3378
+
3379
+ try:
3380
+ Acm_DaqAoGetRawDataEx = lib.Acm_DaqAoGetRawDataEx
3381
+ Acm_DaqAoGetRawDataEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_uint16)]
3382
+ Acm_DaqAoGetRawDataEx.restype = c_uint32
3383
+ except:
3384
+ pass
3385
+
3386
+ try:
3387
+ Acm_DaqAoGetEngDataEx = lib.Acm_DaqAoGetEngDataEx
3388
+ Acm_DaqAoGetEngDataEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_float)]
3389
+ Acm_DaqAoGetEngDataEx.restype = c_uint32
3390
+ except:
3391
+ pass
3392
+
3393
+ try:
3394
+ Acm_DaqAoGetVoltDataEx = lib.Acm_DaqAoGetVoltDataEx
3395
+ Acm_DaqAoGetVoltDataEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_float)]
3396
+ Acm_DaqAoGetVoltDataEx.restype = c_uint32
3397
+ except:
3398
+ pass
3399
+
3400
+ try:
3401
+ Acm_DaqAoGetCurrDataEx = lib.Acm_DaqAoGetCurrDataEx
3402
+ Acm_DaqAoGetCurrDataEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_float)]
3403
+ Acm_DaqAoGetCurrDataEx.restype = c_uint32
3404
+ except:
3405
+ pass
3406
+
3407
+ try:
3408
+ Acm_DaqGetIOLinkStatus = lib.Acm_DaqGetIOLinkStatus
3409
+ Acm_DaqGetIOLinkStatus.argtypes = [c_void_p, POINTER(c_uint32)]
3410
+ Acm_DaqGetIOLinkStatus.restype = c_uint32
3411
+ except:
3412
+ pass
3413
+ # Counter
3414
+ try:
3415
+ Acm_DaqCntTriggerCmp = lib.Acm_DaqCntTriggerCmp
3416
+ Acm_DaqCntTriggerCmp.argtypes = [c_void_p, c_uint16]
3417
+ Acm_DaqCntTriggerCmp.restype = c_uint32
3418
+ except:
3419
+ pass
3420
+
3421
+ try:
3422
+ Acm_DaqCntTriggerLatch = lib.Acm_DaqCntTriggerLatch
3423
+ Acm_DaqCntTriggerLatch.argtypes = [c_void_p, c_uint16]
3424
+ Acm_DaqCntTriggerLatch.restype = c_uint32
3425
+ except:
3426
+ pass
3427
+
3428
+ try:
3429
+ Acm_DaqCntResetLatch = lib.Acm_DaqCntResetLatch
3430
+ Acm_DaqCntResetLatch.argtypes = [c_void_p, c_uint16]
3431
+ Acm_DaqCntResetLatch.restype = c_uint32
3432
+ except:
3433
+ pass
3434
+
3435
+ try:
3436
+ Acm_DaqCntResetCmp = lib.Acm_DaqCntResetCmp
3437
+ Acm_DaqCntResetCmp.argtypes = [c_void_p, c_uint16]
3438
+ Acm_DaqCntResetCmp.restype = c_uint32
3439
+ except:
3440
+ pass
3441
+
3442
+ try:
3443
+ Acm_DaqCntResetCnt = lib.Acm_DaqCntResetCnt
3444
+ Acm_DaqCntResetCnt.argtypes = [c_void_p, c_uint16]
3445
+ Acm_DaqCntResetCnt.restype = c_uint32
3446
+ except:
3447
+ pass
3448
+
3449
+ try:
3450
+ Acm_DaqCntGetCounterData = lib.Acm_DaqCntGetCounterData
3451
+ Acm_DaqCntGetCounterData.argtypes = [c_void_p, c_uint16, POINTER(c_double)]
3452
+ Acm_DaqCntGetCounterData.restype = c_uint32
3453
+ except:
3454
+ pass
3455
+
3456
+ try:
3457
+ Acm_DaqCntSetCounterData = lib.Acm_DaqCntSetCounterData
3458
+ Acm_DaqCntSetCounterData.argtypes = [c_void_p, c_uint16, c_double]
3459
+ Acm_DaqCntSetCounterData.restype = c_uint32
3460
+ except:
3461
+ pass
3462
+
3463
+ try:
3464
+ Acm_DaqCntGetCounterFrequency = lib.Acm_DaqCntGetCounterFrequency
3465
+ Acm_DaqCntGetCounterFrequency.argtypes = [c_void_p, c_uint16, POINTER(c_double)]
3466
+ Acm_DaqCntGetCounterFrequency.restype = c_uint32
3467
+ except:
3468
+ pass
3469
+
3470
+ try:
3471
+ Acm_DaqCntGetExtDriveData = lib.Acm_DaqCntGetExtDriveData
3472
+ Acm_DaqCntGetExtDriveData.argtypes = [c_void_p, c_uint16, POINTER(c_double)]
3473
+ Acm_DaqCntGetExtDriveData.restype = c_uint32
3474
+ except:
3475
+ pass
3476
+
3477
+ try:
3478
+ Acm_DaqCntSetExtDriveData = lib.Acm_DaqCntSetExtDriveData
3479
+ Acm_DaqCntSetExtDriveData.argtypes = [c_void_p, c_uint16, c_double]
3480
+ Acm_DaqCntSetExtDriveData.restype = c_uint32
3481
+ except:
3482
+ pass
3483
+
3484
+ try:
3485
+ Acm_DaqCntGetLatchData = lib.Acm_DaqCntGetLatchData
3486
+ Acm_DaqCntGetLatchData.argtypes = [c_void_p, c_uint16, POINTER(c_double)]
3487
+ Acm_DaqCntGetLatchData.restype = c_uint32
3488
+ except:
3489
+ pass
3490
+
3491
+ try:
3492
+ Acm_DaqCntGetCmpData = lib.Acm_DaqCntGetCmpData
3493
+ Acm_DaqCntGetCmpData.argtypes = [c_void_p, c_uint16, POINTER(c_double)]
3494
+ Acm_DaqCntGetCmpData.restype = c_uint32
3495
+ except:
3496
+ pass
3497
+
3498
+ try:
3499
+ Acm_DaqCntSetCmpData = lib.Acm_DaqCntSetCmpData
3500
+ Acm_DaqCntSetCmpData.argtypes = [c_void_p, c_uint16, c_double]
3501
+ Acm_DaqCntSetCmpData.restype = c_uint32
3502
+ except:
3503
+ pass
3504
+
3505
+ try:
3506
+ Acm_DaqCntSetCmpTable = lib.Acm_DaqCntSetCmpTable
3507
+ Acm_DaqCntSetCmpTable.argtypes = [c_void_p, c_uint16, POINTER(c_double), c_int32]
3508
+ Acm_DaqCntSetCmpTable.restype = c_uint32
3509
+ except:
3510
+ pass
3511
+
3512
+ try:
3513
+ Acm_DaqCntSetCmpAuto = lib.Acm_DaqCntSetCmpAuto
3514
+ Acm_DaqCntSetCmpAuto.argtypes = [c_void_p, c_uint16, c_double, c_double, c_double]
3515
+ Acm_DaqCntSetCmpAuto.restype = c_uint32
3516
+ except:
3517
+ pass
3518
+
3519
+ try:
3520
+ Acm_DaqCntGetLatchBufferStatus = lib.Acm_DaqCntGetLatchBufferStatus
3521
+ Acm_DaqCntGetLatchBufferStatus.argtypes = [c_void_p, c_uint16, POINTER(c_uint32), POINTER(c_uint32)]
3522
+ Acm_DaqCntGetLatchBufferStatus.restype = c_uint32
3523
+ except:
3524
+ pass
3525
+
3526
+ try:
3527
+ Acm_DaqCntReadLatchBuffer = lib.Acm_DaqCntReadLatchBuffer
3528
+ Acm_DaqCntReadLatchBuffer.argtypes = [c_void_p, c_uint16, POINTER(c_double), POINTER(c_uint32)]
3529
+ Acm_DaqCntReadLatchBuffer.restype = c_uint32
3530
+ except:
3531
+ pass
3532
+
3533
+ try:
3534
+ Acm_DaqCntTriggerCmpEx = lib.Acm_DaqCntTriggerCmpEx
3535
+ Acm_DaqCntTriggerCmpEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16]
3536
+ Acm_DaqCntTriggerCmpEx.restype = c_uint32
3537
+ except:
3538
+ pass
3539
+
3540
+ try:
3541
+ Acm_DaqCntTriggerLatchEx = lib.Acm_DaqCntTriggerLatchEx
3542
+ Acm_DaqCntTriggerLatchEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16]
3543
+ Acm_DaqCntTriggerLatchEx.restype = c_uint32
3544
+ except:
3545
+ pass
3546
+
3547
+ try:
3548
+ Acm_DaqCntResetLatchEx = lib.Acm_DaqCntResetLatchEx
3549
+ Acm_DaqCntResetLatchEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16]
3550
+ Acm_DaqCntResetLatchEx.restype = c_uint32
3551
+ except:
3552
+ pass
3553
+
3554
+ try:
3555
+ Acm_DaqCntResetCmpEx = lib.Acm_DaqCntResetCmpEx
3556
+ Acm_DaqCntResetCmpEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16]
3557
+ Acm_DaqCntResetCmpEx.restype = c_uint32
3558
+ except:
3559
+ pass
3560
+
3561
+ try:
3562
+ Acm_DaqCntResetCntEx = lib.Acm_DaqCntResetCntEx
3563
+ Acm_DaqCntResetCntEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16]
3564
+ Acm_DaqCntResetCntEx.restype = c_uint32
3565
+ except:
3566
+ pass
3567
+
3568
+ try:
3569
+ Acm_DaqCntGetCounterDataEx = lib.Acm_DaqCntGetCounterDataEx
3570
+ Acm_DaqCntGetCounterDataEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_double)]
3571
+ Acm_DaqCntGetCounterDataEx.restype = c_uint32
3572
+ except:
3573
+ pass
3574
+
3575
+ try:
3576
+ Acm_DaqCntSetCounterDataEx = lib.Acm_DaqCntSetCounterDataEx
3577
+ Acm_DaqCntSetCounterDataEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, c_double]
3578
+ Acm_DaqCntSetCounterDataEx.restype = c_uint32
3579
+ except:
3580
+ pass
3581
+
3582
+ try:
3583
+ Acm_DaqCntGetCounterFrequencyEx = lib.Acm_DaqCntGetCounterFrequencyEx
3584
+ Acm_DaqCntGetCounterFrequencyEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_double)]
3585
+ Acm_DaqCntGetCounterFrequencyEx.restype = c_uint32
3586
+ except:
3587
+ pass
3588
+
3589
+ try:
3590
+ Acm_DaqCntGetExtDriveDataEx = lib.Acm_DaqCntGetExtDriveDataEx
3591
+ Acm_DaqCntGetExtDriveDataEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_double)]
3592
+ Acm_DaqCntGetExtDriveDataEx.restype = c_uint32
3593
+ except:
3594
+ pass
3595
+
3596
+ try:
3597
+ Acm_DaqCntSetExtDriveDataEx = lib.Acm_DaqCntSetExtDriveDataEx
3598
+ Acm_DaqCntSetExtDriveDataEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, c_double]
3599
+ Acm_DaqCntSetExtDriveDataEx.restype = c_uint32
3600
+ except:
3601
+ pass
3602
+
3603
+ try:
3604
+ Acm_DaqCntGetLatchDataEx = lib.Acm_DaqCntGetLatchDataEx
3605
+ Acm_DaqCntGetLatchDataEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_double)]
3606
+ Acm_DaqCntGetLatchDataEx.restype = c_uint32
3607
+ except:
3608
+ pass
3609
+
3610
+ try:
3611
+ Acm_DaqCntGetCmpDataEx = lib.Acm_DaqCntGetCmpDataEx
3612
+ Acm_DaqCntGetCmpDataEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_double)]
3613
+ Acm_DaqCntGetCmpDataEx.restype = c_uint32
3614
+ except:
3615
+ pass
3616
+
3617
+ try:
3618
+ Acm_DaqCntSetCmpDataEx = lib.Acm_DaqCntSetCmpDataEx
3619
+ Acm_DaqCntSetCmpDataEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, c_double]
3620
+ Acm_DaqCntSetCmpDataEx.restype = c_uint32
3621
+ except:
3622
+ pass
3623
+
3624
+ try:
3625
+ Acm_DaqCntSetCmpTableEx = lib.Acm_DaqCntSetCmpTableEx
3626
+ Acm_DaqCntSetCmpTableEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_double), c_int32]
3627
+ Acm_DaqCntSetCmpTableEx.restype = c_uint32
3628
+ except:
3629
+ pass
3630
+
3631
+ try:
3632
+ Acm_DaqCntSetCmpAutoEx = lib.Acm_DaqCntSetCmpAutoEx
3633
+ Acm_DaqCntSetCmpAutoEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, c_double, c_double, c_double]
3634
+ Acm_DaqCntSetCmpAutoEx.restype = c_uint32
3635
+ except:
3636
+ pass
3637
+
3638
+ try:
3639
+ Acm_DaqCntGetLatchBufferStatusEx = lib.Acm_DaqCntGetLatchBufferStatusEx
3640
+ Acm_DaqCntGetLatchBufferStatusEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_uint32), POINTER(c_uint32)]
3641
+ Acm_DaqCntGetLatchBufferStatusEx.restype = c_uint32
3642
+ except:
3643
+ pass
3644
+
3645
+ try:
3646
+ Acm_DaqCntReadLatchBufferEx = lib.Acm_DaqCntReadLatchBufferEx
3647
+ Acm_DaqCntReadLatchBufferEx.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_double), POINTER(c_uint32)]
3648
+ Acm_DaqCntReadLatchBufferEx.restype = c_uint32
3649
+ except:
3650
+ pass
3651
+ # PWM
3652
+ try:
3653
+ Acm_AxPWMOut = lib.Acm_AxPWMOut
3654
+ Acm_AxPWMOut.argtypes = [c_void_p, c_uint32, c_uint32]
3655
+ Acm_AxPWMOut.restype = c_uint32
3656
+ except:
3657
+ pass
3658
+
3659
+ try:
3660
+ Acm_AxGetPWMOutState = lib.Acm_AxGetPWMOutState
3661
+ Acm_AxGetPWMOutState.argtypes = [c_void_p, POINTER(c_uint32)]
3662
+ Acm_AxGetPWMOutState.restype = c_uint32
3663
+ except:
3664
+ pass
3665
+ # MDAQ
3666
+ try:
3667
+ Acm_DevMDaqConfig = lib.Acm_DevMDaqConfig
3668
+ Acm_DevMDaqConfig.argtypes = [c_void_p, c_uint16, c_uint32, c_uint32, c_uint32, c_uint32, c_uint32]
3669
+ Acm_DevMDaqConfig.restype = c_uint32
3670
+ except:
3671
+ pass
3672
+
3673
+ try:
3674
+ Acm_DevMDaqStart = lib.Acm_DevMDaqStart
3675
+ Acm_DevMDaqStart.argtypes = [c_void_p]
3676
+ Acm_DevMDaqStart.restype = c_uint32
3677
+ except:
3678
+ pass
3679
+
3680
+ try:
3681
+ Acm_DevMDaqStop = lib.Acm_DevMDaqStop
3682
+ Acm_DevMDaqStop.argtypes = [c_void_p]
3683
+ Acm_DevMDaqStop.restype = c_uint32
3684
+ except:
3685
+ pass
3686
+
3687
+ try:
3688
+ Acm_DevMDaqReset = lib.Acm_DevMDaqReset
3689
+ Acm_DevMDaqReset.argtypes = [c_void_p, c_uint16]
3690
+ Acm_DevMDaqReset.restype = c_uint32
3691
+ except:
3692
+ pass
3693
+
3694
+ try:
3695
+ Acm_DevMDaqGetStatus = lib.Acm_DevMDaqGetStatus
3696
+ Acm_DevMDaqGetStatus.argtypes = [c_void_p, c_uint16, POINTER(c_uint16), POINTER(c_uint8)]
3697
+ Acm_DevMDaqGetStatus.restype = c_uint32
3698
+ except:
3699
+ pass
3700
+
3701
+ try:
3702
+ Acm_DevMDaqGetData = lib.Acm_DevMDaqGetData
3703
+ Acm_DevMDaqGetData.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_int32)]
3704
+ Acm_DevMDaqGetData.restype = c_uint32
3705
+ except:
3706
+ pass
3707
+
3708
+ try:
3709
+ Acm_DevMDaqGetConfig = lib.Acm_DevMDaqGetConfig
3710
+ Acm_DevMDaqGetConfig.argtypes = [c_void_p, c_uint16, POINTER(c_uint32), POINTER(c_uint32),
3711
+ POINTER(c_uint32), POINTER(c_uint32), POINTER(c_uint32)]
3712
+ Acm_DevMDaqGetConfig.restype = c_uint32
3713
+ except:
3714
+ pass
3715
+
3716
+ try:
3717
+ Acm_RegCallBackFunc = lib.Acm_RegCallBackFunc
3718
+ Acm_RegCallBackFunc.argtypes = [c_void_p, CALLBACK_FUNC, c_void_p]
3719
+ Acm_RegCallBackFunc.restype = c_uint32
3720
+ except:
3721
+ pass
3722
+
3723
+ try:
3724
+ Acm_EnableEventCallBack = lib.Acm_EnableEventCallBack
3725
+ Acm_EnableEventCallBack.argtypes = [c_void_p]
3726
+ Acm_EnableEventCallBack.restype = c_uint32
3727
+ except:
3728
+ pass
3729
+
3730
+ try:
3731
+ Acm_RegCallBackFuncForOneEvent = lib.Acm_RegCallBackFuncForOneEvent
3732
+ Acm_RegCallBackFuncForOneEvent.argtypes = [c_void_p, c_uint32, CALLBACK_FUNC, c_void_p]
3733
+ Acm_RegCallBackFuncForOneEvent.restype = c_uint32
3734
+ except:
3735
+ pass
3736
+
3737
+ try:
3738
+ Acm_DevEnableMotionEvent = lib.Acm_DevEnableMotionEvent
3739
+ Acm_DevEnableMotionEvent.argtypes = [c_void_p, POINTER(c_uint32), POINTER(c_uint32), c_uint32, c_uint32]
3740
+ Acm_DevEnableMotionEvent.restype = c_uint32
3741
+ except:
3742
+ pass
3743
+ # Robot
3744
+ # try:
3745
+ # Acm_GpRbSetMode = lib.Acm_GpRbSetMode
3746
+ # Acm_GpRbSetMode.argtypes = [c_void_p, c_uint16, POINTER(c_int32), c_uint32]
3747
+ # Acm_GpRbSetMode.restype = c_uint32
3748
+ # except:
3749
+ # pass
3750
+
3751
+ # try:
3752
+ # Acm_GpRbGetCmdPosition = lib.Acm_GpRbGetCmdPosition
3753
+ # Acm_GpRbGetCmdPosition.argtypes = [c_void_p, POINTER(c_double), c_uint32]
3754
+ # Acm_GpRbGetCmdPosition.restype = c_uint32
3755
+ # except:
3756
+ # pass
3757
+
3758
+ # try:
3759
+ # Acm_GpRbGetActualPosition = lib.Acm_GpRbGetActualPosition
3760
+ # Acm_GpRbGetActualPosition.argtypes = [c_void_p, POINTER(c_double), c_uint32]
3761
+ # Acm_GpRbGetActualPosition.restype = c_uint32
3762
+ # except:
3763
+ # pass
3764
+
3765
+ # try:
3766
+ # Acm_GpRbGetArmCmdPosition = lib.Acm_GpRbGetArmCmdPosition
3767
+ # Acm_GpRbGetArmCmdPosition.argtypes = [c_void_p, c_uint16, POINTER(c_double)]
3768
+ # Acm_GpRbGetArmCmdPosition.restype = c_uint32
3769
+ # except:
3770
+ # pass
3771
+
3772
+ # try:
3773
+ # Acm_GpRbGetArmActualPosition = lib.Acm_GpRbGetArmActualPosition
3774
+ # Acm_GpRbGetArmActualPosition.argtypes = [c_void_p, c_uint16, POINTER(c_double)]
3775
+ # Acm_GpRbGetArmActualPosition.restype = c_uint32
3776
+ # except:
3777
+ # pass
3778
+
3779
+ # try:
3780
+ # Acm_RbGetActualPosition = lib.Acm_RbGetActualPosition
3781
+ # Acm_RbGetActualPosition.argtypes = [c_void_p, POINTER(c_double), c_uint32]
3782
+ # Acm_RbGetActualPosition.restype = c_uint32
3783
+ # except:
3784
+ # pass
3785
+
3786
+ # try:
3787
+ # Acm_RbGetCmdPosition = lib.Acm_RbGetCmdPosition
3788
+ # Acm_RbGetCmdPosition.argtypes = [c_void_p, POINTER(c_double), c_uint32]
3789
+ # Acm_RbGetCmdPosition.restype = c_uint32
3790
+ # except:
3791
+ # pass
3792
+
3793
+ # try:
3794
+ # Acm_RbGetArmActualPosition = lib.Acm_RbGetArmActualPosition
3795
+ # Acm_RbGetArmActualPosition.argtypes = [c_void_p, c_uint16, POINTER(c_double)]
3796
+ # Acm_RbGetArmActualPosition.restype = c_uint32
3797
+ # except:
3798
+ # pass
3799
+
3800
+ # try:
3801
+ # Acm_RbGetArmCmdPosition = lib.Acm_RbGetArmCmdPosition
3802
+ # Acm_RbGetArmCmdPosition.argtypes = [c_void_p, c_uint16, POINTER(c_double)]
3803
+ # Acm_RbGetArmCmdPosition.restype = c_uint32
3804
+ # except:
3805
+ # pass
3806
+
3807
+ # try:
3808
+ # Acm_RbOpen = lib.Acm_RbOpen
3809
+ # Acm_RbOpen.argtypes = [c_void_p, POINTER(c_void_p)]
3810
+ # Acm_RbOpen.restype = c_uint32
3811
+ # except:
3812
+ # pass
3813
+
3814
+ # try:
3815
+ # Acm_RbInitial = lib.Acm_RbInitial
3816
+ # Acm_RbInitial.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_double), POINTER(c_double),
3817
+ # POINTER(c_int32), c_uint32]
3818
+ # Acm_RbInitial.restype = c_uint32
3819
+ # except:
3820
+ # pass
3821
+
3822
+ # try:
3823
+ # Acm_RbClose = lib.Acm_RbClose
3824
+ # Acm_RbClose.argtypes = [POINTER(c_void_p)]
3825
+ # Acm_RbClose.restype = c_uint32
3826
+ # except:
3827
+ # pass
3828
+
3829
+ # try:
3830
+ # Acm_RbResetError = lib.Acm_RbResetError
3831
+ # Acm_RbResetError.argtypes = [c_void_p]
3832
+ # Acm_RbResetError.restype = c_uint32
3833
+ # except:
3834
+ # pass
3835
+
3836
+ # try:
3837
+ # Acm_RbGetState = lib.Acm_RbGetState
3838
+ # Acm_RbGetState.argtypes = [c_void_p, POINTER(c_uint16)]
3839
+ # Acm_RbGetState.restype = c_uint32
3840
+ # except:
3841
+ # pass
3842
+
3843
+ # try:
3844
+ # Acm_RbSetActPosition = lib.Acm_RbSetActPosition
3845
+ # Acm_RbSetActPosition.argtypes = [c_void_p, POINTER(c_double), c_uint32]
3846
+ # Acm_RbSetActPosition.restype = c_uint32
3847
+ # except:
3848
+ # pass
3849
+
3850
+ # try:
3851
+ # Acm_RbMoveRel = lib.Acm_RbMoveRel
3852
+ # Acm_RbMoveRel.argtypes = [c_void_p, POINTER(c_double), POINTER(c_uint32)]
3853
+ # Acm_RbMoveRel.restype = c_uint32
3854
+ # except:
3855
+ # pass
3856
+
3857
+ # try:
3858
+ # Acm_RbMoveAbs = lib.Acm_RbMoveAbs
3859
+ # Acm_RbMoveAbs.argtypes = [c_void_p, POINTER(c_double), POINTER(c_uint32)]
3860
+ # Acm_RbMoveAbs.restype = c_uint32
3861
+ # except:
3862
+ # pass
3863
+
3864
+ # try:
3865
+ # Acm_RbMoveDirectRel = lib.Acm_RbMoveDirectRel
3866
+ # Acm_RbMoveDirectRel.argtypes = [c_void_p, POINTER(c_double), POINTER(c_uint32)]
3867
+ # Acm_RbMoveDirectRel.restype = c_uint32
3868
+ # except:
3869
+ # pass
3870
+
3871
+ # try:
3872
+ # Acm_RbMoveDirectAbs = lib.Acm_RbMoveDirectAbs
3873
+ # Acm_RbMoveDirectAbs.argtypes = [c_void_p, POINTER(c_double), POINTER(c_uint32)]
3874
+ # Acm_RbMoveDirectAbs.restype = c_uint32
3875
+ # except:
3876
+ # pass
3877
+
3878
+ # try:
3879
+ # Acm_RbMoveLinearRel = lib.Acm_RbMoveLinearRel
3880
+ # Acm_RbMoveLinearRel.argtypes = [c_void_p, POINTER(c_double), POINTER(c_uint32)]
3881
+ # Acm_RbMoveLinearRel.restype = c_uint32
3882
+ # except:
3883
+ # pass
3884
+
3885
+ # try:
3886
+ # Acm_RbMoveLinearAbs = lib.Acm_RbMoveLinearAbs
3887
+ # Acm_RbMoveLinearAbs.argtypes = [c_void_p, POINTER(c_double), POINTER(c_uint32)]
3888
+ # Acm_RbMoveLinearAbs.restype = c_uint32
3889
+ # except:
3890
+ # pass
3891
+
3892
+ # try:
3893
+ # Acm_RbMoveArcRel = lib.Acm_RbMoveArcRel
3894
+ # Acm_RbMoveArcRel.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16]
3895
+ # Acm_RbMoveArcRel.restype = c_uint32
3896
+ # except:
3897
+ # pass
3898
+
3899
+ # try:
3900
+ # Acm_RbMoveArcAbs = lib.Acm_RbMoveArcAbs
3901
+ # Acm_RbMoveArcAbs.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16]
3902
+ # Acm_RbMoveArcAbs.restype = c_uint32
3903
+ # except:
3904
+ # pass
3905
+
3906
+ # try:
3907
+ # Acm_RbMoveArcRel_3P = lib.Acm_RbMoveArcRel_3P
3908
+ # Acm_RbMoveArcRel_3P.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16]
3909
+ # Acm_RbMoveArcRel_3P.restype = c_uint32
3910
+ # except:
3911
+ # pass
3912
+
3913
+ # try:
3914
+ # Acm_RbMoveArcAbs_3P = lib.Acm_RbMoveArcAbs_3P
3915
+ # Acm_RbMoveArcAbs_3P.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16]
3916
+ # Acm_RbMoveArcAbs_3P.restype = c_uint32
3917
+ # except:
3918
+ # pass
3919
+
3920
+ # try:
3921
+ # Acm_RbMoveArcRel_Angle = lib.Acm_RbMoveArcRel_Angle
3922
+ # Acm_RbMoveArcRel_Angle.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16]
3923
+ # Acm_RbMoveArcRel_Angle.restype = c_uint32
3924
+ # except:
3925
+ # pass
3926
+
3927
+ # try:
3928
+ # Acm_RbMoveArcAbs_Angle = lib.Acm_RbMoveArcAbs_Angle
3929
+ # Acm_RbMoveArcAbs_Angle.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16]
3930
+ # Acm_RbMoveArcAbs_Angle.restype = c_uint32
3931
+ # except:
3932
+ # pass
3933
+
3934
+ # try:
3935
+ # Acm_RbMove3DArcAbs = lib.Acm_RbMove3DArcAbs
3936
+ # Acm_RbMove3DArcAbs.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16]
3937
+ # Acm_RbMove3DArcAbs.restype = c_uint32
3938
+ # except:
3939
+ # pass
3940
+
3941
+ # try:
3942
+ # Acm_RbMove3DArcRel = lib.Acm_RbMove3DArcRel
3943
+ # Acm_RbMove3DArcRel.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16]
3944
+ # Acm_RbMove3DArcRel.restype = c_uint32
3945
+ # except:
3946
+ # pass
3947
+
3948
+ # try:
3949
+ # Acm_RbMove3DArcAbs_V = lib.Acm_RbMove3DArcAbs_V
3950
+ # Acm_RbMove3DArcAbs_V.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_double),
3951
+ # c_double, POINTER(c_uint32), c_int16]
3952
+ # Acm_RbMove3DArcAbs_V.restype = c_uint32
3953
+ # except:
3954
+ # pass
3955
+
3956
+ # try:
3957
+ # Acm_RbMove3DArcRel_V = lib.Acm_RbMove3DArcRel_V
3958
+ # Acm_RbMove3DArcRel_V.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_double),
3959
+ # c_double, POINTER(c_uint32), c_int16]
3960
+ # Acm_RbMove3DArcRel_V.restype = c_uint32
3961
+ # except:
3962
+ # pass
3963
+
3964
+ # try:
3965
+ # Acm_RbMove3DArcAbs_3P = lib.Acm_RbMove3DArcAbs_3P
3966
+ # Acm_RbMove3DArcAbs_3P.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16, c_uint16]
3967
+ # Acm_RbMove3DArcAbs_3P.restype = c_uint32
3968
+ # except:
3969
+ # pass
3970
+
3971
+ # try:
3972
+ # Acm_RbMove3DArcRel_3P = lib.Acm_RbMove3DArcRel_3P
3973
+ # Acm_RbMove3DArcRel_3P.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16, c_uint16]
3974
+ # Acm_RbMove3DArcRel_3P.restype = c_uint32
3975
+ # except:
3976
+ # pass
3977
+
3978
+ # try:
3979
+ # Acm_RbMove3DArcAbs_3PAngle = lib.Acm_RbMove3DArcAbs_3PAngle
3980
+ # Acm_RbMove3DArcAbs_3PAngle.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16, c_double]
3981
+ # Acm_RbMove3DArcAbs_3PAngle.restype = c_uint32
3982
+ # except:
3983
+ # pass
3984
+
3985
+ # try:
3986
+ # Acm_RbMove3DArcRel_3PAngle = lib.Acm_RbMove3DArcRel_3PAngle
3987
+ # Acm_RbMove3DArcRel_3PAngle.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double), POINTER(c_uint32), c_int16, c_double]
3988
+ # Acm_RbMove3DArcRel_3PAngle.restype = c_uint32
3989
+ # except:
3990
+ # pass
3991
+
3992
+ # try:
3993
+ # Acm_RbAddPath = lib.Acm_RbAddPath
3994
+ # Acm_RbAddPath.argtypes = [c_void_p, c_uint16, c_uint16, c_double, c_double, POINTER(c_double), POINTER(c_double), POINTER(c_uint32)]
3995
+ # Acm_RbAddPath.restype = c_uint32
3996
+ # except:
3997
+ # pass
3998
+
3999
+ # try:
4000
+ # Acm_RbResetPath = lib.Acm_RbResetPath
4001
+ # Acm_RbResetPath.argtypes = [POINTER(c_void_p)]
4002
+ # Acm_RbResetPath.restype = c_uint32
4003
+ # except:
4004
+ # pass
4005
+
4006
+ # try:
4007
+ # Acm_RbGetPathStatus = lib.Acm_RbGetPathStatus
4008
+ # Acm_RbGetPathStatus.argtypes = [c_void_p, POINTER(c_uint32), POINTER(c_uint32), POINTER(c_uint32), POINTER(c_uint32)]
4009
+ # Acm_RbGetPathStatus.restype = c_uint32
4010
+ # except:
4011
+ # pass
4012
+
4013
+ # try:
4014
+ # Acm_RbMovePath = lib.Acm_RbMovePath
4015
+ # Acm_RbMovePath.argtypes = [c_void_p, c_void_p]
4016
+ # Acm_RbMovePath.restype = c_uint32
4017
+ # except:
4018
+ # pass
4019
+
4020
+ # try:
4021
+ # Acm_RbChangeVel = lib.Acm_RbChangeVel
4022
+ # Acm_RbChangeVel.argtypes = [c_void_p, c_double]
4023
+ # Acm_RbChangeVel.restype = c_uint32
4024
+ # except:
4025
+ # pass
4026
+
4027
+ # try:
4028
+ # Acm_RbChangeVelByRate = lib.Acm_RbChangeVelByRate
4029
+ # Acm_RbChangeVelByRate.argtypes = [c_void_p, c_uint32]
4030
+ # Acm_RbChangeVelByRate.restype = c_uint32
4031
+ # except:
4032
+ # pass
4033
+
4034
+ # try:
4035
+ # Acm_RbGetCmdVel = lib.Acm_RbGetCmdVel
4036
+ # Acm_RbGetCmdVel.argtypes = [c_void_p, POINTER(c_double)]
4037
+ # Acm_RbGetCmdVel.restype = c_uint32
4038
+ # except:
4039
+ # pass
4040
+
4041
+ # try:
4042
+ # Acm_RbStopDec = lib.Acm_RbStopDec
4043
+ # Acm_RbStopDec.argtypes = [c_void_p]
4044
+ # Acm_RbStopDec.restype = c_uint32
4045
+ # except:
4046
+ # pass
4047
+
4048
+ # try:
4049
+ # Acm_RbStopEmg = lib.Acm_RbStopEmg
4050
+ # Acm_RbStopEmg.argtypes = [c_void_p]
4051
+ # Acm_RbStopEmg.restype = c_uint32
4052
+ # except:
4053
+ # pass
4054
+
4055
+ # try:
4056
+ # Acm_RbPauseMotion = lib.Acm_RbPauseMotion
4057
+ # Acm_RbPauseMotion.argtypes = [c_void_p]
4058
+ # Acm_RbPauseMotion.restype = c_uint32
4059
+ # except:
4060
+ # pass
4061
+
4062
+ # try:
4063
+ # Acm_RbResumeMotion = lib.Acm_RbResumeMotion
4064
+ # Acm_RbResumeMotion.argtypes = [c_void_p]
4065
+ # Acm_RbResumeMotion.restype = c_uint32
4066
+ # except:
4067
+ # pass
4068
+
4069
+ # try:
4070
+ # IsGMSHandleValid = lib.IsGMSHandleValid
4071
+ # IsGMSHandleValid.argtypes = [c_void_p]
4072
+ # IsGMSHandleValid.restype = c_bool
4073
+ # except:
4074
+ # pass
4075
+
4076
+ # try:
4077
+ # Acm_RbLoadPath = lib.Acm_RbLoadPath
4078
+ # Acm_RbLoadPath.argtypes = [c_void_p, c_char_p, POINTER(c_void_p), POINTER(c_uint32)]
4079
+ # Acm_RbLoadPath.restype = c_uint32
4080
+ # except:
4081
+ # pass
4082
+
4083
+ # try:
4084
+ # Acm_RbUnloadPath = lib.Acm_RbUnloadPath
4085
+ # Acm_RbUnloadPath.argtypes = [c_void_p, POINTER(c_void_p)]
4086
+ # Acm_RbUnloadPath.restype = c_uint32
4087
+ # except:
4088
+ # pass
4089
+
4090
+ # try:
4091
+ # Acm_RbMoveSelPath = lib.Acm_RbMoveSelPath
4092
+ # Acm_RbMoveSelPath.argtypes = [c_void_p, c_void_p, c_uint32, c_uint32, c_uint8]
4093
+ # Acm_RbMoveSelPath.restype = c_uint32
4094
+ # except:
4095
+ # pass
4096
+
4097
+ # try:
4098
+ # Acm_RbGetPathIndexStatus = lib.Acm_RbGetPathIndexStatus
4099
+ # Acm_RbGetPathIndexStatus.argtypes = [c_void_p, c_uint32, POINTER(c_uint16), POINTER(c_uint16),
4100
+ # POINTER(c_double), POINTER(c_double), POINTER(c_double),
4101
+ # POINTER(c_double), POINTER(c_uint32)]
4102
+ # Acm_RbGetPathIndexStatus.restype = c_uint32
4103
+ # except:
4104
+ # pass
4105
+
4106
+ # try:
4107
+ # Acm_RbSetExtDrive = lib.Acm_RbSetExtDrive
4108
+ # Acm_RbSetExtDrive.argtypes = [c_void_p, c_uint16]
4109
+ # Acm_RbSetExtDrive.restype = c_uint32
4110
+ # except:
4111
+ # pass
4112
+
4113
+ # try:
4114
+ # Acm_RbJog = lib.Acm_RbJog
4115
+ # Acm_RbJog.argtypes = [c_void_p, c_uint16]
4116
+ # Acm_RbJog.restype = c_uint32
4117
+ # except:
4118
+ # pass
4119
+
4120
+ # try:
4121
+ # Acm_RbGetWorldPosFromJoint = lib.Acm_RbGetWorldPosFromJoint
4122
+ # Acm_RbGetWorldPosFromJoint.argtypes = [c_void_p, POINTER(c_double), POINTER(c_double)]
4123
+ # Acm_RbGetWorldPosFromJoint.restype = c_uint32
4124
+ # except:
4125
+ # pass
4126
+ # GM code
4127
+ # try:
4128
+ # Acm_GmOpen = lib.Acm_GmOpen
4129
+ # Acm_GmOpen.argtypes = [c_void_p, POINTER(c_void_p)]
4130
+ # Acm_GmOpen.restype = c_uint32
4131
+ # except:
4132
+ # pass
4133
+
4134
+ # try:
4135
+ # Acm_GmClose = lib.Acm_GmClose
4136
+ # Acm_GmClose.argtypes = [c_void_p]
4137
+ # Acm_GmClose.restype = c_uint32
4138
+ # except:
4139
+ # pass
4140
+
4141
+ # try:
4142
+ # Acm_GmLoadJob = lib.Acm_GmLoadJob
4143
+ # Acm_GmLoadJob.argtypes = [c_void_p, c_char_p, POINTER(c_uint32)]
4144
+ # Acm_GmLoadJob.restype = c_uint32
4145
+ # except:
4146
+ # pass
4147
+
4148
+ # try:
4149
+ # Acm_GmUploadJob = lib.Acm_GmUploadJob
4150
+ # Acm_GmUploadJob.argtypes = [c_void_p, c_char_p, POINTER(c_uint32)]
4151
+ # Acm_GmUploadJob.restype = c_uint32
4152
+ # except:
4153
+ # pass
4154
+
4155
+ # try:
4156
+ # Acm_GmResetJob = lib.Acm_GmResetJob
4157
+ # Acm_GmResetJob.argtypes = [c_void_p]
4158
+ # Acm_GmResetJob.restype = c_uint32
4159
+ # except:
4160
+ # pass
4161
+
4162
+ # try:
4163
+ # Acm_GmCommand = lib.Acm_GmCommand
4164
+ # Acm_GmCommand.argtypes = [c_void_p, c_char_p]
4165
+ # Acm_GmCommand.restype = c_uint32
4166
+ # except:
4167
+ # pass
4168
+
4169
+ # try:
4170
+ # Acm_GmRemoveAxisFromSystem = lib.Acm_GmRemoveAxisFromSystem
4171
+ # Acm_GmRemoveAxisFromSystem.argtypes = [c_void_p, c_uint32]
4172
+ # Acm_GmRemoveAxisFromSystem.restype = c_uint32
4173
+ # except:
4174
+ # pass
4175
+
4176
+ # try:
4177
+ # Acm_GmSetCompensationRadius = lib.Acm_GmSetCompensationRadius
4178
+ # Acm_GmSetCompensationRadius.argtypes = [c_void_p, c_uint32, c_double]
4179
+ # Acm_GmSetCompensationRadius.restype = c_uint32
4180
+ # except:
4181
+ # pass
4182
+
4183
+ # try:
4184
+ # Acm_GmGetCompensationRadius = lib.Acm_GmGetCompensationRadius
4185
+ # Acm_GmGetCompensationRadius.argtypes = [c_void_p, POINTER(c_uint32), POINTER(c_uint32)]
4186
+ # Acm_GmGetCompensationRadius.restype = c_uint32
4187
+ # except:
4188
+ # pass
4189
+
4190
+ # try:
4191
+ # Acm_GmSetCurrentCompensationRadius = lib.Acm_GmSetCurrentCompensationRadius
4192
+ # Acm_GmSetCurrentCompensationRadius.argtypes = [c_void_p, c_double]
4193
+ # Acm_GmSetCurrentCompensationRadius.restype = c_uint32
4194
+ # except:
4195
+ # pass
4196
+
4197
+ # try:
4198
+ # Acm_GmGetCurrentCompensationRadius = lib.Acm_GmGetCurrentCompensationRadius
4199
+ # Acm_GmGetCurrentCompensationRadius.argtypes = [c_void_p, POINTER(c_double)]
4200
+ # Acm_GmGetCurrentCompensationRadius.restype = c_uint32
4201
+ # except:
4202
+ # pass
4203
+
4204
+ # try:
4205
+ # Acm_GmSetToolLengthOffset = lib.Acm_GmSetToolLengthOffset
4206
+ # Acm_GmSetToolLengthOffset.argtypes = [c_void_p, c_uint32, c_double]
4207
+ # Acm_GmSetToolLengthOffset.restype = c_uint32
4208
+ # except:
4209
+ # pass
4210
+
4211
+ # try:
4212
+ # Acm_GmGetToolLengthOffset = lib.Acm_GmGetToolLengthOffset
4213
+ # Acm_GmGetToolLengthOffset.argtypes = [c_void_p, POINTER(c_uint32), POINTER(c_uint32)]
4214
+ # Acm_GmGetToolLengthOffset.restype = c_uint32
4215
+ # except:
4216
+ # pass
4217
+
4218
+ # try:
4219
+ # Acm_GmSetCurrentToolLengthOffset = lib.Acm_GmSetCurrentToolLengthOffset
4220
+ # Acm_GmSetCurrentToolLengthOffset.argtypes = [c_void_p, c_double]
4221
+ # Acm_GmSetCurrentToolLengthOffset.restype = c_uint32
4222
+ # except:
4223
+ # pass
4224
+
4225
+ # try:
4226
+ # Acm_GmGetCurrentToolLengthOffset = lib.Acm_GmGetCurrentToolLengthOffset
4227
+ # Acm_GmGetCurrentToolLengthOffset.argtypes = [c_void_p, POINTER(c_double)]
4228
+ # Acm_GmGetCurrentToolLengthOffset.restype = c_uint32
4229
+ # except:
4230
+ # pass
4231
+
4232
+ # try:
4233
+ # Acm_GmSetMacro = lib.Acm_GmSetMacro
4234
+ # Acm_GmSetMacro.argtypes = [c_void_p, c_uint32, c_char_p]
4235
+ # Acm_GmSetMacro.restype = c_uint32
4236
+ # except:
4237
+ # pass
4238
+
4239
+ # try:
4240
+ # Acm_GmGetMacro = lib.Acm_GmGetMacro
4241
+ # Acm_GmGetMacro.argtypes = [c_void_p, c_uint32, c_char_p, POINTER(c_uint32)]
4242
+ # Acm_GmGetMacro.restype = c_uint32
4243
+ # except:
4244
+ # pass
4245
+
4246
+ # try:
4247
+ # Acm_GmGetMacroArray = lib.Acm_GmGetMacroArray
4248
+ # Acm_GmGetMacroArray.argtypes = [c_void_p, POINTER(c_uint32), POINTER(c_uint32)]
4249
+ # Acm_GmGetMacroArray.restype = c_uint32
4250
+ # except:
4251
+ # pass
4252
+
4253
+ try:
4254
+ Acm_ServoSetCom = lib.Acm_ServoSetCom
4255
+ Acm_ServoSetCom.argtypes = [c_uint32, c_uint32, c_uint32]
4256
+ Acm_ServoSetCom.restype = c_uint32
4257
+ except:
4258
+ pass
4259
+
4260
+ try:
4261
+ Acm_ServoGetAbsPosition = lib.Acm_ServoGetAbsPosition
4262
+ Acm_ServoGetAbsPosition.argtypes = [c_uint32, c_uint32, c_uint32, c_uint32, c_uint32, c_uint32, POINTER(c_double)]
4263
+ Acm_ServoGetAbsPosition.restype = c_uint32
4264
+ except:
4265
+ pass
4266
+
4267
+ try:
4268
+ Acm_AxSetCmdPosi_Pulse = lib.Acm_AxSetCmdPosi_Pulse
4269
+ Acm_AxSetCmdPosi_Pulse.argtypes = [c_void_p, c_double]
4270
+ Acm_AxSetCmdPosi_Pulse.restype = c_uint32
4271
+ except:
4272
+ pass
4273
+
4274
+ try:
4275
+ Acm_AxSpecialDiSetBit = lib.Acm_AxSpecialDiSetBit
4276
+ Acm_AxSpecialDiSetBit.argtypes = [c_void_p, c_uint16, c_uint8]
4277
+ Acm_AxSpecialDiSetBit.restype = c_uint32
4278
+ except:
4279
+ pass
4280
+
4281
+ try:
4282
+ Acm_DevEnableLTC = lib.Acm_DevEnableLTC
4283
+ Acm_DevEnableLTC.argtypes = [c_void_p, c_uint16, c_uint16]
4284
+ Acm_DevEnableLTC.restype = c_uint32
4285
+ except:
4286
+ pass
4287
+
4288
+ try:
4289
+ Acm_DevLTCSaftyDist = lib.Acm_DevLTCSaftyDist
4290
+ Acm_DevLTCSaftyDist.argtypes = [c_void_p, c_uint16, c_double]
4291
+ Acm_DevLTCSaftyDist.restype = c_uint32
4292
+ except:
4293
+ pass
4294
+
4295
+ try:
4296
+ Acm_DevEnableCmp = lib.Acm_DevEnableCmp
4297
+ Acm_DevEnableCmp.argtypes = [c_void_p, c_uint16, c_uint16]
4298
+ Acm_DevEnableCmp.restype = c_uint32
4299
+ except:
4300
+ pass
4301
+
4302
+ try:
4303
+ Acm_DevLtcLinkCmp = lib.Acm_DevLtcLinkCmp
4304
+ Acm_DevLtcLinkCmp.argtypes = [c_void_p, c_void_p, c_uint16, c_uint16, c_uint16, c_double]
4305
+ Acm_DevLtcLinkCmp.restype = c_uint32
4306
+ except:
4307
+ pass
4308
+
4309
+ try:
4310
+ Acm_DevSetCmp = lib.Acm_DevSetCmp
4311
+ Acm_DevSetCmp.argtypes = [c_void_p, c_uint16, c_uint32, c_uint32, c_uint32, c_uint32, c_uint32]
4312
+ Acm_DevSetCmp.restype = c_uint32
4313
+ except:
4314
+ pass
4315
+
4316
+ try:
4317
+ Acm_DevSetCmpDO = lib.Acm_DevSetCmpDO
4318
+ Acm_DevSetCmpDO.argtypes = [c_void_p, c_uint16, c_uint16]
4319
+ Acm_DevSetCmpDO.restype = c_uint32
4320
+ except:
4321
+ pass
4322
+
4323
+ try:
4324
+ Acm_DevSetCmpData = lib.Acm_DevSetCmpData
4325
+ Acm_DevSetCmpData.argtypes = [c_void_p, c_uint16, c_double]
4326
+ Acm_DevSetCmpData.restype = c_uint32
4327
+ except:
4328
+ pass
4329
+
4330
+ try:
4331
+ Acm_DevSetCmpAuto = lib.Acm_DevSetCmpAuto
4332
+ Acm_DevSetCmpAuto.argtypes = [c_void_p, c_uint16, c_double, c_double, c_double]
4333
+ Acm_DevSetCmpAuto.restype = c_uint32
4334
+ except:
4335
+ pass
4336
+
4337
+ try:
4338
+ Acm_DevGetCmpData = lib.Acm_DevGetCmpData
4339
+ Acm_DevGetCmpData.argtypes = [c_void_p, c_uint16, POINTER(c_double)]
4340
+ Acm_DevGetCmpData.restype = c_uint32
4341
+ except:
4342
+ pass
4343
+
4344
+ try:
4345
+ Acm_DevEnableCmpFIFO = lib.Acm_DevEnableCmpFIFO
4346
+ Acm_DevEnableCmpFIFO.argtypes = [c_void_p, c_uint16, c_uint16]
4347
+ Acm_DevEnableCmpFIFO.restype = c_uint32
4348
+ except:
4349
+ pass
4350
+
4351
+ try:
4352
+ Acm_DevGetCmpFIFOCount = lib.Acm_DevGetCmpFIFOCount
4353
+ Acm_DevGetCmpFIFOCount.argtypes = [c_void_p, c_uint16, POINTER(c_uint16)]
4354
+ Acm_DevGetCmpFIFOCount.restype = c_uint32
4355
+ except:
4356
+ pass
4357
+
4358
+ try:
4359
+ Acm_DevGetCmpCounter = lib.Acm_DevGetCmpCounter
4360
+ Acm_DevGetCmpCounter.argtypes = [c_void_p, c_uint16, POINTER(c_uint32)]
4361
+ Acm_DevGetCmpCounter.restype = c_uint32
4362
+ except:
4363
+ pass
4364
+
4365
+ try:
4366
+ Acm_DevResetCmpFIFO = lib.Acm_DevResetCmpFIFO
4367
+ Acm_DevResetCmpFIFO.argtypes = [c_void_p, c_uint16]
4368
+ Acm_DevResetCmpFIFO.restype = c_uint32
4369
+ except:
4370
+ pass
4371
+
4372
+ try:
4373
+ Acm_DevSetLTCInEdge = lib.Acm_DevSetLTCInEdge
4374
+ Acm_DevSetLTCInEdge.argtypes = [c_void_p, c_uint16, c_uint16]
4375
+ Acm_DevSetLTCInEdge.restype = c_uint32
4376
+ except:
4377
+ pass
4378
+
4379
+ try:
4380
+ Acm_DevGetLTCData = lib.Acm_DevGetLTCData
4381
+ Acm_DevGetLTCData.argtypes = [c_void_p, c_uint16, POINTER(c_double), POINTER(c_double)]
4382
+ Acm_DevGetLTCData.restype = c_uint32
4383
+ except:
4384
+ pass
4385
+
4386
+ try:
4387
+ Acm_DevGetLTCFlag = lib.Acm_DevGetLTCFlag
4388
+ Acm_DevGetLTCFlag.argtypes = [c_void_p, c_uint16, POINTER(c_uint8)]
4389
+ Acm_DevGetLTCFlag.restype = c_uint32
4390
+ except:
4391
+ pass
4392
+
4393
+ try:
4394
+ Acm_DevResetLTC = lib.Acm_DevResetLTC
4395
+ Acm_DevResetLTC.argtypes = [c_void_p, c_uint16]
4396
+ Acm_DevResetLTC.restype = c_uint32
4397
+ except:
4398
+ pass
4399
+
4400
+ try:
4401
+ Acm_DevGetCmpFlag = lib.Acm_DevGetCmpFlag
4402
+ Acm_DevGetCmpFlag.argtypes = [c_void_p, c_uint16, POINTER(c_uint8)]
4403
+ Acm_DevGetCmpFlag.restype = c_uint32
4404
+ except:
4405
+ pass
4406
+
4407
+ try:
4408
+ Acm_DevResetCmpFlag = lib.Acm_DevResetCmpFlag
4409
+ Acm_DevResetCmpFlag.argtypes = [c_void_p, c_uint16]
4410
+ Acm_DevResetCmpFlag.restype = c_uint32
4411
+ except:
4412
+ pass
4413
+
4414
+ try:
4415
+ Acm_DevGetLtcLinkCmpStatus = lib.Acm_DevGetLtcLinkCmpStatus
4416
+ Acm_DevGetLtcLinkCmpStatus.argtypes = [c_void_p, c_uint16, POINTER(c_uint16)]
4417
+ Acm_DevGetLtcLinkCmpStatus.restype = c_uint32
4418
+ except:
4419
+ pass
4420
+
4421
+ try:
4422
+ Acm_DevResetCmpData = lib.Acm_DevResetCmpData
4423
+ Acm_DevResetCmpData.argtypes = [c_void_p, c_uint16]
4424
+ Acm_DevResetCmpData.restype = c_uint32
4425
+ except:
4426
+ pass
4427
+
4428
+ try:
4429
+ Acm_DevGetLTCInEdge = lib.Acm_DevGetLTCInEdge
4430
+ Acm_DevGetLTCInEdge.argtypes = [c_void_p, c_uint16, POINTER(c_uint16)]
4431
+ Acm_DevGetLTCInEdge.restype = c_uint32
4432
+ except:
4433
+ pass
4434
+
4435
+ try:
4436
+ Acm_DevGetLTCInPol = lib.Acm_DevGetLTCInPol
4437
+ Acm_DevGetLTCInPol.argtypes = [c_void_p, c_uint16, POINTER(c_uint16)]
4438
+ Acm_DevGetLTCInPol.restype = c_uint32
4439
+ except:
4440
+ pass
4441
+
4442
+ try:
4443
+ Acm_DevGetLTCSaftyDist = lib.Acm_DevGetLTCSaftyDist
4444
+ Acm_DevGetLTCSaftyDist.argtypes = [c_void_p, c_uint16, POINTER(c_double)]
4445
+ Acm_DevGetLTCSaftyDist.restype = c_uint32
4446
+ except:
4447
+ pass
4448
+
4449
+ try:
4450
+ Acm_DevGetLTCInSource = lib.Acm_DevGetLTCInSource
4451
+ Acm_DevGetLTCInSource.argtypes = [c_void_p, c_uint16, POINTER(c_uint16)]
4452
+ Acm_DevGetLTCInSource.restype = c_uint32
4453
+ except:
4454
+ pass
4455
+
4456
+ try:
4457
+ Acm_DevSetLTCInSource = lib.Acm_DevSetLTCInSource
4458
+ Acm_DevSetLTCInSource.argtypes = [c_void_p, c_uint16, c_uint16]
4459
+ Acm_DevSetLTCInSource.restype = c_uint32
4460
+ except:
4461
+ pass
4462
+
4463
+ try:
4464
+ Acm_DevGetCmp = lib.Acm_DevGetCmp
4465
+ Acm_DevGetCmp.argtypes = [c_void_p, c_uint16, POINTER(c_uint32), POINTER(c_uint32),
4466
+ POINTER(c_uint32), POINTER(c_uint32), POINTER(c_uint32)]
4467
+ Acm_DevGetCmp.restype = c_uint32
4468
+ except:
4469
+ pass
4470
+
4471
+ try:
4472
+ Acm_DevReadLatchBuffer = lib.Acm_DevReadLatchBuffer
4473
+ Acm_DevReadLatchBuffer.argtypes = [c_void_p, c_uint16, POINTER(c_double), POINTER(c_double), POINTER(c_uint32)]
4474
+ Acm_DevReadLatchBuffer.restype = c_uint32
4475
+ except:
4476
+ pass
4477
+
4478
+ try:
4479
+ Acm_DevGetLatchBufferStatus = lib.Acm_DevGetLatchBufferStatus
4480
+ Acm_DevGetLatchBufferStatus.argtypes = [c_void_p, c_uint16, POINTER(c_uint32), POINTER(c_uint32), POINTER(c_uint32)]
4481
+ Acm_DevGetLatchBufferStatus.restype = c_uint32
4482
+ except:
4483
+ pass
4484
+
4485
+ try:
4486
+ Acm_DevResetLatchBuffer = lib.Acm_DevResetLatchBuffer
4487
+ Acm_DevResetLatchBuffer.argtypes = [c_void_p, c_uint16]
4488
+ Acm_DevResetLatchBuffer.restype = c_uint32
4489
+ except:
4490
+ pass
4491
+
4492
+ try:
4493
+ Acm_DevSetLTCInAxisID = lib.Acm_DevSetLTCInAxisID
4494
+ Acm_DevSetLTCInAxisID.argtypes = [c_void_p, c_uint16, c_uint32]
4495
+ Acm_DevSetLTCInAxisID.restype = c_uint32
4496
+ except:
4497
+ pass
4498
+
4499
+ try:
4500
+ Acm_DevGetLTCInAxisID = lib.Acm_DevGetLTCInAxisID
4501
+ Acm_DevGetLTCInAxisID.argtypes = [c_void_p, c_uint16, POINTER(c_uint32)]
4502
+ Acm_DevGetLTCInAxisID.restype = c_uint32
4503
+ except:
4504
+ pass
4505
+
4506
+ try:
4507
+ Acm_DevSetCmpAxisID = lib.Acm_DevSetCmpAxisID
4508
+ Acm_DevSetCmpAxisID.argtypes = [c_void_p, c_uint16, c_uint32]
4509
+ Acm_DevSetCmpAxisID.restype = c_uint32
4510
+ except:
4511
+ pass
4512
+
4513
+ try:
4514
+ Acm_DevGetCmpAxisID = lib.Acm_DevGetCmpAxisID
4515
+ Acm_DevGetCmpAxisID.argtypes = [c_void_p, c_uint16, POINTER(c_uint32)]
4516
+ Acm_DevGetCmpAxisID.restype = c_uint32
4517
+ except:
4518
+ pass
4519
+
4520
+ try:
4521
+ Acm_GetDevNum = lib.Acm_GetDevNum
4522
+ Acm_GetDevNum.argtypes = [c_uint32, c_uint32, POINTER(c_uint32)]
4523
+ Acm_GetDevNum.restype = c_uint32
4524
+ except:
4525
+ pass
4526
+ # Mapping
4527
+ try:
4528
+ Acm_DevSaveMapFile = lib.Acm_DevSaveMapFile
4529
+ Acm_DevSaveMapFile.argtypes = [c_void_p, c_char_p]
4530
+ Acm_DevSaveMapFile.restype = c_uint32
4531
+ except:
4532
+ pass
4533
+
4534
+ try:
4535
+ Acm_DevLoadMapFile = lib.Acm_DevLoadMapFile
4536
+ Acm_DevLoadMapFile.argtypes = [c_void_p, c_char_p]
4537
+ Acm_DevLoadMapFile.restype = c_uint32
4538
+ except:
4539
+ pass
4540
+
4541
+ try:
4542
+ Acm_DevUpLoadMapInfo = lib.Acm_DevUpLoadMapInfo
4543
+ Acm_DevUpLoadMapInfo.argtypes = [c_void_p, c_uint16, POINTER(DEV_IO_MAP_INFO), POINTER(c_uint32)]
4544
+ Acm_DevUpLoadMapInfo.restype = c_uint32
4545
+ except:
4546
+ pass
4547
+
4548
+ try:
4549
+ Acm_DevDownLoadMapInfo = lib.Acm_DevDownLoadMapInfo
4550
+ Acm_DevDownLoadMapInfo.argtypes = [c_void_p, c_uint16, POINTER(DEV_IO_MAP_INFO), c_uint32]
4551
+ Acm_DevDownLoadMapInfo.restype = c_uint32
4552
+ except:
4553
+ pass
4554
+ # EtherCAT
4555
+ try:
4556
+ Acm_DevSetSlaveStates = lib.Acm_DevSetSlaveStates
4557
+ Acm_DevSetSlaveStates.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16]
4558
+ Acm_DevSetSlaveStates.restype = c_uint32
4559
+ except:
4560
+ pass
4561
+
4562
+ try:
4563
+ Acm_DevGetSlaveStates = lib.Acm_DevGetSlaveStates
4564
+ Acm_DevGetSlaveStates.argtypes = [c_void_p, c_uint16, c_uint16, POINTER(c_uint16)]
4565
+ Acm_DevGetSlaveStates.restype = c_uint32
4566
+ except:
4567
+ pass
4568
+
4569
+ try:
4570
+ Acm_DevGetSlaveTxPDO = lib.Acm_DevGetSlaveTxPDO
4571
+ Acm_DevGetSlaveTxPDO.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, c_uint16, POINTER(c_uint8)]
4572
+ Acm_DevGetSlaveTxPDO.restype = c_uint32
4573
+ except:
4574
+ pass
4575
+
4576
+ try:
4577
+ Acm_DevGetSlaveRxPDO = lib.Acm_DevGetSlaveRxPDO
4578
+ Acm_DevGetSlaveRxPDO.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, c_uint16, POINTER(c_uint8)]
4579
+ Acm_DevGetSlaveRxPDO.restype = c_uint32
4580
+ except:
4581
+ pass
4582
+
4583
+ try:
4584
+ Acm_DevGetSlaveRxTxPDO = lib.Acm_DevGetSlaveRxTxPDO
4585
+ Acm_DevGetSlaveRxTxPDO.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_uint8)]
4586
+ Acm_DevGetSlaveRxTxPDO.restype = c_uint32
4587
+ except:
4588
+ pass
4589
+
4590
+ try:
4591
+ Acm_DevWriteSDOComplete = lib.Acm_DevWriteSDOComplete
4592
+ Acm_DevWriteSDOComplete.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, c_uint16, POINTER(c_void_p)]
4593
+ Acm_DevWriteSDOComplete.restype = c_uint32
4594
+ except:
4595
+ pass
4596
+
4597
+ try:
4598
+ Acm_DevWriteSDOData = lib.Acm_DevWriteSDOData
4599
+ Acm_DevWriteSDOData.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, c_uint16, c_uint16, c_uint16, POINTER(c_void_p)]
4600
+ Acm_DevWriteSDOData.restype = c_uint32
4601
+ except:
4602
+ pass
4603
+
4604
+ try:
4605
+ Acm_DevReadSDOData = lib.Acm_DevReadSDOData
4606
+ Acm_DevReadSDOData.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, c_uint16, c_uint16, c_uint16, POINTER(c_void_p)]
4607
+ Acm_DevReadSDOData.restype = c_uint32
4608
+ except:
4609
+ pass
4610
+
4611
+ try:
4612
+ Acm_DevWriteRegData = lib.Acm_DevWriteRegData
4613
+ Acm_DevWriteRegData.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, c_uint16, c_uint16, POINTER(c_void_p)]
4614
+ Acm_DevWriteRegData.restype = c_uint32
4615
+ except:
4616
+ pass
4617
+
4618
+ try:
4619
+ Acm_DevReadRegData = lib.Acm_DevReadRegData
4620
+ Acm_DevReadRegData.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, c_uint16, c_uint16, POINTER(c_void_p)]
4621
+ Acm_DevReadRegData.restype = c_uint32
4622
+ except:
4623
+ pass
4624
+
4625
+ try:
4626
+ Acm_DevReadEmgMessage = lib.Acm_DevReadEmgMessage
4627
+ Acm_DevReadEmgMessage.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, POINTER(c_uint8)]
4628
+ Acm_DevReadEmgMessage.restype = c_uint32
4629
+ except:
4630
+ pass
4631
+
4632
+ try:
4633
+ Acm_DevReadSlvCommErrCnt = lib.Acm_DevReadSlvCommErrCnt
4634
+ Acm_DevReadSlvCommErrCnt.argtypes = [c_void_p, c_uint16, POINTER(c_uint32), POINTER(c_uint32)]
4635
+ Acm_DevReadSlvCommErrCnt.restype = c_uint32
4636
+ except:
4637
+ pass
4638
+
4639
+ try:
4640
+ Acm_DaqLinkPDO = lib.Acm_DaqLinkPDO
4641
+ Acm_DaqLinkPDO.argtypes = [c_void_p, c_uint, c_uint16, c_uint32, c_uint32, c_uint32, c_uint32]
4642
+ Acm_DaqLinkPDO.restype = c_uint32
4643
+ except:
4644
+ pass
4645
+
4646
+ try:
4647
+ Acm_AxMoveTorque = lib.Acm_AxMoveTorque
4648
+ Acm_AxMoveTorque.argtypes = [c_void_p, c_double, c_double, c_double, c_double, c_uint8]
4649
+ Acm_AxMoveTorque.restype = c_uint32
4650
+ except:
4651
+ pass
4652
+
4653
+ try:
4654
+ Acm_AxGetActTorque = lib.Acm_AxGetActTorque
4655
+ Acm_AxGetActTorque.argtypes = [c_void_p, POINTER(c_int32)]
4656
+ Acm_AxGetActTorque.restype = c_uint32
4657
+ except:
4658
+ pass
4659
+
4660
+ try:
4661
+ Acm_Ax2DCompensateInAx = lib.Acm_Ax2DCompensateInAx
4662
+ Acm_Ax2DCompensateInAx.argtypes = [c_void_p, c_void_p, POINTER(c_double), POINTER(c_double), c_uint32]
4663
+ Acm_Ax2DCompensateInAx.restype = c_uint32
4664
+ except:
4665
+ pass
4666
+
4667
+ try:
4668
+ Acm_Ax1DCompensateTable = lib.Acm_Ax1DCompensateTable
4669
+ Acm_Ax1DCompensateTable.argtypes = [c_void_p, c_double, c_double, POINTER(c_double), c_uint32, c_uint32]
4670
+ Acm_Ax1DCompensateTable.restype = c_uint32
4671
+ except:
4672
+ pass
4673
+
4674
+ try:
4675
+ Acm_DevZAxisCompensateTable = lib.Acm_DevZAxisCompensateTable
4676
+ Acm_DevZAxisCompensateTable.argtypes = [c_void_p, c_void_p, c_void_p, c_void_p, c_double, c_double, c_double,
4677
+ c_double, POINTER(c_double), c_uint32, c_uint32]
4678
+ Acm_DevZAxisCompensateTable.restype = c_uint32
4679
+ except:
4680
+ pass
4681
+
4682
+ try:
4683
+ Acm_Dev2DCompensateTable = lib.Acm_Dev2DCompensateTable
4684
+ Acm_Dev2DCompensateTable.argtypes = [c_void_p, c_void_p, c_void_p, c_double, c_double, c_double, c_double,
4685
+ POINTER(c_double), POINTER(c_double), c_uint32, c_uint32]
4686
+ Acm_Dev2DCompensateTable.restype = c_uint32
4687
+ except:
4688
+ pass
4689
+
4690
+ try:
4691
+ Acm_DevZAxisCompensateTableEx = lib.Acm_DevZAxisCompensateTableEx
4692
+ Acm_DevZAxisCompensateTableEx.argtypes = [c_void_p, c_void_p, c_void_p, c_void_p, c_double, c_double, c_double, c_double,
4693
+ POINTER(c_double), c_uint32, c_uint32, c_uint32]
4694
+ Acm_DevZAxisCompensateTableEx.restype = c_uint32
4695
+ except:
4696
+ pass
4697
+
4698
+ try:
4699
+ Acm_Dev2DCompensateTableEx = lib.Acm_Dev2DCompensateTableEx
4700
+ Acm_Dev2DCompensateTableEx.argtypes = [c_void_p, c_void_p, c_void_p, c_double, c_double, c_double, c_double,
4701
+ POINTER(c_double), POINTER(c_double), c_uint32, c_uint32, c_uint32]
4702
+ Acm_Dev2DCompensateTableEx.restype = c_uint32
4703
+ except:
4704
+ pass
4705
+
4706
+ try:
4707
+ Acm_AxGetCompensatePosition = lib.Acm_AxGetCompensatePosition
4708
+ Acm_AxGetCompensatePosition.argtypes = [c_void_p, POINTER(c_double)]
4709
+ Acm_AxGetCompensatePosition.restype = c_uint32
4710
+ except:
4711
+ pass
4712
+
4713
+ try:
4714
+ Acm_DevMultiTrigInitial = lib.Acm_DevMultiTrigInitial
4715
+ Acm_DevMultiTrigInitial.argtypes = [c_void_p, c_uint16, c_uint16, c_uint16, c_uint8, c_uint8, c_uint8]
4716
+ Acm_DevMultiTrigInitial.restype = c_uint32
4717
+ except:
4718
+ pass
4719
+
4720
+ try:
4721
+ Acm_EnableOneDevEventCallBack = lib.Acm_EnableOneDevEventCallBack
4722
+ Acm_EnableOneDevEventCallBack.argtypes = [c_void_p, c_ulong]
4723
+ Acm_EnableOneDevEventCallBack.restype = c_uint32
4724
+ except:
4725
+ pass
4726
+
4727
+ try:
4728
+ Acm_AxGetRawData = lib.Acm_AxGetRawData
4729
+ Acm_AxGetRawData.argtypes = [c_void_p, c_uint8, POINTER(c_double)]
4730
+ Acm_AxGetRawData.restype = c_uint32
4731
+ except:
4732
+ pass
4733
+
4734
+ try:
4735
+ Acm_AxSetRawData = lib.Acm_AxSetRawData
4736
+ Acm_AxSetRawData.argtypes = [c_void_p, c_uint8, c_double]
4737
+ Acm_AxSetRawData.restype = c_uint32
4738
+ except:
4739
+ pass
4740
+
4741
+ try:
4742
+ Acm_GpGetRawData = lib.Acm_GpGetRawData
4743
+ Acm_GpGetRawData.argtypes = [c_void_p, c_uint8, POINTER(c_double)]
4744
+ Acm_GpGetRawData.restype = c_uint32
4745
+ except:
4746
+ pass
4747
+
4748
+ try:
4749
+ Acm_GpSetRawData = lib.Acm_GpSetRawData
4750
+ Acm_GpSetRawData.argtypes = [c_void_p, c_uint8, c_double]
4751
+ Acm_GpSetRawData.restype = c_uint32
4752
+ except:
4753
+ pass
4754
+
4755
+ try:
4756
+ Acm_GpGetPausePosition = lib.Acm_GpGetPausePosition
4757
+ Acm_GpGetPausePosition.argtypes = [c_void_p, POINTER(c_double)]
4758
+ Acm_GpGetPausePosition.restype = c_uint32
4759
+ except:
4760
+ pass
4761
+
4762
+ try:
4763
+ Acm_AxReturnPausePosition = lib.Acm_AxReturnPausePosition
4764
+ Acm_AxReturnPausePosition.argtypes = [c_void_p]
4765
+ Acm_AxReturnPausePosition.restype = c_uint32
4766
+ except:
4767
+ pass
4768
+
4769
+ try:
4770
+ Acm_AxAddOnAx = lib.Acm_AxAddOnAx
4771
+ Acm_AxAddOnAx.argtypes = [c_void_p, c_void_p]
4772
+ Acm_AxAddOnAx.restype = c_uint32
4773
+ except:
4774
+ pass
4775
+
4776
+ try:
4777
+ Acm_AxAddRemove = lib.Acm_AxAddRemove
4778
+ Acm_AxAddRemove.argtypes = [c_void_p, c_void_p]
4779
+ Acm_AxAddRemove.restype = c_uint32
4780
+ except:
4781
+ pass
4782
+
4783
+ try:
4784
+ Acm_AxGetAddOnNum = lib.Acm_AxGetAddOnNum
4785
+ Acm_AxGetAddOnNum.argtypes = [c_void_p, POINTER(c_int32)]
4786
+ Acm_AxGetAddOnNum.restype = c_uint32
4787
+ except:
4788
+ pass
4789
+
4790
+ try:
4791
+ Acm_AxSetCompensateDistance = lib.Acm_AxSetCompensateDistance
4792
+ Acm_AxSetCompensateDistance.argtypes = [c_void_p, c_double]
4793
+ Acm_AxSetCompensateDistance.restype = c_uint32
4794
+ except:
4795
+ pass
4796
+
4797
+ try:
4798
+ Acm_AxGetCompensateDistance = lib.Acm_AxGetCompensateDistance
4799
+ Acm_AxGetCompensateDistance.argtypes = [c_void_p, POINTER(c_double)]
4800
+ Acm_AxGetCompensateDistance.restype = c_uint32
4801
+ except:
4802
+ pass