forked from ni/nimi-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunctions.py
More file actions
5690 lines (5690 loc) · 280 KB
/
functions.py
File metadata and controls
5690 lines (5690 loc) · 280 KB
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
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# -*- coding: utf-8 -*-
# This file is generated from NI-RFSG API metadata version 25.8.0d197
functions = {
'Abort': {
'codegen_method': 'public',
'documentation': {
'description': '\nStops signal generation.\n\n**Supported Devices** : PXI-5610, PXIe-5611, PXIe-5644/5645/5646, PXI/PXIe-5650/5651/5652, PXIe-5653/5654/5654 with PXIe-5696, PXI-5670/5671, PXIe-5672/5673/5673E, PXIe-5820/5830/5831/5832/5840/5841/5842/5860\n\n**Related Topics**\n\n`NI-RFSG Programming State Model <https://www.ni.com/docs/en-US/bundle/rfsg/page/rfsg/ni_5670_programming_state_model.html>`_'
},
'included_in_proto': True,
'method_templates': [
{
'documentation_filename': 'default_method',
'library_interpreter_filename': 'default_method',
'method_python_name_suffix': '',
'session_filename': 'default_method'
}
],
'parameters': [
{
'direction': 'in',
'documentation': {
'description': 'Identifies your instrument session. The ViSession handle is obtained from the nirfsg_Init function or the nirfsg_InitWithOptions function and identifies a particular instrument session.'
},
'name': 'vi',
'type': 'ViSession',
'use_array': False,
'use_in_python_api': True
}
],
'returns': 'ViStatus'
},
'AllocateArbWaveform': {
'codegen_method': 'public',
'documentation': {
'description': '\nAllocates onboard memory space for the arbitrary waveform.\n\nUse this function to specify the total size of a waveform before writing the data. Use this function only if you are calling the nirfsg_WriteArbWaveform function multiple times to write a large waveform in smaller blocks.\n\nThe NI-RFSG device must be in the Configuration state before you call this function.\n\n**Supported Devices** : PXIe-5644/5645/5646, PXI-5670/5671, PXIe-5672/5673/5673E, PXIe-5820/5830/5831/5832/5840/5841/5842/5860\n\n**Related Topics**\n\n`Streaming Waveform Data <https://www.ni.com/docs/en-US/bundle/rfsg/page/rfsg/streaming_waveform_data.html>`_'
},
'included_in_proto': True,
'method_templates': [
{
'documentation_filename': 'default_method',
'library_interpreter_filename': 'default_method',
'method_python_name_suffix': '',
'session_filename': 'default_method'
}
],
'parameters': [
{
'direction': 'in',
'documentation': {
'description': 'Identifies your instrument session. The ViSession handle is obtained from the nirfsg_Init function or the nirfsg_InitWithOptions function and identifies a particular instrument session.'
},
'name': 'vi',
'type': 'ViSession',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Specifies the name used to identify the waveform. This string is case-insensitive and alphanumeric, and it does not use reserved words.'
},
'name': 'waveformName',
'type': 'ViConstString',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Specifies the number of samples to reserve in the onboard memory for the specified waveform. Each I/Q pair is considered one sample.'
},
'name': 'sizeInSamples',
'type': 'ViInt32',
'use_array': False,
'use_in_python_api': True
}
],
'returns': 'ViStatus'
},
'ChangeExternalCalibrationPassword': {
'codegen_method': 'public',
'documentation': {
'description': '\nChanges the external calibration password of the device.\n\n**Supported Devices:** PXIe-5611, PXIe-5653/5654, PXIe-5673/5673E, PXIe-5696, PXIe-5820/5830/5831/5832/5840/5841/5842/5860'
},
'included_in_proto': True,
'method_templates': [
{
'documentation_filename': 'default_method',
'library_interpreter_filename': 'default_method',
'method_python_name_suffix': '',
'session_filename': 'default_method'
}
],
'parameters': [
{
'direction': 'in',
'documentation': {
'description': 'Identifies your instrument session. The ViSession handle is obtained from the nirfsg_Init function or the nirfsg_InitWithOptions function and identifies a particular instrument session.'
},
'name': 'vi',
'type': 'ViSession',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Specifies the old (current) external calibration password. This password is case sensitive.'
},
'name': 'oldPassword',
'type': 'ViConstString',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Specifies the new (desired) external calibration password.'
},
'name': 'newPassword',
'type': 'ViConstString',
'use_array': False,
'use_in_python_api': True
}
],
'returns': 'ViStatus'
},
'CheckAttributeViBoolean': {
'codegen_method': 'public',
'documentation': {
'description': '\nChecks the validity of a value you specify for a ViBoolean attribute.'
},
'included_in_proto': True,
'method_templates': [
{
'documentation_filename': 'default_method',
'library_interpreter_filename': 'default_method',
'method_python_name_suffix': '',
'session_filename': 'default_method'
}
],
'parameters': [
{
'direction': 'in',
'documentation': {
'description': 'Identifies your instrument session. The ViSession handle is obtained from the nirfsg_Init function or the nirfsg_InitWithOptions function and identifies a particular instrument session.'
},
'name': 'vi',
'type': 'ViSession',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Specifies the waveform name and the marker name.\n\nExample:\n\n"waveform::waveform0/marker0"'
},
'name': 'channelName',
'type': 'ViConstString',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Pass the ID of an attribute.'
},
'name': 'attribute',
'grpc_name': 'attribute_id',
'type': 'ViAttr',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Pass the value that you want to verify as a valid value for the attribute.',
'note': 'Some of the values might not be valid depending on the current settings of the instrument session.'
},
'name': 'value',
'type': 'ViBoolean',
'use_array': False,
'use_in_python_api': True
}
],
'returns': 'ViStatus'
},
'CheckAttributeViInt32': {
'codegen_method': 'public',
'documentation': {
'description': '\nChecks the validity of a value you specify for a ViInt32 attribute.'
},
'included_in_proto': True,
'method_templates': [
{
'documentation_filename': 'default_method',
'library_interpreter_filename': 'default_method',
'method_python_name_suffix': '',
'session_filename': 'default_method'
}
],
'parameters': [
{
'direction': 'in',
'documentation': {
'description': 'Identifies your instrument session. The ViSession handle is obtained from the nirfsg_Init function or the nirfsg_InitWithOptions function and identifies a particular instrument session.'
},
'name': 'vi',
'type': 'ViSession',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Specifies the waveform name and the marker name.\n\nExample:\n\n"waveform::waveform0/marker0"'
},
'name': 'channelName',
'type': 'ViConstString',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Pass the ID of an attribute.'
},
'name': 'attribute',
'grpc_name': 'attribute_id',
'type': 'ViAttr',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Pass the value that you want to verify as a valid value for the attribute.',
'note': 'Some of the values might not be valid depending on the current settings of the instrument session.'
},
'name': 'value',
'type': 'ViInt32',
'use_array': False,
'use_in_python_api': True
}
],
'returns': 'ViStatus'
},
'CheckAttributeViInt64': {
'codegen_method': 'public',
'documentation': {
'description': '\nChecks the validity of a value you specify for a ViInt64 attribute.'
},
'included_in_proto': True,
'method_templates': [
{
'documentation_filename': 'default_method',
'library_interpreter_filename': 'default_method',
'method_python_name_suffix': '',
'session_filename': 'default_method'
}
],
'parameters': [
{
'direction': 'in',
'documentation': {
'description': 'Identifies your instrument session. The ViSession handle is obtained from the nirfsg_Init function or the nirfsg_InitWithOptions function and identifies a particular instrument session.'
},
'name': 'vi',
'type': 'ViSession',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Specifies the waveform name and the marker name.\n\nExample:\n\n"waveform::waveform0/marker0"'
},
'name': 'channelName',
'type': 'ViConstString',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Pass the ID of an attribute.'
},
'name': 'attribute',
'grpc_name': 'attribute_id',
'type': 'ViAttr',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Pass the value that you want to verify as a valid value for the attribute.',
'note': 'Some of the values might not be valid depending on the current settings of the instrument session.'
},
'name': 'value',
'type': 'ViInt64',
'use_array': False,
'use_in_python_api': True
}
],
'returns': 'ViStatus'
},
'CheckAttributeViReal64': {
'codegen_method': 'public',
'documentation': {
'description': '\nChecks the validity of a value you specify for a ViReal64 attribute.'
},
'included_in_proto': True,
'method_templates': [
{
'documentation_filename': 'default_method',
'library_interpreter_filename': 'default_method',
'method_python_name_suffix': '',
'session_filename': 'default_method'
}
],
'parameters': [
{
'direction': 'in',
'documentation': {
'description': 'Identifies your instrument session. The ViSession handle is obtained from the nirfsg_Init function or the nirfsg_InitWithOptions function and identifies a particular instrument session.'
},
'name': 'vi',
'type': 'ViSession',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Specifies the waveform name and the marker name.\n\nExample:\n\n"waveform::waveform0/marker0"'
},
'name': 'channelName',
'type': 'ViConstString',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Pass the ID of an attribute.'
},
'name': 'attribute',
'grpc_name': 'attribute_id',
'type': 'ViAttr',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Pass the value that you want to verify as a valid value for the attribute.',
'note': 'Some of the values might not be valid depending on the current settings of the instrument session.'
},
'name': 'value',
'type': 'ViReal64',
'use_array': False,
'use_in_python_api': True
}
],
'returns': 'ViStatus'
},
'CheckAttributeViSession': {
'codegen_method': 'public',
'documentation': {
'description': '\nChecks the validity of a value you specify for a ViSession attribute.'
},
'included_in_proto': True,
'method_templates': [
{
'documentation_filename': 'default_method',
'library_interpreter_filename': 'default_method',
'method_python_name_suffix': '',
'session_filename': 'default_method'
}
],
'parameters': [
{
'direction': 'in',
'documentation': {
'description': 'Identifies your instrument session. The ViSession handle is obtained from the nirfsg_Init function or the nirfsg_InitWithOptions function and identifies a particular instrument session.'
},
'name': 'vi',
'type': 'ViSession',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Specifies the waveform name and the marker name.\n\nExample:\n\n"waveform::waveform0/marker0"'
},
'name': 'channelName',
'type': 'ViConstString',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Pass the ID of an attribute.'
},
'name': 'attribute',
'grpc_name': 'attribute_id',
'type': 'ViAttr',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Pass the value that you want to verify as a valid value for the attribute.',
'note': 'Some of the values might not be valid depending on the current settings of the instrument session.'
},
'name': 'value',
'type': 'ViSession',
'use_array': False,
'use_in_python_api': True
}
],
'returns': 'ViStatus'
},
'CheckAttributeViString': {
'codegen_method': 'public',
'documentation': {
'description': '\nChecks the validity of a value you specify for a ViString attribute.'
},
'included_in_proto': True,
'method_templates': [
{
'documentation_filename': 'default_method',
'library_interpreter_filename': 'default_method',
'method_python_name_suffix': '',
'session_filename': 'default_method'
}
],
'parameters': [
{
'direction': 'in',
'documentation': {
'description': 'Identifies your instrument session. The ViSession handle is obtained from the nirfsg_Init function or the nirfsg_InitWithOptions function and identifies a particular instrument session.'
},
'name': 'vi',
'type': 'ViSession',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Specifies the waveform name and the marker name.\n\nExample:\n\n"waveform::waveform0/marker0"'
},
'name': 'channelName',
'type': 'ViConstString',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Pass the ID of an attribute.'
},
'name': 'attribute',
'grpc_name': 'attribute_id',
'type': 'ViAttr',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Pass the value that you want to verify as a valid value for the attribute. The value must be a NULL-terminated string.',
'note': 'Some of the values might not be valid depending on the current settings of the instrument session.'
},
'name': 'value',
'type': 'ViConstString',
'use_array': False,
'use_in_python_api': True
}
],
'returns': 'ViStatus'
},
'CheckGenerationStatus': {
'codegen_method': 'public',
'documentation': {
'description': '\nChecks the status of the generation.\n\nCall this function to check for any errors that might occur during the signal generation or to check whether the device has finished generating.\n\n**Supported Devices** : PXIe-5611, PXIe-5644/5645/5646, PXI/PXIe-5650/5651/5652, PXIe-5653/5654/5654 with PXIe-5696, PXI-5670/5671, PXIe-5672/5673/5673E, PXIe-5820/5830/5831/5832/5840/5841/5842/5860\n\n**Related Topics**\n\n`NI-RFSG Instrument Driver Programming Flow <https://www.ni.com/docs/en-US/bundle/rfsg/page/rfsg/progflow.html>`'
},
'included_in_proto': True,
'method_templates': [
{
'documentation_filename': 'default_method',
'library_interpreter_filename': 'default_method',
'method_python_name_suffix': '',
'session_filename': 'default_method'
}
],
'parameters': [
{
'direction': 'in',
'documentation': {
'description': 'Identifies your instrument session. The ViSession handle is obtained from the nirfsg_Init function or the nirfsg_InitWithOptions function and identifies a particular instrument session.'
},
'name': 'vi',
'type': 'ViSession',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'out',
'documentation': {
'description': 'Returns information about the completion of signal generation.\n\n**Defined Values** :',
'table_body': [
[
'VI_TRUE',
'Signal generation is complete.'
],
[
'VI_FALSE',
'Signal generation is occurring.'
]
],
'table_header': [
'Value',
'Description'
]
},
'name': 'isDone',
'type': 'ViBoolean',
'use_array': False,
'use_in_python_api': True
}
],
'returns': 'ViStatus'
},
'CheckIfScriptExists': {
'codegen_method': 'public',
'documentation': {
'description': '\nReturns whether the script that you specify as NIRFSG_ATTR_SCRIPT_NAME exists.\n\n**Supported Devices** : PXIe-5673/5673E. PXIe-5830/5831/5840/5841/5842/5860'
},
'included_in_proto': True,
'method_templates': [
{
'documentation_filename': 'default_method',
'library_interpreter_filename': 'default_method',
'method_python_name_suffix': '',
'session_filename': 'default_method'
}
],
'parameters': [
{
'direction': 'in',
'documentation': {
'description': 'Identifies your instrument session. The ViSession handle is obtained from the nirfsg_Init function or the nirfsg_InitWithOptions function and identifies a particular instrument session.'
},
'name': 'vi',
'type': 'ViSession',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Specifies the name of the script. This string is case-insensitive.'
},
'name': 'scriptName',
'type': 'ViConstString',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'out',
'documentation': {
'description': 'Returns VI_TRUE if the script exists.\n\n**Defined Values** :',
'table_body': [
[
'VI_TRUE',
'The script exists.'
],
[
'VI_FALSE',
'The script does not exist.'
]
],
'table_header': [
'Value',
'Description'
]
},
'name': 'scriptExists',
'type': 'ViBoolean',
'use_array': False,
'use_in_python_api': True
}
],
'returns': 'ViStatus'
},
'CheckIfWaveformExists': {
'codegen_method': 'public',
'documentation': {
'description': '\nReturns whether the waveform that you specify as NIRFSG_ATTR_WAVEFORM_NAME exists.\n\n**Supported Devices** : PXIe-5673/5673E, PXIe-5830/5831/5840/5841/5842/5860'
},
'included_in_proto': True,
'method_templates': [
{
'documentation_filename': 'default_method',
'library_interpreter_filename': 'default_method',
'method_python_name_suffix': '',
'session_filename': 'default_method'
}
],
'parameters': [
{
'direction': 'in',
'documentation': {
'description': 'Identifies your instrument session. The ViSession handle is obtained from the nirfsg_Init function or the nirfsg_InitWithOptions function and identifies a particular instrument session.'
},
'name': 'vi',
'type': 'ViSession',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Specifies the name used to store the waveform. This string is case-insensitive.'
},
'name': 'waveformName',
'type': 'ViConstString',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'out',
'documentation': {
'description': 'Returns VI_TRUE if the waveform exists.\n\n**Defined Values** :',
'table_body': [
[
'VI_TRUE',
'The waveform exists.'
],
[
'VI_FALSE',
'The waveform does not exist.'
]
],
'table_header': [
'Value',
'Description'
]
},
'name': 'waveformExists',
'type': 'ViBoolean',
'use_array': False,
'use_in_python_api': True
}
],
'returns': 'ViStatus'
},
'ClearAllArbWaveforms': {
'codegen_method': 'public',
'documentation': {
'description': '\nDeletes all currently defined waveforms and scripts.\n\nThe NI-RFSG device must be in the Configuration state before you call this function.\n\n**Supported Devices** : PXIe-5644/5645/5646, PXI-5670/5671, PXIe-5672/5673/5673E, PXIe-5820/5830/5831/5832/5840/5841/5842/5860'
},
'included_in_proto': True,
'method_templates': [
{
'documentation_filename': 'default_method',
'library_interpreter_filename': 'default_method',
'method_python_name_suffix': '',
'session_filename': 'default_method'
}
],
'parameters': [
{
'direction': 'in',
'documentation': {
'description': 'Identifies your instrument session. The ViSession handle is obtained from the nirfsg_Init function or the nirfsg_InitWithOptions function and identifies a particular instrument session.'
},
'name': 'vi',
'type': 'ViSession',
'use_array': False,
'use_in_python_api': True
}
],
'returns': 'ViStatus'
},
'ClearArbWaveform': {
'codegen_method': 'public',
'documentation': {
'description': '\nDeletes a specified waveform from the pool of currently defined waveforms.\n\nThe NI-RFSG device must be in the Configuration state before you call this function.\n\n**Supported Devices** : PXIe-5644/5645/5646, PXI-5670/5671, PXIe-5672/5673/5673E, PXIe-5820/5830/5831/5832/5840/5841/5842/5860'
},
'included_in_proto': True,
'method_templates': [
{
'documentation_filename': 'default_method',
'library_interpreter_filename': 'default_method',
'method_python_name_suffix': '',
'session_filename': 'default_method'
}
],
'parameters': [
{
'direction': 'in',
'documentation': {
'description': 'Identifies your instrument session. The ViSession handle is obtained from the nirfsg_Init function or the nirfsg_InitWithOptions function and identifies a particular instrument session.'
},
'name': 'vi',
'type': 'ViSession',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Name of the stored waveform to delete.'
},
'name': 'name',
'type': 'ViConstString',
'use_array': False,
'use_in_python_api': True
}
],
'returns': 'ViStatus'
},
'ClearError': {
'codegen_method': 'public',
'documentation': {
'description': '\nClears the error information associated with the session.\n\nIf you pass VI_NULL for the NIRFSG_ATTR_VI parameter, this function clears the error information for the current execution thread.\n\nThe IVI Engine also maintains this error information separately for each thread. This feature of the IVI Engine is useful if you do not have a session handle to pass to the nirfsg_ClearError function or the nirfsg_GetError function, which occurs when a call to the nirfsg_Init function or the nirfsg_InitWithOptions function fails.\n\n**Supported Devices** : PXI-5610, PXIe-5611, PXIe-5644/5645/5646, PXI/PXIe-5650/5651/5652, PXIe-5653/5654/5654 with PXIe-5696, PXI-5670/5671, PXIe-5672/5673/5673E, PXIe-5820/5840/5841/5842/5860',
'note': 'The nirfsg_GetError function clears the error information after it is retrieved. A call to the nirfsg_ClearError function is necessary only when you do not use a call to the nirfsg_GetError function to retrieve error information.'
},
'included_in_proto': True,
'method_templates': [
{
'documentation_filename': 'default_method',
'library_interpreter_filename': 'default_method',
'method_python_name_suffix': '',
'session_filename': 'default_method'
}
],
'parameters': [
{
'direction': 'in',
'documentation': {
'description': 'Identifies your instrument session. The ViSession handle is obtained from the nirfsg_Init function or the nirfsg_InitWithOptions function and identifies a particular instrument session.'
},
'name': 'vi',
'type': 'ViSession',
'use_array': False,
'use_in_python_api': True
}
],
'returns': 'ViStatus'
},
'ClearSelfCalibrateRange': {
'codegen_method': 'public',
'documentation': {
'description': '\nClears the data obtained from the nirfsg_SelfCalibrateRange function.\n\n**Supported Devices** : PXIe-5644/5645/5646, PXIe-5820/5830/5831/5832/5840/5841/5842'
},
'included_in_proto': True,
'method_templates': [
{
'documentation_filename': 'default_method',
'library_interpreter_filename': 'default_method',
'method_python_name_suffix': '',
'session_filename': 'default_method'
}
],
'parameters': [
{
'direction': 'in',
'documentation': {
'description': 'Identifies your instrument session. The ViSession handle is obtained from the nirfsg_Init function or the nirfsg_InitWithOptions function and identifies a particular instrument session.'
},
'name': 'vi',
'type': 'ViSession',
'use_array': False,
'use_in_python_api': True
}
],
'returns': 'ViStatus'
},
'Commit': {
'codegen_method': 'public',
'documentation': {
'description': '\nPrograms the device with the correct settings.\n\nCalling this function moves the NI-RFSG device from the Configuration state to the Committed state. After this function executes, a change to any attribute reverts the NI-RFSG device to the Configuration state.\n\n**Supported devices** : PXI-5610, PXIe-5611, PXIe-5644/5645/5646, PXI/PXIe-5650/5651/5652, PXIe-5653/5654/5654 with PXIe-5696, PXI-5670/5671, PXIe-5672/5673/5673E, PXIe-5820/5830/5831/5832/5840/5841/5842/5860\n\n**Related Topics**\n\n`NI-RFSG Programming State Model <https://www.ni.com/docs/en-US/bundle/rfsg/page/rfsg/ni_5670_programming_state_model.html>`_'
},
'included_in_proto': True,
'method_templates': [
{
'documentation_filename': 'default_method',
'library_interpreter_filename': 'default_method',
'method_python_name_suffix': '',
'session_filename': 'default_method'
}
],
'parameters': [
{
'direction': 'in',
'documentation': {
'description': 'Identifies your instrument session. The ViSession handle is obtained from the nirfsg_Init function or the nirfsg_InitWithOptions function and identifies a particular instrument session.'
},
'name': 'vi',
'type': 'ViSession',
'use_array': False,
'use_in_python_api': True
}
],
'returns': 'ViStatus'
},
'ConfigureDeembeddingTableInterpolationLinear': {
'codegen_method': 'public',
'documentation': {
'description': '\nSelects the linear interpolation method.\n\nIf the carrier frequency does not match a row in the de-embedding table, NI-RFSG performs a linear interpolation based on the entries in the de-embedding table to determine the parameters to use for de-embedding.\n\n**Supported Devices** : PXIe-5830/5831/5832/5840/5841/5842/5860'
},
'included_in_proto': True,
'method_templates': [
{
'documentation_filename': 'default_method',
'library_interpreter_filename': 'default_method',
'method_python_name_suffix': '',
'session_filename': 'default_method'
}
],
'parameters': [
{
'direction': 'in',
'documentation': {
'description': 'Identifies your instrument session. The ViSession handle is obtained from the nirfsg_Init function or the nirfsg_InitWithOptions function and identifies a particular instrument session.'
},
'name': 'vi',
'type': 'ViSession',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Specifies the name of the port. The only valid value for the PXIe-5840/5841/5842/5860 is "" (empty string).'
},
'name': 'port',
'type': 'ViConstString',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Specifies the name of the table.'
},
'name': 'tableName',
'type': 'ViConstString',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Specifies the format of parameters to interpolate. **Defined Values** :',
'table_body': [
[
'NIRFSG_VAL_LINEAR_INTERPOLATION_FORMAT_REAL_AND_IMAGINARY',
'26000 (0x6590)',
'Results in a linear interpolation of the real portion of the complex number and a separate linear interpolation of the complex portion.'
],
[
'NIRFSG_VAL_LINEAR_INTERPOLATION_FORMAT_MAGNITUDE_AND_PHASE',
'26001 (0x6591)',
'Results in a linear interpolation of the magnitude and a separate linear interpolation of the phase.'
],
[
'NIRFSG_VAL_LINEAR_INTERPOLATION_FORMAT_MAGNITUDE_DB_AND_PHASE',
'26002 (0x6592)',
'Results in a linear interpolation of the magnitude, in decibels, and a separate linear interpolation of the phase.'
]
],
'table_header': [
'Name',
'Value',
'Description'
]
},
'enum': 'Format',
'name': 'format',
'type': 'ViInt32',
'use_array': False,
'use_in_python_api': True
}
],
'returns': 'ViStatus'
},
'ConfigureDeembeddingTableInterpolationNearest': {
'codegen_method': 'public',
'documentation': {
'description': '\nSelects the nearest interpolation method.\n\nNI-RFSG uses the parameters of the table nearest to the carrier frequency for de-embedding.\n\n**Supported Devices** : PXIe-5830/5831/5832/5840/5841/5842/5860'
},
'included_in_proto': True,
'method_templates': [
{
'documentation_filename': 'default_method',
'library_interpreter_filename': 'default_method',
'method_python_name_suffix': '',
'session_filename': 'default_method'
}
],
'parameters': [
{
'direction': 'in',
'documentation': {
'description': 'Identifies your instrument session. The ViSession handle is obtained from the nirfsg_Init function or the nirfsg_InitWithOptions function and identifies a particular instrument session.'
},
'name': 'vi',
'type': 'ViSession',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Specifies the name of the port. The only valid value for the PXIe-5840/5841/5842/5860 is "" (empty string).'
},
'name': 'port',
'type': 'ViConstString',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Specifies the name of the table.'
},
'name': 'tableName',
'type': 'ViConstString',
'use_array': False,
'use_in_python_api': True
}
],
'returns': 'ViStatus'
},
'ConfigureDeembeddingTableInterpolationSpline': {
'codegen_method': 'public',
'documentation': {
'description': '\nSelects the spline interpolation method.\n\nIf the carrier frequency does not match a row in the de-embedding table, NI-RFSG performs a spline interpolation based on the entries in the de-embedding table to determine the parameters to use for de-embedding.\n\n**Supported Devices** : PXIe-5830/5831/5832/5840/5841/5842/5860'
},
'included_in_proto': True,
'method_templates': [
{
'documentation_filename': 'default_method',
'library_interpreter_filename': 'default_method',
'method_python_name_suffix': '',
'session_filename': 'default_method'
}
],
'parameters': [
{
'direction': 'in',
'documentation': {
'description': 'Identifies your instrument session. The ViSession handle is obtained from the nirfsg_Init function or the nirfsg_InitWithOptions function and identifies a particular instrument session.'
},
'name': 'vi',
'type': 'ViSession',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Specifies the name of the port. The only valid value for the PXIe-5840/5841/5842/5860 is "" (empty string).'
},
'name': 'port',
'type': 'ViConstString',
'use_array': False,
'use_in_python_api': True
},
{
'direction': 'in',
'documentation': {
'description': 'Specifies the name of the table.'
},
'name': 'tableName',
'type': 'ViConstString',
'use_array': False,
'use_in_python_api': True
}
],
'returns': 'ViStatus'
},
'ConfigureDigitalEdgeScriptTrigger': {
'codegen_method': 'public',
'documentation': {
'description': '\nConfigures the specified Script Trigger for digital edge triggering.\n\nThe NI-RFSG device must be in the Configuration state before calling this function.\n\n**Supported Devices** : PXIe-5644/5645/5646, PXI-5670/5671, PXIe-5672/5673/5673E, PXIe-5820/5830/5831/5832/5840/5841/5842/5860\n\n**Related Topics**\n\n`Script Trigger <https://www.ni.com/docs/en-US/bundle/rfsg/page/rfsg/script_triggers.html>`_\n\n`Digital Edge Trigger <https://www.ni.com/docs/en-US/bundle/rfsg/page/rfsg/trigger_edge.html>`_'
},
'has_repeated_capability': True,
'included_in_proto': True,
'method_templates': [
{