-
Notifications
You must be signed in to change notification settings - Fork 0
/
headers.py
900 lines (798 loc) · 50.2 KB
/
headers.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
# ---------------------------- Attribute Defines ---------------------------
IVI_ATTR_BASE = 1000000
IVI_INHERENT_ATTR_BASE = (IVI_ATTR_BASE + 50000) # base for inherent capability attributes
IVI_CLASS_ATTR_BASE = (IVI_ATTR_BASE + 250000) # base for IVI-defined class attributes
IVI_LXISYNC_ATTR_BASE = (IVI_ATTR_BASE + 950000) # base for IviLxiSync attributes
IVI_SPECIFIC_ATTR_BASE = (IVI_ATTR_BASE + 150000) # base for attributes of specific drivers
# ===== IVI Inherent Instrument Attributes ==============================
# - Driver Identification
KTM960X_ATTR_SPECIFIC_DRIVER_DESCRIPTION = (IVI_INHERENT_ATTR_BASE + 514) # ViString, read-only
KTM960X_ATTR_SPECIFIC_DRIVER_PREFIX = (IVI_INHERENT_ATTR_BASE + 302) # ViString, read-only
KTM960X_ATTR_SPECIFIC_DRIVER_VENDOR = (IVI_INHERENT_ATTR_BASE + 513) # ViString, read-only
KTM960X_ATTR_SPECIFIC_DRIVER_REVISION = (IVI_INHERENT_ATTR_BASE + 551) # ViString, read-only
KTM960X_ATTR_SPECIFIC_DRIVER_CLASS_SPEC_MAJOR_VERSION = (IVI_INHERENT_ATTR_BASE + 515) # ViInt32, read-only
KTM960X_ATTR_SPECIFIC_DRIVER_CLASS_SPEC_MINOR_VERSION = (IVI_INHERENT_ATTR_BASE + 516) # ViInt32, read-only
# - User Options
KTM960X_ATTR_RANGE_CHECK = (IVI_INHERENT_ATTR_BASE + 2) # ViBoolean, read-write
KTM960X_ATTR_QUERY_INSTRUMENT_STATUS = (IVI_INHERENT_ATTR_BASE + 3) # ViBoolean, read-write
KTM960X_ATTR_CACHE = (IVI_INHERENT_ATTR_BASE + 4) # ViBoolean, read-write
KTM960X_ATTR_SIMULATE = (IVI_INHERENT_ATTR_BASE + 5) # ViBoolean, read-write
KTM960X_ATTR_RECORD_COERCIONS = (IVI_INHERENT_ATTR_BASE + 6) # ViBoolean, read-write
KTM960X_ATTR_INTERCHANGE_CHECK = (IVI_INHERENT_ATTR_BASE + 21) # ViBoolean, read-write
# - Advanced Session Information
KTM960X_ATTR_LOGICAL_NAME = (IVI_INHERENT_ATTR_BASE + 305) # ViString, read-only
KTM960X_ATTR_IO_RESOURCE_DESCRIPTOR = (IVI_INHERENT_ATTR_BASE + 304) # ViString, read-only
KTM960X_ATTR_DRIVER_SETUP = (IVI_INHERENT_ATTR_BASE + 7) # ViString, read-only
# - Driver Capabilities
KTM960X_ATTR_GROUP_CAPABILITIES = (IVI_INHERENT_ATTR_BASE + 401) # ViString, read-only
KTM960X_ATTR_SUPPORTED_INSTRUMENT_MODELS = (IVI_INHERENT_ATTR_BASE + 327) # ViString, read-only
# - Instrument Identification
KTM960X_ATTR_INSTRUMENT_FIRMWARE_REVISION = (IVI_INHERENT_ATTR_BASE + 510) # ViString, read-only
KTM960X_ATTR_INSTRUMENT_MANUFACTURER = (IVI_INHERENT_ATTR_BASE + 511) # ViString, read-only
KTM960X_ATTR_INSTRUMENT_MODEL = (IVI_INHERENT_ATTR_BASE + 512) # ViString, read-only
# ===== Instrument-Specific Attributes =====================================
# - System
KTM960X_ATTR_SERIAL_NUMBER = (IVI_SPECIFIC_ATTR_BASE + 3) # ViString, read-only
KTM960X_ATTR_SYSTEM_ABOUT = (IVI_SPECIFIC_ATTR_BASE + 4) # ViString, read-only
KTM960X_ATTR_SYSTEM_GC_TIMING_OPTIMIZATION_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 5) # ViBoolean, read-write
KTM960X_ATTR_SYSTEM_IDENTIFY_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 6) # ViBoolean, read-write
KTM960X_ATTR_SYSTEM_INSTANCE_ID = (IVI_SPECIFIC_ATTR_BASE + 7) # ViInt32, read-only
KTM960X_ATTR_SYSTEM_OPTIONS = (IVI_SPECIFIC_ATTR_BASE + 8) # ViString, read-only
KTM960X_ATTR_SYSTEM_AUTO_TIMER_RESET_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 435) # ViBoolean, read-write
KTM960X_ATTR_SYSTEM_DATE = (IVI_SPECIFIC_ATTR_BASE + 436) # ViString, read-only
KTM960X_ATTR_SYSTEM_INTERLOCK_THRESHOLD_VOLTAGE = (IVI_SPECIFIC_ATTR_BASE + 437) # ViReal64, read-write
KTM960X_ATTR_SYSTEM_INTERLOCK_TRIPPED = (IVI_SPECIFIC_ATTR_BASE + 438) # ViBoolean, read-only
KTM960X_ATTR_SYSTEM_LINE_FREQUENCY = (IVI_SPECIFIC_ATTR_BASE + 439) # ViInt32, read-write
KTM960X_ATTR_SYSTEM_TIMER_COUNT = (IVI_SPECIFIC_ATTR_BASE + 440) # ViReal64, read-only
KTM960X_ATTR_SYSTEM_CHANNEL_COUNT = (IVI_SPECIFIC_ATTR_BASE + 514) # ViInt32, read-only
KTM960X_ATTR_SYSTEM_MODULE_COUNT = (IVI_SPECIFIC_ATTR_BASE + 518) # ViInt32, read-only
# - Licensing
KTM960X_ATTR_LICENSING_HOST_IDENTIFIER = (IVI_SPECIFIC_ATTR_BASE + 11) # ViString, read-only
KTM960X_ATTR_LICENSING_INSTALLED_LICENSES = (IVI_SPECIFIC_ATTR_BASE + 12) # ViString, read-only
# - SFP
KTM960X_ATTR_SYSTEM_SFP_CONTROLS_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 15) # ViBoolean, read-write
# - AutoRefresh
KTM960X_ATTR_SYSTEM_SFP_AUTOREFRESH_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 13) # ViBoolean, read-write
KTM960X_ATTR_SYSTEM_SFP_AUTOREFRESH_PERIOD = (IVI_SPECIFIC_ATTR_BASE + 14) # ViReal64, read-write
# - Group
KTM960X_ATTR_SYSTEM_GROUP_SYNC_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 515) # ViBoolean, read-write
KTM960X_ATTR_SYSTEM_GROUP_SYNC_MASTER_MODULE = (IVI_SPECIFIC_ATTR_BASE + 516) # ViInt32, read-write
KTM960X_ATTR_SYSTEM_GROUP_SYNC_TRIGGER_LINE = (IVI_SPECIFIC_ATTR_BASE + 517) # ViInt32, read-write
# - Module
KTM960X_ATTR_MODULE_COUNT = (IVI_SPECIFIC_ATTR_BASE + 23) # ViInt32, read-only
KTM960X_ATTR_MODULE_INSTRUMENT_CAPABILITY = (IVI_SPECIFIC_ATTR_BASE + 24) # ViString, read-only
KTM960X_ATTR_MODULE_MAXIMUM_RECORDED_TEMPERATURE = (IVI_SPECIFIC_ATTR_BASE + 25) # ViReal64, read-only
KTM960X_ATTR_MODULE_OPTIONS = (IVI_SPECIFIC_ATTR_BASE + 26) # ViString, read-only
KTM960X_ATTR_MODULE_SERIAL_NUMBER = (IVI_SPECIFIC_ATTR_BASE + 27) # ViString, read-only
KTM960X_ATTR_MODULE_SLOT = (IVI_SPECIFIC_ATTR_BASE + 28) # ViInt32, read-only
KTM960X_ATTR_MODULE_TEMPERATURE = (IVI_SPECIFIC_ATTR_BASE + 29) # ViReal64, read-only
KTM960X_ATTR_MODULE_CHASSIS_NUMBER = (IVI_SPECIFIC_ATTR_BASE + 490) # ViInt32, read-only
KTM960X_ATTR_MODULE_IDENTIFY_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 491) # ViBoolean, read-write
KTM960X_ATTR_MODULE_INSTALLED_LICENSES = (IVI_SPECIFIC_ATTR_BASE + 492) # ViString, read-only
KTM960X_ATTR_MODULE_MANUFACTURING_NUMBER = (IVI_SPECIFIC_ATTR_BASE + 508) # ViString, read-only
KTM960X_ATTR_MODULE_MODEL_NUMBER = (IVI_SPECIFIC_ATTR_BASE + 509) # ViString, read-only
KTM960X_ATTR_MODULE_UPTIME = (IVI_SPECIFIC_ATTR_BASE + 511) # ViInt64, read-only
KTM960X_ATTR_MODULE_CHANNEL_COUNT = (IVI_SPECIFIC_ATTR_BASE + 526) # ViInt32, read-only
KTM960X_ATTR_MODULE_POWER_STATE = (IVI_SPECIFIC_ATTR_BASE + 527) # ViBoolean, read-write
KTM960X_ATTR_MODULE_VENDOR = (IVI_SPECIFIC_ATTR_BASE + 528) # ViString, read-only
KTM960X_ATTR_MODULE_INTERLOCK_TRIPPED = (IVI_SPECIFIC_ATTR_BASE + 529) # ViBoolean, read-only
# - Calibration
KTM960X_ATTR_MODULE_CALIBRATION_ADJUSTMENT_INFORMATION = (IVI_SPECIFIC_ATTR_BASE + 30) # ViString, read-only
KTM960X_ATTR_MODULE_CALIBRATION_DUE_DATE = (IVI_SPECIFIC_ATTR_BASE + 31) # ViString, read-only
KTM960X_ATTR_MODULE_CALIBRATION_STATUS = (IVI_SPECIFIC_ATTR_BASE + 524) # ViInt32, read-only
KTM960X_ATTR_MODULE_CALIBRATION_VERIFICATION_INFORMATION = (IVI_SPECIFIC_ATTR_BASE + 525) # ViString, read-only
# - Nonvolatile
KTM960X_ATTR_NONVOLATILE_ASSET_NUMBER = (IVI_SPECIFIC_ATTR_BASE + 34) # ViString, read-write
KTM960X_ATTR_NONVOLATILE_CAL_DUE_REMINDER = (IVI_SPECIFIC_ATTR_BASE + 35) # ViInt32, read-write
KTM960X_ATTR_NONVOLATILE_ENABLE_INSTRUMENT_CAL_WARNINGS = (IVI_SPECIFIC_ATTR_BASE + 36) # ViBoolean, read-write
KTM960X_ATTR_NONVOLATILE_ENABLE_MODULE_CAL_WARNINGS = (IVI_SPECIFIC_ATTR_BASE + 37) # ViBoolean, read-write
KTM960X_ATTR_NONVOLATILE_ENABLE_PERIODIC_CAL = (IVI_SPECIFIC_ATTR_BASE + 38) # ViBoolean, read-write
KTM960X_ATTR_NONVOLATILE_INSTRUMENT_CAL_INTERVAL = (IVI_SPECIFIC_ATTR_BASE + 39) # ViInt32, read-write
KTM960X_ATTR_NONVOLATILE_MODULE_CAL_INTERVAL = (IVI_SPECIFIC_ATTR_BASE + 40) # ViInt32, read-write
KTM960X_ATTR_NONVOLATILE_PASSPHRASE = (IVI_SPECIFIC_ATTR_BASE + 41) # ViString, read-write
KTM960X_ATTR_NONVOLATILE_SYSTEM_IDENTIFICATION = (IVI_SPECIFIC_ATTR_BASE + 42) # ViString, read-write
# - External
KTM960X_ATTR_EXTERNAL_COUNT = (IVI_SPECIFIC_ATTR_BASE + 493) # ViInt32, read-only
KTM960X_ATTR_MODULE_IO_EXTERNAL_EDGE_POSITION = (IVI_SPECIFIC_ATTR_BASE + 496) # ViInt32, read-write
KTM960X_ATTR_MODULE_IO_EXTERNAL_EDGE_WIDTH = (IVI_SPECIFIC_ATTR_BASE + 497) # ViReal64, read-write
KTM960X_ATTR_MODULE_IO_EXTERNAL_FUNCTION = (IVI_SPECIFIC_ATTR_BASE + 498) # ViInt32, read-write
KTM960X_ATTR_MODULE_IO_EXTERNAL_LEVEL = (IVI_SPECIFIC_ATTR_BASE + 499) # ViInt32, read-write
KTM960X_ATTR_MODULE_IO_EXTERNAL_POLARITY = (IVI_SPECIFIC_ATTR_BASE + 500) # ViInt32, read-write
KTM960X_ATTR_MODULE_IO_EXTERNAL_TYPE = (IVI_SPECIFIC_ATTR_BASE + 501) # ViInt32, read-write
# - PXIe
KTM960X_ATTR_PXIE_COUNT = (IVI_SPECIFIC_ATTR_BASE + 495) # ViInt32, read-only
KTM960X_ATTR_MODULE_IO_PXIE_EDGE_POSITION = (IVI_SPECIFIC_ATTR_BASE + 503) # ViInt32, read-write
KTM960X_ATTR_MODULE_IO_PXIE_LEVEL = (IVI_SPECIFIC_ATTR_BASE + 504) # ViInt32, read-write
KTM960X_ATTR_MODULE_IO_PXIE_TYPE = (IVI_SPECIFIC_ATTR_BASE + 505) # ViInt32, read-write
KTM960X_ATTR_MODULE_IO_PXIE_EDGE_WIDTH = (IVI_SPECIFIC_ATTR_BASE + 506) # ViReal64, read-write
KTM960X_ATTR_MODULE_IO_PXIE_FUNCTION = (IVI_SPECIFIC_ATTR_BASE + 507) # ViInt32, read-write
KTM960X_ATTR_MODULE_IO_PXIE_POLARITY = (IVI_SPECIFIC_ATTR_BASE + 530) # ViInt32, read-write
# - Calibration
KTM960X_ATTR_CALIBRATION_ADJUSTMENT_INFORMATION = (IVI_SPECIFIC_ATTR_BASE + 480) # ViString, read-only
KTM960X_ATTR_CALIBRATION_DUE_DATE = (IVI_SPECIFIC_ATTR_BASE + 481) # ViString, read-only
KTM960X_ATTR_CALIBRATION_INSTRUMENT_IDENTIFIER = (IVI_SPECIFIC_ATTR_BASE + 482) # ViString, read-only
KTM960X_ATTR_CALIBRATION_LAST_DATE = (IVI_SPECIFIC_ATTR_BASE + 483) # ViString, read-only
KTM960X_ATTR_CALIBRATION_STATUS = (IVI_SPECIFIC_ATTR_BASE + 484) # ViInt32, read-only
KTM960X_ATTR_CALIBRATION_VERIFICATION_INFORMATION = (IVI_SPECIFIC_ATTR_BASE + 485) # ViString, read-only
# - Measurement
KTM960X_ATTR_MEASUREMENT_COUNT = (IVI_SPECIFIC_ATTR_BASE + 327) # ViInt32, read-only
KTM960X_ATTR_MEASUREMENT_ACQUISITION_MODE = (IVI_SPECIFIC_ATTR_BASE + 486) # ViInt32, read-write
KTM960X_ATTR_MEASUREMENT_TRIGGER_OUTPUT_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 489) # ViBoolean, read-write
# - Arm
KTM960X_ATTR_MEASUREMENT_ARM_BYPASS = (IVI_SPECIFIC_ATTR_BASE + 328) # ViInt32, read-write
KTM960X_ATTR_MEASUREMENT_ARM_COUNT = (IVI_SPECIFIC_ATTR_BASE + 329) # ViInt32, read-write
KTM960X_ATTR_MEASUREMENT_ARM_DELAY = (IVI_SPECIFIC_ATTR_BASE + 330) # ViReal64, read-write
KTM960X_ATTR_MEASUREMENT_ARM_SOURCE = (IVI_SPECIFIC_ATTR_BASE + 331) # ViInt32, read-write
KTM960X_ATTR_MEASUREMENT_ARM_TIMER = (IVI_SPECIFIC_ATTR_BASE + 332) # ViReal64, read-write
KTM960X_ATTR_MEASUREMENT_ARM_TRIGGER_OUTPUT_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 333) # ViBoolean, read-write
# - Current
KTM960X_ATTR_MEASUREMENT_CURRENT_APERTURE = (IVI_SPECIFIC_ATTR_BASE + 334) # ViReal64, read-write
KTM960X_ATTR_MEASUREMENT_CURRENT_APERTURE_AUTO_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 335) # ViBoolean, read-write
KTM960X_ATTR_MEASUREMENT_CURRENT_IS_COMPLIANCE = (IVI_SPECIFIC_ATTR_BASE + 340) # ViBoolean, read-only
KTM960X_ATTR_MEASUREMENT_CURRENT_LIMIT = (IVI_SPECIFIC_ATTR_BASE + 341) # ViReal64, read-write
KTM960X_ATTR_MEASUREMENT_CURRENT_NEGATIVE_LIMIT = (IVI_SPECIFIC_ATTR_BASE + 342) # ViReal64, read-write
KTM960X_ATTR_MEASUREMENT_CURRENT_NPLC = (IVI_SPECIFIC_ATTR_BASE + 343) # ViReal64, read-write
KTM960X_ATTR_MEASUREMENT_CURRENT_NPLC_AUTO_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 344) # ViBoolean, read-write
KTM960X_ATTR_MEASUREMENT_CURRENT_POSITIVE_LIMIT = (IVI_SPECIFIC_ATTR_BASE + 345) # ViReal64, read-write
KTM960X_ATTR_MEASUREMENT_CURRENT_RANGE = (IVI_SPECIFIC_ATTR_BASE + 346) # ViReal64, read-write
# - Function
KTM960X_ATTR_MEASUREMENT_FUNCTION_DISABLE_COUNT = (IVI_SPECIFIC_ATTR_BASE + 348) # ViInt32, read-only
KTM960X_ATTR_MEASUREMENT_FUNCTION_ENABLE_COUNT = (IVI_SPECIFIC_ATTR_BASE + 349) # ViInt32, read-only
# - Trigger
KTM960X_ATTR_MEASUREMENT_TRIGGER_BYPASS = (IVI_SPECIFIC_ATTR_BASE + 366) # ViInt32, read-write
KTM960X_ATTR_MEASUREMENT_TRIGGER_COUNT = (IVI_SPECIFIC_ATTR_BASE + 367) # ViInt32, read-write
KTM960X_ATTR_MEASUREMENT_TRIGGER_DELAY = (IVI_SPECIFIC_ATTR_BASE + 368) # ViReal64, read-write
KTM960X_ATTR_MEASUREMENT_TRIGGER_SOURCE = (IVI_SPECIFIC_ATTR_BASE + 369) # ViInt32, read-write
KTM960X_ATTR_MEASUREMENT_TRIGGER_TIMER = (IVI_SPECIFIC_ATTR_BASE + 370) # ViReal64, read-write
KTM960X_ATTR_MEASUREMENT_TRIGGER_TRIGGER_OUTPUT_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 371) # ViBoolean, read-write
# - Voltage
KTM960X_ATTR_MEASUREMENT_VOLTAGE_APERTURE = (IVI_SPECIFIC_ATTR_BASE + 372) # ViReal64, read-write
KTM960X_ATTR_MEASUREMENT_VOLTAGE_APERTURE_AUTO_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 373) # ViBoolean, read-write
KTM960X_ATTR_MEASUREMENT_VOLTAGE_IS_COMPLIANCE = (IVI_SPECIFIC_ATTR_BASE + 378) # ViBoolean, read-only
KTM960X_ATTR_MEASUREMENT_VOLTAGE_LIMIT = (IVI_SPECIFIC_ATTR_BASE + 379) # ViReal64, read-write
KTM960X_ATTR_MEASUREMENT_VOLTAGE_NEGATIVE_LIMIT = (IVI_SPECIFIC_ATTR_BASE + 380) # ViReal64, read-write
KTM960X_ATTR_MEASUREMENT_VOLTAGE_NPLC = (IVI_SPECIFIC_ATTR_BASE + 381) # ViReal64, read-write
KTM960X_ATTR_MEASUREMENT_VOLTAGE_NPLC_AUTO_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 382) # ViBoolean, read-write
KTM960X_ATTR_MEASUREMENT_VOLTAGE_POSITIVE_LIMIT = (IVI_SPECIFIC_ATTR_BASE + 383) # ViReal64, read-write
KTM960X_ATTR_MEASUREMENT_VOLTAGE_RANGE = (IVI_SPECIFIC_ATTR_BASE + 384) # ViReal64, read-write
# - WaitTime
KTM960X_ATTR_MEASUREMENT_WAIT_TIME_AUTO_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 386) # ViBoolean, read-write
KTM960X_ATTR_MEASUREMENT_WAIT_TIME_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 387) # ViBoolean, read-write
KTM960X_ATTR_MEASUREMENT_WAIT_TIME_GAIN = (IVI_SPECIFIC_ATTR_BASE + 388) # ViReal64, read-write
KTM960X_ATTR_MEASUREMENT_WAIT_TIME_OFFSET = (IVI_SPECIFIC_ATTR_BASE + 389) # ViReal64, read-write
# - Sampling
KTM960X_ATTR_MEASUREMENT_SAMPLING_POINTS = (IVI_SPECIFIC_ATTR_BASE + 487) # ViInt32, read-write
KTM960X_ATTR_MEASUREMENT_SAMPLING_TOTAL_TIME = (IVI_SPECIFIC_ATTR_BASE + 488) # ViReal64, read-write
# - Output
KTM960X_ATTR_OUTPUT_COUNT = (IVI_SPECIFIC_ATTR_BASE + 390) # ViInt32, read-only
KTM960X_ATTR_OUTPUT_AUTO_OFF_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 391) # ViBoolean, read-write
KTM960X_ATTR_OUTPUT_AUTO_ON_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 392) # ViBoolean, read-write
KTM960X_ATTR_OUTPUT_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 403) # ViBoolean, read-write
KTM960X_ATTR_OUTPUT_OFF_CONDITION = (IVI_SPECIFIC_ATTR_BASE + 410) # ViInt32, read-write
KTM960X_ATTR_OUTPUT_PRIORITY_MODE = (IVI_SPECIFIC_ATTR_BASE + 411) # ViInt32, read-write
KTM960X_ATTR_OUTPUT_SHAPE = (IVI_SPECIFIC_ATTR_BASE + 419) # ViInt32, read-write
KTM960X_ATTR_OUTPUT_OPERATION_MODE = (IVI_SPECIFIC_ATTR_BASE + 479) # ViInt32, read-write
# - Current
KTM960X_ATTR_OUTPUT_CURRENT_AUTO_RANGE_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 393) # ViBoolean, read-write
KTM960X_ATTR_OUTPUT_CURRENT_BASE_LEVEL = (IVI_SPECIFIC_ATTR_BASE + 394) # ViReal64, read-write
KTM960X_ATTR_OUTPUT_CURRENT_BASE_TYPE = (IVI_SPECIFIC_ATTR_BASE + 395) # ViInt32, read-write
KTM960X_ATTR_OUTPUT_CURRENT_LEVEL = (IVI_SPECIFIC_ATTR_BASE + 396) # ViReal64, read-write
KTM960X_ATTR_OUTPUT_CURRENT_POST_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 397) # ViBoolean, read-write
KTM960X_ATTR_OUTPUT_CURRENT_POST_LEVEL = (IVI_SPECIFIC_ATTR_BASE + 398) # ViReal64, read-write
KTM960X_ATTR_OUTPUT_CURRENT_POST_TYPE = (IVI_SPECIFIC_ATTR_BASE + 399) # ViInt32, read-write
KTM960X_ATTR_OUTPUT_CURRENT_RANGE = (IVI_SPECIFIC_ATTR_BASE + 400) # ViReal64, read-write
KTM960X_ATTR_OUTPUT_CURRENT_RANGE_LOWER_LIMIT = (IVI_SPECIFIC_ATTR_BASE + 401) # ViReal64, read-write
KTM960X_ATTR_OUTPUT_CURRENT_TRIGGERED_LEVEL = (IVI_SPECIFIC_ATTR_BASE + 402) # ViReal64, read-write
# - Filter
KTM960X_ATTR_OUTPUT_FILTER_AUTO_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 404) # ViBoolean, read-write
KTM960X_ATTR_OUTPUT_FILTER_CUT_OFF_FREQUENCY = (IVI_SPECIFIC_ATTR_BASE + 405) # ViReal64, read-write
KTM960X_ATTR_OUTPUT_FILTER_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 406) # ViBoolean, read-write
KTM960X_ATTR_OUTPUT_FILTER_TIME_CONSTANT = (IVI_SPECIFIC_ATTR_BASE + 407) # ViReal64, read-write
# - Pulse
KTM960X_ATTR_OUTPUT_PULSE_DELAY = (IVI_SPECIFIC_ATTR_BASE + 413) # ViReal64, read-write
KTM960X_ATTR_OUTPUT_PULSE_WIDTH = (IVI_SPECIFIC_ATTR_BASE + 414) # ViReal64, read-write
# - Voltage
KTM960X_ATTR_OUTPUT_VOLTAGE_AUTO_RANGE_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 420) # ViBoolean, read-write
KTM960X_ATTR_OUTPUT_VOLTAGE_BASE_LEVEL = (IVI_SPECIFIC_ATTR_BASE + 421) # ViReal64, read-write
KTM960X_ATTR_OUTPUT_VOLTAGE_BASE_TYPE = (IVI_SPECIFIC_ATTR_BASE + 422) # ViInt32, read-write
KTM960X_ATTR_OUTPUT_VOLTAGE_LEVEL = (IVI_SPECIFIC_ATTR_BASE + 423) # ViReal64, read-write
KTM960X_ATTR_OUTPUT_VOLTAGE_POST_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 424) # ViBoolean, read-write
KTM960X_ATTR_OUTPUT_VOLTAGE_POST_LEVEL = (IVI_SPECIFIC_ATTR_BASE + 425) # ViReal64, read-write
KTM960X_ATTR_OUTPUT_VOLTAGE_POST_TYPE = (IVI_SPECIFIC_ATTR_BASE + 426) # ViInt32, read-write
KTM960X_ATTR_OUTPUT_VOLTAGE_RANGE = (IVI_SPECIFIC_ATTR_BASE + 427) # ViReal64, read-write
KTM960X_ATTR_OUTPUT_VOLTAGE_RANGE_LOWER_LIMIT = (IVI_SPECIFIC_ATTR_BASE + 428) # ViReal64, read-write
KTM960X_ATTR_OUTPUT_VOLTAGE_TRIGGERED_LEVEL = (IVI_SPECIFIC_ATTR_BASE + 429) # ViReal64, read-write
# - WaitTime
KTM960X_ATTR_OUTPUT_WAITTIME_AUTO_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 430) # ViBoolean, read-write
KTM960X_ATTR_OUTPUT_WAITTIME_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 431) # ViBoolean, read-write
KTM960X_ATTR_OUTPUT_WAITTIME_GAIN = (IVI_SPECIFIC_ATTR_BASE + 432) # ViReal64, read-write
KTM960X_ATTR_OUTPUT_WAITTIME_OFFSET = (IVI_SPECIFIC_ATTR_BASE + 433) # ViReal64, read-write
# - Transient
KTM960X_ATTR_TRANSIENT_COUNT = (IVI_SPECIFIC_ATTR_BASE + 441) # ViInt32, read-only
KTM960X_ATTR_TRANSIENT_TRIGGER_OUTPUT_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 521) # ViBoolean, read-write
# - Arm
KTM960X_ATTR_TRANSIENT_ARM_BYPASS = (IVI_SPECIFIC_ATTR_BASE + 442) # ViInt32, read-write
KTM960X_ATTR_TRANSIENT_ARM_COUNT = (IVI_SPECIFIC_ATTR_BASE + 443) # ViInt32, read-write
KTM960X_ATTR_TRANSIENT_ARM_DELAY = (IVI_SPECIFIC_ATTR_BASE + 444) # ViReal64, read-write
KTM960X_ATTR_TRANSIENT_ARM_SOURCE = (IVI_SPECIFIC_ATTR_BASE + 445) # ViInt32, read-write
KTM960X_ATTR_TRANSIENT_ARM_TIMER = (IVI_SPECIFIC_ATTR_BASE + 446) # ViReal64, read-write
KTM960X_ATTR_TRANSIENT_ARM_TRIGGER_OUTPUT_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 447) # ViBoolean, read-write
# - Current
KTM960X_ATTR_TRANSIENT_CURRENT_CENTER = (IVI_SPECIFIC_ATTR_BASE + 448) # ViReal64, read-write
KTM960X_ATTR_TRANSIENT_CURRENT_LIST_POINTS = (IVI_SPECIFIC_ATTR_BASE + 449) # ViInt32, read-only
KTM960X_ATTR_TRANSIENT_CURRENT_LIST_START_POINT = (IVI_SPECIFIC_ATTR_BASE + 450) # ViInt32, read-write
KTM960X_ATTR_TRANSIENT_CURRENT_MODE = (IVI_SPECIFIC_ATTR_BASE + 451) # ViInt32, read-write
KTM960X_ATTR_TRANSIENT_CURRENT_SPAN = (IVI_SPECIFIC_ATTR_BASE + 452) # ViReal64, read-write
KTM960X_ATTR_TRANSIENT_CURRENT_START = (IVI_SPECIFIC_ATTR_BASE + 453) # ViReal64, read-write
KTM960X_ATTR_TRANSIENT_CURRENT_STEP = (IVI_SPECIFIC_ATTR_BASE + 454) # ViReal64, read-write
KTM960X_ATTR_TRANSIENT_CURRENT_STOP = (IVI_SPECIFIC_ATTR_BASE + 455) # ViReal64, read-write
KTM960X_ATTR_TRANSIENT_CURRENT_SWEEP_POINTS = (IVI_SPECIFIC_ATTR_BASE + 456) # ViInt32, read-write
KTM960X_ATTR_TRANSIENT_CURRENT_LIST_OUTPUT_TRIGGER_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 519) # ViBoolean, read-write
KTM960X_ATTR_TRANSIENT_CURRENT_TRIGGER_LIST_POINTS = (IVI_SPECIFIC_ATTR_BASE + 520) # ViInt32, read-only
# - Sweep
KTM960X_ATTR_TRANSIENT_SWEEP_DIRECTION = (IVI_SPECIFIC_ATTR_BASE + 457) # ViInt32, read-write
KTM960X_ATTR_TRANSIENT_SWEEP_MODE = (IVI_SPECIFIC_ATTR_BASE + 458) # ViInt32, read-write
KTM960X_ATTR_TRANSIENT_SWEEP_OUTPUT_RANGING_MODE = (IVI_SPECIFIC_ATTR_BASE + 459) # ViInt32, read-write
KTM960X_ATTR_TRANSIENT_SWEEP_OUTPUT_SCALE = (IVI_SPECIFIC_ATTR_BASE + 460) # ViInt32, read-write
# - Trigger
KTM960X_ATTR_TRANSIENT_TRIGGER_BYPASS = (IVI_SPECIFIC_ATTR_BASE + 461) # ViInt32, read-write
KTM960X_ATTR_TRANSIENT_TRIGGER_CONTINUOUS_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 462) # ViBoolean, read-write
KTM960X_ATTR_TRANSIENT_TRIGGER_COUNT = (IVI_SPECIFIC_ATTR_BASE + 463) # ViInt32, read-write
KTM960X_ATTR_TRANSIENT_TRIGGER_DELAY = (IVI_SPECIFIC_ATTR_BASE + 464) # ViReal64, read-write
KTM960X_ATTR_TRANSIENT_TRIGGER_SOURCE = (IVI_SPECIFIC_ATTR_BASE + 465) # ViInt32, read-write
KTM960X_ATTR_TRANSIENT_TRIGGER_TIMER = (IVI_SPECIFIC_ATTR_BASE + 466) # ViReal64, read-write
KTM960X_ATTR_TRANSIENT_TRIGGER_TRIGGER_OUTPUT_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 467) # ViBoolean, read-write
# - Voltage
KTM960X_ATTR_TRANSIENT_VOLTAGE_CENTER = (IVI_SPECIFIC_ATTR_BASE + 468) # ViReal64, read-write
KTM960X_ATTR_TRANSIENT_VOLTAGE_LIST_POINTS = (IVI_SPECIFIC_ATTR_BASE + 469) # ViInt32, read-only
KTM960X_ATTR_TRANSIENT_VOLTAGE_LIST_START_POINT = (IVI_SPECIFIC_ATTR_BASE + 470) # ViInt32, read-write
KTM960X_ATTR_TRANSIENT_VOLTAGE_MODE = (IVI_SPECIFIC_ATTR_BASE + 471) # ViInt32, read-write
KTM960X_ATTR_TRANSIENT_VOLTAGE_SPAN = (IVI_SPECIFIC_ATTR_BASE + 472) # ViReal64, read-write
KTM960X_ATTR_TRANSIENT_VOLTAGE_START = (IVI_SPECIFIC_ATTR_BASE + 473) # ViReal64, read-write
KTM960X_ATTR_TRANSIENT_VOLTAGE_STEP = (IVI_SPECIFIC_ATTR_BASE + 474) # ViReal64, read-write
KTM960X_ATTR_TRANSIENT_VOLTAGE_STOP = (IVI_SPECIFIC_ATTR_BASE + 475) # ViReal64, read-write
KTM960X_ATTR_TRANSIENT_VOLTAGE_SWEEP_POINTS = (IVI_SPECIFIC_ATTR_BASE + 476) # ViInt32, read-write
KTM960X_ATTR_TRANSIENT_VOLTAGE_LIST_OUTPUT_TRIGGER_ENABLED = (IVI_SPECIFIC_ATTR_BASE + 522) # ViBoolean, read-write
KTM960X_ATTR_TRANSIENT_VOLTAGE_TRIGGER_LIST_POINTS = (IVI_SPECIFIC_ATTR_BASE + 523) # ViInt32, read-only
# ------------------------ Attribute Value Defines -------------------------
# - Defined values for
KTM960X_VAL_STATUS_BYTE_FLAGS_USER0 = 1
KTM960X_VAL_STATUS_BYTE_FLAGS_USER1 = 2
KTM960X_VAL_STATUS_BYTE_FLAGS_USER2 = 4
KTM960X_VAL_STATUS_BYTE_FLAGS_USER3 = 8
KTM960X_VAL_STATUS_BYTE_FLAGS_MESSAGE_AVAILABLE = 16
KTM960X_VAL_STATUS_BYTE_FLAGS_EVENT_STATUS_REGISTER = 32
KTM960X_VAL_STATUS_BYTE_FLAGS_REQUESTING_SERVICE = 64
KTM960X_VAL_STATUS_BYTE_FLAGS_USER7 = 128
# - Defined values for parameter Buttons in function KtM960x_SystemSfpMessageBox
KTM960X_VAL_MESSAGE_BOX_BUTTONS_OK = 0
KTM960X_VAL_MESSAGE_BOX_BUTTONS_OK_CANCEL = 1
KTM960X_VAL_MESSAGE_BOX_BUTTONS_YES_NO = 2
# - Defined values for parameter Val in function KtM960x_SystemSfpMessageBox
KTM960X_VAL_MESSAGE_BOX_RESULTS_NONE = 0
KTM960X_VAL_MESSAGE_BOX_RESULTS_OK = 1
KTM960X_VAL_MESSAGE_BOX_RESULTS_CANCEL = 2
KTM960X_VAL_MESSAGE_BOX_RESULTS_YES = 3
KTM960X_VAL_MESSAGE_BOX_RESULTS_NO = 4
# - Defined values for
# attribute KTM960X_ATTR_MODULE_CALIBRATION_STATUS
# attribute KTM960X_ATTR_CALIBRATION_STATUS
KTM960X_VAL_CALIBRATION_STATUS_DUE = 1
KTM960X_VAL_CALIBRATION_STATUS_EXPIRED = 2
KTM960X_VAL_CALIBRATION_STATUS_INSTRUMENT_CALIBRATED = 0
KTM960X_VAL_CALIBRATION_STATUS_MODULES_CALIBRATED = 3
KTM960X_VAL_CALIBRATION_STATUS_NOT_CALIBRATED = 4
KTM960X_VAL_CALIBRATION_STATUS_NOT_SUBJECT_TO_CALIBRATION = 5
# - Defined values for
KTM960X_VAL_PEER_TO_PEER_PORT_ROLE_MASTER_PRODUCER = 0
KTM960X_VAL_PEER_TO_PEER_PORT_ROLE_MASTER_CONSUMER = 1
KTM960X_VAL_PEER_TO_PEER_PORT_ROLE_SLAVE_PRODUCER = 2
KTM960X_VAL_PEER_TO_PEER_PORT_ROLE_SLAVE_CONSUMER = 3
KTM960X_VAL_PEER_TO_PEER_PORT_ROLE_STREAMING_MASTER_PRODUCER = 4
KTM960X_VAL_PEER_TO_PEER_PORT_ROLE_STREAMING_MASTER_CONSUMER = 5
KTM960X_VAL_PEER_TO_PEER_PORT_ROLE_STREAMING_SLAVE_PRODUCER = 6
KTM960X_VAL_PEER_TO_PEER_PORT_ROLE_STREAMING_SLAVE_CONSUMER = 7
# - Defined values for
KTM960X_VAL_PEER_TO_PEER_DATA_FORMAT_OPAQUE = 0
KTM960X_VAL_PEER_TO_PEER_DATA_FORMAT_I8 = 1
KTM960X_VAL_PEER_TO_PEER_DATA_FORMAT_I16 = 2
KTM960X_VAL_PEER_TO_PEER_DATA_FORMAT_I32 = 3
KTM960X_VAL_PEER_TO_PEER_DATA_FORMAT_F32 = 4
KTM960X_VAL_PEER_TO_PEER_DATA_FORMAT_F64 = 5
KTM960X_VAL_PEER_TO_PEER_DATA_FORMAT_K_I32V1 = 101
KTM960X_VAL_PEER_TO_PEER_DATA_FORMAT_K_I24M8 = 102
# - Defined values for
KTM960X_VAL_DEVICE_SYNC_RESOURCES_FP_SYNC = 32768
KTM960X_VAL_DEVICE_SYNC_RESOURCES_NONE = 0
KTM960X_VAL_DEVICE_SYNC_RESOURCES_PXI_LBL6 = 2048
KTM960X_VAL_DEVICE_SYNC_RESOURCES_PXI_LBR6 = 1024
KTM960X_VAL_DEVICE_SYNC_RESOURCES_PXI_STAR = 512
KTM960X_VAL_DEVICE_SYNC_RESOURCES_PXI_TRIG0 = 1
KTM960X_VAL_DEVICE_SYNC_RESOURCES_PXI_TRIG1 = 2
KTM960X_VAL_DEVICE_SYNC_RESOURCES_PXI_TRIG2 = 4
KTM960X_VAL_DEVICE_SYNC_RESOURCES_PXI_TRIG3 = 8
KTM960X_VAL_DEVICE_SYNC_RESOURCES_PXI_TRIG4 = 16
KTM960X_VAL_DEVICE_SYNC_RESOURCES_PXI_TRIG5 = 32
KTM960X_VAL_DEVICE_SYNC_RESOURCES_PXI_TRIG6 = 64
KTM960X_VAL_DEVICE_SYNC_RESOURCES_PXI_TRIG7 = 128
KTM960X_VAL_DEVICE_SYNC_RESOURCES_PXIE_DSTARA = 4096
KTM960X_VAL_DEVICE_SYNC_RESOURCES_PXIE_DSTARB = 8192
KTM960X_VAL_DEVICE_SYNC_RESOURCES_PXIE_DSTARC = 16384
# - Defined values for
KTM960X_VAL_DEVICE_SYNC_STATE_ARM = 1
KTM960X_VAL_DEVICE_SYNC_STATE_IDLE = 0
KTM960X_VAL_DEVICE_SYNC_STATE_RUN = 3
KTM960X_VAL_DEVICE_SYNC_STATE_TRIGGER = 2
KTM960X_VAL_DEVICE_SYNC_STATE_UNKNOWN = 4
# - Defined values for
KTM960X_VAL_DEVICE_SYNC_ROLE_GROUP_MASTER = 2
KTM960X_VAL_DEVICE_SYNC_ROLE_LOCAL_MASTER = 4
KTM960X_VAL_DEVICE_SYNC_ROLE_OFF = 0
KTM960X_VAL_DEVICE_SYNC_ROLE_SLAVE = 3
KTM960X_VAL_DEVICE_SYNC_ROLE_SYSTEM_MASTER = 1
KTM960X_VAL_DEVICE_SYNC_ROLE_NOT_SUPPORTED = -1
# - Defined values for
KTM960X_VAL_ODI_LANE_RATE_12R5G = 1
KTM960X_VAL_ODI_LANE_RATE_14R1G = 2
# - Defined values for
KTM960X_VAL_ODI_DIRECTIONALITY_BIDIRECTIONAL = 1
KTM960X_VAL_ODI_DIRECTIONALITY_PRODUCER = 2
KTM960X_VAL_ODI_DIRECTIONALITY_CONSUMER = 3
KTM960X_VAL_ODI_DIRECTIONALITY_DUAL_UNIDIRECTIONAL = 4
# - Defined values for
KTM960X_VAL_ODI_FLOW_CONTROL_NONE = 1
KTM960X_VAL_ODI_FLOW_CONTROL_INBAND = 2
KTM960X_VAL_ODI_FLOW_CONTROL_INBAND_PER_CHANNEL = 3
KTM960X_VAL_ODI_FLOW_CONTROL_OUTOFBAND_1WIRE = 4
KTM960X_VAL_ODI_FLOW_CONTROL_OUTOFBAND_BACKPLANE_0 = 100
KTM960X_VAL_ODI_FLOW_CONTROL_OUTOFBAND_BACKPLANE_1 = 101
KTM960X_VAL_ODI_FLOW_CONTROL_OUTOFBAND_BACKPLANE_2 = 102
KTM960X_VAL_ODI_FLOW_CONTROL_OUTOFBAND_BACKPLANE_3 = 103
KTM960X_VAL_ODI_FLOW_CONTROL_OUTOFBAND_BACKPLANE_4 = 104
KTM960X_VAL_ODI_FLOW_CONTROL_OUTOFBAND_BACKPLANE_5 = 105
KTM960X_VAL_ODI_FLOW_CONTROL_OUTOFBAND_BACKPLANE_6 = 106
KTM960X_VAL_ODI_FLOW_CONTROL_OUTOFBAND_BACKPLANE_7 = 107
KTM960X_VAL_ODI_FLOW_CONTROL_OUTOFBAND_BACKPLANE_8 = 108
KTM960X_VAL_ODI_FLOW_CONTROL_OUTOFBAND_BACKPLANE_9 = 109
KTM960X_VAL_ODI_FLOW_CONTROL_OUTOFBAND_BACKPLANE_10 = 110
KTM960X_VAL_ODI_FLOW_CONTROL_OUTOFBAND_BACKPLANE_11 = 111
KTM960X_VAL_ODI_FLOW_CONTROL_OUTOFBAND_BACKPLANE_12 = 112
# - Defined values for
KTM960X_VAL_ODI_PORT_STATUS_ACTIVE = 1
KTM960X_VAL_ODI_PORT_STATUS_TX_READY = 2
KTM960X_VAL_ODI_PORT_STATUS_RX_READY = 4
KTM960X_VAL_ODI_PORT_STATUS_RX_LANE_ERROR = 8
KTM960X_VAL_ODI_PORT_STATUS_RX_BURST_MAX_ERROR = 16
KTM960X_VAL_ODI_PORT_STATUS_RX_CRC_ERROR = 32
KTM960X_VAL_ODI_PORT_STATUS_RX_OVERRUN = 64
KTM960X_VAL_ODI_PORT_STATUS_RX_FC_STATUS = 65536
KTM960X_VAL_ODI_PORT_STATUS_RX_FC_STATUS_0 = 131072
KTM960X_VAL_ODI_PORT_STATUS_RX_SIGNAL_LOSS = 128
KTM960X_VAL_ODI_PORT_STATUS_RX_SYNC_PENDING = 256
# - Defined values for
KTM960X_VAL_ODI_PACKET_FORMAT_NO_HEADER = 1
KTM960X_VAL_ODI_PACKET_FORMAT_VITA49_DATA = 2
KTM960X_VAL_ODI_PACKET_FORMAT_VITA49_WITH_CONTEXT = 3
KTM960X_VAL_ODI_PACKET_FORMAT_VITA49_ONCE = 1001
KTM960X_VAL_ODI_PACKET_FORMAT_VITA49_EXTENSION = 4
# - Defined values for
KTM960X_VAL_ODI_TIMESTAMP_FORMAT_NO_TIMESTAMP = 1
KTM960X_VAL_ODI_TIMESTAMP_FORMAT_GPS = 2
KTM960X_VAL_ODI_TIMESTAMP_FORMAT_RELATIVE = 3
KTM960X_VAL_ODI_TIMESTAMP_FORMAT_SAMPLE_COUNT = 4
KTM960X_VAL_ODI_TIMESTAMP_FORMAT_UTC = 5
# - Defined values for
KTM960X_VAL_ARB_DATA_FORMAT_ENUM_ARB_DATA_FORMATIQ24 = 10
KTM960X_VAL_ARB_DATA_FORMAT_ENUM_ARB_DATA_FORMATIQ32 = 2
KTM960X_VAL_ARB_DATA_FORMAT_ENUM_ARB_DATA_FORMATIQ64 = 3
KTM960X_VAL_ARB_DATA_FORMAT_ENUM_ARB_DATA_FORMAT_OPAQUE = 11
# - Defined values for
KTM960X_VAL_MARKER_ENUM_MARKER1 = 1
KTM960X_VAL_MARKER_ENUM_MARKER2 = 2
KTM960X_VAL_MARKER_ENUM_MARKER3 = 3
KTM960X_VAL_MARKER_ENUM_MARKER4 = 4
KTM960X_VAL_MARKER_ENUM_MARKER_NONE = 0
# - Defined values for
KTM960X_VAL_ARB_MEMORY_MODE_ENUM_ARB_MEMORY_MODE_AUTO = 0
KTM960X_VAL_ARB_MEMORY_MODE_ENUM_ARB_MEMORY_MODE_MANUAL = 1
# - Defined values for
KTM960X_VAL_BINARY_ARB_ENUM_BINARY_ARB_AUTO = 99
KTM960X_VAL_BINARY_ARB_ENUM_BINARY_ARBDP = 1
KTM960X_VAL_BINARY_ARB_ENUM_BINARY_ARBDP_PLUS_MARKERS = 0
KTM960X_VAL_BINARY_ARB_ENUM_BINARY_ARB_KEYSIGHT = 4
KTM960X_VAL_BINARY_ARB_ENUM_BINARY_ARB_SHORT = 3
KTM960X_VAL_BINARY_ARB_ENUM_BINARY_ARBSP = 2
# - Defined values for
# parameter FetchType in function KtM960x_MeasurementFetchArrayData
# parameter FetchType in function KtM960x_MeasurementFetchScalarData
# parameter FetchType in function KtM960x_MeasurementReadArrayData
# parameter FetchType in function KtM960x_MeasurementReadScalarData
# parameter FetchType in function KtM960x_MeasurementFetchLatestScalarData
KTM960X_VAL_MEASUREMENT_FETCH_TYPE_CURRENT = 2
KTM960X_VAL_MEASUREMENT_FETCH_TYPE_RESISTANCE = 3
KTM960X_VAL_MEASUREMENT_FETCH_TYPE_SOURCE = 6
KTM960X_VAL_MEASUREMENT_FETCH_TYPE_STATUS = 4
KTM960X_VAL_MEASUREMENT_FETCH_TYPE_TIME = 5
KTM960X_VAL_MEASUREMENT_FETCH_TYPE_VOLTAGE = 1
KTM960X_VAL_MEASUREMENT_FETCH_TYPE_ALL = 0
# - Defined values for
# attribute KTM960X_ATTR_MEASUREMENT_ARM_SOURCE
# attribute KTM960X_ATTR_MEASUREMENT_TRIGGER_SOURCE
# attribute KTM960X_ATTR_TRANSIENT_ARM_SOURCE
# attribute KTM960X_ATTR_TRANSIENT_TRIGGER_SOURCE
KTM960X_VAL_MEASUREMENT_TRIGGER_SOURCE_AINT = 0
KTM960X_VAL_MEASUREMENT_TRIGGER_SOURCE_BUS = 1
KTM960X_VAL_MEASUREMENT_TRIGGER_SOURCE_TIMER = 2
KTM960X_VAL_MEASUREMENT_TRIGGER_SOURCE_PXI0 = 3
KTM960X_VAL_MEASUREMENT_TRIGGER_SOURCE_PXI1 = 4
KTM960X_VAL_MEASUREMENT_TRIGGER_SOURCE_PXI2 = 5
KTM960X_VAL_MEASUREMENT_TRIGGER_SOURCE_PXI3 = 6
KTM960X_VAL_MEASUREMENT_TRIGGER_SOURCE_PXI4 = 7
KTM960X_VAL_MEASUREMENT_TRIGGER_SOURCE_PXI5 = 8
KTM960X_VAL_MEASUREMENT_TRIGGER_SOURCE_PXI6 = 9
KTM960X_VAL_MEASUREMENT_TRIGGER_SOURCE_PXI7 = 10
KTM960X_VAL_MEASUREMENT_TRIGGER_SOURCE_EXTERNAL1 = 11
KTM960X_VAL_MEASUREMENT_TRIGGER_SOURCE_EXTERNAL2 = 12
KTM960X_VAL_MEASUREMENT_TRIGGER_SOURCE_INTERNAL1 = 13
KTM960X_VAL_MEASUREMENT_TRIGGER_SOURCE_INTERNAL2 = 14
KTM960X_VAL_MEASUREMENT_TRIGGER_SOURCE_PEER1 = 15
KTM960X_VAL_MEASUREMENT_TRIGGER_SOURCE_PEER2 = 16
# - Defined values for
# parameter MeasureType in function KtM960x_MeasurementMeasure
# parameter Val in function KtM960x_MeasurementFunctionGetDisabled
# parameter Val in function KtM960x_MeasurementFunctionGetEnabled
# parameter MeasureType in function KtM960x_MeasurementFunctionGetState
# parameter MeasureType in function KtM960x_MeasurementFunctionSetDisabled
# parameter MeasureType in function KtM960x_MeasurementFunctionSetEnabled
KTM960X_VAL_MEASUREMENT_TYPE_CURRENT = 2
KTM960X_VAL_MEASUREMENT_TYPE_RESISTANCE = 3
KTM960X_VAL_MEASUREMENT_TYPE_VOLTAGE = 1
KTM960X_VAL_MEASUREMENT_TYPE_ALL = 0
# - Defined values for
# parameter Val in function KtM960x_MeasurementGetOutputTrigger
# parameter Triggers in function KtM960x_MeasurementSetOutputTrigger
# parameter Val in function KtM960x_MeasurementArmGetOutputTrigger
# parameter Triggers in function KtM960x_MeasurementArmSetOutputTrigger
# parameter Val in function KtM960x_MeasurementTriggerGetOutputTrigger
# parameter Triggers in function KtM960x_MeasurementTriggerSetOutputTrigger
# parameter Val in function KtM960x_TransientGetOutputTrigger
# parameter Triggers in function KtM960x_TransientSetOutputTrigger
# parameter Val in function KtM960x_TransientArmGetOutputTrigger
# parameter Triggers in function KtM960x_TransientArmSetOutputTrigger
# parameter Val in function KtM960x_TransientCurrentGetListOutputTrigger
# parameter Triggers in function KtM960x_TransientCurrentSetListOutputTrigger
# parameter Val in function KtM960x_TransientTriggerGetOutputTrigger
# parameter Triggers in function KtM960x_TransientTriggerSetOutputTrigger
# parameter Val in function KtM960x_TransientVoltageGetListOutputTrigger
# parameter Triggers in function KtM960x_TransientVoltageSetListOutputTrigger
KTM960X_VAL_OUTPUT_TRIGGER_SIGNAL_PXI0 = 0
KTM960X_VAL_OUTPUT_TRIGGER_SIGNAL_PXI1 = 1
KTM960X_VAL_OUTPUT_TRIGGER_SIGNAL_PXI2 = 2
KTM960X_VAL_OUTPUT_TRIGGER_SIGNAL_PXI3 = 3
KTM960X_VAL_OUTPUT_TRIGGER_SIGNAL_PXI4 = 4
KTM960X_VAL_OUTPUT_TRIGGER_SIGNAL_PXI5 = 5
KTM960X_VAL_OUTPUT_TRIGGER_SIGNAL_PXI6 = 6
KTM960X_VAL_OUTPUT_TRIGGER_SIGNAL_PXI7 = 7
KTM960X_VAL_OUTPUT_TRIGGER_SIGNAL_EXTERNAL1 = 8
KTM960X_VAL_OUTPUT_TRIGGER_SIGNAL_EXTERNAL2 = 9
KTM960X_VAL_OUTPUT_TRIGGER_SIGNAL_INTERNAL1 = 10
KTM960X_VAL_OUTPUT_TRIGGER_SIGNAL_INTERNAL2 = 11
KTM960X_VAL_OUTPUT_TRIGGER_SIGNAL_PEER1 = 12
KTM960X_VAL_OUTPUT_TRIGGER_SIGNAL_PEER2 = 13
# - Defined values for
# attribute KTM960X_ATTR_MEASUREMENT_ARM_BYPASS
# attribute KTM960X_ATTR_MEASUREMENT_TRIGGER_BYPASS
# attribute KTM960X_ATTR_TRANSIENT_ARM_BYPASS
# attribute KTM960X_ATTR_TRANSIENT_TRIGGER_BYPASS
KTM960X_VAL_BYPASS_OFF = 0
KTM960X_VAL_BYPASS_ONCE = 1
# - Defined values for
KTM960X_VAL_FORCE_RANGING_MODE_NORMAL = 0
KTM960X_VAL_FORCE_RANGING_MODE_SPEED = 1
KTM960X_VAL_FORCE_RANGING_MODE_RESOLUTION = 2
# - Defined values for
KTM960X_VAL_BUFFER_CONTROL_NEXT = 0
KTM960X_VAL_BUFFER_CONTROL_NEVER = 1
# - Defined values for
KTM960X_VAL_TRACE_OPERATION_MEAN = 0
KTM960X_VAL_TRACE_OPERATION_STANDARD_DEVIATION = 1
KTM960X_VAL_TRACE_OPERATION_MAXIMUM = 2
KTM960X_VAL_TRACE_OPERATION_MINIMUM = 3
KTM960X_VAL_TRACE_OPERATION_PEAK_TO_PEAK = 4
# - Defined values for
KTM960X_VAL_TIME_STAMP_FORMAT_ABSOLUTE = 0
KTM960X_VAL_TIME_STAMP_FORMAT_DELTA = 1
# - Defined values for
# attribute KTM960X_ATTR_OUTPUT_CURRENT_BASE_TYPE
# attribute KTM960X_ATTR_OUTPUT_VOLTAGE_BASE_TYPE
KTM960X_VAL_OUTPUT_BASE_TYPE_MANUAL = 0
KTM960X_VAL_OUTPUT_BASE_TYPE_IMMEDIATE = 1
KTM960X_VAL_OUTPUT_BASE_TYPE_TRIGGERED = 2
KTM960X_VAL_OUTPUT_BASE_TYPE_START = 3
KTM960X_VAL_OUTPUT_BASE_TYPE_STOP = 4
# - Defined values for
# attribute KTM960X_ATTR_OUTPUT_CURRENT_POST_TYPE
# attribute KTM960X_ATTR_OUTPUT_VOLTAGE_POST_TYPE
KTM960X_VAL_OUTPUT_POST_TYPE_TRIGGERED = 0
KTM960X_VAL_OUTPUT_POST_TYPE_START = 1
KTM960X_VAL_OUTPUT_POST_TYPE_STOP = 2
KTM960X_VAL_OUTPUT_POST_TYPE_BASE = 3
KTM960X_VAL_OUTPUT_POST_TYPE_MANUAL = 4
KTM960X_VAL_OUTPUT_POST_TYPE_IMMEDIATE = 5
# - Defined values for
# attribute KTM960X_ATTR_OUTPUT_OFF_CONDITION
KTM960X_VAL_OFF_CONDITION_ZERO = 0
KTM960X_VAL_OFF_CONDITION_HIZ = 1
KTM960X_VAL_OFF_CONDITION_NORMAL = 2
# - Defined values for
# attribute KTM960X_ATTR_OUTPUT_PRIORITY_MODE
KTM960X_VAL_PRIORITY_MODE_VOLTAGE = 0
KTM960X_VAL_PRIORITY_MODE_CURRENT = 1
# - Defined values for
# attribute KTM960X_ATTR_OUTPUT_SHAPE
KTM960X_VAL_SHAPE_MODE_DC = 0
KTM960X_VAL_SHAPE_MODE_PULSE = 1
# - Defined values for
# attribute KTM960X_ATTR_TRANSIENT_CURRENT_MODE
# attribute KTM960X_ATTR_TRANSIENT_VOLTAGE_MODE
KTM960X_VAL_OUTPUT_MODE_FIXED = 0
KTM960X_VAL_OUTPUT_MODE_LIST = 1
KTM960X_VAL_OUTPUT_MODE_SWEEP = 2
# - Defined values for
# attribute KTM960X_ATTR_TRANSIENT_SWEEP_MODE
KTM960X_VAL_SWEEP_MODE_SINGLE = 0
KTM960X_VAL_SWEEP_MODE_DOUBLE = 1
# - Defined values for
# attribute KTM960X_ATTR_TRANSIENT_SWEEP_OUTPUT_RANGING_MODE
KTM960X_VAL_OUTPUT_RANGING_MODE_BEST = 0
KTM960X_VAL_OUTPUT_RANGING_MODE_FIXED = 2
# - Defined values for
# attribute KTM960X_ATTR_TRANSIENT_SWEEP_OUTPUT_SCALE
KTM960X_VAL_OUTPUT_SCALE_LINEAR = 0
# - Defined values for
# attribute KTM960X_ATTR_TRANSIENT_SWEEP_DIRECTION
KTM960X_VAL_SWEEP_DIRECTION_UP = 0
KTM960X_VAL_SWEEP_DIRECTION_DOWN = 1
# - Defined values for
# attribute KTM960X_ATTR_OUTPUT_OPERATION_MODE
KTM960X_VAL_OUTPUT_OPERATION_MODE_STANDARD = 0
KTM960X_VAL_OUTPUT_OPERATION_MODE_POWER_SUPPLY = 1
# - Defined values for
# attribute KTM960X_ATTR_MEASUREMENT_ACQUISITION_MODE
KTM960X_VAL_ACQUISITION_MODE_NORMAL = 0
KTM960X_VAL_ACQUISITION_MODE_SAMPLING = 1
# - Defined values for
# attribute KTM960X_ATTR_MODULE_IO_EXTERNAL_EDGE_POSITION
# attribute KTM960X_ATTR_MODULE_IO_PXIE_EDGE_POSITION
KTM960X_VAL_IO_EDGE_POSITION_BEFORE = 0
KTM960X_VAL_IO_EDGE_POSITION_AFTER = 1
KTM960X_VAL_IO_EDGE_POSITION_BOTH = 2
# - Defined values for
# attribute KTM960X_ATTR_MODULE_IO_EXTERNAL_FUNCTION
# attribute KTM960X_ATTR_MODULE_IO_PXIE_FUNCTION
KTM960X_VAL_IO_FUNCTION_TRIGGER_OUTPUT = 0
KTM960X_VAL_IO_FUNCTION_TRIGGER_INPUT = 1
KTM960X_VAL_IO_FUNCTION_DIGITAL_OUTPUT = 2
# - Defined values for
# attribute KTM960X_ATTR_MODULE_IO_EXTERNAL_LEVEL
# attribute KTM960X_ATTR_MODULE_IO_PXIE_LEVEL
# parameter Val in function KtM960x_ModuleIOExternalRead
# parameter Val in function KtM960x_ModuleIOPxieRead
KTM960X_VAL_IO_LEVEL_HIGH = 0
KTM960X_VAL_IO_LEVEL_LOW = 1
# - Defined values for
# attribute KTM960X_ATTR_MODULE_IO_EXTERNAL_POLARITY
# attribute KTM960X_ATTR_MODULE_IO_PXIE_POLARITY
KTM960X_VAL_IO_POLARITY_POSITIVE = 0
KTM960X_VAL_IO_POLARITY_NEGATIVE = 1
# - Defined values for
# attribute KTM960X_ATTR_MODULE_IO_EXTERNAL_TYPE
# attribute KTM960X_ATTR_MODULE_IO_PXIE_TYPE
KTM960X_VAL_IO_TYPE_EDGE = 0
KTM960X_VAL_IO_TYPE_LEVEL = 1
# - Defined values for
# attribute KTM960X_ATTR_SYSTEM_GROUP_SYNC_TRIGGER_LINE
KTM960X_VAL_SYNC_TRIGGER_LINE_PXI0 = 0
KTM960X_VAL_SYNC_TRIGGER_LINE_PXI1 = 1
KTM960X_VAL_SYNC_TRIGGER_LINE_PXI2 = 2
KTM960X_VAL_SYNC_TRIGGER_LINE_PXI3 = 3
KTM960X_VAL_SYNC_TRIGGER_LINE_PXI4 = 4
KTM960X_VAL_SYNC_TRIGGER_LINE_PXI5 = 5
KTM960X_VAL_SYNC_TRIGGER_LINE_PXI6 = 6
KTM960X_VAL_SYNC_TRIGGER_LINE_PXI7 = 7
KTM960X_VAL_SYNC_TRIGGER_LINE_EXTERNAL1 = 8
KTM960X_VAL_SYNC_TRIGGER_LINE_EXTERNAL2 = 9
# ----------------- Instrument Error And Completion Codes ------------------*
IVIC_WARN_BASE = (0x3FFA0000)
IVIC_CROSS_CLASS_WARN_BASE = (IVIC_WARN_BASE + 0x1000)
IVIC_CLASS_WARN_BASE = (IVIC_WARN_BASE + 0x2000)
IVIC_SPECIFIC_WARN_BASE = (IVIC_WARN_BASE + 0x4000)
IVIC_ERROR_BASE = (0xBFFA0000) - (1 << 32)
IVIC_CROSS_CLASS_ERROR_BASE = (IVIC_ERROR_BASE + 0x1000)
IVIC_CLASS_ERROR_BASE = (IVIC_ERROR_BASE + 0x2000)
IVIC_SPECIFIC_ERROR_BASE = (IVIC_ERROR_BASE + 0x4000)
IVIC_LXISYNC_ERROR_BASE = (IVIC_ERROR_BASE + 0x2000)
KTM960X_ERROR_CANNOT_RECOVER = (IVIC_ERROR_BASE + 0x0000)
KTM960X_ERROR_INSTRUMENT_STATUS = (IVIC_ERROR_BASE + 0x0001)
KTM960X_ERROR_CANNOT_OPEN_FILE = (IVIC_ERROR_BASE + 0x0002)
KTM960X_ERROR_READING_FILE = (IVIC_ERROR_BASE + 0x0003)
KTM960X_ERROR_WRITING_FILE = (IVIC_ERROR_BASE + 0x0004)
KTM960X_ERROR_INVALID_PATHNAME = (IVIC_ERROR_BASE + 0x000B)
KTM960X_ERROR_INVALID_ATTRIBUTE = (IVIC_ERROR_BASE + 0x000C)
KTM960X_ERROR_IVI_ATTR_NOT_WRITABLE = (IVIC_ERROR_BASE + 0x000D)
KTM960X_ERROR_IVI_ATTR_NOT_READABLE = (IVIC_ERROR_BASE + 0x000E)
KTM960X_ERROR_INVALID_VALUE = (IVIC_ERROR_BASE + 0x0010)
KTM960X_ERROR_FUNCTION_NOT_SUPPORTED = (IVIC_ERROR_BASE + 0x0011)
KTM960X_ERROR_ATTRIBUTE_NOT_SUPPORTED = (IVIC_ERROR_BASE + 0x0012)
KTM960X_ERROR_VALUE_NOT_SUPPORTED = (IVIC_ERROR_BASE + 0x0013)
KTM960X_ERROR_TYPES_DO_NOT_MATCH = (IVIC_ERROR_BASE + 0x0015)
KTM960X_ERROR_NOT_INITIALIZED = (IVIC_ERROR_BASE + 0x001D)
KTM960X_ERROR_UNKNOWN_CHANNEL_NAME = (IVIC_ERROR_BASE + 0x0020)
KTM960X_ERROR_TOO_MANY_OPEN_FILES = (IVIC_ERROR_BASE + 0x0023)
KTM960X_ERROR_CHANNEL_NAME_REQUIRED = (IVIC_ERROR_BASE + 0x0044)
KTM960X_ERROR_MISSING_OPTION_NAME = (IVIC_ERROR_BASE + 0x0049)
KTM960X_ERROR_MISSING_OPTION_VALUE = (IVIC_ERROR_BASE + 0x004A)
KTM960X_ERROR_BAD_OPTION_NAME = (IVIC_ERROR_BASE + 0x004B)
KTM960X_ERROR_BAD_OPTION_VALUE = (IVIC_ERROR_BASE + 0x004C)
KTM960X_ERROR_OUT_OF_MEMORY = (IVIC_ERROR_BASE + 0x0056)
KTM960X_ERROR_OPERATION_PENDING = (IVIC_ERROR_BASE + 0x0057)
KTM960X_ERROR_NULL_POINTER = (IVIC_ERROR_BASE + 0x0058)
KTM960X_ERROR_UNEXPECTED_RESPONSE = (IVIC_ERROR_BASE + 0x0059)
KTM960X_ERROR_FILE_NOT_FOUND = (IVIC_ERROR_BASE + 0x005B)
KTM960X_ERROR_INVALID_FILE_FORMAT = (IVIC_ERROR_BASE + 0x005C)
KTM960X_ERROR_STATUS_NOT_AVAILABLE = (IVIC_ERROR_BASE + 0x005D)
KTM960X_ERROR_ID_QUERY_FAILED = (IVIC_ERROR_BASE + 0x005E)
KTM960X_ERROR_RESET_FAILED = (IVIC_ERROR_BASE + 0x005F)
KTM960X_ERROR_RESOURCE_UNKNOWN = (IVIC_ERROR_BASE + 0x0060)
KTM960X_ERROR_ALREADY_INITIALIZED = (IVIC_ERROR_BASE + 0x0061)
KTM960X_ERROR_CANNOT_CHANGE_SIMULATION_STATE = (IVIC_ERROR_BASE + 0x0062)
KTM960X_ERROR_INVALID_NUMBER_OF_LEVELS_IN_SELECTOR = (IVIC_ERROR_BASE + 0x0063)
KTM960X_ERROR_INVALID_RANGE_IN_SELECTOR = (IVIC_ERROR_BASE + 0x0064)
KTM960X_ERROR_UNKOWN_NAME_IN_SELECTOR = (IVIC_ERROR_BASE + 0x0065)
KTM960X_ERROR_BADLY_FORMED_SELECTOR = (IVIC_ERROR_BASE + 0x0066)
KTM960X_ERROR_UNKNOWN_PHYSICAL_IDENTIFIER = (IVIC_ERROR_BASE + 0x0067)
KTM960X_ERROR_INVALID_SESSION_HANDLE = (IVIC_ERROR_BASE + 0x1190)
KTM960X_SUCCESS = 0
KTM960X_WARN_NSUP_ID_QUERY = (IVIC_WARN_BASE + 0x0065)
KTM960X_WARN_NSUP_RESET = (IVIC_WARN_BASE + 0x0066)
KTM960X_WARN_NSUP_SELF_TEST = (IVIC_WARN_BASE + 0x0067)
KTM960X_WARN_NSUP_ERROR_QUERY = (IVIC_WARN_BASE + 0x0068)
KTM960X_WARN_NSUP_REV_QUERY = (IVIC_WARN_BASE + 0x0069)
KTM960X_ERROR_IO_GENERAL = (IVIC_SPECIFIC_ERROR_BASE + 0x0214)
KTM960X_ERROR_IO_TIMEOUT = (IVIC_SPECIFIC_ERROR_BASE + 0x0215)
KTM960X_ERROR_CALIBRATION_VERSION = (IVIC_SPECIFIC_ERROR_BASE + 0x0217)
KTM960X_ERROR_CHECK_ERROR_QUEUE = (IVIC_SPECIFIC_ERROR_BASE + 0x0218)
KTM960X_ERROR_FILE_TYPE_NOT_RECOGNIZED = (IVIC_SPECIFIC_ERROR_BASE + 0x0219)
KTM960X_ERROR_FIRMWARE_UPDATE_ERROR = (IVIC_SPECIFIC_ERROR_BASE + 0x021A)
KTM960X_ERROR_FIRMWARE_UPDATE_REQUIRED = (IVIC_SPECIFIC_ERROR_BASE + 0x021B)
KTM960X_ERROR_FPGA_PROGRAMMING_ERROR = (IVIC_SPECIFIC_ERROR_BASE + 0x021C)
KTM960X_ERROR_HARDWARE_TIMEOUT = (IVIC_SPECIFIC_ERROR_BASE + 0x021D)
KTM960X_ERROR_HW_RESOURCE_NOT_AVAILABLE = (IVIC_SPECIFIC_ERROR_BASE + 0x021E)
KTM960X_ERROR_INCOMPATIBLE_SOFTWARE_VERSION_ERROR = (IVIC_SPECIFIC_ERROR_BASE + 0x021F)
KTM960X_ERROR_INSTRUMENT_CALIBRATION_DUE = (IVIC_SPECIFIC_ERROR_BASE + 0x0220)
KTM960X_ERROR_INSTRUMENT_CALIBRATION_EXPIRED = (IVIC_SPECIFIC_ERROR_BASE + 0x0221)
KTM960X_ERROR_INSTRUMENT_NOT_CALIBRATED = (IVIC_SPECIFIC_ERROR_BASE + 0x0222)
KTM960X_ERROR_INTERNAL_APPLICATION_ERROR = (IVIC_SPECIFIC_ERROR_BASE + 0x0223)
KTM960X_ERROR_LICENSE_SYSTEM_ERROR = (IVIC_SPECIFIC_ERROR_BASE + 0x0224)
KTM960X_ERROR_LICENSE_VALIDATION_ERROR = (IVIC_SPECIFIC_ERROR_BASE + 0x0225)
KTM960X_ERROR_MAX_TIME_EXCEEDED = (IVIC_SPECIFIC_ERROR_BASE + 0x0226)
KTM960X_ERROR_MISSING_CLOCK_ERROR = (IVIC_SPECIFIC_ERROR_BASE + 0x0227)
KTM960X_ERROR_MODEL_NOT_SUPPORTED = (IVIC_SPECIFIC_ERROR_BASE + 0x0228)
KTM960X_ERROR_MODULE_CALIBRATION_DUE = (IVIC_SPECIFIC_ERROR_BASE + 0x0229)
KTM960X_ERROR_MODULE_CALIBRATION_EXPIRED = (IVIC_SPECIFIC_ERROR_BASE + 0x022A)
KTM960X_ERROR_MODULE_NOT_CALIBRATED = (IVIC_SPECIFIC_ERROR_BASE + 0x022B)
KTM960X_ERROR_MODULE_VALIDATE_FAILED = (IVIC_SPECIFIC_ERROR_BASE + 0x022C)
KTM960X_ERROR_OPERATION_ABORTED = (IVIC_SPECIFIC_ERROR_BASE + 0x022D)
KTM960X_ERROR_OPERATION_ERROR = (IVIC_SPECIFIC_ERROR_BASE + 0x022E)
KTM960X_ERROR_OUT_OF_MEMORY_ERROR = (IVIC_SPECIFIC_ERROR_BASE + 0x022F)
KTM960X_ERROR_PARAMETER_VALIDATION_ERROR = (IVIC_SPECIFIC_ERROR_BASE + 0x0230)
KTM960X_ERROR_PERSONALITY_NOT_ACTIVE = (IVIC_SPECIFIC_ERROR_BASE + 0x0231)
KTM960X_ERROR_PERSONALITY_NOT_INSTALLED = (IVIC_SPECIFIC_ERROR_BASE + 0x0232)
KTM960X_ERROR_PERSONALITY_NOT_LICENSED = (IVIC_SPECIFIC_ERROR_BASE + 0x0233)
KTM960X_ERROR_SELFTEST_FAILED = (IVIC_SPECIFIC_ERROR_BASE + 0x0234)
KTM960X_ERROR_SOFTWARE_TIMEOUT = (IVIC_SPECIFIC_ERROR_BASE + 0x0235)
KTM960X_ERROR_TEST_FAILED_INCORRECT_VERSION = (IVIC_SPECIFIC_ERROR_BASE + 0x0236)
KTM960X_ERROR_THERMAL_SHUTDOWN = (IVIC_SPECIFIC_ERROR_BASE + 0x0237)
KTM960X_ERROR_THERMAL_WARNING = (IVIC_SPECIFIC_ERROR_BASE + 0x0238)
KTM960X_ERROR_UNABLE_TO_INITIALIZE_HARDWARE = (IVIC_SPECIFIC_ERROR_BASE + 0x0239)
KTM960X_ERROR_UNRECOGNIZED_ERROR = (IVIC_SPECIFIC_ERROR_BASE + 0x023A)
KTM960X_ERROR_UNSUPPORTED_FEATURE = (IVIC_SPECIFIC_ERROR_BASE + 0x023B)
KTM960X_ERROR_UNSUPPORTED_PROPERTY = (IVIC_SPECIFIC_ERROR_BASE + 0x023C)
KTM960X_ERROR_VALIDATION_ERROR = (IVIC_SPECIFIC_ERROR_BASE + 0x023D)
KTM960X_ERROR_VERIFY_OPERATION_ERROR = (IVIC_SPECIFIC_ERROR_BASE + 0x023E)
KTM960X_ERROR_WAIT_ABORTED = (IVIC_SPECIFIC_ERROR_BASE + 0x023F)
KTM960X_ERROR_NOT_IMPLEMENTED = (IVIC_SPECIFIC_ERROR_BASE + 0x0240)
PXI_ERROR_DICT = {
KTM960X_ERROR_CANNOT_RECOVER: "Failure cannot recover.",
KTM960X_ERROR_INSTRUMENT_STATUS: "Instrument error detected. Use ErrorQuery() to determine the error(s).",
KTM960X_ERROR_CANNOT_OPEN_FILE: "Cannot open file.",
KTM960X_ERROR_READING_FILE: "Error reading file.",
KTM960X_ERROR_WRITING_FILE: "Error writing file.",
KTM960X_ERROR_INVALID_PATHNAME: "The pathname is invalid.",
KTM960X_ERROR_INVALID_ATTRIBUTE: "Attribute ID '%1' not recognized.",
KTM960X_ERROR_IVI_ATTR_NOT_WRITABLE: "Attribute '%1' is read-only.",
KTM960X_ERROR_IVI_ATTR_NOT_READABLE: "Attribute '%1' is write-only.",
KTM960X_ERROR_INVALID_VALUE: "Invalid value '%1' for function '%2', parameter '%3'.",
KTM960X_ERROR_FUNCTION_NOT_SUPPORTED: "Does not support this class-compliant feature: function '%1'",
KTM960X_ERROR_ATTRIBUTE_NOT_SUPPORTED: "Does not support this class-compliant feature: attribute '%1'.",
KTM960X_ERROR_VALUE_NOT_SUPPORTED: "Does not support this class-compliant feature: Enumeration value '%1' passed as the value for parameter '%2' in function '%3'.",
KTM960X_ERROR_TYPES_DO_NOT_MATCH: "%1Attribute%2 called for attribute '%3' of type '%4'.",
KTM960X_ERROR_NOT_INITIALIZED: "A connection to the instrument has not been established.",
KTM960X_ERROR_UNKNOWN_CHANNEL_NAME: "Unknown channel name.",
KTM960X_ERROR_TOO_MANY_OPEN_FILES: "Too many files are open.",
KTM960X_ERROR_CHANNEL_NAME_REQUIRED: "A channel name is required.",
KTM960X_ERROR_MISSING_OPTION_NAME: "The option string is missing an option name.",
KTM960X_ERROR_MISSING_OPTION_VALUE: "The option string is missing an option value.",
KTM960X_ERROR_BAD_OPTION_NAME: "The '%1' name in the option string is unknown.",
KTM960X_ERROR_BAD_OPTION_VALUE: "The '%1' value in the option string is unknown.",
KTM960X_ERROR_OUT_OF_MEMORY: "Could not allocate necessary memory.",
KTM960X_ERROR_OPERATION_PENDING: "Operation in progress.",
KTM960X_ERROR_NULL_POINTER: "Null pointer passed for function '%1', parameter '%2'.",
KTM960X_ERROR_UNEXPECTED_RESPONSE: "Unexpected response from instrument.",
KTM960X_ERROR_FILE_NOT_FOUND: "File not found.",
KTM960X_ERROR_INVALID_FILE_FORMAT: "Invalid file format.",
KTM960X_ERROR_STATUS_NOT_AVAILABLE: "The instrument status is not available.",
KTM960X_ERROR_ID_QUERY_FAILED: "Instrument ID query failed.",
KTM960X_ERROR_RESET_FAILED: "Instrument reset failed.",
KTM960X_ERROR_RESOURCE_UNKNOWN: "Unknown resource.",
KTM960X_ERROR_ALREADY_INITIALIZED: "The driver is already initialized.",
KTM960X_ERROR_CANNOT_CHANGE_SIMULATION_STATE: "The simulation state cannot be changed.",
KTM960X_ERROR_INVALID_NUMBER_OF_LEVELS_IN_SELECTOR: "The number of levels in the selector is not valid for the '%1' repeated capability.",
KTM960X_ERROR_INVALID_RANGE_IN_SELECTOR: "The range '%1' is not valid for the repeated capability '%2'.",
KTM960X_ERROR_UNKOWN_NAME_IN_SELECTOR: "Unknown name in selector.",
KTM960X_ERROR_BADLY_FORMED_SELECTOR: "The repeated capability selector is badly-formed.",
KTM960X_ERROR_UNKNOWN_PHYSICAL_IDENTIFIER: "Unknown physical repeated capability selector.",
KTM960X_ERROR_INVALID_SESSION_HANDLE: "Invalid session handle.",
KTM960X_ERROR_IO_GENERAL: "I/O error.",
KTM960X_ERROR_IO_TIMEOUT: "I/O timeout error.",
KTM960X_ERROR_CALIBRATION_VERSION: "Instrument was calibrated with a newer version of product software. Check with Keysight Technical Support for how this affects specifications.",
KTM960X_ERROR_CHECK_ERROR_QUEUE: "An error occurred. Use the Utility.ErrorQuery call to check the error queue for more error details.",
KTM960X_ERROR_FILE_TYPE_NOT_RECOGNIZED: "File type not recognized.",
KTM960X_ERROR_FIRMWARE_UPDATE_ERROR: "Firmware update error.",
KTM960X_ERROR_FIRMWARE_UPDATE_REQUIRED: "Firmware update required.",
KTM960X_ERROR_FPGA_PROGRAMMING_ERROR: "Module FPGA cannot be programmed while the module is shared.",
KTM960X_ERROR_HARDWARE_TIMEOUT: "Timeout waiting for hardware response.",
KTM960X_ERROR_HW_RESOURCE_NOT_AVAILABLE: "Hardware resource is not available.",
KTM960X_ERROR_INCOMPATIBLE_SOFTWARE_VERSION_ERROR: "The software is incompatible with either the hardware or the current firmware version.",
KTM960X_ERROR_INSTRUMENT_CALIBRATION_DUE: "Instrument calibration will be due soon.",
KTM960X_ERROR_INSTRUMENT_CALIBRATION_EXPIRED: "Instrument calibration has expired.",
KTM960X_ERROR_INSTRUMENT_NOT_CALIBRATED: "Instrument not calibrated.",
KTM960X_ERROR_INTERNAL_APPLICATION_ERROR: "An internal application error has occurred.",
KTM960X_ERROR_LICENSE_SYSTEM_ERROR: "An error occurred in the licensing system.",
KTM960X_ERROR_LICENSE_VALIDATION_ERROR: "License requirements not supported.",
KTM960X_ERROR_MAX_TIME_EXCEEDED: "Maximum time exceeded (%1 ms) before the operation completed.",
KTM960X_ERROR_MISSING_CLOCK_ERROR: "Missing clock. Check cables.",
KTM960X_ERROR_MODEL_NOT_SUPPORTED: "Instrument model does not support this feature. %1",
KTM960X_ERROR_MODULE_CALIBRATION_DUE: "Module calibration will be due soon.",
KTM960X_ERROR_MODULE_CALIBRATION_EXPIRED: "Module calibration has expired.",
KTM960X_ERROR_MODULE_NOT_CALIBRATED: "Module not calibrated.",
KTM960X_ERROR_MODULE_VALIDATE_FAILED: "Module validate failed. Normally the result of incorrect firmware loaded or hardware failure.",
KTM960X_ERROR_OPERATION_ABORTED: "Operation aborted.",
KTM960X_ERROR_OPERATION_ERROR: "Operation failed.",
KTM960X_ERROR_OUT_OF_MEMORY_ERROR: "Memory allocation error.",
KTM960X_ERROR_PARAMETER_VALIDATION_ERROR: "Validation error.",
KTM960X_ERROR_PERSONALITY_NOT_ACTIVE: "Personality is not active.",
KTM960X_ERROR_PERSONALITY_NOT_INSTALLED: "Personality is not installed.",
KTM960X_ERROR_PERSONALITY_NOT_LICENSED: "Personality is not licensed.",
KTM960X_ERROR_SELFTEST_FAILED: "Self test failed.",
KTM960X_ERROR_SOFTWARE_TIMEOUT: "A software timeout occurred.",
KTM960X_ERROR_TEST_FAILED_INCORRECT_VERSION: "Test failed due to an incorrect version.",
KTM960X_ERROR_THERMAL_SHUTDOWN: "Thermal shutdown. Module has overheated and partially shutdown. Turn off power and inspect cooling system.",
KTM960X_ERROR_THERMAL_WARNING: "Thermal shutdown is imminent. Module is very hot and may partially shutdown. Turn off power and inspect cooling system.",
KTM960X_ERROR_UNABLE_TO_INITIALIZE_HARDWARE: "Unable to initialize hardware.",
KTM960X_ERROR_UNRECOGNIZED_ERROR: "Unrecognized error during %1. Fundamental status result %2",
KTM960X_ERROR_UNSUPPORTED_FEATURE: "This feature is not supported by the software.",
KTM960X_ERROR_UNSUPPORTED_PROPERTY: "",
KTM960X_ERROR_VALIDATION_ERROR: "Validation error. This is normally the result of an incorrect combination of settings even though each setting is within the valid limits.",
KTM960X_ERROR_VERIFY_OPERATION_ERROR: "Verify operation failed. Check cables.",
KTM960X_ERROR_WAIT_ABORTED: "A wait operation was aborted.",
KTM960X_ERROR_NOT_IMPLEMENTED: "",
}
PXI_WARNING_DICT = {
KTM960X_SUCCESS: "Success.",
KTM960X_WARN_NSUP_ID_QUERY: "ID Query is not supported by this instrument.",
KTM960X_WARN_NSUP_RESET: "Reset is not supported by this instrument.",
KTM960X_WARN_NSUP_SELF_TEST: "Self test is not supported by this instrument.",
KTM960X_WARN_NSUP_ERROR_QUERY: "Error query is not supported by this instrument.",
KTM960X_WARN_NSUP_REV_QUERY: "Firmware revision query is not supported by this instrument.",
}