forked from analogdevicesinc/libm2k-matlab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
definelibm2k_win64.m
3818 lines (3449 loc) · 293 KB
/
definelibm2k_win64.m
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
%% About definelibm2k.mlx
% This file defines the MATLAB interface to the library |libm2k|.
%
% Commented sections represent C++ functionality that MATLAB cannot automatically define. To include
% functionality, uncomment a section and provide values for <SHAPE>, <DIRECTION>, etc. For more
% information, see <matlab:helpview(fullfile(docroot,'matlab','helptargets.map'),'cpp_define_interface') Define MATLAB Interface for C++ Library>.
%% Setup. Do not edit this section.
function libDef = definelibm2k()
libDef = clibgen.LibraryDefinition("libm2kData.xml");
%% OutputFolder and Libraries
libDef.OutputFolder = pwd;
libDef.Libraries = fullfile(pwd,'libm2k','libm2k.lib');
%% C++ class |iio_channel| with MATLAB name |clib.libm2k.iio_channel|
iio_channelDefinition = addClass(libDef, "iio_channel", "MATLABName", "clib.libm2k.iio_channel", ...
"Description", "clib.libm2k.iio_channel Representation of C++ class iio_channel."); % Modify help description values as needed.
%% C++ class |iio_device| with MATLAB name |clib.libm2k.iio_device|
iio_deviceDefinition = addClass(libDef, "iio_device", "MATLABName", "clib.libm2k.iio_device", ...
"Description", "clib.libm2k.iio_device Representation of C++ class iio_device."); % Modify help description values as needed.
%% C++ class |iio_buffer| with MATLAB name |clib.libm2k.iio_buffer|
iio_bufferDefinition = addClass(libDef, "iio_buffer", "MATLABName", "clib.libm2k.iio_buffer", ...
"Description", "clib.libm2k.iio_buffer Representation of C++ class iio_buffer."); % Modify help description values as needed.
%% C++ class |iio_context| with MATLAB name |clib.libm2k.iio_context|
iio_contextDefinition = addClass(libDef, "iio_context", "MATLABName", "clib.libm2k.iio_context", ...
"Description", "clib.libm2k.iio_context Representation of C++ class iio_context."); % Modify help description values as needed.
%% C++ enumeration |ContextTypes| with MATLAB name |clib.libm2k.ContextTypes|
addEnumeration(libDef, "ContextTypes", "int32",...
[...
"CtxFMCOMMS",... % 0
"CtxM2K",... % 1
"CtxLIDAR",... % 2
"Other",... % 3
],...
"MATLABName", "clib.libm2k.ContextTypes", ...
"Description", "clib.libm2k.ContextTypes Representation of C++ enumeration ContextTypes."); % Modify help description values as needed.
%% C++ enumeration |libm2k::M2K_TRIGGER_CONDITION_ANALOG| with MATLAB name |clib.libm2k.libm2k.M2K_TRIGGER_CONDITION_ANALOG|
addEnumeration(libDef, "libm2k::M2K_TRIGGER_CONDITION_ANALOG", "int32",...
[...
"RISING_EDGE_ANALOG",... % 0
"FALLING_EDGE_ANALOG",... % 1
"LOW_LEVEL_ANALOG",... % 2
"HIGH_LEVEL_ANALOG",... % 3
],...
"MATLABName", "clib.libm2k.libm2k.M2K_TRIGGER_CONDITION_ANALOG", ...
"Description", "clib.libm2k.libm2k.M2K_TRIGGER_CONDITION_ANALOG Representation of C++ enumeration libm2k::M2K_TRIGGER_CONDITION_ANALOG." + newline + ...
"Condition of triggering", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
%% C++ enumeration |libm2k::M2K_TRIGGER_CONDITION_DIGITAL| with MATLAB name |clib.libm2k.libm2k.M2K_TRIGGER_CONDITION_DIGITAL|
addEnumeration(libDef, "libm2k::M2K_TRIGGER_CONDITION_DIGITAL", "int32",...
[...
"RISING_EDGE_DIGITAL",... % 0
"FALLING_EDGE_DIGITAL",... % 1
"LOW_LEVEL_DIGITAL",... % 2
"HIGH_LEVEL_DIGITAL",... % 3
"ANY_EDGE_DIGITAL",... % 4
"NO_TRIGGER_DIGITAL",... % 5
],...
"MATLABName", "clib.libm2k.libm2k.M2K_TRIGGER_CONDITION_DIGITAL", ...
"Description", "clib.libm2k.libm2k.M2K_TRIGGER_CONDITION_DIGITAL Representation of C++ enumeration libm2k::M2K_TRIGGER_CONDITION_DIGITAL." + newline + ...
"Condition of triggering", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
%% C++ enumeration |libm2k::M2K_TRIGGER_MODE| with MATLAB name |clib.libm2k.libm2k.M2K_TRIGGER_MODE|
addEnumeration(libDef, "libm2k::M2K_TRIGGER_MODE", "int32",...
[...
"ALWAYS",... % 0
"ANALOG",... % 1
"EXTERNAL",... % 2
"DIGITAL_OR_ANALOG",... % 3
"DIGITAL_AND_ANALOG",... % 4
"DIGITAL_XOR_ANALOG",... % 5
"N_DIGITAL_OR_ANALOG",... % 6
"N_DIGITAL_AND_ANALOG",... % 7
"N_DIGITAL_XOR_ANALOG",... % 8
],...
"MATLABName", "clib.libm2k.libm2k.M2K_TRIGGER_MODE", ...
"Description", "clib.libm2k.libm2k.M2K_TRIGGER_MODE Representation of C++ enumeration libm2k::M2K_TRIGGER_MODE." + newline + ...
"Select the mode for the analog trigger", ...
"DetailedDescription", "This content is from the external library documentation." + newline + ...
"" + newline + ...
"@enum M2K_TRIGGER_MODE" + newline + ...
" @brief Select the mode for the analog trigger", ...
"EnumerantDescriptions", ...
[...
"ALWAYS - Disable analog trigger;",... % ALWAYS
"ANALOG - Trigger condition specified only by analog trigger (CH1 and CH2)",... % ANALOG
"EXTERNAL - Trigger condition specified only by external trigger (TI)",... % EXTERNAL
"",... % DIGITAL_OR_ANALOG
"",... % DIGITAL_AND_ANALOG
"",... % DIGITAL_XOR_ANALOG
"",... % N_DIGITAL_OR_ANALOG
"",... % N_DIGITAL_AND_ANALOG
"",... % N_DIGITAL_XOR_ANALOG
]); % Modify help description values as needed.
%% C++ enumeration |libm2k::M2K_TRIGGER_SOURCE_ANALOG| with MATLAB name |clib.libm2k.libm2k.M2K_TRIGGER_SOURCE_ANALOG|
addEnumeration(libDef, "libm2k::M2K_TRIGGER_SOURCE_ANALOG", "int32",...
[...
"CHANNEL_1",... % 0
"CHANNEL_2",... % 1
"CHANNEL_1_OR_CHANNEL_2",... % 2
"CHANNEL_1_AND_CHANNEL_2",... % 3
"CHANNEL_1_XOR_CHANNEL_2",... % 4
"SRC_DIGITAL_IN",... % 5
"CHANNEL_1_OR_SRC_LOGIC_ANALYZER",... % 6
"CHANNEL_2_OR_SRC_LOGIC_ANALYZER",... % 7
"CHANNEL_1_OR_CHANNEL_2_OR_SRC_LOGIC_ANALYZER",... % 8
"NO_SOURCE",... % 9
],...
"MATLABName", "clib.libm2k.libm2k.M2K_TRIGGER_SOURCE_ANALOG", ...
"Description", "clib.libm2k.libm2k.M2K_TRIGGER_SOURCE_ANALOG Representation of C++ enumeration libm2k::M2K_TRIGGER_SOURCE_ANALOG." + newline + ...
"Select the source for the analog trigger", ...
"DetailedDescription", "This content is from the external library documentation." + newline + ...
"" + newline + ...
"@enum M2K_TRIGGER_SOURCE_ANALOG" + newline + ...
" @brief Select the source for the analog trigger", ...
"EnumerantDescriptions", ...
[...
"CHANNEL_1 - trigger events on analog CHANNEL_1 trigger the AnalogIn interface",... % CHANNEL_1
"CHANNEL_2 - trigger events on analog CHANNEL_2 trigger the AnalogIn interface",... % CHANNEL_2
"",... % CHANNEL_1_OR_CHANNEL_2
"",... % CHANNEL_1_AND_CHANNEL_2
"",... % CHANNEL_1_XOR_CHANNEL_2
"SRC_DIGITAL_IN - trigger events on the DigitalIn interface trigger the AnalogIn interface",... % SRC_DIGITAL_IN
"",... % CHANNEL_1_OR_SRC_LOGIC_ANALYZER
"",... % CHANNEL_2_OR_SRC_LOGIC_ANALYZER
"",... % CHANNEL_1_OR_CHANNEL_2_OR_SRC_LOGIC_ANALYZER
"",... % NO_SOURCE
]); % Modify help description values as needed.
%% C++ class |libm2k::SETTINGS| with MATLAB name |clib.libm2k.libm2k.SETTINGS|
SETTINGSDefinition = addClass(libDef, "libm2k::SETTINGS", "MATLABName", "clib.libm2k.libm2k.SETTINGS", ...
"Description", "clib.libm2k.libm2k.SETTINGS Representation of C++ class libm2k::SETTINGS." + newline + ...
"Triggering system", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
%% C++ class constructor for C++ class |libm2k::SETTINGS|
% C++ Signature: libm2k::SETTINGS::SETTINGS()
SETTINGSConstructor1Definition = addConstructor(SETTINGSDefinition, ...
"libm2k::SETTINGS::SETTINGS()", ...
"Description", "clib.libm2k.libm2k.SETTINGS.SETTINGS Constructor of C++ class libm2k::SETTINGS."); % Modify help description values as needed.
validate(SETTINGSConstructor1Definition);
%% C++ class constructor for C++ class |libm2k::SETTINGS|
% C++ Signature: libm2k::SETTINGS::SETTINGS(libm2k::SETTINGS const & input1)
SETTINGSConstructor2Definition = addConstructor(SETTINGSDefinition, ...
"libm2k::SETTINGS::SETTINGS(libm2k::SETTINGS const & input1)", ...
"Description", "clib.libm2k.libm2k.SETTINGS.SETTINGS Constructor of C++ class libm2k::SETTINGS."); % Modify help description values as needed.
defineArgument(SETTINGSConstructor2Definition, "input1", "clib.libm2k.libm2k.SETTINGS", "input");
validate(SETTINGSConstructor2Definition);
%% C++ class public data member |trigger_source| for C++ class |libm2k::SETTINGS|
% C++ Signature: libm2k::M2K_TRIGGER_SOURCE_ANALOG libm2k::SETTINGS::trigger_source
addProperty(SETTINGSDefinition, "trigger_source", "clib.libm2k.libm2k.M2K_TRIGGER_SOURCE_ANALOG", ...
"Description", "clib.libm2k.libm2k.M2K_TRIGGER_SOURCE_ANALOG Data member of C++ class libm2k::SETTINGS." + newline + ...
"Triggering source"); % Modify help description values as needed.
%% C++ class public data member |delay| for C++ class |libm2k::SETTINGS|
% C++ Signature: int libm2k::SETTINGS::delay
addProperty(SETTINGSDefinition, "delay", "int32", ...
"Description", "int32 Data member of C++ class libm2k::SETTINGS." + newline + ...
"Trigger's delay"); % Modify help description values as needed.
%% C++ enumeration |libm2k::M2K_TRIGGER_OUT_SELECT| with MATLAB name |clib.libm2k.libm2k.M2K_TRIGGER_OUT_SELECT|
addEnumeration(libDef, "libm2k::M2K_TRIGGER_OUT_SELECT", "int32",...
[...
"SELECT_NONE",... % 0
"SELECT_TRIGGER_I_SAME_CHAN",... % 1
"SELECT_TRIGGER_IN",... % 2
"SELECT_ANALOG_IN",... % 3
"SELECT_DIGITAL_IN",... % 4
],...
"MATLABName", "clib.libm2k.libm2k.M2K_TRIGGER_OUT_SELECT", ...
"Description", "clib.libm2k.libm2k.M2K_TRIGGER_OUT_SELECT Representation of C++ enumeration libm2k::M2K_TRIGGER_OUT_SELECT." + newline + ...
"Select which trigger event will be forwarded on TO pin (trigger out)", ...
"DetailedDescription", "This content is from the external library documentation." + newline + ...
"" + newline + ...
"@enum M2K_TRIGGER_OUT_SELECT" + newline + ...
" @brief Select which trigger event will be forwarded on TO pin (trigger out)", ...
"EnumerantDescriptions", ...
[...
"SELECT_NONE - no trigger event is forwarded",... % SELECT_NONE
"",... % SELECT_TRIGGER_I_SAME_CHAN
"SELECT_TRIGGER_IN - forwards trigger events from TI pin(trigger in)",... % SELECT_TRIGGER_IN
"SELECT_ANALOG_IN - forwards trigger events from AnalogIn interface",... % SELECT_ANALOG_IN
"SELECT_DIGITAL_IN - forwards trigger events from DigitalIn interface",... % SELECT_DIGITAL_IN
]); % Modify help description values as needed.
%% C++ enumeration |libm2k::M2K_TRIGGER_SOURCE_DIGITAL| with MATLAB name |clib.libm2k.libm2k.M2K_TRIGGER_SOURCE_DIGITAL|
addEnumeration(libDef, "libm2k::M2K_TRIGGER_SOURCE_DIGITAL", "int32",...
[...
"SRC_TRIGGER_IN",... % 0
"SRC_ANALOG_IN",... % 1
"SRC_NONE",... % 2
"SRC_DISABLED",... % 3
],...
"MATLABName", "clib.libm2k.libm2k.M2K_TRIGGER_SOURCE_DIGITAL", ...
"Description", "clib.libm2k.libm2k.M2K_TRIGGER_SOURCE_DIGITAL Representation of C++ enumeration libm2k::M2K_TRIGGER_SOURCE_DIGITAL." + newline + ...
"Select the source for the digital trigger", ...
"DetailedDescription", "This content is from the external library documentation." + newline + ...
"" + newline + ...
"@enum M2K_TRIGGER_SOURCE_DIGITAL" + newline + ...
" @brief Select the source for the digital trigger", ...
"EnumerantDescriptions", ...
[...
"SRC_TRIGGER_IN - trigger events on the TI(trigger in) pin trigger the DigitalIn interface",... % SRC_TRIGGER_IN
"SRC_ANALOG_IN - trigger events on the AnalogIn interface trigger the DigitalIn interface",... % SRC_ANALOG_IN
"SRC_NONE - trigger events on the DigitalIn are conditioned by the internal digital trigger structure",... % SRC_NONE
"",... % SRC_DISABLED
]); % Modify help description values as needed.
%% C++ class |libm2k::M2kHardwareTrigger| with MATLAB name |clib.libm2k.libm2k.M2kHardwareTrigger|
M2kHardwareTriggerDefinition = addClass(libDef, "libm2k::M2kHardwareTrigger", "MATLABName", "clib.libm2k.libm2k.M2kHardwareTrigger", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger Representation of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Contains the representation of the ADALM2000 trigger system" + newline + ...
"" + newline + ...
"@class M2kHardwareTrigger" + newline + ...
"@brief Controls the hardware trigger for ADALM2000", ...
"DetailedDescription", "This content is from the external library documentation." + newline + ...
"" + newline + ...
"@defgroup m2ktrigger HardwareTrigger" + newline + ...
"@brief Contains the representation of the ADALM2000 trigger system" + newline + ...
"" + newline + ...
"@class M2kHardwareTrigger" + newline + ...
"@brief Controls the hardware trigger for ADALM2000"); % Modify help description values as needed.
%% C++ class method |reset| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: void libm2k::M2kHardwareTrigger::reset()
resetDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"void libm2k::M2kHardwareTrigger::reset()", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.reset Method of C++ class libm2k::M2kHardwareTrigger.", ...
"DetailedDescription", "This content is from the external library documentation." + newline + ...
"" + newline + ...
"@private"); % Modify help description values as needed.
validate(resetDefinition);
%% C++ class method |getAnalogLevelRaw| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: int libm2k::M2kHardwareTrigger::getAnalogLevelRaw(unsigned int chnIdx)
getAnalogLevelRawDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"int libm2k::M2kHardwareTrigger::getAnalogLevelRaw(unsigned int chnIdx)", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.getAnalogLevelRaw Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Get the raw analog trigger level for one channel", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineArgument(getAnalogLevelRawDefinition, "chnIdx", "uint32", "Description", "chnIdx the required channel");
defineOutput(getAnalogLevelRawDefinition, "RetVal", "int32", "Description", "the raw analog trigger level");
validate(getAnalogLevelRawDefinition);
%% C++ class method |setAnalogLevelRaw| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: void libm2k::M2kHardwareTrigger::setAnalogLevelRaw(unsigned int chnIdx,int level)
setAnalogLevelRawDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"void libm2k::M2kHardwareTrigger::setAnalogLevelRaw(unsigned int chnIdx,int level)", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.setAnalogLevelRaw Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Set the raw analog trigger level for one channel", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineArgument(setAnalogLevelRawDefinition, "chnIdx", "uint32", "Description", "chnIdx the required channel");
defineArgument(setAnalogLevelRawDefinition, "level", "int32", "Description", "level the raw analog trigger level");
validate(setAnalogLevelRawDefinition);
%% C++ class method |setAnalogLevel| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: void libm2k::M2kHardwareTrigger::setAnalogLevel(unsigned int chnIdx,double v_level)
setAnalogLevelDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"void libm2k::M2kHardwareTrigger::setAnalogLevel(unsigned int chnIdx,double v_level)", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.setAnalogLevel Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Set the analog trigger level for one channel", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineArgument(setAnalogLevelDefinition, "chnIdx", "uint32", "Description", "chnIdx the required channel");
defineArgument(setAnalogLevelDefinition, "v_level", "double", "Description", "v_level the analog trigger level in volts");
validate(setAnalogLevelDefinition);
%% C++ class method |getAnalogLevel| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: double libm2k::M2kHardwareTrigger::getAnalogLevel(unsigned int chnIdx)
getAnalogLevelDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"double libm2k::M2kHardwareTrigger::getAnalogLevel(unsigned int chnIdx)", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.getAnalogLevel Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Get the analog trigger level for one channel", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineArgument(getAnalogLevelDefinition, "chnIdx", "uint32", "Description", "chnIdx the required channel");
defineOutput(getAnalogLevelDefinition, "RetVal", "double", "Description", "the analog trigger level in volts");
validate(getAnalogLevelDefinition);
%% C++ class method |getAnalogHysteresis| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: double libm2k::M2kHardwareTrigger::getAnalogHysteresis(unsigned int chnIdx)
getAnalogHysteresisDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"double libm2k::M2kHardwareTrigger::getAnalogHysteresis(unsigned int chnIdx)", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.getAnalogHysteresis Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Get the analog hysteresis value for one channel", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineArgument(getAnalogHysteresisDefinition, "chnIdx", "uint32", "Description", "chnIdx the required channel");
defineOutput(getAnalogHysteresisDefinition, "RetVal", "double", "Description", "the value of the hysteresis in Volts");
validate(getAnalogHysteresisDefinition);
%% C++ class method |setAnalogHysteresis| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: void libm2k::M2kHardwareTrigger::setAnalogHysteresis(unsigned int chnIdx,double hysteresis)
setAnalogHysteresisDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"void libm2k::M2kHardwareTrigger::setAnalogHysteresis(unsigned int chnIdx,double hysteresis)", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.setAnalogHysteresis Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Set the analog hysteresis value for one channel", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineArgument(setAnalogHysteresisDefinition, "chnIdx", "uint32", "Description", "chnIdx the required channel");
defineArgument(setAnalogHysteresisDefinition, "hysteresis", "double", "Description", "hysteresis in Volts");
validate(setAnalogHysteresisDefinition);
%% C++ class method |getAnalogCondition| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: libm2k::M2K_TRIGGER_CONDITION_ANALOG libm2k::M2kHardwareTrigger::getAnalogCondition(unsigned int chnIdx)
getAnalogConditionDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"libm2k::M2K_TRIGGER_CONDITION_ANALOG libm2k::M2kHardwareTrigger::getAnalogCondition(unsigned int chnIdx)", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.getAnalogCondition Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Get the trigger condition for the analog trigger on a specific channel", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineArgument(getAnalogConditionDefinition, "chnIdx", "uint32", "Description", "chnIdx the required channel");
defineOutput(getAnalogConditionDefinition, "RetVal", "clib.libm2k.libm2k.M2K_TRIGGER_CONDITION_ANALOG", "Description", "the trigger condition");
validate(getAnalogConditionDefinition);
%% C++ class method |setAnalogCondition| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: void libm2k::M2kHardwareTrigger::setAnalogCondition(unsigned int chnIdx,libm2k::M2K_TRIGGER_CONDITION_ANALOG cond)
setAnalogConditionDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"void libm2k::M2kHardwareTrigger::setAnalogCondition(unsigned int chnIdx,libm2k::M2K_TRIGGER_CONDITION_ANALOG cond)", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.setAnalogCondition Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Set the trigger condition for the analog trigger on a specific channel", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineArgument(setAnalogConditionDefinition, "chnIdx", "uint32", "Description", "chnIdx the required channel");
defineArgument(setAnalogConditionDefinition, "cond", "clib.libm2k.libm2k.M2K_TRIGGER_CONDITION_ANALOG", "Description", "cond the specific trigger condition");
validate(setAnalogConditionDefinition);
%% C++ class method |getDigitalCondition| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: libm2k::M2K_TRIGGER_CONDITION_DIGITAL libm2k::M2kHardwareTrigger::getDigitalCondition(unsigned int chnIdx)
getDigitalConditionDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"libm2k::M2K_TRIGGER_CONDITION_DIGITAL libm2k::M2kHardwareTrigger::getDigitalCondition(unsigned int chnIdx)", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.getDigitalCondition Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Get the trigger condition for the digital trigger on a specific channel", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineArgument(getDigitalConditionDefinition, "chnIdx", "uint32", "Description", "chnIdx the required channel");
defineOutput(getDigitalConditionDefinition, "RetVal", "clib.libm2k.libm2k.M2K_TRIGGER_CONDITION_DIGITAL", "Description", "the trigger condition");
validate(getDigitalConditionDefinition);
%% C++ class method |setDigitalCondition| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: void libm2k::M2kHardwareTrigger::setDigitalCondition(unsigned int chnIdx,libm2k::M2K_TRIGGER_CONDITION_DIGITAL cond)
setDigitalConditionDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"void libm2k::M2kHardwareTrigger::setDigitalCondition(unsigned int chnIdx,libm2k::M2K_TRIGGER_CONDITION_DIGITAL cond)", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.setDigitalCondition Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Set the trigger condition for the digital trigger on a specific channel", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineArgument(setDigitalConditionDefinition, "chnIdx", "uint32", "Description", "chnIdx the required channel");
defineArgument(setDigitalConditionDefinition, "cond", "clib.libm2k.libm2k.M2K_TRIGGER_CONDITION_DIGITAL", "Description", "cond the specific trigger condition");
validate(setDigitalConditionDefinition);
%% C++ class method |getAnalogMode| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: libm2k::M2K_TRIGGER_MODE libm2k::M2kHardwareTrigger::getAnalogMode(unsigned int chnIdx)
getAnalogModeDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"libm2k::M2K_TRIGGER_MODE libm2k::M2kHardwareTrigger::getAnalogMode(unsigned int chnIdx)", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.getAnalogMode Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Get the mode for the analog trigger on a specific channel", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineArgument(getAnalogModeDefinition, "chnIdx", "uint32", "Description", "chnIdx the required channel");
defineOutput(getAnalogModeDefinition, "RetVal", "clib.libm2k.libm2k.M2K_TRIGGER_MODE", "Description", "the analog trigger mode");
validate(getAnalogModeDefinition);
%% C++ class method |setAnalogMode| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: void libm2k::M2kHardwareTrigger::setAnalogMode(unsigned int chnIdx,libm2k::M2K_TRIGGER_MODE mode)
setAnalogModeDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"void libm2k::M2kHardwareTrigger::setAnalogMode(unsigned int chnIdx,libm2k::M2K_TRIGGER_MODE mode)", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.setAnalogMode Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Set the mode for the analog trigger on a specific channel", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineArgument(setAnalogModeDefinition, "chnIdx", "uint32", "Description", "chnIdx the required channel");
defineArgument(setAnalogModeDefinition, "mode", "clib.libm2k.libm2k.M2K_TRIGGER_MODE", "Description", "mode the analog trigger mode");
validate(setAnalogModeDefinition);
%% C++ class method |getDigitalMode| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: libm2k::digital::DIO_TRIGGER_MODE libm2k::M2kHardwareTrigger::getDigitalMode()
getDigitalModeDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"libm2k::digital::DIO_TRIGGER_MODE libm2k::M2kHardwareTrigger::getDigitalMode()", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.getDigitalMode Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Get the mode for the digital trigger", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineOutput(getDigitalModeDefinition, "RetVal", "clib.libm2k.libm2k.digital.DIO_TRIGGER_MODE", "Description", "the digital trigger mode (DIO_OR/DIO_AND)");
validate(getDigitalModeDefinition);
%% C++ class method |setDigitalMode| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: void libm2k::M2kHardwareTrigger::setDigitalMode(libm2k::digital::DIO_TRIGGER_MODE mode)
setDigitalModeDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"void libm2k::M2kHardwareTrigger::setDigitalMode(libm2k::digital::DIO_TRIGGER_MODE mode)", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.setDigitalMode Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Set the mode for the digital trigger", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineArgument(setDigitalModeDefinition, "mode", "clib.libm2k.libm2k.digital.DIO_TRIGGER_MODE", "Description", "mode the digital trigger mode (DIO_OR/DIO_AND)");
validate(setDigitalModeDefinition);
%% C++ class method |getAnalogSource| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: libm2k::M2K_TRIGGER_SOURCE_ANALOG libm2k::M2kHardwareTrigger::getAnalogSource()
getAnalogSourceDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"libm2k::M2K_TRIGGER_SOURCE_ANALOG libm2k::M2kHardwareTrigger::getAnalogSource()", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.getAnalogSource Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Get the source of the analog trigger", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineOutput(getAnalogSourceDefinition, "RetVal", "clib.libm2k.libm2k.M2K_TRIGGER_SOURCE_ANALOG", "Description", "analog trigger source (channel1, channel2, etc)");
validate(getAnalogSourceDefinition);
%% C++ class method |setAnalogSource| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: void libm2k::M2kHardwareTrigger::setAnalogSource(libm2k::M2K_TRIGGER_SOURCE_ANALOG src)
setAnalogSourceDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"void libm2k::M2kHardwareTrigger::setAnalogSource(libm2k::M2K_TRIGGER_SOURCE_ANALOG src)", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.setAnalogSource Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Set the source of the analog trigger", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineArgument(setAnalogSourceDefinition, "src", "clib.libm2k.libm2k.M2K_TRIGGER_SOURCE_ANALOG", "Description", "src analog trigger source (channel1, channel2, etc)");
validate(setAnalogSourceDefinition);
%% C++ class method |getAnalogSourceChannel| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: int libm2k::M2kHardwareTrigger::getAnalogSourceChannel()
getAnalogSourceChannelDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"int libm2k::M2kHardwareTrigger::getAnalogSourceChannel()", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.getAnalogSourceChannel Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Get the channel source of the analog trigger", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineOutput(getAnalogSourceChannelDefinition, "RetVal", "int32", "Description", "analog trigger channel source (channel1, channel2)");
validate(getAnalogSourceChannelDefinition);
%% C++ class method |setAnalogSourceChannel| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: void libm2k::M2kHardwareTrigger::setAnalogSourceChannel(unsigned int chnIdx)
setAnalogSourceChannelDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"void libm2k::M2kHardwareTrigger::setAnalogSourceChannel(unsigned int chnIdx)", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.setAnalogSourceChannel Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Set the channel source of the analog trigger", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineArgument(setAnalogSourceChannelDefinition, "chnIdx", "uint32", "Description", "chnIdx the index of the channel that should be used");
validate(setAnalogSourceChannelDefinition);
%% C++ class method |getAnalogDelay| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: int libm2k::M2kHardwareTrigger::getAnalogDelay() const
getAnalogDelayDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"int libm2k::M2kHardwareTrigger::getAnalogDelay() const", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.getAnalogDelay Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Get the analog trigger delay", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineOutput(getAnalogDelayDefinition, "RetVal", "int32", "Description", "the value of the delay");
validate(getAnalogDelayDefinition);
%% C++ class method |setAnalogDelay| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: void libm2k::M2kHardwareTrigger::setAnalogDelay(int delay)
setAnalogDelayDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"void libm2k::M2kHardwareTrigger::setAnalogDelay(int delay)", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.setAnalogDelay Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Set the analog trigger delay", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineArgument(setAnalogDelayDefinition, "delay", "int32", "Description", "delay the value of the analog delay");
validate(setAnalogDelayDefinition);
%% C++ class method |getDigitalDelay| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: int libm2k::M2kHardwareTrigger::getDigitalDelay() const
getDigitalDelayDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"int libm2k::M2kHardwareTrigger::getDigitalDelay() const", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.getDigitalDelay Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Get the digital trigger delay", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineOutput(getDigitalDelayDefinition, "RetVal", "int32", "Description", "the value of the digital delay");
validate(getDigitalDelayDefinition);
%% C++ class method |setDigitalDelay| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: void libm2k::M2kHardwareTrigger::setDigitalDelay(int delay)
setDigitalDelayDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"void libm2k::M2kHardwareTrigger::setDigitalDelay(int delay)", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.setDigitalDelay Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Set the digital trigger delay", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineArgument(setDigitalDelayDefinition, "delay", "int32", "Description", "delay the value of the digital delay");
validate(setDigitalDelayDefinition);
%% C++ class method |getCurrentHwSettings| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: libm2k::SETTINGS * libm2k::M2kHardwareTrigger::getCurrentHwSettings()
%getCurrentHwSettingsDefinition = addMethod(M2kHardwareTriggerDefinition, ...
% "libm2k::SETTINGS * libm2k::M2kHardwareTrigger::getCurrentHwSettings()", ...
% "Description", "clib.libm2k.libm2k.M2kHardwareTrigger.getCurrentHwSettings Method of C++ class libm2k::M2kHardwareTrigger.", ...
% "DetailedDescription", "This content is from the external library documentation." + newline + ...
% "" + newline + ...
% "@private"); % Modify help description values as needed.
%defineOutput(getCurrentHwSettingsDefinition, "RetVal", "clib.libm2k.libm2k.SETTINGS", <SHAPE>); % '<MLTYPE>' can be clib.libm2k.libm2k.SETTINGS, or clib.array.libm2k.libm2k.SETTINGS
%validate(getCurrentHwSettingsDefinition);
%% C++ class method |setHwTriggerSettings| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: void libm2k::M2kHardwareTrigger::setHwTriggerSettings(libm2k::SETTINGS * settings)
%setHwTriggerSettingsDefinition = addMethod(M2kHardwareTriggerDefinition, ...
% "void libm2k::M2kHardwareTrigger::setHwTriggerSettings(libm2k::SETTINGS * settings)", ...
% "Description", "clib.libm2k.libm2k.M2kHardwareTrigger.setHwTriggerSettings Method of C++ class libm2k::M2kHardwareTrigger.", ...
% "DetailedDescription", "This content is from the external library documentation." + newline + ...
% "" + newline + ...
% "@private"); % Modify help description values as needed.
%defineArgument(setHwTriggerSettingsDefinition, "settings", "clib.libm2k.libm2k.SETTINGS", "input", <SHAPE>); % '<MLTYPE>' can be clib.libm2k.libm2k.SETTINGS, or clib.array.libm2k.libm2k.SETTINGS
%validate(setHwTriggerSettingsDefinition);
%% C++ class method |setAnalogStreamingFlag| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: void libm2k::M2kHardwareTrigger::setAnalogStreamingFlag(bool enable)
setAnalogStreamingFlagDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"void libm2k::M2kHardwareTrigger::setAnalogStreamingFlag(bool enable)", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.setAnalogStreamingFlag Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Set the streaming flag for the analog part", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineArgument(setAnalogStreamingFlagDefinition, "enable", "logical", "Description", "enable the streaming");
validate(setAnalogStreamingFlagDefinition);
%% C++ class method |getAnalogStreamingFlag| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: bool libm2k::M2kHardwareTrigger::getAnalogStreamingFlag()
getAnalogStreamingFlagDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"bool libm2k::M2kHardwareTrigger::getAnalogStreamingFlag()", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.getAnalogStreamingFlag Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Get the streaming flag for the analog part", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineOutput(getAnalogStreamingFlagDefinition, "RetVal", "logical", "Description", "whether the streaming is enabled (true/false)");
validate(getAnalogStreamingFlagDefinition);
%% C++ class method |setDigitalStreamingFlag| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: void libm2k::M2kHardwareTrigger::setDigitalStreamingFlag(bool enable)
setDigitalStreamingFlagDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"void libm2k::M2kHardwareTrigger::setDigitalStreamingFlag(bool enable)", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.setDigitalStreamingFlag Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Set the streaming flag for the digital part", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineArgument(setDigitalStreamingFlagDefinition, "enable", "logical", "Description", "enable the streaming");
validate(setDigitalStreamingFlagDefinition);
%% C++ class method |getDigitalStreamingFlag| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: bool libm2k::M2kHardwareTrigger::getDigitalStreamingFlag()
getDigitalStreamingFlagDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"bool libm2k::M2kHardwareTrigger::getDigitalStreamingFlag()", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.getDigitalStreamingFlag Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Get the streaming flag for the digital part", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineOutput(getDigitalStreamingFlagDefinition, "RetVal", "logical", "Description", "whether the streaming is enabled (true/false)");
validate(getDigitalStreamingFlagDefinition);
%% C++ class method |setCalibParameters| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: void libm2k::M2kHardwareTrigger::setCalibParameters(unsigned int chnIdx,double scaling,double vert_offset)
setCalibParametersDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"void libm2k::M2kHardwareTrigger::setCalibParameters(unsigned int chnIdx,double scaling,double vert_offset)", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.setCalibParameters Method of C++ class libm2k::M2kHardwareTrigger.", ...
"DetailedDescription", "This content is from the external library documentation." + newline + ...
"" + newline + ...
"@private"); % Modify help description values as needed.
defineArgument(setCalibParametersDefinition, "chnIdx", "uint32");
defineArgument(setCalibParametersDefinition, "scaling", "double");
defineArgument(setCalibParametersDefinition, "vert_offset", "double");
validate(setCalibParametersDefinition);
%% C++ class method |getAnalogExternalCondition| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: libm2k::M2K_TRIGGER_CONDITION_DIGITAL libm2k::M2kHardwareTrigger::getAnalogExternalCondition(unsigned int chnIdx)
getAnalogExternalConditionDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"libm2k::M2K_TRIGGER_CONDITION_DIGITAL libm2k::M2kHardwareTrigger::getAnalogExternalCondition(unsigned int chnIdx)", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.getAnalogExternalCondition Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"getAnalogExternalCondition", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineArgument(getAnalogExternalConditionDefinition, "chnIdx", "uint32", "Description", "chnIdx : integer - the index of the required channel");
defineOutput(getAnalogExternalConditionDefinition, "RetVal", "clib.libm2k.libm2k.M2K_TRIGGER_CONDITION_DIGITAL", "Description", "M2K_TRIGGER_CONDITION_DIGITAL");
validate(getAnalogExternalConditionDefinition);
%% C++ class method |setAnalogExternalCondition| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: void libm2k::M2kHardwareTrigger::setAnalogExternalCondition(unsigned int chnIdx,libm2k::M2K_TRIGGER_CONDITION_DIGITAL cond)
setAnalogExternalConditionDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"void libm2k::M2kHardwareTrigger::setAnalogExternalCondition(unsigned int chnIdx,libm2k::M2K_TRIGGER_CONDITION_DIGITAL cond)", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.setAnalogExternalCondition Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"setAnalogExternalCondition", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineArgument(setAnalogExternalConditionDefinition, "chnIdx", "uint32", "Description", "chnIdx : integer - the index of the required channel");
defineArgument(setAnalogExternalConditionDefinition, "cond", "clib.libm2k.libm2k.M2K_TRIGGER_CONDITION_DIGITAL", "Description", "cond : M2K_TRIGGER_CONDITION_DIGITAL");
validate(setAnalogExternalConditionDefinition);
%% C++ class method |getDigitalExternalCondition| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: libm2k::M2K_TRIGGER_CONDITION_DIGITAL libm2k::M2kHardwareTrigger::getDigitalExternalCondition() const
getDigitalExternalConditionDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"libm2k::M2K_TRIGGER_CONDITION_DIGITAL libm2k::M2kHardwareTrigger::getDigitalExternalCondition() const", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.getDigitalExternalCondition Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"getDigitalExternalCondition", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineOutput(getDigitalExternalConditionDefinition, "RetVal", "clib.libm2k.libm2k.M2K_TRIGGER_CONDITION_DIGITAL", "Description", "M2K_TRIGGER_CONDITION_DIGITAL");
validate(getDigitalExternalConditionDefinition);
%% C++ class method |setDigitalExternalCondition| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: void libm2k::M2kHardwareTrigger::setDigitalExternalCondition(libm2k::M2K_TRIGGER_CONDITION_DIGITAL cond)
setDigitalExternalConditionDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"void libm2k::M2kHardwareTrigger::setDigitalExternalCondition(libm2k::M2K_TRIGGER_CONDITION_DIGITAL cond)", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.setDigitalExternalCondition Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"setDigitalExternalCondition", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineArgument(setDigitalExternalConditionDefinition, "cond", "clib.libm2k.libm2k.M2K_TRIGGER_CONDITION_DIGITAL", "Description", "cond : M2K_TRIGGER_CONDITION_DIGITAL");
validate(setDigitalExternalConditionDefinition);
%% C++ class method |setAnalogExternalOutSelect| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: void libm2k::M2kHardwareTrigger::setAnalogExternalOutSelect(libm2k::M2K_TRIGGER_OUT_SELECT output_select)
setAnalogExternalOutSelectDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"void libm2k::M2kHardwareTrigger::setAnalogExternalOutSelect(libm2k::M2K_TRIGGER_OUT_SELECT output_select)", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.setAnalogExternalOutSelect Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Select what should be redirected on the TO (trigger out) pin.\n" + newline + ...
" * The options are (none, trigger in, digital in, analog in).\n", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineArgument(setAnalogExternalOutSelectDefinition, "output_select", "clib.libm2k.libm2k.M2K_TRIGGER_OUT_SELECT", "Description", "output_select : of type M2K_TRIGGER_OUT_SELECT:\n" + newline + ...
" * SELECT_TRIGGER_IN - forwards trigger events from TI pin(trigger in);\n" + newline + ...
" * SELECT_DIGITAL_IN - forwards trigger events from DigitalIn interface;\n" + newline + ...
" * SELECT_ANALOG_IN - forwards trigger events from AnalogIn interface;\n" + newline + ...
" * SELECT_NONE - no trigger event is forwarded;\n");
validate(setAnalogExternalOutSelectDefinition);
%% C++ class method |getAnalogExternalOutSelect| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: libm2k::M2K_TRIGGER_OUT_SELECT libm2k::M2kHardwareTrigger::getAnalogExternalOutSelect()
getAnalogExternalOutSelectDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"libm2k::M2K_TRIGGER_OUT_SELECT libm2k::M2kHardwareTrigger::getAnalogExternalOutSelect()", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.getAnalogExternalOutSelect Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Check which trigger events are forwarded on the TO (trigger out) pin.", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineOutput(getAnalogExternalOutSelectDefinition, "RetVal", "clib.libm2k.libm2k.M2K_TRIGGER_OUT_SELECT", "Description", "M2K_TRIGGER_OUT_SELECT :\n" + newline + ...
" * SELECT_NONE;\n" + newline + ...
" * SELECT_TRIGGER_IN;\n" + newline + ...
" * SELECT_DIGITAL_IN;\n" + newline + ...
" * SELECT_ANALOG_IN;\n" + newline + ...
" @note Only available from firmware v0.24.");
validate(getAnalogExternalOutSelectDefinition);
%% C++ class method |hasExternalTriggerIn| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: bool libm2k::M2kHardwareTrigger::hasExternalTriggerIn() const
hasExternalTriggerInDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"bool libm2k::M2kHardwareTrigger::hasExternalTriggerIn() const", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.hasExternalTriggerIn Method of C++ class libm2k::M2kHardwareTrigger.", ...
"DetailedDescription", "This content is from the external library documentation." + newline + ...
"" + newline + ...
"@private"); % Modify help description values as needed.
defineOutput(hasExternalTriggerInDefinition, "RetVal", "logical");
validate(hasExternalTriggerInDefinition);
%% C++ class method |hasExternalTriggerOut| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: bool libm2k::M2kHardwareTrigger::hasExternalTriggerOut() const
hasExternalTriggerOutDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"bool libm2k::M2kHardwareTrigger::hasExternalTriggerOut() const", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.hasExternalTriggerOut Method of C++ class libm2k::M2kHardwareTrigger.", ...
"DetailedDescription", "This content is from the external library documentation." + newline + ...
"" + newline + ...
"@private"); % Modify help description values as needed.
defineOutput(hasExternalTriggerOutDefinition, "RetVal", "logical");
validate(hasExternalTriggerOutDefinition);
%% C++ class method |hasCrossInstrumentTrigger| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: bool libm2k::M2kHardwareTrigger::hasCrossInstrumentTrigger() const
hasCrossInstrumentTriggerDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"bool libm2k::M2kHardwareTrigger::hasCrossInstrumentTrigger() const", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.hasCrossInstrumentTrigger Method of C++ class libm2k::M2kHardwareTrigger.", ...
"DetailedDescription", "This content is from the external library documentation." + newline + ...
"" + newline + ...
"@private"); % Modify help description values as needed.
defineOutput(hasCrossInstrumentTriggerDefinition, "RetVal", "logical");
validate(hasCrossInstrumentTriggerDefinition);
%% C++ class method |setDigitalSource| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: void libm2k::M2kHardwareTrigger::setDigitalSource(libm2k::M2K_TRIGGER_SOURCE_DIGITAL external_src)
setDigitalSourceDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"void libm2k::M2kHardwareTrigger::setDigitalSource(libm2k::M2K_TRIGGER_SOURCE_DIGITAL external_src)", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.setDigitalSource Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Select which interface triggers the DigitalIn.", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineArgument(setDigitalSourceDefinition, "external_src", "clib.libm2k.libm2k.M2K_TRIGGER_SOURCE_DIGITAL", "Description", "external_src: of type M2K_TRIGGER_SOURCE_DIGITAL:\n" + newline + ...
" * SRC_TRIGGER_IN - trigger events on the TI(trigger in) pin trigger the DigitalIn interface;\n" + newline + ...
" * SRC_ANALOG_IN - trigger events on the AnalogIn interface trigger the DigitalIn interface;\n" + newline + ...
" * SRC_NONE - trigger events on the DigitalIn are conditioned by the internal digital trigger structure;\n" + newline + ...
" @note Only available from firmware v0.24.");
validate(setDigitalSourceDefinition);
%% C++ class method |getDigitalSource| for C++ class |libm2k::M2kHardwareTrigger|
% C++ Signature: libm2k::M2K_TRIGGER_SOURCE_DIGITAL libm2k::M2kHardwareTrigger::getDigitalSource() const
getDigitalSourceDefinition = addMethod(M2kHardwareTriggerDefinition, ...
"libm2k::M2K_TRIGGER_SOURCE_DIGITAL libm2k::M2kHardwareTrigger::getDigitalSource() const", ...
"Description", "clib.libm2k.libm2k.M2kHardwareTrigger.getDigitalSource Method of C++ class libm2k::M2kHardwareTrigger." + newline + ...
"Check which is the source of the DigitalIn interface trigger event.", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
defineOutput(getDigitalSourceDefinition, "RetVal", "clib.libm2k.libm2k.M2K_TRIGGER_SOURCE_DIGITAL", "Description", "M2K_TRIGGER_SOURCE_DIGITAL :\n" + newline + ...
" * SRC_TRIGGER_IN;\n" + newline + ...
" * SRC_ANALOG_IN;\n" + newline + ...
" * SRC_NONE;\n" + newline + ...
" @note Only available from firmware v0.24.");
validate(getDigitalSourceDefinition);
%% C++ class |libm2k::IIO_OBJECTS| with MATLAB name |clib.libm2k.libm2k.IIO_OBJECTS|
IIO_OBJECTSDefinition = addClass(libDef, "libm2k::IIO_OBJECTS", "MATLABName", "clib.libm2k.libm2k.IIO_OBJECTS", ...
"Description", "clib.libm2k.libm2k.IIO_OBJECTS Representation of C++ class libm2k::IIO_OBJECTS.", ...
"DetailedDescription", "This content is from the external library documentation." + newline + ...
"" + newline + ...
"@private"); % Modify help description values as needed.
%% C++ class constructor for C++ class |libm2k::IIO_OBJECTS|
% C++ Signature: libm2k::IIO_OBJECTS::IIO_OBJECTS()
IIO_OBJECTSConstructor1Definition = addConstructor(IIO_OBJECTSDefinition, ...
"libm2k::IIO_OBJECTS::IIO_OBJECTS()", ...
"Description", "clib.libm2k.libm2k.IIO_OBJECTS.IIO_OBJECTS Constructor of C++ class libm2k::IIO_OBJECTS."); % Modify help description values as needed.
validate(IIO_OBJECTSConstructor1Definition);
%% C++ class constructor for C++ class |libm2k::IIO_OBJECTS|
% C++ Signature: libm2k::IIO_OBJECTS::IIO_OBJECTS(libm2k::IIO_OBJECTS const & input1)
IIO_OBJECTSConstructor2Definition = addConstructor(IIO_OBJECTSDefinition, ...
"libm2k::IIO_OBJECTS::IIO_OBJECTS(libm2k::IIO_OBJECTS const & input1)", ...
"Description", "clib.libm2k.libm2k.IIO_OBJECTS.IIO_OBJECTS Constructor of C++ class libm2k::IIO_OBJECTS."); % Modify help description values as needed.
defineArgument(IIO_OBJECTSConstructor2Definition, "input1", "clib.libm2k.libm2k.IIO_OBJECTS", "input");
validate(IIO_OBJECTSConstructor2Definition);
%% C++ class public data member |context| for C++ class |libm2k::IIO_OBJECTS|
% C++ Signature: iio_context * libm2k::IIO_OBJECTS::context
%addProperty(IIO_OBJECTSDefinition, "context", "clib.libm2k.iio_context", <SHAPE>, ...
% "Description", "clib.libm2k.iio_context Data member of C++ class libm2k::IIO_OBJECTS."); % Modify help description values as needed.
%% C++ class |libm2k::CALIBRATION_PARAMETERS| with MATLAB name |clib.libm2k.libm2k.CALIBRATION_PARAMETERS|
CALIBRATION_PARAMETERSDefinition = addClass(libDef, "libm2k::CALIBRATION_PARAMETERS", "MATLABName", "clib.libm2k.libm2k.CALIBRATION_PARAMETERS", ...
"Description", "clib.libm2k.libm2k.CALIBRATION_PARAMETERS Representation of C++ class libm2k::CALIBRATION_PARAMETERS." + newline + ...
"Calibration parameters of m2k", ...
"DetailedDescription", "This content is from the external library documentation." + newline + ...
"" + newline + ...
"@struct CALIBRATION_PARAMETERS" + newline + ...
" @brief Calibration parameters of m2k"); % Modify help description values as needed.
%% C++ class constructor for C++ class |libm2k::CALIBRATION_PARAMETERS|
% C++ Signature: libm2k::CALIBRATION_PARAMETERS::CALIBRATION_PARAMETERS()
CALIBRATION_PARAMETERSConstructor1Definition = addConstructor(CALIBRATION_PARAMETERSDefinition, ...
"libm2k::CALIBRATION_PARAMETERS::CALIBRATION_PARAMETERS()", ...
"Description", "clib.libm2k.libm2k.CALIBRATION_PARAMETERS.CALIBRATION_PARAMETERS Constructor of C++ class libm2k::CALIBRATION_PARAMETERS."); % Modify help description values as needed.
validate(CALIBRATION_PARAMETERSConstructor1Definition);
%% C++ class constructor for C++ class |libm2k::CALIBRATION_PARAMETERS|
% C++ Signature: libm2k::CALIBRATION_PARAMETERS::CALIBRATION_PARAMETERS(libm2k::CALIBRATION_PARAMETERS const & input1)
CALIBRATION_PARAMETERSConstructor2Definition = addConstructor(CALIBRATION_PARAMETERSDefinition, ...
"libm2k::CALIBRATION_PARAMETERS::CALIBRATION_PARAMETERS(libm2k::CALIBRATION_PARAMETERS const & input1)", ...
"Description", "clib.libm2k.libm2k.CALIBRATION_PARAMETERS.CALIBRATION_PARAMETERS Constructor of C++ class libm2k::CALIBRATION_PARAMETERS."); % Modify help description values as needed.
defineArgument(CALIBRATION_PARAMETERSConstructor2Definition, "input1", "clib.libm2k.libm2k.CALIBRATION_PARAMETERS", "input");
validate(CALIBRATION_PARAMETERSConstructor2Definition);
%% C++ class public data member |adc_offset_ch_1| for C++ class |libm2k::CALIBRATION_PARAMETERS|
% C++ Signature: int libm2k::CALIBRATION_PARAMETERS::adc_offset_ch_1
addProperty(CALIBRATION_PARAMETERSDefinition, "adc_offset_ch_1", "int32", ...
"Description", "int32 Data member of C++ class libm2k::CALIBRATION_PARAMETERS." + newline + ...
"ADC calibration offset - channel 1"); % Modify help description values as needed.
%% C++ class public data member |adc_offset_ch_2| for C++ class |libm2k::CALIBRATION_PARAMETERS|
% C++ Signature: int libm2k::CALIBRATION_PARAMETERS::adc_offset_ch_2
addProperty(CALIBRATION_PARAMETERSDefinition, "adc_offset_ch_2", "int32", ...
"Description", "int32 Data member of C++ class libm2k::CALIBRATION_PARAMETERS." + newline + ...
"ADC calibration offset - channel 2"); % Modify help description values as needed.
%% C++ class public data member |adc_gain_ch_1| for C++ class |libm2k::CALIBRATION_PARAMETERS|
% C++ Signature: double libm2k::CALIBRATION_PARAMETERS::adc_gain_ch_1
addProperty(CALIBRATION_PARAMETERSDefinition, "adc_gain_ch_1", "double", ...
"Description", "double Data member of C++ class libm2k::CALIBRATION_PARAMETERS." + newline + ...
"ADC calibration gain - channel 1"); % Modify help description values as needed.
%% C++ class public data member |adc_gain_ch_2| for C++ class |libm2k::CALIBRATION_PARAMETERS|
% C++ Signature: double libm2k::CALIBRATION_PARAMETERS::adc_gain_ch_2
addProperty(CALIBRATION_PARAMETERSDefinition, "adc_gain_ch_2", "double", ...
"Description", "double Data member of C++ class libm2k::CALIBRATION_PARAMETERS." + newline + ...
"ADC calibration gain - channel 2"); % Modify help description values as needed.
%% C++ class public data member |dac_a_offset| for C++ class |libm2k::CALIBRATION_PARAMETERS|
% C++ Signature: int libm2k::CALIBRATION_PARAMETERS::dac_a_offset
addProperty(CALIBRATION_PARAMETERSDefinition, "dac_a_offset", "int32", ...
"Description", "int32 Data member of C++ class libm2k::CALIBRATION_PARAMETERS." + newline + ...
"DAC calibration offset - channel 1"); % Modify help description values as needed.
%% C++ class public data member |dac_b_offset| for C++ class |libm2k::CALIBRATION_PARAMETERS|
% C++ Signature: int libm2k::CALIBRATION_PARAMETERS::dac_b_offset
addProperty(CALIBRATION_PARAMETERSDefinition, "dac_b_offset", "int32", ...
"Description", "int32 Data member of C++ class libm2k::CALIBRATION_PARAMETERS." + newline + ...
"DAC calibration offset - channel 2"); % Modify help description values as needed.
%% C++ class public data member |dac_a_gain| for C++ class |libm2k::CALIBRATION_PARAMETERS|
% C++ Signature: double libm2k::CALIBRATION_PARAMETERS::dac_a_gain
addProperty(CALIBRATION_PARAMETERSDefinition, "dac_a_gain", "double", ...
"Description", "double Data member of C++ class libm2k::CALIBRATION_PARAMETERS." + newline + ...
"DAC calibration gain - channel 1"); % Modify help description values as needed.
%% C++ class public data member |dac_b_gain| for C++ class |libm2k::CALIBRATION_PARAMETERS|
% C++ Signature: double libm2k::CALIBRATION_PARAMETERS::dac_b_gain
addProperty(CALIBRATION_PARAMETERSDefinition, "dac_b_gain", "double", ...
"Description", "double Data member of C++ class libm2k::CALIBRATION_PARAMETERS." + newline + ...
"DAC calibration gain - channel 2"); % Modify help description values as needed.
%% C++ class |libm2k::IIO_CONTEXT_VERSION| with MATLAB name |clib.libm2k.libm2k.IIO_CONTEXT_VERSION|
IIO_CONTEXT_VERSIONDefinition = addClass(libDef, "libm2k::IIO_CONTEXT_VERSION", "MATLABName", "clib.libm2k.libm2k.IIO_CONTEXT_VERSION", ...
"Description", "clib.libm2k.libm2k.IIO_CONTEXT_VERSION Representation of C++ class libm2k::IIO_CONTEXT_VERSION." + newline + ...
"The version of the backend", ...
"DetailedDescription", "This content is from the external library documentation." + newline + ...
"" + newline + ...
"@struct IIO_CONTEXT_VERSION" + newline + ...
" @brief The version of the backend"); % Modify help description values as needed.
%% C++ class constructor for C++ class |libm2k::IIO_CONTEXT_VERSION|
% C++ Signature: libm2k::IIO_CONTEXT_VERSION::IIO_CONTEXT_VERSION()
IIO_CONTEXT_VERSIONConstructor1Definition = addConstructor(IIO_CONTEXT_VERSIONDefinition, ...
"libm2k::IIO_CONTEXT_VERSION::IIO_CONTEXT_VERSION()", ...
"Description", "clib.libm2k.libm2k.IIO_CONTEXT_VERSION.IIO_CONTEXT_VERSION Constructor of C++ class libm2k::IIO_CONTEXT_VERSION."); % Modify help description values as needed.
validate(IIO_CONTEXT_VERSIONConstructor1Definition);
%% C++ class constructor for C++ class |libm2k::IIO_CONTEXT_VERSION|
% C++ Signature: libm2k::IIO_CONTEXT_VERSION::IIO_CONTEXT_VERSION(libm2k::IIO_CONTEXT_VERSION const & input1)
IIO_CONTEXT_VERSIONConstructor2Definition = addConstructor(IIO_CONTEXT_VERSIONDefinition, ...
"libm2k::IIO_CONTEXT_VERSION::IIO_CONTEXT_VERSION(libm2k::IIO_CONTEXT_VERSION const & input1)", ...
"Description", "clib.libm2k.libm2k.IIO_CONTEXT_VERSION.IIO_CONTEXT_VERSION Constructor of C++ class libm2k::IIO_CONTEXT_VERSION."); % Modify help description values as needed.
defineArgument(IIO_CONTEXT_VERSIONConstructor2Definition, "input1", "clib.libm2k.libm2k.IIO_CONTEXT_VERSION", "input");
validate(IIO_CONTEXT_VERSIONConstructor2Definition);
%% C++ class public data member |major| for C++ class |libm2k::IIO_CONTEXT_VERSION|
% C++ Signature: unsigned int libm2k::IIO_CONTEXT_VERSION::major
addProperty(IIO_CONTEXT_VERSIONDefinition, "major", "uint32", ...
"Description", "uint32 Data member of C++ class libm2k::IIO_CONTEXT_VERSION." + newline + ...
"major version"); % Modify help description values as needed.
%% C++ class public data member |minor| for C++ class |libm2k::IIO_CONTEXT_VERSION|
% C++ Signature: unsigned int libm2k::IIO_CONTEXT_VERSION::minor
addProperty(IIO_CONTEXT_VERSIONDefinition, "minor", "uint32", ...
"Description", "uint32 Data member of C++ class libm2k::IIO_CONTEXT_VERSION." + newline + ...
"minor version"); % Modify help description values as needed.
%% C++ class public data member |git_tag| for C++ class |libm2k::IIO_CONTEXT_VERSION|
% C++ Signature: char [8] libm2k::IIO_CONTEXT_VERSION::git_tag
addProperty(IIO_CONTEXT_VERSIONDefinition, "git_tag", "clib.array.libm2k.Char", [8], ... % '<MLTYPE>' can be clib.array.libm2k.Char, or int8
"Description", "clib.array.libm2k.Char Data member of C++ class libm2k::IIO_CONTEXT_VERSION."); % Modify help description values as needed.
%% C++ class |libm2k::CONTEXT_INFO| with MATLAB name |clib.libm2k.libm2k.CONTEXT_INFO|
CONTEXT_INFODefinition = addClass(libDef, "libm2k::CONTEXT_INFO", "MATLABName", "clib.libm2k.libm2k.CONTEXT_INFO", ...
"Description", "clib.libm2k.libm2k.CONTEXT_INFO Representation of C++ class libm2k::CONTEXT_INFO." + newline + ...
"Additional information about the context", ...
"DetailedDescription", "This content is from the external library documentation." + newline + ...
"" + newline + ...
"@struct CONTEXT_INFO" + newline + ...
" @brief Additional information about the context"); % Modify help description values as needed.
%% C++ class constructor for C++ class |libm2k::CONTEXT_INFO|
% C++ Signature: libm2k::CONTEXT_INFO::CONTEXT_INFO()
CONTEXT_INFOConstructor1Definition = addConstructor(CONTEXT_INFODefinition, ...
"libm2k::CONTEXT_INFO::CONTEXT_INFO()", ...
"Description", "clib.libm2k.libm2k.CONTEXT_INFO.CONTEXT_INFO Constructor of C++ class libm2k::CONTEXT_INFO."); % Modify help description values as needed.
validate(CONTEXT_INFOConstructor1Definition);
%% C++ class constructor for C++ class |libm2k::CONTEXT_INFO|
% C++ Signature: libm2k::CONTEXT_INFO::CONTEXT_INFO(libm2k::CONTEXT_INFO const & input1)
CONTEXT_INFOConstructor2Definition = addConstructor(CONTEXT_INFODefinition, ...
"libm2k::CONTEXT_INFO::CONTEXT_INFO(libm2k::CONTEXT_INFO const & input1)", ...
"Description", "clib.libm2k.libm2k.CONTEXT_INFO.CONTEXT_INFO Constructor of C++ class libm2k::CONTEXT_INFO."); % Modify help description values as needed.
defineArgument(CONTEXT_INFOConstructor2Definition, "input1", "clib.libm2k.libm2k.CONTEXT_INFO", "input");
validate(CONTEXT_INFOConstructor2Definition);
%% C++ class public data member |id_vendor| for C++ class |libm2k::CONTEXT_INFO|
% C++ Signature: std::string libm2k::CONTEXT_INFO::id_vendor
addProperty(CONTEXT_INFODefinition, "id_vendor", "string", ...
"Description", "string Data member of C++ class libm2k::CONTEXT_INFO." + newline + ...
"Vendor ID extracted from IIO context"); % Modify help description values as needed.
%% C++ class public data member |id_product| for C++ class |libm2k::CONTEXT_INFO|
% C++ Signature: std::string libm2k::CONTEXT_INFO::id_product
addProperty(CONTEXT_INFODefinition, "id_product", "string", ...
"Description", "string Data member of C++ class libm2k::CONTEXT_INFO." + newline + ...
"Product ID extracted from IIO context"); % Modify help description values as needed.
%% C++ class public data member |manufacturer| for C++ class |libm2k::CONTEXT_INFO|
% C++ Signature: std::string libm2k::CONTEXT_INFO::manufacturer
addProperty(CONTEXT_INFODefinition, "manufacturer", "string", ...
"Description", "string Data member of C++ class libm2k::CONTEXT_INFO." + newline + ...
"Manufacturer extracted from IIO context"); % Modify help description values as needed.
%% C++ class public data member |product| for C++ class |libm2k::CONTEXT_INFO|
% C++ Signature: std::string libm2k::CONTEXT_INFO::product
addProperty(CONTEXT_INFODefinition, "product", "string", ...
"Description", "string Data member of C++ class libm2k::CONTEXT_INFO." + newline + ...
"Product name extracted from IIO context"); % Modify help description values as needed.
%% C++ class public data member |serial| for C++ class |libm2k::CONTEXT_INFO|
% C++ Signature: std::string libm2k::CONTEXT_INFO::serial
addProperty(CONTEXT_INFODefinition, "serial", "string", ...
"Description", "string Data member of C++ class libm2k::CONTEXT_INFO." + newline + ...
"Serial number"); % Modify help description values as needed.
%% C++ class public data member |uri| for C++ class |libm2k::CONTEXT_INFO|
% C++ Signature: std::string libm2k::CONTEXT_INFO::uri
addProperty(CONTEXT_INFODefinition, "uri", "string", ...
"Description", "string Data member of C++ class libm2k::CONTEXT_INFO." + newline + ...
"IIO context URI"); % Modify help description values as needed.
%% C++ enumeration |libm2k::CALIBRATION_MODE| with MATLAB name |clib.libm2k.libm2k.CALIBRATION_MODE|
addEnumeration(libDef, "libm2k::CALIBRATION_MODE", "int32",...
[...
"ADC_REF1",... % 0
"ADC_REF2",... % 1
"ADC_GND",... % 2
"DAC",... % 3
"NONE",... % 4
],...
"MATLABName", "clib.libm2k.libm2k.CALIBRATION_MODE", ...
"Description", "clib.libm2k.libm2k.CALIBRATION_MODE Representation of C++ enumeration libm2k::CALIBRATION_MODE.", ...
"DetailedDescription", "This content is from the external library documentation." + newline + ...
"" + newline + ...
"@private"); % Modify help description values as needed.
%% C++ enumeration |libm2k::GAIN_MODE| with MATLAB name |clib.libm2k.libm2k.GAIN_MODE|
addEnumeration(libDef, "libm2k::GAIN_MODE", "int32",...
[...
"LOW_GAIN",... % 0
"HIGH_GAIN",... % 1
],...
"MATLABName", "clib.libm2k.libm2k.GAIN_MODE", ...
"Description", "clib.libm2k.libm2k.GAIN_MODE Representation of C++ enumeration libm2k::GAIN_MODE.", ...
"DetailedDescription", "This content is from the external library documentation." + newline + ...
"" + newline + ...
"@private"); % Modify help description values as needed.
%% C++ enumeration |libm2k::M2K_EXCEPTION_TYPE| with MATLAB name |clib.libm2k.libm2k.M2K_EXCEPTION_TYPE|
addEnumeration(libDef, "libm2k::M2K_EXCEPTION_TYPE", "int32",...
[...
"EXC_OUT_OF_RANGE",... % 0
"EXC_RUNTIME_ERROR",... % 1
"EXC_INVALID_PARAMETER",... % 2
"EXC_TIMEOUT",... % 3
"EXC_INVALID_FIRMWARE_VERSION",... % 4
],...
"MATLABName", "clib.libm2k.libm2k.M2K_EXCEPTION_TYPE", ...
"Description", "clib.libm2k.libm2k.M2K_EXCEPTION_TYPE Representation of C++ enumeration libm2k::M2K_EXCEPTION_TYPE." + newline + ...
"M2k exception types", ...
"DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed.
%% C++ class |libm2k::m2k_exception_builder| with MATLAB name |clib.libm2k.libm2k.m2k_exception_builder|
m2k_exception_builderDefinition = addClass(libDef, "libm2k::m2k_exception_builder", "MATLABName", "clib.libm2k.libm2k.m2k_exception_builder", ...
"Description", "clib.libm2k.libm2k.m2k_exception_builder Representation of C++ class libm2k::m2k_exception_builder."); % Modify help description values as needed.
%% C++ class constructor for C++ class |libm2k::m2k_exception_builder|
% C++ Signature: libm2k::m2k_exception_builder::m2k_exception_builder()
m2k_exception_builderConstructor1Definition = addConstructor(m2k_exception_builderDefinition, ...
"libm2k::m2k_exception_builder::m2k_exception_builder()", ...
"Description", "clib.libm2k.libm2k.m2k_exception_builder.m2k_exception_builder Constructor of C++ class libm2k::m2k_exception_builder."); % Modify help description values as needed.
validate(m2k_exception_builderConstructor1Definition);
%% C++ class constructor for C++ class |libm2k::m2k_exception_builder|
% C++ Signature: libm2k::m2k_exception_builder::m2k_exception_builder(std::string & what)
m2k_exception_builderConstructor2Definition = addConstructor(m2k_exception_builderDefinition, ...
"libm2k::m2k_exception_builder::m2k_exception_builder(std::string & what)", ...
"Description", "clib.libm2k.libm2k.m2k_exception_builder.m2k_exception_builder Constructor of C++ class libm2k::m2k_exception_builder."); % Modify help description values as needed.
defineArgument(m2k_exception_builderConstructor2Definition, "what", "string", "inputoutput");
validate(m2k_exception_builderConstructor2Definition);
%% C++ class constructor for C++ class |libm2k::m2k_exception_builder|
% C++ Signature: libm2k::m2k_exception_builder::m2k_exception_builder(char const * what)
%m2k_exception_builderConstructor3Definition = addConstructor(m2k_exception_builderDefinition, ...
% "libm2k::m2k_exception_builder::m2k_exception_builder(char const * what)", ...
% "Description", "clib.libm2k.libm2k.m2k_exception_builder.m2k_exception_builder Constructor of C++ class libm2k::m2k_exception_builder."); % Modify help description values as needed.
%defineArgument(m2k_exception_builderConstructor3Definition, "what", <MLTYPE>, "input", <SHAPE>); % '<MLTYPE>' can be clib.array.libm2k.Char,int8,string, or char
%validate(m2k_exception_builderConstructor3Definition);
%% C++ class method |iioCode| for C++ class |libm2k::m2k_exception_builder|
% C++ Signature: libm2k::m2k_exception_builder & libm2k::m2k_exception_builder::iioCode(int code)
iioCodeDefinition = addMethod(m2k_exception_builderDefinition, ...
"libm2k::m2k_exception_builder & libm2k::m2k_exception_builder::iioCode(int code)", ...
"Description", "clib.libm2k.libm2k.m2k_exception_builder.iioCode Method of C++ class libm2k::m2k_exception_builder."); % Modify help description values as needed.
defineArgument(iioCodeDefinition, "code", "int32");
defineOutput(iioCodeDefinition, "RetVal", "clib.libm2k.libm2k.m2k_exception_builder");
validate(iioCodeDefinition);
%% C++ class method |type| for C++ class |libm2k::m2k_exception_builder|
% C++ Signature: libm2k::m2k_exception_builder & libm2k::m2k_exception_builder::type(libm2k::M2K_EXCEPTION_TYPE type)
typeDefinition = addMethod(m2k_exception_builderDefinition, ...
"libm2k::m2k_exception_builder & libm2k::m2k_exception_builder::type(libm2k::M2K_EXCEPTION_TYPE type)", ...
"Description", "clib.libm2k.libm2k.m2k_exception_builder.type Method of C++ class libm2k::m2k_exception_builder."); % Modify help description values as needed.
defineArgument(typeDefinition, "type", "clib.libm2k.libm2k.M2K_EXCEPTION_TYPE");
defineOutput(typeDefinition, "RetVal", "clib.libm2k.libm2k.m2k_exception_builder");
validate(typeDefinition);
%% C++ class method |line| for C++ class |libm2k::m2k_exception_builder|
% C++ Signature: libm2k::m2k_exception_builder & libm2k::m2k_exception_builder::line(int lineNumber)
lineDefinition = addMethod(m2k_exception_builderDefinition, ...
"libm2k::m2k_exception_builder & libm2k::m2k_exception_builder::line(int lineNumber)", ...
"Description", "clib.libm2k.libm2k.m2k_exception_builder.line Method of C++ class libm2k::m2k_exception_builder."); % Modify help description values as needed.
defineArgument(lineDefinition, "lineNumber", "int32");
defineOutput(lineDefinition, "RetVal", "clib.libm2k.libm2k.m2k_exception_builder");
validate(lineDefinition);
%% C++ class method |file| for C++ class |libm2k::m2k_exception_builder|
% C++ Signature: libm2k::m2k_exception_builder & libm2k::m2k_exception_builder::file(std::string const & fileName)
fileDefinition = addMethod(m2k_exception_builderDefinition, ...
"libm2k::m2k_exception_builder & libm2k::m2k_exception_builder::file(std::string const & fileName)", ...
"Description", "clib.libm2k.libm2k.m2k_exception_builder.file Method of C++ class libm2k::m2k_exception_builder."); % Modify help description values as needed.
defineArgument(fileDefinition, "fileName", "string", "input");
defineOutput(fileDefinition, "RetVal", "clib.libm2k.libm2k.m2k_exception_builder");
validate(fileDefinition);
%% C++ class method |build| for C++ class |libm2k::m2k_exception_builder|
% C++ Signature: libm2k::m2k_exception libm2k::m2k_exception_builder::build()
buildDefinition = addMethod(m2k_exception_builderDefinition, ...
"libm2k::m2k_exception libm2k::m2k_exception_builder::build()", ...
"Description", "clib.libm2k.libm2k.m2k_exception_builder.build Method of C++ class libm2k::m2k_exception_builder."); % Modify help description values as needed.
defineOutput(buildDefinition, "RetVal", "clib.libm2k.libm2k.m2k_exception");
validate(buildDefinition);
%% C++ class constructor for C++ class |libm2k::m2k_exception_builder|
% C++ Signature: libm2k::m2k_exception_builder::m2k_exception_builder(libm2k::m2k_exception_builder const & input1)
m2k_exception_builderConstructor4Definition = addConstructor(m2k_exception_builderDefinition, ...