line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Lab::Moose::Instrument::ZI_HDAWG; |
2
|
|
|
|
|
|
|
$Lab::Moose::Instrument::ZI_HDAWG::VERSION = '3.880'; |
3
|
|
|
|
|
|
|
#ABSTRACT: Zurich Instruments HDAWG Arbitrary Waveform Generator |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
# Notes for further developement: |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
# out-commented functions |
8
|
|
|
|
|
|
|
# All functions that are uncommented have been tested, all out-commented |
9
|
|
|
|
|
|
|
# functions were not tested because of missing features or other issues. |
10
|
|
|
|
|
|
|
# In particular, functions that set connectivity options could not be tested |
11
|
|
|
|
|
|
|
# as they result in a lost of connection to the device. |
12
|
|
|
|
|
|
|
# Modules: |
13
|
|
|
|
|
|
|
# Implementation is missing Module controll as it is not supported by Lab::Zhinst. |
14
|
|
|
|
|
|
|
# This driver has to be expanded once Lab::Zhinst functionality is incremented. |
15
|
|
|
|
|
|
|
# In particular the use of the sequencere module is very limited for lack of controll |
16
|
|
|
|
|
|
|
# over internal scripts and compiler options |
17
|
|
|
|
|
|
|
# Vector functions: |
18
|
|
|
|
|
|
|
# A total of 11 functions that make use of datatype ZIVectorData have been omitted, |
19
|
|
|
|
|
|
|
# this again for lack of support from Lab::Zhinst or Zhinst.pl connection type. |
20
|
1
|
|
|
1
|
|
2279
|
use v5.20; |
|
1
|
|
|
|
|
4
|
|
21
|
1
|
|
|
1
|
|
6
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
22
|
1
|
|
|
1
|
|
6957
|
use MooseX::Params::Validate; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
23
|
1
|
|
|
1
|
|
524
|
use Lab::Moose::Instrument qw/validated_setter validated_getter/; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
66
|
|
24
|
1
|
|
|
1
|
|
7
|
use namespace::autoclean; |
|
1
|
|
|
|
|
8
|
|
|
1
|
|
|
|
|
11
|
|
25
|
|
|
|
|
|
|
extends 'Lab::Moose::Instrument::Zhinst'; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
sub set_awgs_auxtriggers_channel { |
32
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
33
|
|
|
|
|
|
|
\@_, |
34
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
35
|
|
|
|
|
|
|
auxtrigger=>{isa => 'Int'}, |
36
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
37
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
38
|
0
|
|
|
|
|
|
my $auxtrigger=delete $args{auxtrigger}; |
39
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
40
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/auxtriggers/$auxtrigger/channel", |
41
|
|
|
|
|
|
|
type=>'I', |
42
|
|
|
|
|
|
|
value =>$value |
43
|
|
|
|
|
|
|
); |
44
|
|
|
|
|
|
|
} |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
sub get_awgs_auxtriggers_channel { |
47
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
48
|
|
|
|
|
|
|
\@_, |
49
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
50
|
|
|
|
|
|
|
auxtrigger=>{isa => 'Int'}, |
51
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
52
|
|
|
|
|
|
|
); |
53
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
54
|
0
|
|
|
|
|
|
my $auxtrigger =delete $args{auxtrigger}; |
55
|
0
|
|
|
|
|
|
return $self->get_value( |
56
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/auxtriggers/$auxtrigger/channel", |
57
|
|
|
|
|
|
|
type=>'I', |
58
|
|
|
|
|
|
|
); |
59
|
|
|
|
|
|
|
} |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
sub set_awgs_auxtriggers_slope { |
64
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
65
|
|
|
|
|
|
|
\@_, |
66
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
67
|
|
|
|
|
|
|
auxtrigger=>{isa => 'Int'}, |
68
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
69
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
70
|
0
|
|
|
|
|
|
my $auxtrigger=delete $args{auxtrigger}; |
71
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
72
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/auxtriggers/$auxtrigger/slope", |
73
|
|
|
|
|
|
|
type=>'I', |
74
|
|
|
|
|
|
|
value =>$value |
75
|
|
|
|
|
|
|
); |
76
|
|
|
|
|
|
|
} |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
sub get_awgs_auxtriggers_slope { |
79
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
80
|
|
|
|
|
|
|
\@_, |
81
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
82
|
|
|
|
|
|
|
auxtrigger=>{isa => 'Int'}, |
83
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
84
|
|
|
|
|
|
|
); |
85
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
86
|
0
|
|
|
|
|
|
my $auxtrigger =delete $args{auxtrigger}; |
87
|
0
|
|
|
|
|
|
return $self->get_value( |
88
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/auxtriggers/$auxtrigger/slope", |
89
|
|
|
|
|
|
|
type=>'I', |
90
|
|
|
|
|
|
|
); |
91
|
|
|
|
|
|
|
} |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
sub get_awgs_auxtriggers_state { |
96
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
97
|
|
|
|
|
|
|
\@_, |
98
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
99
|
|
|
|
|
|
|
auxtrigger=>{isa => 'Int'}, |
100
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
101
|
|
|
|
|
|
|
); |
102
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
103
|
0
|
|
|
|
|
|
my $auxtrigger =delete $args{auxtrigger}; |
104
|
0
|
|
|
|
|
|
return $self->get_value( |
105
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/auxtriggers/$auxtrigger/state", |
106
|
|
|
|
|
|
|
type=>'I', |
107
|
|
|
|
|
|
|
); |
108
|
|
|
|
|
|
|
} |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
sub set_awgs_commandtable_clear { |
113
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
114
|
|
|
|
|
|
|
\@_, |
115
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
116
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
117
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
118
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
119
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/commandtable/clear", |
120
|
|
|
|
|
|
|
type=>'I', |
121
|
|
|
|
|
|
|
value =>$value |
122
|
|
|
|
|
|
|
); |
123
|
|
|
|
|
|
|
} |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
sub get_awgs_commandtable_clear { |
126
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
127
|
|
|
|
|
|
|
\@_, |
128
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
129
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
130
|
|
|
|
|
|
|
); |
131
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
132
|
0
|
|
|
|
|
|
return $self->get_value( |
133
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/commandtable/clear", |
134
|
|
|
|
|
|
|
type=>'I', |
135
|
|
|
|
|
|
|
); |
136
|
|
|
|
|
|
|
} |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
sub get_awgs_commandtable_status { |
141
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
142
|
|
|
|
|
|
|
\@_, |
143
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
144
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
145
|
|
|
|
|
|
|
); |
146
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
147
|
0
|
|
|
|
|
|
return $self->get_value( |
148
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/commandtable/status", |
149
|
|
|
|
|
|
|
type=>'I', |
150
|
|
|
|
|
|
|
); |
151
|
|
|
|
|
|
|
} |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
sub set_awgs_dio_delay_index { |
156
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
157
|
|
|
|
|
|
|
\@_, |
158
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
159
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
160
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
161
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
162
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/delay/index", |
163
|
|
|
|
|
|
|
type=>'I', |
164
|
|
|
|
|
|
|
value =>$value |
165
|
|
|
|
|
|
|
); |
166
|
|
|
|
|
|
|
} |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
sub get_awgs_dio_delay_index { |
169
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
170
|
|
|
|
|
|
|
\@_, |
171
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
172
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
173
|
|
|
|
|
|
|
); |
174
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
175
|
0
|
|
|
|
|
|
return $self->get_value( |
176
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/delay/index", |
177
|
|
|
|
|
|
|
type=>'I', |
178
|
|
|
|
|
|
|
); |
179
|
|
|
|
|
|
|
} |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
sub set_awgs_dio_delay_value { |
184
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
185
|
|
|
|
|
|
|
\@_, |
186
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
187
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
188
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
189
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
190
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/delay/value", |
191
|
|
|
|
|
|
|
type=>'I', |
192
|
|
|
|
|
|
|
value =>$value |
193
|
|
|
|
|
|
|
); |
194
|
|
|
|
|
|
|
} |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
sub get_awgs_dio_delay_value { |
197
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
198
|
|
|
|
|
|
|
\@_, |
199
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
200
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
201
|
|
|
|
|
|
|
); |
202
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
203
|
0
|
|
|
|
|
|
return $self->get_value( |
204
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/delay/value", |
205
|
|
|
|
|
|
|
type=>'I', |
206
|
|
|
|
|
|
|
); |
207
|
|
|
|
|
|
|
} |
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
sub set_awgs_dio_error_timing { |
212
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
213
|
|
|
|
|
|
|
\@_, |
214
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
215
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
216
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
217
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
218
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/error/timing", |
219
|
|
|
|
|
|
|
type=>'I', |
220
|
|
|
|
|
|
|
value =>$value |
221
|
|
|
|
|
|
|
); |
222
|
|
|
|
|
|
|
} |
223
|
|
|
|
|
|
|
|
224
|
|
|
|
|
|
|
sub get_awgs_dio_error_timing { |
225
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
226
|
|
|
|
|
|
|
\@_, |
227
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
228
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
229
|
|
|
|
|
|
|
); |
230
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
231
|
0
|
|
|
|
|
|
return $self->get_value( |
232
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/error/timing", |
233
|
|
|
|
|
|
|
type=>'I', |
234
|
|
|
|
|
|
|
); |
235
|
|
|
|
|
|
|
} |
236
|
|
|
|
|
|
|
|
237
|
|
|
|
|
|
|
|
238
|
|
|
|
|
|
|
|
239
|
|
|
|
|
|
|
sub set_awgs_dio_error_width { |
240
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
241
|
|
|
|
|
|
|
\@_, |
242
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
243
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
244
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
245
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
246
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/error/width", |
247
|
|
|
|
|
|
|
type=>'I', |
248
|
|
|
|
|
|
|
value =>$value |
249
|
|
|
|
|
|
|
); |
250
|
|
|
|
|
|
|
} |
251
|
|
|
|
|
|
|
|
252
|
|
|
|
|
|
|
sub get_awgs_dio_error_width { |
253
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
254
|
|
|
|
|
|
|
\@_, |
255
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
256
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
257
|
|
|
|
|
|
|
); |
258
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
259
|
0
|
|
|
|
|
|
return $self->get_value( |
260
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/error/width", |
261
|
|
|
|
|
|
|
type=>'I', |
262
|
|
|
|
|
|
|
); |
263
|
|
|
|
|
|
|
} |
264
|
|
|
|
|
|
|
|
265
|
|
|
|
|
|
|
|
266
|
|
|
|
|
|
|
|
267
|
|
|
|
|
|
|
sub set_awgs_dio_highbits { |
268
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
269
|
|
|
|
|
|
|
\@_, |
270
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
271
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
272
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
273
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
274
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/highbits", |
275
|
|
|
|
|
|
|
type=>'I', |
276
|
|
|
|
|
|
|
value =>$value |
277
|
|
|
|
|
|
|
); |
278
|
|
|
|
|
|
|
} |
279
|
|
|
|
|
|
|
|
280
|
|
|
|
|
|
|
sub get_awgs_dio_highbits { |
281
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
282
|
|
|
|
|
|
|
\@_, |
283
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
284
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
285
|
|
|
|
|
|
|
); |
286
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
287
|
0
|
|
|
|
|
|
return $self->get_value( |
288
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/highbits", |
289
|
|
|
|
|
|
|
type=>'I', |
290
|
|
|
|
|
|
|
); |
291
|
|
|
|
|
|
|
} |
292
|
|
|
|
|
|
|
|
293
|
|
|
|
|
|
|
|
294
|
|
|
|
|
|
|
|
295
|
|
|
|
|
|
|
sub set_awgs_dio_lowbits { |
296
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
297
|
|
|
|
|
|
|
\@_, |
298
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
299
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
300
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
301
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
302
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/lowbits", |
303
|
|
|
|
|
|
|
type=>'I', |
304
|
|
|
|
|
|
|
value =>$value |
305
|
|
|
|
|
|
|
); |
306
|
|
|
|
|
|
|
} |
307
|
|
|
|
|
|
|
|
308
|
|
|
|
|
|
|
sub get_awgs_dio_lowbits { |
309
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
310
|
|
|
|
|
|
|
\@_, |
311
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
312
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
313
|
|
|
|
|
|
|
); |
314
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
315
|
0
|
|
|
|
|
|
return $self->get_value( |
316
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/lowbits", |
317
|
|
|
|
|
|
|
type=>'I', |
318
|
|
|
|
|
|
|
); |
319
|
|
|
|
|
|
|
} |
320
|
|
|
|
|
|
|
|
321
|
|
|
|
|
|
|
|
322
|
|
|
|
|
|
|
|
323
|
|
|
|
|
|
|
sub set_awgs_dio_mask_shift { |
324
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
325
|
|
|
|
|
|
|
\@_, |
326
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
327
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
328
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
329
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
330
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/mask/shift", |
331
|
|
|
|
|
|
|
type=>'I', |
332
|
|
|
|
|
|
|
value =>$value |
333
|
|
|
|
|
|
|
); |
334
|
|
|
|
|
|
|
} |
335
|
|
|
|
|
|
|
|
336
|
|
|
|
|
|
|
sub get_awgs_dio_mask_shift { |
337
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
338
|
|
|
|
|
|
|
\@_, |
339
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
340
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
341
|
|
|
|
|
|
|
); |
342
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
343
|
0
|
|
|
|
|
|
return $self->get_value( |
344
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/mask/shift", |
345
|
|
|
|
|
|
|
type=>'I', |
346
|
|
|
|
|
|
|
); |
347
|
|
|
|
|
|
|
} |
348
|
|
|
|
|
|
|
|
349
|
|
|
|
|
|
|
|
350
|
|
|
|
|
|
|
|
351
|
|
|
|
|
|
|
sub set_awgs_dio_mask_value { |
352
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
353
|
|
|
|
|
|
|
\@_, |
354
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
355
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
356
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
357
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
358
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/mask/value", |
359
|
|
|
|
|
|
|
type=>'I', |
360
|
|
|
|
|
|
|
value =>$value |
361
|
|
|
|
|
|
|
); |
362
|
|
|
|
|
|
|
} |
363
|
|
|
|
|
|
|
|
364
|
|
|
|
|
|
|
sub get_awgs_dio_mask_value { |
365
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
366
|
|
|
|
|
|
|
\@_, |
367
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
368
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
369
|
|
|
|
|
|
|
); |
370
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
371
|
0
|
|
|
|
|
|
return $self->get_value( |
372
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/mask/value", |
373
|
|
|
|
|
|
|
type=>'I', |
374
|
|
|
|
|
|
|
); |
375
|
|
|
|
|
|
|
} |
376
|
|
|
|
|
|
|
|
377
|
|
|
|
|
|
|
|
378
|
|
|
|
|
|
|
|
379
|
|
|
|
|
|
|
sub set_awgs_dio_state { |
380
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
381
|
|
|
|
|
|
|
\@_, |
382
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
383
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
384
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
385
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
386
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/state", |
387
|
|
|
|
|
|
|
type=>'I', |
388
|
|
|
|
|
|
|
value =>$value |
389
|
|
|
|
|
|
|
); |
390
|
|
|
|
|
|
|
} |
391
|
|
|
|
|
|
|
|
392
|
|
|
|
|
|
|
sub get_awgs_dio_state { |
393
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
394
|
|
|
|
|
|
|
\@_, |
395
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
396
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
397
|
|
|
|
|
|
|
); |
398
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
399
|
0
|
|
|
|
|
|
return $self->get_value( |
400
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/state", |
401
|
|
|
|
|
|
|
type=>'I', |
402
|
|
|
|
|
|
|
); |
403
|
|
|
|
|
|
|
} |
404
|
|
|
|
|
|
|
|
405
|
|
|
|
|
|
|
|
406
|
|
|
|
|
|
|
|
407
|
|
|
|
|
|
|
sub set_awgs_dio_strobe_index { |
408
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
409
|
|
|
|
|
|
|
\@_, |
410
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
411
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
412
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
413
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
414
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/strobe/index", |
415
|
|
|
|
|
|
|
type=>'I', |
416
|
|
|
|
|
|
|
value =>$value |
417
|
|
|
|
|
|
|
); |
418
|
|
|
|
|
|
|
} |
419
|
|
|
|
|
|
|
|
420
|
|
|
|
|
|
|
sub get_awgs_dio_strobe_index { |
421
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
422
|
|
|
|
|
|
|
\@_, |
423
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
424
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
425
|
|
|
|
|
|
|
); |
426
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
427
|
0
|
|
|
|
|
|
return $self->get_value( |
428
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/strobe/index", |
429
|
|
|
|
|
|
|
type=>'I', |
430
|
|
|
|
|
|
|
); |
431
|
|
|
|
|
|
|
} |
432
|
|
|
|
|
|
|
|
433
|
|
|
|
|
|
|
|
434
|
|
|
|
|
|
|
|
435
|
|
|
|
|
|
|
sub set_awgs_dio_strobe_slope { |
436
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
437
|
|
|
|
|
|
|
\@_, |
438
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
439
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
440
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
441
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
442
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/strobe/slope", |
443
|
|
|
|
|
|
|
type=>'I', |
444
|
|
|
|
|
|
|
value =>$value |
445
|
|
|
|
|
|
|
); |
446
|
|
|
|
|
|
|
} |
447
|
|
|
|
|
|
|
|
448
|
|
|
|
|
|
|
sub get_awgs_dio_strobe_slope { |
449
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
450
|
|
|
|
|
|
|
\@_, |
451
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
452
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
453
|
|
|
|
|
|
|
); |
454
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
455
|
0
|
|
|
|
|
|
return $self->get_value( |
456
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/strobe/slope", |
457
|
|
|
|
|
|
|
type=>'I', |
458
|
|
|
|
|
|
|
); |
459
|
|
|
|
|
|
|
} |
460
|
|
|
|
|
|
|
|
461
|
|
|
|
|
|
|
|
462
|
|
|
|
|
|
|
|
463
|
|
|
|
|
|
|
sub set_awgs_dio_strobe_width { |
464
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
465
|
|
|
|
|
|
|
\@_, |
466
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
467
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
468
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
469
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
470
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/strobe/width", |
471
|
|
|
|
|
|
|
type=>'I', |
472
|
|
|
|
|
|
|
value =>$value |
473
|
|
|
|
|
|
|
); |
474
|
|
|
|
|
|
|
} |
475
|
|
|
|
|
|
|
|
476
|
|
|
|
|
|
|
sub get_awgs_dio_strobe_width { |
477
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
478
|
|
|
|
|
|
|
\@_, |
479
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
480
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
481
|
|
|
|
|
|
|
); |
482
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
483
|
0
|
|
|
|
|
|
return $self->get_value( |
484
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/strobe/width", |
485
|
|
|
|
|
|
|
type=>'I', |
486
|
|
|
|
|
|
|
); |
487
|
|
|
|
|
|
|
} |
488
|
|
|
|
|
|
|
|
489
|
|
|
|
|
|
|
|
490
|
|
|
|
|
|
|
|
491
|
|
|
|
|
|
|
sub set_awgs_dio_valid_index { |
492
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
493
|
|
|
|
|
|
|
\@_, |
494
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
495
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
496
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
497
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
498
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/valid/index", |
499
|
|
|
|
|
|
|
type=>'I', |
500
|
|
|
|
|
|
|
value =>$value |
501
|
|
|
|
|
|
|
); |
502
|
|
|
|
|
|
|
} |
503
|
|
|
|
|
|
|
|
504
|
|
|
|
|
|
|
sub get_awgs_dio_valid_index { |
505
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
506
|
|
|
|
|
|
|
\@_, |
507
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
508
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
509
|
|
|
|
|
|
|
); |
510
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
511
|
0
|
|
|
|
|
|
return $self->get_value( |
512
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/valid/index", |
513
|
|
|
|
|
|
|
type=>'I', |
514
|
|
|
|
|
|
|
); |
515
|
|
|
|
|
|
|
} |
516
|
|
|
|
|
|
|
|
517
|
|
|
|
|
|
|
|
518
|
|
|
|
|
|
|
|
519
|
|
|
|
|
|
|
sub set_awgs_dio_valid_polarity { |
520
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
521
|
|
|
|
|
|
|
\@_, |
522
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
523
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
524
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
525
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
526
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/valid/polarity", |
527
|
|
|
|
|
|
|
type=>'I', |
528
|
|
|
|
|
|
|
value =>$value |
529
|
|
|
|
|
|
|
); |
530
|
|
|
|
|
|
|
} |
531
|
|
|
|
|
|
|
|
532
|
|
|
|
|
|
|
sub get_awgs_dio_valid_polarity { |
533
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
534
|
|
|
|
|
|
|
\@_, |
535
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
536
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
537
|
|
|
|
|
|
|
); |
538
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
539
|
0
|
|
|
|
|
|
return $self->get_value( |
540
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/valid/polarity", |
541
|
|
|
|
|
|
|
type=>'I', |
542
|
|
|
|
|
|
|
); |
543
|
|
|
|
|
|
|
} |
544
|
|
|
|
|
|
|
|
545
|
|
|
|
|
|
|
|
546
|
|
|
|
|
|
|
|
547
|
|
|
|
|
|
|
sub set_awgs_dio_valid_width { |
548
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
549
|
|
|
|
|
|
|
\@_, |
550
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
551
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
552
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
553
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
554
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/valid/width", |
555
|
|
|
|
|
|
|
type=>'I', |
556
|
|
|
|
|
|
|
value =>$value |
557
|
|
|
|
|
|
|
); |
558
|
|
|
|
|
|
|
} |
559
|
|
|
|
|
|
|
|
560
|
|
|
|
|
|
|
sub get_awgs_dio_valid_width { |
561
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
562
|
|
|
|
|
|
|
\@_, |
563
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
564
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
565
|
|
|
|
|
|
|
); |
566
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
567
|
0
|
|
|
|
|
|
return $self->get_value( |
568
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/dio/valid/width", |
569
|
|
|
|
|
|
|
type=>'I', |
570
|
|
|
|
|
|
|
); |
571
|
|
|
|
|
|
|
} |
572
|
|
|
|
|
|
|
|
573
|
|
|
|
|
|
|
|
574
|
|
|
|
|
|
|
|
575
|
|
|
|
|
|
|
sub get_awgs_elf_checksum { |
576
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
577
|
|
|
|
|
|
|
\@_, |
578
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
579
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
580
|
|
|
|
|
|
|
); |
581
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
582
|
0
|
|
|
|
|
|
return $self->get_value( |
583
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/elf/checksum", |
584
|
|
|
|
|
|
|
type=>'I', |
585
|
|
|
|
|
|
|
); |
586
|
|
|
|
|
|
|
} |
587
|
|
|
|
|
|
|
|
588
|
|
|
|
|
|
|
|
589
|
|
|
|
|
|
|
|
590
|
|
|
|
|
|
|
sub get_awgs_elf_length { |
591
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
592
|
|
|
|
|
|
|
\@_, |
593
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
594
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
595
|
|
|
|
|
|
|
); |
596
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
597
|
0
|
|
|
|
|
|
return $self->get_value( |
598
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/elf/length", |
599
|
|
|
|
|
|
|
type=>'I', |
600
|
|
|
|
|
|
|
); |
601
|
|
|
|
|
|
|
} |
602
|
|
|
|
|
|
|
|
603
|
|
|
|
|
|
|
|
604
|
|
|
|
|
|
|
|
605
|
|
|
|
|
|
|
sub get_awgs_elf_memoryusage { |
606
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
607
|
|
|
|
|
|
|
\@_, |
608
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
609
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
610
|
|
|
|
|
|
|
); |
611
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
612
|
0
|
|
|
|
|
|
return $self->get_value( |
613
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/elf/memoryusage", |
614
|
|
|
|
|
|
|
type=>'D', |
615
|
|
|
|
|
|
|
); |
616
|
|
|
|
|
|
|
} |
617
|
|
|
|
|
|
|
|
618
|
|
|
|
|
|
|
|
619
|
|
|
|
|
|
|
|
620
|
|
|
|
|
|
|
sub get_awgs_elf_progress { |
621
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
622
|
|
|
|
|
|
|
\@_, |
623
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
624
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
625
|
|
|
|
|
|
|
); |
626
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
627
|
0
|
|
|
|
|
|
return $self->get_value( |
628
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/elf/progress", |
629
|
|
|
|
|
|
|
type=>'D', |
630
|
|
|
|
|
|
|
); |
631
|
|
|
|
|
|
|
} |
632
|
|
|
|
|
|
|
|
633
|
|
|
|
|
|
|
|
634
|
|
|
|
|
|
|
|
635
|
|
|
|
|
|
|
sub set_awgs_enable { |
636
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
637
|
|
|
|
|
|
|
\@_, |
638
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
639
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
640
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
641
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
642
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/enable", |
643
|
|
|
|
|
|
|
type=>'I', |
644
|
|
|
|
|
|
|
value =>$value |
645
|
|
|
|
|
|
|
); |
646
|
|
|
|
|
|
|
} |
647
|
|
|
|
|
|
|
|
648
|
|
|
|
|
|
|
sub get_awgs_enable { |
649
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
650
|
|
|
|
|
|
|
\@_, |
651
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
652
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
653
|
|
|
|
|
|
|
); |
654
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
655
|
0
|
|
|
|
|
|
return $self->get_value( |
656
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/enable", |
657
|
|
|
|
|
|
|
type=>'I', |
658
|
|
|
|
|
|
|
); |
659
|
|
|
|
|
|
|
} |
660
|
|
|
|
|
|
|
|
661
|
|
|
|
|
|
|
|
662
|
|
|
|
|
|
|
|
663
|
|
|
|
|
|
|
sub set_awgs_outputs_amplitude { |
664
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
665
|
|
|
|
|
|
|
\@_, |
666
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
667
|
|
|
|
|
|
|
output=>{isa => 'Int'}, |
668
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
669
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
670
|
0
|
|
|
|
|
|
my $output=delete $args{output}; |
671
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
672
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/outputs/$output/amplitude", |
673
|
|
|
|
|
|
|
type=>'D', |
674
|
|
|
|
|
|
|
value =>$value |
675
|
|
|
|
|
|
|
); |
676
|
|
|
|
|
|
|
} |
677
|
|
|
|
|
|
|
|
678
|
|
|
|
|
|
|
sub get_awgs_outputs_amplitude { |
679
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
680
|
|
|
|
|
|
|
\@_, |
681
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
682
|
|
|
|
|
|
|
output=>{isa => 'Int'}, |
683
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
684
|
|
|
|
|
|
|
); |
685
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
686
|
0
|
|
|
|
|
|
my $output =delete $args{output}; |
687
|
0
|
|
|
|
|
|
return $self->get_value( |
688
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/outputs/$output/amplitude", |
689
|
|
|
|
|
|
|
type=>'D', |
690
|
|
|
|
|
|
|
); |
691
|
|
|
|
|
|
|
} |
692
|
|
|
|
|
|
|
|
693
|
|
|
|
|
|
|
|
694
|
|
|
|
|
|
|
|
695
|
|
|
|
|
|
|
sub get_awgs_outputs_enables_k { |
696
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
697
|
|
|
|
|
|
|
\@_, |
698
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
699
|
|
|
|
|
|
|
output=>{isa => 'Int'}, |
700
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
701
|
|
|
|
|
|
|
); |
702
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
703
|
0
|
|
|
|
|
|
my $output =delete $args{output}; |
704
|
0
|
|
|
|
|
|
return $self->get_value( |
705
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/outputs/$output/enables/k", |
706
|
|
|
|
|
|
|
type=>'I', |
707
|
|
|
|
|
|
|
); |
708
|
|
|
|
|
|
|
} |
709
|
|
|
|
|
|
|
|
710
|
|
|
|
|
|
|
|
711
|
|
|
|
|
|
|
|
712
|
|
|
|
|
|
|
sub set_awgs_outputs_gains { |
713
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
714
|
|
|
|
|
|
|
\@_, |
715
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
716
|
|
|
|
|
|
|
output=>{isa => 'Int'}, |
717
|
|
|
|
|
|
|
gain =>{isa => 'Int'}, |
718
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
719
|
|
|
|
|
|
|
); |
720
|
0
|
|
|
|
|
|
my $awg=delete $args{awg}; |
721
|
0
|
|
|
|
|
|
my $output=delete $args{output}; |
722
|
0
|
|
|
|
|
|
my $gain =delete $args{gain}; |
723
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
724
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/outputs/$output/gains/$gain", |
725
|
|
|
|
|
|
|
type=>'D', |
726
|
|
|
|
|
|
|
value =>$value |
727
|
|
|
|
|
|
|
); |
728
|
|
|
|
|
|
|
} |
729
|
|
|
|
|
|
|
|
730
|
|
|
|
|
|
|
sub get_awgs_outputs_gains { |
731
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
732
|
|
|
|
|
|
|
\@_, |
733
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
734
|
|
|
|
|
|
|
output=>{isa => 'Int'}, |
735
|
|
|
|
|
|
|
gain=> { isa=> 'Int'}, |
736
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
737
|
|
|
|
|
|
|
); |
738
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
739
|
0
|
|
|
|
|
|
my $output =delete $args{output}; |
740
|
0
|
|
|
|
|
|
my $gain =delete $args{gain}; |
741
|
0
|
|
|
|
|
|
return $self->get_value( |
742
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/outputs/$output/gains/$gain", |
743
|
|
|
|
|
|
|
type=>'D', |
744
|
|
|
|
|
|
|
); |
745
|
|
|
|
|
|
|
} |
746
|
|
|
|
|
|
|
|
747
|
|
|
|
|
|
|
|
748
|
|
|
|
|
|
|
|
749
|
|
|
|
|
|
|
sub set_awgs_outputs_hold { |
750
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
751
|
|
|
|
|
|
|
\@_, |
752
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
753
|
|
|
|
|
|
|
output=>{isa => 'Int'}, |
754
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
755
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
756
|
0
|
|
|
|
|
|
my $output=delete $args{output}; |
757
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
758
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/outputs/$output/hold", |
759
|
|
|
|
|
|
|
type=>'I', |
760
|
|
|
|
|
|
|
value =>$value |
761
|
|
|
|
|
|
|
); |
762
|
|
|
|
|
|
|
} |
763
|
|
|
|
|
|
|
|
764
|
|
|
|
|
|
|
sub get_awgs_outputs_hold { |
765
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
766
|
|
|
|
|
|
|
\@_, |
767
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
768
|
|
|
|
|
|
|
output=>{isa => 'Int'}, |
769
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
770
|
|
|
|
|
|
|
); |
771
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
772
|
0
|
|
|
|
|
|
my $output =delete $args{output}; |
773
|
0
|
|
|
|
|
|
return $self->get_value( |
774
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/outputs/$output/hold", |
775
|
|
|
|
|
|
|
type=>'I', |
776
|
|
|
|
|
|
|
); |
777
|
|
|
|
|
|
|
} |
778
|
|
|
|
|
|
|
|
779
|
|
|
|
|
|
|
|
780
|
|
|
|
|
|
|
|
781
|
|
|
|
|
|
|
|
782
|
|
|
|
|
|
|
|
783
|
|
|
|
|
|
|
sub get_awgs_outputs_modulation_carriers_freq { |
784
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
785
|
|
|
|
|
|
|
\@_, |
786
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
787
|
|
|
|
|
|
|
output=>{isa => 'Int'}, |
788
|
|
|
|
|
|
|
carrier =>{isa => 'Int'}, |
789
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
790
|
|
|
|
|
|
|
); |
791
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
792
|
0
|
|
|
|
|
|
my $output =delete $args{output}; |
793
|
0
|
|
|
|
|
|
my $carrier = delete $args{carrier}; |
794
|
0
|
|
|
|
|
|
print($self->device()."/awgs/$awg/outputs/$output/modulation/carriers/$carrier/freq\n"); |
795
|
0
|
|
|
|
|
|
return $self->get_value( |
796
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/outputs/$output/modulation/carriers/$carrier/freq", |
797
|
|
|
|
|
|
|
type=>'D', |
798
|
|
|
|
|
|
|
); |
799
|
|
|
|
|
|
|
} |
800
|
|
|
|
|
|
|
|
801
|
|
|
|
|
|
|
|
802
|
|
|
|
|
|
|
|
803
|
|
|
|
|
|
|
|
804
|
|
|
|
|
|
|
|
805
|
|
|
|
|
|
|
sub set_awgs_outputs_modulation_carriers_harmonic { |
806
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
807
|
|
|
|
|
|
|
\@_, |
808
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
809
|
|
|
|
|
|
|
output=>{isa => 'Int'}, |
810
|
|
|
|
|
|
|
carrier=>{isa => 'Int'}, |
811
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
812
|
|
|
|
|
|
|
); |
813
|
0
|
|
|
|
|
|
my $awg=delete $args{awg}; |
814
|
0
|
|
|
|
|
|
my $output=delete $args{output}; |
815
|
0
|
|
|
|
|
|
my $carrier = delete $args{carrier}; |
816
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
817
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/outputs/$output/modulation/carriers/$carrier/harmonic", |
818
|
|
|
|
|
|
|
type=>'I', |
819
|
|
|
|
|
|
|
value =>$value |
820
|
|
|
|
|
|
|
); |
821
|
|
|
|
|
|
|
} |
822
|
|
|
|
|
|
|
|
823
|
|
|
|
|
|
|
|
824
|
|
|
|
|
|
|
|
825
|
|
|
|
|
|
|
sub get_awgs_outputs_modulation_carriers_harmonic { |
826
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
827
|
|
|
|
|
|
|
\@_, |
828
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
829
|
|
|
|
|
|
|
output=>{isa => 'Int'}, |
830
|
|
|
|
|
|
|
carrier=>{isa => 'Int'}, |
831
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
832
|
|
|
|
|
|
|
); |
833
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
834
|
0
|
|
|
|
|
|
my $output =delete $args{output}; |
835
|
0
|
|
|
|
|
|
my $carrier = delete $args{carrier}; |
836
|
0
|
|
|
|
|
|
return $self->get_value( |
837
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/outputs/$output/modulation/carriers/$carrier/harmonic", |
838
|
|
|
|
|
|
|
type=>'I', |
839
|
|
|
|
|
|
|
); |
840
|
|
|
|
|
|
|
} |
841
|
|
|
|
|
|
|
|
842
|
|
|
|
|
|
|
|
843
|
|
|
|
|
|
|
|
844
|
|
|
|
|
|
|
|
845
|
|
|
|
|
|
|
|
846
|
|
|
|
|
|
|
sub set_awgs_outputs_modulation_carriers_k_oscselect { |
847
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
848
|
|
|
|
|
|
|
\@_, |
849
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
850
|
|
|
|
|
|
|
output=>{isa => 'Int'}, |
851
|
|
|
|
|
|
|
carrier=>{isa=>'Int'}, |
852
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
853
|
|
|
|
|
|
|
); |
854
|
0
|
|
|
|
|
|
my $awg=delete $args{awg}; |
855
|
0
|
|
|
|
|
|
my $output=delete $args{output}; |
856
|
0
|
|
|
|
|
|
my $carrier = delete $args{carrier}; |
857
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
858
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/outputs/$output/modulation/carriers/$carrier/oscselect", |
859
|
|
|
|
|
|
|
type=>'I', |
860
|
|
|
|
|
|
|
value =>$value |
861
|
|
|
|
|
|
|
); |
862
|
|
|
|
|
|
|
} |
863
|
|
|
|
|
|
|
|
864
|
|
|
|
|
|
|
|
865
|
|
|
|
|
|
|
|
866
|
|
|
|
|
|
|
sub get_awgs_outputs_modulation_carriers_k_oscselect { |
867
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
868
|
|
|
|
|
|
|
\@_, |
869
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
870
|
|
|
|
|
|
|
output=>{isa => 'Int'}, |
871
|
|
|
|
|
|
|
carrier=>{isa => 'Int'}, |
872
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
873
|
|
|
|
|
|
|
); |
874
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
875
|
0
|
|
|
|
|
|
my $output =delete $args{output}; |
876
|
0
|
|
|
|
|
|
my $carrier = delete $args{carrier}; |
877
|
0
|
|
|
|
|
|
return $self->get_value( |
878
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/outputs/$output/modulation/carriers/$carrier/oscselect", |
879
|
|
|
|
|
|
|
type=>'I', |
880
|
|
|
|
|
|
|
); |
881
|
|
|
|
|
|
|
} |
882
|
|
|
|
|
|
|
|
883
|
|
|
|
|
|
|
|
884
|
|
|
|
|
|
|
|
885
|
|
|
|
|
|
|
|
886
|
|
|
|
|
|
|
|
887
|
|
|
|
|
|
|
sub set_awgs_outputs_modulation_carriers_phaseshift { |
888
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
889
|
|
|
|
|
|
|
\@_, |
890
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
891
|
|
|
|
|
|
|
output=>{isa => 'Int'}, |
892
|
|
|
|
|
|
|
carrier => {isa=> 'Int'}, |
893
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
894
|
|
|
|
|
|
|
); |
895
|
0
|
|
|
|
|
|
my $awg=delete $args{awg}; |
896
|
0
|
|
|
|
|
|
my $output=delete $args{output}; |
897
|
0
|
|
|
|
|
|
my $carrier = delete $args{carrier}; |
898
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
899
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/outputs/$output/modulation/carriers/$carrier/phaseshift", |
900
|
|
|
|
|
|
|
type=>'D', |
901
|
|
|
|
|
|
|
value =>$value |
902
|
|
|
|
|
|
|
); |
903
|
|
|
|
|
|
|
} |
904
|
|
|
|
|
|
|
|
905
|
|
|
|
|
|
|
|
906
|
|
|
|
|
|
|
|
907
|
|
|
|
|
|
|
sub get_awgs_outputs_modulation_carriers_phaseshift { |
908
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
909
|
|
|
|
|
|
|
\@_, |
910
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
911
|
|
|
|
|
|
|
output=>{isa => 'Int'}, |
912
|
|
|
|
|
|
|
carrier=>{isa=> 'Int'}, |
913
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
914
|
|
|
|
|
|
|
); |
915
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
916
|
0
|
|
|
|
|
|
my $output =delete $args{output}; |
917
|
0
|
|
|
|
|
|
my $carrier = delete $args{carrier}; |
918
|
0
|
|
|
|
|
|
return $self->get_value( |
919
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/outputs/$output/modulation/carriers/$carrier/phaseshift", |
920
|
|
|
|
|
|
|
type=>'D', |
921
|
|
|
|
|
|
|
); |
922
|
|
|
|
|
|
|
} |
923
|
|
|
|
|
|
|
|
924
|
|
|
|
|
|
|
|
925
|
|
|
|
|
|
|
|
926
|
|
|
|
|
|
|
sub set_awgs_outputs_modulation_mode { |
927
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
928
|
|
|
|
|
|
|
\@_, |
929
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
930
|
|
|
|
|
|
|
output=>{isa => 'Int'}, |
931
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
932
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
933
|
0
|
|
|
|
|
|
my $output=delete $args{output}; |
934
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
935
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/outputs/$output/modulation/mode", |
936
|
|
|
|
|
|
|
type=>'I', |
937
|
|
|
|
|
|
|
value =>$value |
938
|
|
|
|
|
|
|
); |
939
|
|
|
|
|
|
|
} |
940
|
|
|
|
|
|
|
|
941
|
|
|
|
|
|
|
sub get_awgs_outputs_modulation_mode { |
942
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
943
|
|
|
|
|
|
|
\@_, |
944
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
945
|
|
|
|
|
|
|
output=>{isa => 'Int'}, |
946
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
947
|
|
|
|
|
|
|
); |
948
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
949
|
0
|
|
|
|
|
|
my $output =delete $args{output}; |
950
|
0
|
|
|
|
|
|
return $self->get_value( |
951
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/outputs/$output/modulation/mode", |
952
|
|
|
|
|
|
|
type=>'I', |
953
|
|
|
|
|
|
|
); |
954
|
|
|
|
|
|
|
} |
955
|
|
|
|
|
|
|
|
956
|
|
|
|
|
|
|
|
957
|
|
|
|
|
|
|
|
958
|
|
|
|
|
|
|
sub get_awgs_ready { |
959
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
960
|
|
|
|
|
|
|
\@_, |
961
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
962
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
963
|
|
|
|
|
|
|
); |
964
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
965
|
0
|
|
|
|
|
|
return $self->get_value( |
966
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/ready", |
967
|
|
|
|
|
|
|
type=>'I', |
968
|
|
|
|
|
|
|
); |
969
|
|
|
|
|
|
|
} |
970
|
|
|
|
|
|
|
|
971
|
|
|
|
|
|
|
|
972
|
|
|
|
|
|
|
|
973
|
|
|
|
|
|
|
sub set_awgs_reset { |
974
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
975
|
|
|
|
|
|
|
\@_, |
976
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
977
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
978
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
979
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
980
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/reset", |
981
|
|
|
|
|
|
|
type=>'I', |
982
|
|
|
|
|
|
|
value =>$value |
983
|
|
|
|
|
|
|
); |
984
|
|
|
|
|
|
|
} |
985
|
|
|
|
|
|
|
|
986
|
|
|
|
|
|
|
sub get_awgs_reset { |
987
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
988
|
|
|
|
|
|
|
\@_, |
989
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
990
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
991
|
|
|
|
|
|
|
); |
992
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
993
|
0
|
|
|
|
|
|
return $self->get_value( |
994
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/reset", |
995
|
|
|
|
|
|
|
type=>'I', |
996
|
|
|
|
|
|
|
); |
997
|
|
|
|
|
|
|
} |
998
|
|
|
|
|
|
|
|
999
|
|
|
|
|
|
|
|
1000
|
|
|
|
|
|
|
|
1001
|
|
|
|
|
|
|
sub set_awgs_rtlogger_clear { |
1002
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1003
|
|
|
|
|
|
|
\@_, |
1004
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1005
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1006
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
1007
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1008
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/rtlogger/clear", |
1009
|
|
|
|
|
|
|
type=>'I', |
1010
|
|
|
|
|
|
|
value =>$value |
1011
|
|
|
|
|
|
|
); |
1012
|
|
|
|
|
|
|
} |
1013
|
|
|
|
|
|
|
|
1014
|
|
|
|
|
|
|
sub get_awgs_rtlogger_clear { |
1015
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1016
|
|
|
|
|
|
|
\@_, |
1017
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1018
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1019
|
|
|
|
|
|
|
); |
1020
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
1021
|
0
|
|
|
|
|
|
return $self->get_value( |
1022
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/rtlogger/clear", |
1023
|
|
|
|
|
|
|
type=>'I', |
1024
|
|
|
|
|
|
|
); |
1025
|
|
|
|
|
|
|
} |
1026
|
|
|
|
|
|
|
|
1027
|
|
|
|
|
|
|
|
1028
|
|
|
|
|
|
|
|
1029
|
|
|
|
|
|
|
sub set_awgs_rtlogger_enable { |
1030
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1031
|
|
|
|
|
|
|
\@_, |
1032
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1033
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1034
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
1035
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1036
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/rtlogger/enable", |
1037
|
|
|
|
|
|
|
type=>'I', |
1038
|
|
|
|
|
|
|
value =>$value |
1039
|
|
|
|
|
|
|
); |
1040
|
|
|
|
|
|
|
} |
1041
|
|
|
|
|
|
|
|
1042
|
|
|
|
|
|
|
sub get_awgs_rtlogger_enable { |
1043
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1044
|
|
|
|
|
|
|
\@_, |
1045
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1046
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1047
|
|
|
|
|
|
|
); |
1048
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
1049
|
0
|
|
|
|
|
|
return $self->get_value( |
1050
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/rtlogger/enable", |
1051
|
|
|
|
|
|
|
type=>'I', |
1052
|
|
|
|
|
|
|
); |
1053
|
|
|
|
|
|
|
} |
1054
|
|
|
|
|
|
|
|
1055
|
|
|
|
|
|
|
|
1056
|
|
|
|
|
|
|
|
1057
|
|
|
|
|
|
|
sub set_awgs_rtlogger_mode { |
1058
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1059
|
|
|
|
|
|
|
\@_, |
1060
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1061
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1062
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
1063
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1064
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/rtlogger/mode", |
1065
|
|
|
|
|
|
|
type=>'I', |
1066
|
|
|
|
|
|
|
value =>$value |
1067
|
|
|
|
|
|
|
); |
1068
|
|
|
|
|
|
|
} |
1069
|
|
|
|
|
|
|
|
1070
|
|
|
|
|
|
|
sub get_awgs_rtlogger_mode { |
1071
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1072
|
|
|
|
|
|
|
\@_, |
1073
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1074
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1075
|
|
|
|
|
|
|
); |
1076
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
1077
|
0
|
|
|
|
|
|
return $self->get_value( |
1078
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/rtlogger/mode", |
1079
|
|
|
|
|
|
|
type=>'I', |
1080
|
|
|
|
|
|
|
); |
1081
|
|
|
|
|
|
|
} |
1082
|
|
|
|
|
|
|
|
1083
|
|
|
|
|
|
|
|
1084
|
|
|
|
|
|
|
|
1085
|
|
|
|
|
|
|
sub set_awgs_rtlogger_starttimestamp { |
1086
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1087
|
|
|
|
|
|
|
\@_, |
1088
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1089
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1090
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
1091
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1092
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/rtlogger/starttimestamp", |
1093
|
|
|
|
|
|
|
type=>'I', |
1094
|
|
|
|
|
|
|
value =>$value |
1095
|
|
|
|
|
|
|
); |
1096
|
|
|
|
|
|
|
} |
1097
|
|
|
|
|
|
|
|
1098
|
|
|
|
|
|
|
sub get_awgs_rtlogger_starttimestamp { |
1099
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1100
|
|
|
|
|
|
|
\@_, |
1101
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1102
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1103
|
|
|
|
|
|
|
); |
1104
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
1105
|
0
|
|
|
|
|
|
return $self->get_value( |
1106
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/rtlogger/starttimestamp", |
1107
|
|
|
|
|
|
|
type=>'I', |
1108
|
|
|
|
|
|
|
); |
1109
|
|
|
|
|
|
|
} |
1110
|
|
|
|
|
|
|
|
1111
|
|
|
|
|
|
|
|
1112
|
|
|
|
|
|
|
|
1113
|
|
|
|
|
|
|
sub get_awgs_rtlogger_status { |
1114
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1115
|
|
|
|
|
|
|
\@_, |
1116
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1117
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1118
|
|
|
|
|
|
|
); |
1119
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
1120
|
0
|
|
|
|
|
|
return $self->get_value( |
1121
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/rtlogger/status", |
1122
|
|
|
|
|
|
|
type=>'I', |
1123
|
|
|
|
|
|
|
); |
1124
|
|
|
|
|
|
|
} |
1125
|
|
|
|
|
|
|
|
1126
|
|
|
|
|
|
|
|
1127
|
|
|
|
|
|
|
|
1128
|
|
|
|
|
|
|
sub get_awgs_rtlogger_timebase { |
1129
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1130
|
|
|
|
|
|
|
\@_, |
1131
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1132
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1133
|
|
|
|
|
|
|
); |
1134
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
1135
|
0
|
|
|
|
|
|
return $self->get_value( |
1136
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/rtlogger/timebase", |
1137
|
|
|
|
|
|
|
type=>'D', |
1138
|
|
|
|
|
|
|
); |
1139
|
|
|
|
|
|
|
} |
1140
|
|
|
|
|
|
|
|
1141
|
|
|
|
|
|
|
|
1142
|
|
|
|
|
|
|
|
1143
|
|
|
|
|
|
|
sub set_awgs_sequencer_continue { |
1144
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1145
|
|
|
|
|
|
|
\@_, |
1146
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1147
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1148
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
1149
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1150
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/sequencer/continue", |
1151
|
|
|
|
|
|
|
type=>'I', |
1152
|
|
|
|
|
|
|
value =>$value |
1153
|
|
|
|
|
|
|
); |
1154
|
|
|
|
|
|
|
} |
1155
|
|
|
|
|
|
|
|
1156
|
|
|
|
|
|
|
sub get_awgs_sequencer_continue { |
1157
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1158
|
|
|
|
|
|
|
\@_, |
1159
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1160
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1161
|
|
|
|
|
|
|
); |
1162
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
1163
|
0
|
|
|
|
|
|
return $self->get_value( |
1164
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/sequencer/continue", |
1165
|
|
|
|
|
|
|
type=>'I', |
1166
|
|
|
|
|
|
|
); |
1167
|
|
|
|
|
|
|
} |
1168
|
|
|
|
|
|
|
|
1169
|
|
|
|
|
|
|
|
1170
|
|
|
|
|
|
|
|
1171
|
|
|
|
|
|
|
sub get_awgs_sequencer_memoryusage { |
1172
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1173
|
|
|
|
|
|
|
\@_, |
1174
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1175
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1176
|
|
|
|
|
|
|
); |
1177
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
1178
|
0
|
|
|
|
|
|
return $self->get_value( |
1179
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/sequencer/memoryusage", |
1180
|
|
|
|
|
|
|
type=>'D', |
1181
|
|
|
|
|
|
|
); |
1182
|
|
|
|
|
|
|
} |
1183
|
|
|
|
|
|
|
|
1184
|
|
|
|
|
|
|
|
1185
|
|
|
|
|
|
|
|
1186
|
|
|
|
|
|
|
sub set_awgs_sequencer_next { |
1187
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1188
|
|
|
|
|
|
|
\@_, |
1189
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1190
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1191
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
1192
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1193
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/sequencer/next", |
1194
|
|
|
|
|
|
|
type=>'I', |
1195
|
|
|
|
|
|
|
value =>$value |
1196
|
|
|
|
|
|
|
); |
1197
|
|
|
|
|
|
|
} |
1198
|
|
|
|
|
|
|
|
1199
|
|
|
|
|
|
|
sub get_awgs_sequencer_next { |
1200
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1201
|
|
|
|
|
|
|
\@_, |
1202
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1203
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1204
|
|
|
|
|
|
|
); |
1205
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
1206
|
0
|
|
|
|
|
|
return $self->get_value( |
1207
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/sequencer/next", |
1208
|
|
|
|
|
|
|
type=>'I', |
1209
|
|
|
|
|
|
|
); |
1210
|
|
|
|
|
|
|
} |
1211
|
|
|
|
|
|
|
|
1212
|
|
|
|
|
|
|
|
1213
|
|
|
|
|
|
|
|
1214
|
|
|
|
|
|
|
sub get_awgs_sequencer_pc { |
1215
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1216
|
|
|
|
|
|
|
\@_, |
1217
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1218
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1219
|
|
|
|
|
|
|
); |
1220
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
1221
|
0
|
|
|
|
|
|
return $self->get_value( |
1222
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/sequencer/pc", |
1223
|
|
|
|
|
|
|
type=>'I', |
1224
|
|
|
|
|
|
|
); |
1225
|
|
|
|
|
|
|
} |
1226
|
|
|
|
|
|
|
|
1227
|
|
|
|
|
|
|
|
1228
|
|
|
|
|
|
|
|
1229
|
|
|
|
|
|
|
sub get_awgs_sequencer_status { |
1230
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1231
|
|
|
|
|
|
|
\@_, |
1232
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1233
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1234
|
|
|
|
|
|
|
); |
1235
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
1236
|
0
|
|
|
|
|
|
return $self->get_value( |
1237
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/sequencer/status", |
1238
|
|
|
|
|
|
|
type=>'I', |
1239
|
|
|
|
|
|
|
); |
1240
|
|
|
|
|
|
|
} |
1241
|
|
|
|
|
|
|
|
1242
|
|
|
|
|
|
|
|
1243
|
|
|
|
|
|
|
|
1244
|
|
|
|
|
|
|
sub get_awgs_sequencer_triggered { |
1245
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1246
|
|
|
|
|
|
|
\@_, |
1247
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1248
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1249
|
|
|
|
|
|
|
); |
1250
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
1251
|
0
|
|
|
|
|
|
return $self->get_value( |
1252
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/sequencer/triggered", |
1253
|
|
|
|
|
|
|
type=>'I', |
1254
|
|
|
|
|
|
|
); |
1255
|
|
|
|
|
|
|
} |
1256
|
|
|
|
|
|
|
|
1257
|
|
|
|
|
|
|
|
1258
|
|
|
|
|
|
|
|
1259
|
|
|
|
|
|
|
sub set_awgs_single { |
1260
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1261
|
|
|
|
|
|
|
\@_, |
1262
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1263
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1264
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
1265
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1266
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/single", |
1267
|
|
|
|
|
|
|
type=>'I', |
1268
|
|
|
|
|
|
|
value =>$value |
1269
|
|
|
|
|
|
|
); |
1270
|
|
|
|
|
|
|
} |
1271
|
|
|
|
|
|
|
|
1272
|
|
|
|
|
|
|
sub get_awgs_single { |
1273
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1274
|
|
|
|
|
|
|
\@_, |
1275
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1276
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1277
|
|
|
|
|
|
|
); |
1278
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
1279
|
0
|
|
|
|
|
|
return $self->get_value( |
1280
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/single", |
1281
|
|
|
|
|
|
|
type=>'I', |
1282
|
|
|
|
|
|
|
); |
1283
|
|
|
|
|
|
|
} |
1284
|
|
|
|
|
|
|
|
1285
|
|
|
|
|
|
|
|
1286
|
|
|
|
|
|
|
|
1287
|
|
|
|
|
|
|
sub set_awgs_sweep_awgtrigs { |
1288
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1289
|
|
|
|
|
|
|
\@_, |
1290
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1291
|
|
|
|
|
|
|
trig=>{isa => 'Int'}, |
1292
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1293
|
|
|
|
|
|
|
); |
1294
|
0
|
|
|
|
|
|
my $awg=delete $args{awg}; |
1295
|
0
|
|
|
|
|
|
my $trig = delete $args{trig}; |
1296
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1297
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/sweep/awgtrigs/$trig", |
1298
|
|
|
|
|
|
|
type=>'D', |
1299
|
|
|
|
|
|
|
value =>$value |
1300
|
|
|
|
|
|
|
); |
1301
|
|
|
|
|
|
|
} |
1302
|
|
|
|
|
|
|
|
1303
|
|
|
|
|
|
|
sub get_awgs_sweep_awgtrigs { |
1304
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1305
|
|
|
|
|
|
|
\@_, |
1306
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1307
|
|
|
|
|
|
|
trig => {isa=> 'Int'}, |
1308
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1309
|
|
|
|
|
|
|
); |
1310
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
1311
|
0
|
|
|
|
|
|
my $trig = delete $args{trig}; |
1312
|
0
|
|
|
|
|
|
return $self->get_value( |
1313
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/sweep/awgtrigs/m", |
1314
|
|
|
|
|
|
|
type=>'D', |
1315
|
|
|
|
|
|
|
); |
1316
|
|
|
|
|
|
|
} |
1317
|
|
|
|
|
|
|
|
1318
|
|
|
|
|
|
|
|
1319
|
|
|
|
|
|
|
|
1320
|
|
|
|
|
|
|
sub set_awgs_time { |
1321
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1322
|
|
|
|
|
|
|
\@_, |
1323
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1324
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1325
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
1326
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1327
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/time", |
1328
|
|
|
|
|
|
|
type=>'I', |
1329
|
|
|
|
|
|
|
value =>$value |
1330
|
|
|
|
|
|
|
); |
1331
|
|
|
|
|
|
|
} |
1332
|
|
|
|
|
|
|
|
1333
|
|
|
|
|
|
|
sub get_awgs_time { |
1334
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1335
|
|
|
|
|
|
|
\@_, |
1336
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1337
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1338
|
|
|
|
|
|
|
); |
1339
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
1340
|
0
|
|
|
|
|
|
return $self->get_value( |
1341
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/time", |
1342
|
|
|
|
|
|
|
type=>'I', |
1343
|
|
|
|
|
|
|
); |
1344
|
|
|
|
|
|
|
} |
1345
|
|
|
|
|
|
|
|
1346
|
|
|
|
|
|
|
|
1347
|
|
|
|
|
|
|
|
1348
|
|
|
|
|
|
|
sub set_awgs_userregs { |
1349
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1350
|
|
|
|
|
|
|
\@_, |
1351
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1352
|
|
|
|
|
|
|
userregs =>{isa=> 'Int'}, |
1353
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1354
|
|
|
|
|
|
|
); |
1355
|
0
|
|
|
|
|
|
my $awg=delete $args{awg}; |
1356
|
0
|
|
|
|
|
|
my $userregs = delete $args{userregs}; |
1357
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1358
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/userregs/$userregs", |
1359
|
|
|
|
|
|
|
type=>'I', |
1360
|
|
|
|
|
|
|
value =>$value |
1361
|
|
|
|
|
|
|
); |
1362
|
|
|
|
|
|
|
} |
1363
|
|
|
|
|
|
|
|
1364
|
|
|
|
|
|
|
sub get_awgs_userregs { |
1365
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1366
|
|
|
|
|
|
|
\@_, |
1367
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1368
|
|
|
|
|
|
|
userregs =>{isa => 'Int'}, |
1369
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1370
|
|
|
|
|
|
|
); |
1371
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
1372
|
0
|
|
|
|
|
|
my $userregs = delete $args{userregs}; |
1373
|
0
|
|
|
|
|
|
return $self->get_value( |
1374
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/userregs/$userregs", |
1375
|
|
|
|
|
|
|
type=>'I', |
1376
|
|
|
|
|
|
|
); |
1377
|
|
|
|
|
|
|
} |
1378
|
|
|
|
|
|
|
|
1379
|
|
|
|
|
|
|
|
1380
|
|
|
|
|
|
|
|
1381
|
|
|
|
|
|
|
sub get_awgs_waveform_memoryusage { |
1382
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1383
|
|
|
|
|
|
|
\@_, |
1384
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1385
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1386
|
|
|
|
|
|
|
); |
1387
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
1388
|
0
|
|
|
|
|
|
return $self->get_value( |
1389
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/waveform/memoryusage", |
1390
|
|
|
|
|
|
|
type=>'D', |
1391
|
|
|
|
|
|
|
); |
1392
|
|
|
|
|
|
|
} |
1393
|
|
|
|
|
|
|
|
1394
|
|
|
|
|
|
|
|
1395
|
|
|
|
|
|
|
|
1396
|
|
|
|
|
|
|
sub get_awgs_waveform_playing { |
1397
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1398
|
|
|
|
|
|
|
\@_, |
1399
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1400
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1401
|
|
|
|
|
|
|
); |
1402
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
1403
|
0
|
|
|
|
|
|
return $self->get_value( |
1404
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/waveform/playing", |
1405
|
|
|
|
|
|
|
type=>'I', |
1406
|
|
|
|
|
|
|
); |
1407
|
|
|
|
|
|
|
} |
1408
|
|
|
|
|
|
|
|
1409
|
|
|
|
|
|
|
|
1410
|
|
|
|
|
|
|
|
1411
|
|
|
|
|
|
|
sub set_awgs_zsync_decoder_mask { |
1412
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1413
|
|
|
|
|
|
|
\@_, |
1414
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1415
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1416
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
1417
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1418
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/zsync/decoder/mask", |
1419
|
|
|
|
|
|
|
type=>'I', |
1420
|
|
|
|
|
|
|
value =>$value |
1421
|
|
|
|
|
|
|
); |
1422
|
|
|
|
|
|
|
} |
1423
|
|
|
|
|
|
|
|
1424
|
|
|
|
|
|
|
sub get_awgs_zsync_decoder_mask { |
1425
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1426
|
|
|
|
|
|
|
\@_, |
1427
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1428
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1429
|
|
|
|
|
|
|
); |
1430
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
1431
|
0
|
|
|
|
|
|
return $self->get_value( |
1432
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/zsync/decoder/mask", |
1433
|
|
|
|
|
|
|
type=>'I', |
1434
|
|
|
|
|
|
|
); |
1435
|
|
|
|
|
|
|
} |
1436
|
|
|
|
|
|
|
|
1437
|
|
|
|
|
|
|
|
1438
|
|
|
|
|
|
|
|
1439
|
|
|
|
|
|
|
sub set_awgs_zsync_decoder_offset { |
1440
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1441
|
|
|
|
|
|
|
\@_, |
1442
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1443
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1444
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
1445
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1446
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/zsync/decoder/offset", |
1447
|
|
|
|
|
|
|
type=>'I', |
1448
|
|
|
|
|
|
|
value =>$value |
1449
|
|
|
|
|
|
|
); |
1450
|
|
|
|
|
|
|
} |
1451
|
|
|
|
|
|
|
|
1452
|
|
|
|
|
|
|
sub get_awgs_zsync_decoder_offset { |
1453
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1454
|
|
|
|
|
|
|
\@_, |
1455
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1456
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1457
|
|
|
|
|
|
|
); |
1458
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
1459
|
0
|
|
|
|
|
|
return $self->get_value( |
1460
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/zsync/decoder/offset", |
1461
|
|
|
|
|
|
|
type=>'I', |
1462
|
|
|
|
|
|
|
); |
1463
|
|
|
|
|
|
|
} |
1464
|
|
|
|
|
|
|
|
1465
|
|
|
|
|
|
|
|
1466
|
|
|
|
|
|
|
|
1467
|
|
|
|
|
|
|
sub set_awgs_zsync_decoder_shift { |
1468
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1469
|
|
|
|
|
|
|
\@_, |
1470
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1471
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1472
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
1473
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1474
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/zsync/decoder/shift", |
1475
|
|
|
|
|
|
|
type=>'I', |
1476
|
|
|
|
|
|
|
value =>$value |
1477
|
|
|
|
|
|
|
); |
1478
|
|
|
|
|
|
|
} |
1479
|
|
|
|
|
|
|
|
1480
|
|
|
|
|
|
|
sub get_awgs_zsync_decoder_shift { |
1481
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1482
|
|
|
|
|
|
|
\@_, |
1483
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1484
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1485
|
|
|
|
|
|
|
); |
1486
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
1487
|
0
|
|
|
|
|
|
return $self->get_value( |
1488
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/zsync/decoder/shift", |
1489
|
|
|
|
|
|
|
type=>'I', |
1490
|
|
|
|
|
|
|
); |
1491
|
|
|
|
|
|
|
} |
1492
|
|
|
|
|
|
|
|
1493
|
|
|
|
|
|
|
|
1494
|
|
|
|
|
|
|
|
1495
|
|
|
|
|
|
|
sub set_awgs_zsync_register_mask { |
1496
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1497
|
|
|
|
|
|
|
\@_, |
1498
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1499
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1500
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
1501
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1502
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/zsync/register/mask", |
1503
|
|
|
|
|
|
|
type=>'I', |
1504
|
|
|
|
|
|
|
value =>$value |
1505
|
|
|
|
|
|
|
); |
1506
|
|
|
|
|
|
|
} |
1507
|
|
|
|
|
|
|
|
1508
|
|
|
|
|
|
|
sub get_awgs_zsync_register_mask { |
1509
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1510
|
|
|
|
|
|
|
\@_, |
1511
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1512
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1513
|
|
|
|
|
|
|
); |
1514
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
1515
|
0
|
|
|
|
|
|
return $self->get_value( |
1516
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/zsync/register/mask", |
1517
|
|
|
|
|
|
|
type=>'I', |
1518
|
|
|
|
|
|
|
); |
1519
|
|
|
|
|
|
|
} |
1520
|
|
|
|
|
|
|
|
1521
|
|
|
|
|
|
|
|
1522
|
|
|
|
|
|
|
|
1523
|
|
|
|
|
|
|
sub set_awgs_zsync_register_offset { |
1524
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1525
|
|
|
|
|
|
|
\@_, |
1526
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1527
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1528
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
1529
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1530
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/zsync/register/offset", |
1531
|
|
|
|
|
|
|
type=>'I', |
1532
|
|
|
|
|
|
|
value =>$value |
1533
|
|
|
|
|
|
|
); |
1534
|
|
|
|
|
|
|
} |
1535
|
|
|
|
|
|
|
|
1536
|
|
|
|
|
|
|
sub get_awgs_zsync_register_offset { |
1537
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1538
|
|
|
|
|
|
|
\@_, |
1539
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1540
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1541
|
|
|
|
|
|
|
); |
1542
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
1543
|
0
|
|
|
|
|
|
return $self->get_value( |
1544
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/zsync/register/offset", |
1545
|
|
|
|
|
|
|
type=>'I', |
1546
|
|
|
|
|
|
|
); |
1547
|
|
|
|
|
|
|
} |
1548
|
|
|
|
|
|
|
|
1549
|
|
|
|
|
|
|
|
1550
|
|
|
|
|
|
|
|
1551
|
|
|
|
|
|
|
sub set_awgs_zsync_register_shift { |
1552
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1553
|
|
|
|
|
|
|
\@_, |
1554
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1555
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1556
|
0
|
|
|
|
|
|
);my $awg=delete $args{awg}; |
1557
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1558
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/zsync/register/shift", |
1559
|
|
|
|
|
|
|
type=>'I', |
1560
|
|
|
|
|
|
|
value =>$value |
1561
|
|
|
|
|
|
|
); |
1562
|
|
|
|
|
|
|
} |
1563
|
|
|
|
|
|
|
|
1564
|
|
|
|
|
|
|
sub get_awgs_zsync_register_shift { |
1565
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1566
|
|
|
|
|
|
|
\@_, |
1567
|
|
|
|
|
|
|
awg=>{isa => 'Int'}, |
1568
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1569
|
|
|
|
|
|
|
); |
1570
|
0
|
|
|
|
|
|
my $awg =delete $args{awg}; |
1571
|
0
|
|
|
|
|
|
return $self->get_value( |
1572
|
|
|
|
|
|
|
path => $self->device()."/awgs/$awg/zsync/register/shift", |
1573
|
|
|
|
|
|
|
type=>'I', |
1574
|
|
|
|
|
|
|
); |
1575
|
|
|
|
|
|
|
} |
1576
|
|
|
|
|
|
|
|
1577
|
|
|
|
|
|
|
|
1578
|
|
|
|
|
|
|
|
1579
|
|
|
|
|
|
|
sub get_clockbase { |
1580
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1581
|
|
|
|
|
|
|
\@_, |
1582
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1583
|
|
|
|
|
|
|
); |
1584
|
0
|
|
|
|
|
|
return $self->get_value( |
1585
|
|
|
|
|
|
|
path => $self->device()."/clockbase", |
1586
|
|
|
|
|
|
|
type=>'D', |
1587
|
|
|
|
|
|
|
); |
1588
|
|
|
|
|
|
|
} |
1589
|
|
|
|
|
|
|
|
1590
|
|
|
|
|
|
|
|
1591
|
|
|
|
|
|
|
sub set_cnts_enable { |
1592
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1593
|
|
|
|
|
|
|
\@_, |
1594
|
|
|
|
|
|
|
cnt=>{isa => 'Int'}, |
1595
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1596
|
0
|
|
|
|
|
|
);my $cnt=delete $args{cnt}; |
1597
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1598
|
|
|
|
|
|
|
path => $self->device()."/cnts/$cnt/enable", |
1599
|
|
|
|
|
|
|
type=>'I', |
1600
|
|
|
|
|
|
|
value =>$value |
1601
|
|
|
|
|
|
|
); |
1602
|
|
|
|
|
|
|
} |
1603
|
|
|
|
|
|
|
|
1604
|
|
|
|
|
|
|
sub get_cnts_enable { |
1605
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1606
|
|
|
|
|
|
|
\@_, |
1607
|
|
|
|
|
|
|
cnt=>{isa => 'Int'}, |
1608
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1609
|
|
|
|
|
|
|
); |
1610
|
0
|
|
|
|
|
|
my $cnt =delete $args{cnt}; |
1611
|
0
|
|
|
|
|
|
return $self->get_value( |
1612
|
|
|
|
|
|
|
path => $self->device()."/cnts/$cnt/enable", |
1613
|
|
|
|
|
|
|
type=>'I', |
1614
|
|
|
|
|
|
|
); |
1615
|
|
|
|
|
|
|
} |
1616
|
|
|
|
|
|
|
|
1617
|
|
|
|
|
|
|
|
1618
|
|
|
|
|
|
|
|
1619
|
|
|
|
|
|
|
sub set_cnts_gateselect { |
1620
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1621
|
|
|
|
|
|
|
\@_, |
1622
|
|
|
|
|
|
|
cnt=>{isa => 'Int'}, |
1623
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1624
|
0
|
|
|
|
|
|
);my $cnt=delete $args{cnt}; |
1625
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1626
|
|
|
|
|
|
|
path => $self->device()."/cnts/$cnt/gateselect", |
1627
|
|
|
|
|
|
|
type=>'I', |
1628
|
|
|
|
|
|
|
value =>$value |
1629
|
|
|
|
|
|
|
); |
1630
|
|
|
|
|
|
|
} |
1631
|
|
|
|
|
|
|
|
1632
|
|
|
|
|
|
|
sub get_cnts_gateselect { |
1633
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1634
|
|
|
|
|
|
|
\@_, |
1635
|
|
|
|
|
|
|
cnt=>{isa => 'Int'}, |
1636
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1637
|
|
|
|
|
|
|
); |
1638
|
0
|
|
|
|
|
|
my $cnt =delete $args{cnt}; |
1639
|
0
|
|
|
|
|
|
return $self->get_value( |
1640
|
|
|
|
|
|
|
path => $self->device()."/cnts/$cnt/gateselect", |
1641
|
|
|
|
|
|
|
type=>'I', |
1642
|
|
|
|
|
|
|
); |
1643
|
|
|
|
|
|
|
} |
1644
|
|
|
|
|
|
|
|
1645
|
|
|
|
|
|
|
|
1646
|
|
|
|
|
|
|
|
1647
|
|
|
|
|
|
|
sub set_cnts_inputselect { |
1648
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1649
|
|
|
|
|
|
|
\@_, |
1650
|
|
|
|
|
|
|
cnt=>{isa => 'Int'}, |
1651
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1652
|
0
|
|
|
|
|
|
);my $cnt=delete $args{cnt}; |
1653
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1654
|
|
|
|
|
|
|
path => $self->device()."/cnts/$cnt/inputselect", |
1655
|
|
|
|
|
|
|
type=>'I', |
1656
|
|
|
|
|
|
|
value =>$value |
1657
|
|
|
|
|
|
|
); |
1658
|
|
|
|
|
|
|
} |
1659
|
|
|
|
|
|
|
|
1660
|
|
|
|
|
|
|
sub get_cnts_inputselect { |
1661
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1662
|
|
|
|
|
|
|
\@_, |
1663
|
|
|
|
|
|
|
cnt=>{isa => 'Int'}, |
1664
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1665
|
|
|
|
|
|
|
); |
1666
|
0
|
|
|
|
|
|
my $cnt =delete $args{cnt}; |
1667
|
0
|
|
|
|
|
|
return $self->get_value( |
1668
|
|
|
|
|
|
|
path => $self->device()."/cnts/$cnt/inputselect", |
1669
|
|
|
|
|
|
|
type=>'I', |
1670
|
|
|
|
|
|
|
); |
1671
|
|
|
|
|
|
|
} |
1672
|
|
|
|
|
|
|
|
1673
|
|
|
|
|
|
|
|
1674
|
|
|
|
|
|
|
|
1675
|
|
|
|
|
|
|
sub set_cnts_integrate { |
1676
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1677
|
|
|
|
|
|
|
\@_, |
1678
|
|
|
|
|
|
|
cnt=>{isa => 'Int'}, |
1679
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1680
|
0
|
|
|
|
|
|
);my $cnt=delete $args{cnt}; |
1681
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1682
|
|
|
|
|
|
|
path => $self->device()."/cnts/$cnt/integrate", |
1683
|
|
|
|
|
|
|
type=>'I', |
1684
|
|
|
|
|
|
|
value =>$value |
1685
|
|
|
|
|
|
|
); |
1686
|
|
|
|
|
|
|
} |
1687
|
|
|
|
|
|
|
|
1688
|
|
|
|
|
|
|
sub get_cnts_integrate { |
1689
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1690
|
|
|
|
|
|
|
\@_, |
1691
|
|
|
|
|
|
|
cnt=>{isa => 'Int'}, |
1692
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1693
|
|
|
|
|
|
|
); |
1694
|
0
|
|
|
|
|
|
my $cnt =delete $args{cnt}; |
1695
|
0
|
|
|
|
|
|
return $self->get_value( |
1696
|
|
|
|
|
|
|
path => $self->device()."/cnts/$cnt/integrate", |
1697
|
|
|
|
|
|
|
type=>'I', |
1698
|
|
|
|
|
|
|
); |
1699
|
|
|
|
|
|
|
} |
1700
|
|
|
|
|
|
|
|
1701
|
|
|
|
|
|
|
|
1702
|
|
|
|
|
|
|
|
1703
|
|
|
|
|
|
|
sub set_cnts_mode { |
1704
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1705
|
|
|
|
|
|
|
\@_, |
1706
|
|
|
|
|
|
|
cnt=>{isa => 'Int'}, |
1707
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1708
|
0
|
|
|
|
|
|
);my $cnt=delete $args{cnt}; |
1709
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1710
|
|
|
|
|
|
|
path => $self->device()."/cnts/$cnt/mode", |
1711
|
|
|
|
|
|
|
type=>'I', |
1712
|
|
|
|
|
|
|
value =>$value |
1713
|
|
|
|
|
|
|
); |
1714
|
|
|
|
|
|
|
} |
1715
|
|
|
|
|
|
|
|
1716
|
|
|
|
|
|
|
sub get_cnts_mode { |
1717
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1718
|
|
|
|
|
|
|
\@_, |
1719
|
|
|
|
|
|
|
cnt=>{isa => 'Int'}, |
1720
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1721
|
|
|
|
|
|
|
); |
1722
|
0
|
|
|
|
|
|
my $cnt =delete $args{cnt}; |
1723
|
0
|
|
|
|
|
|
return $self->get_value( |
1724
|
|
|
|
|
|
|
path => $self->device()."/cnts/$cnt/mode", |
1725
|
|
|
|
|
|
|
type=>'I', |
1726
|
|
|
|
|
|
|
); |
1727
|
|
|
|
|
|
|
} |
1728
|
|
|
|
|
|
|
|
1729
|
|
|
|
|
|
|
|
1730
|
|
|
|
|
|
|
|
1731
|
|
|
|
|
|
|
sub set_cnts_operation { |
1732
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1733
|
|
|
|
|
|
|
\@_, |
1734
|
|
|
|
|
|
|
cnt=>{isa => 'Int'}, |
1735
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1736
|
0
|
|
|
|
|
|
);my $cnt=delete $args{cnt}; |
1737
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1738
|
|
|
|
|
|
|
path => $self->device()."/cnts/$cnt/operation", |
1739
|
|
|
|
|
|
|
type=>'I', |
1740
|
|
|
|
|
|
|
value =>$value |
1741
|
|
|
|
|
|
|
); |
1742
|
|
|
|
|
|
|
} |
1743
|
|
|
|
|
|
|
|
1744
|
|
|
|
|
|
|
sub get_cnts_operation { |
1745
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1746
|
|
|
|
|
|
|
\@_, |
1747
|
|
|
|
|
|
|
cnt=>{isa => 'Int'}, |
1748
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1749
|
|
|
|
|
|
|
); |
1750
|
0
|
|
|
|
|
|
my $cnt =delete $args{cnt}; |
1751
|
0
|
|
|
|
|
|
return $self->get_value( |
1752
|
|
|
|
|
|
|
path => $self->device()."/cnts/$cnt/operation", |
1753
|
|
|
|
|
|
|
type=>'I', |
1754
|
|
|
|
|
|
|
); |
1755
|
|
|
|
|
|
|
} |
1756
|
|
|
|
|
|
|
|
1757
|
|
|
|
|
|
|
|
1758
|
|
|
|
|
|
|
|
1759
|
|
|
|
|
|
|
sub set_cnts_period { |
1760
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1761
|
|
|
|
|
|
|
\@_, |
1762
|
|
|
|
|
|
|
cnt=>{isa => 'Int'}, |
1763
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1764
|
0
|
|
|
|
|
|
);my $cnt=delete $args{cnt}; |
1765
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1766
|
|
|
|
|
|
|
path => $self->device()."/cnts/$cnt/period", |
1767
|
|
|
|
|
|
|
type=>'D', |
1768
|
|
|
|
|
|
|
value =>$value |
1769
|
|
|
|
|
|
|
); |
1770
|
|
|
|
|
|
|
} |
1771
|
|
|
|
|
|
|
|
1772
|
|
|
|
|
|
|
sub get_cnts_period { |
1773
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1774
|
|
|
|
|
|
|
\@_, |
1775
|
|
|
|
|
|
|
cnt=>{isa => 'Int'}, |
1776
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1777
|
|
|
|
|
|
|
); |
1778
|
0
|
|
|
|
|
|
my $cnt =delete $args{cnt}; |
1779
|
0
|
|
|
|
|
|
return $self->get_value( |
1780
|
|
|
|
|
|
|
path => $self->device()."/cnts/$cnt/period", |
1781
|
|
|
|
|
|
|
type=>'D', |
1782
|
|
|
|
|
|
|
); |
1783
|
|
|
|
|
|
|
} |
1784
|
|
|
|
|
|
|
|
1785
|
|
|
|
|
|
|
|
1786
|
|
|
|
|
|
|
|
1787
|
|
|
|
|
|
|
sub set_cnts_trigfalling { |
1788
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1789
|
|
|
|
|
|
|
\@_, |
1790
|
|
|
|
|
|
|
cnt=>{isa => 'Int'}, |
1791
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1792
|
0
|
|
|
|
|
|
);my $cnt=delete $args{cnt}; |
1793
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1794
|
|
|
|
|
|
|
path => $self->device()."/cnts/$cnt/trigfalling", |
1795
|
|
|
|
|
|
|
type=>'I', |
1796
|
|
|
|
|
|
|
value =>$value |
1797
|
|
|
|
|
|
|
); |
1798
|
|
|
|
|
|
|
} |
1799
|
|
|
|
|
|
|
|
1800
|
|
|
|
|
|
|
sub get_cnts_trigfalling { |
1801
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1802
|
|
|
|
|
|
|
\@_, |
1803
|
|
|
|
|
|
|
cnt=>{isa => 'Int'}, |
1804
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1805
|
|
|
|
|
|
|
); |
1806
|
0
|
|
|
|
|
|
my $cnt =delete $args{cnt}; |
1807
|
0
|
|
|
|
|
|
return $self->get_value( |
1808
|
|
|
|
|
|
|
path => $self->device()."/cnts/$cnt/trigfalling", |
1809
|
|
|
|
|
|
|
type=>'I', |
1810
|
|
|
|
|
|
|
); |
1811
|
|
|
|
|
|
|
} |
1812
|
|
|
|
|
|
|
|
1813
|
|
|
|
|
|
|
|
1814
|
|
|
|
|
|
|
|
1815
|
|
|
|
|
|
|
sub set_cnts_trigrising { |
1816
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1817
|
|
|
|
|
|
|
\@_, |
1818
|
|
|
|
|
|
|
cnt=>{isa => 'Int'}, |
1819
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1820
|
0
|
|
|
|
|
|
);my $cnt=delete $args{cnt}; |
1821
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1822
|
|
|
|
|
|
|
path => $self->device()."/cnts/$cnt/trigrising", |
1823
|
|
|
|
|
|
|
type=>'I', |
1824
|
|
|
|
|
|
|
value =>$value |
1825
|
|
|
|
|
|
|
); |
1826
|
|
|
|
|
|
|
} |
1827
|
|
|
|
|
|
|
|
1828
|
|
|
|
|
|
|
sub get_cnts_trigrising { |
1829
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1830
|
|
|
|
|
|
|
\@_, |
1831
|
|
|
|
|
|
|
cnt=>{isa => 'Int'}, |
1832
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1833
|
|
|
|
|
|
|
); |
1834
|
0
|
|
|
|
|
|
my $cnt =delete $args{cnt}; |
1835
|
0
|
|
|
|
|
|
return $self->get_value( |
1836
|
|
|
|
|
|
|
path => $self->device()."/cnts/$cnt/trigrising", |
1837
|
|
|
|
|
|
|
type=>'I', |
1838
|
|
|
|
|
|
|
); |
1839
|
|
|
|
|
|
|
} |
1840
|
|
|
|
|
|
|
|
1841
|
|
|
|
|
|
|
|
1842
|
|
|
|
|
|
|
|
1843
|
|
|
|
|
|
|
sub get_cnts_value { |
1844
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1845
|
|
|
|
|
|
|
\@_, |
1846
|
|
|
|
|
|
|
cnt=>{isa => 'Int'}, |
1847
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1848
|
|
|
|
|
|
|
); |
1849
|
0
|
|
|
|
|
|
my $cnt =delete $args{cnt}; |
1850
|
0
|
|
|
|
|
|
return $self->get_value( |
1851
|
|
|
|
|
|
|
path => $self->device()."/cnts/$cnt/value", |
1852
|
|
|
|
|
|
|
type=>'I', |
1853
|
|
|
|
|
|
|
); |
1854
|
|
|
|
|
|
|
} |
1855
|
|
|
|
|
|
|
|
1856
|
|
|
|
|
|
|
|
1857
|
|
|
|
|
|
|
|
1858
|
|
|
|
|
|
|
sub set_dios_drive { |
1859
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1860
|
|
|
|
|
|
|
\@_, |
1861
|
|
|
|
|
|
|
dio=>{isa => 'Int'}, |
1862
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1863
|
0
|
|
|
|
|
|
);my $dio=delete $args{dio}; |
1864
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1865
|
|
|
|
|
|
|
path => $self->device()."/dios/$dio/drive", |
1866
|
|
|
|
|
|
|
type=>'I', |
1867
|
|
|
|
|
|
|
value =>$value |
1868
|
|
|
|
|
|
|
); |
1869
|
|
|
|
|
|
|
} |
1870
|
|
|
|
|
|
|
|
1871
|
|
|
|
|
|
|
sub get_dios_drive { |
1872
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1873
|
|
|
|
|
|
|
\@_, |
1874
|
|
|
|
|
|
|
dio=>{isa => 'Int'}, |
1875
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1876
|
|
|
|
|
|
|
); |
1877
|
0
|
|
|
|
|
|
my $dio =delete $args{dio}; |
1878
|
0
|
|
|
|
|
|
return $self->get_value( |
1879
|
|
|
|
|
|
|
path => $self->device()."/dios/$dio/drive", |
1880
|
|
|
|
|
|
|
type=>'I', |
1881
|
|
|
|
|
|
|
); |
1882
|
|
|
|
|
|
|
} |
1883
|
|
|
|
|
|
|
|
1884
|
|
|
|
|
|
|
|
1885
|
|
|
|
|
|
|
|
1886
|
|
|
|
|
|
|
sub get_dios_input { |
1887
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1888
|
|
|
|
|
|
|
\@_, |
1889
|
|
|
|
|
|
|
dio=>{isa => 'Int'}, |
1890
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1891
|
|
|
|
|
|
|
); |
1892
|
0
|
|
|
|
|
|
my $dio =delete $args{dio}; |
1893
|
0
|
|
|
|
|
|
return $self->get_value( |
1894
|
|
|
|
|
|
|
path => $self->device()."/dios/$dio/input", |
1895
|
|
|
|
|
|
|
type=>'I', |
1896
|
|
|
|
|
|
|
); |
1897
|
|
|
|
|
|
|
} |
1898
|
|
|
|
|
|
|
|
1899
|
|
|
|
|
|
|
|
1900
|
|
|
|
|
|
|
|
1901
|
|
|
|
|
|
|
sub set_dios_interface { |
1902
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1903
|
|
|
|
|
|
|
\@_, |
1904
|
|
|
|
|
|
|
dio=>{isa => 'Int'}, |
1905
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1906
|
0
|
|
|
|
|
|
);my $dio=delete $args{dio}; |
1907
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1908
|
|
|
|
|
|
|
path => $self->device()."/dios/$dio/interface", |
1909
|
|
|
|
|
|
|
type=>'I', |
1910
|
|
|
|
|
|
|
value =>$value |
1911
|
|
|
|
|
|
|
); |
1912
|
|
|
|
|
|
|
} |
1913
|
|
|
|
|
|
|
|
1914
|
|
|
|
|
|
|
sub get_dios_interface { |
1915
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1916
|
|
|
|
|
|
|
\@_, |
1917
|
|
|
|
|
|
|
dio=>{isa => 'Int'}, |
1918
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1919
|
|
|
|
|
|
|
); |
1920
|
0
|
|
|
|
|
|
my $dio =delete $args{dio}; |
1921
|
0
|
|
|
|
|
|
return $self->get_value( |
1922
|
|
|
|
|
|
|
path => $self->device()."/dios/$dio/interface", |
1923
|
|
|
|
|
|
|
type=>'I', |
1924
|
|
|
|
|
|
|
); |
1925
|
|
|
|
|
|
|
} |
1926
|
|
|
|
|
|
|
|
1927
|
|
|
|
|
|
|
|
1928
|
|
|
|
|
|
|
|
1929
|
|
|
|
|
|
|
sub set_dios_mode { |
1930
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1931
|
|
|
|
|
|
|
\@_, |
1932
|
|
|
|
|
|
|
dio=>{isa => 'Int'}, |
1933
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1934
|
0
|
|
|
|
|
|
);my $dio=delete $args{dio}; |
1935
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1936
|
|
|
|
|
|
|
path => $self->device()."/dios/$dio/mode", |
1937
|
|
|
|
|
|
|
type=>'I', |
1938
|
|
|
|
|
|
|
value =>$value |
1939
|
|
|
|
|
|
|
); |
1940
|
|
|
|
|
|
|
} |
1941
|
|
|
|
|
|
|
|
1942
|
|
|
|
|
|
|
sub get_dios_mode { |
1943
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1944
|
|
|
|
|
|
|
\@_, |
1945
|
|
|
|
|
|
|
dio=>{isa => 'Int'}, |
1946
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1947
|
|
|
|
|
|
|
); |
1948
|
0
|
|
|
|
|
|
my $dio =delete $args{dio}; |
1949
|
0
|
|
|
|
|
|
return $self->get_value( |
1950
|
|
|
|
|
|
|
path => $self->device()."/dios/$dio/mode", |
1951
|
|
|
|
|
|
|
type=>'I', |
1952
|
|
|
|
|
|
|
); |
1953
|
|
|
|
|
|
|
} |
1954
|
|
|
|
|
|
|
|
1955
|
|
|
|
|
|
|
|
1956
|
|
|
|
|
|
|
|
1957
|
|
|
|
|
|
|
sub set_dios_output { |
1958
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1959
|
|
|
|
|
|
|
\@_, |
1960
|
|
|
|
|
|
|
dio=>{isa => 'Int'}, |
1961
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
1962
|
0
|
|
|
|
|
|
);my $dio=delete $args{dio}; |
1963
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1964
|
|
|
|
|
|
|
path => $self->device()."/dios/$dio/output", |
1965
|
|
|
|
|
|
|
type=>'I', |
1966
|
|
|
|
|
|
|
value =>$value |
1967
|
|
|
|
|
|
|
); |
1968
|
|
|
|
|
|
|
} |
1969
|
|
|
|
|
|
|
|
1970
|
|
|
|
|
|
|
sub get_dios_output { |
1971
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1972
|
|
|
|
|
|
|
\@_, |
1973
|
|
|
|
|
|
|
dio=>{isa => 'Int'}, |
1974
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
1975
|
|
|
|
|
|
|
); |
1976
|
0
|
|
|
|
|
|
my $dio =delete $args{dio}; |
1977
|
0
|
|
|
|
|
|
return $self->get_value( |
1978
|
|
|
|
|
|
|
path => $self->device()."/dios/$dio/output", |
1979
|
|
|
|
|
|
|
type=>'I', |
1980
|
|
|
|
|
|
|
); |
1981
|
|
|
|
|
|
|
} |
1982
|
|
|
|
|
|
|
|
1983
|
|
|
|
|
|
|
|
1984
|
|
|
|
|
|
|
|
1985
|
|
|
|
|
|
|
|
1986
|
|
|
|
|
|
|
sub set_features_code { |
1987
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
1988
|
|
|
|
|
|
|
\@_, |
1989
|
|
|
|
|
|
|
value =>{isa =>'Str'}, |
1990
|
|
|
|
|
|
|
); |
1991
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
1992
|
|
|
|
|
|
|
path => $self->device()."/features/code", |
1993
|
|
|
|
|
|
|
type=>'B', |
1994
|
|
|
|
|
|
|
value =>$value |
1995
|
|
|
|
|
|
|
); |
1996
|
|
|
|
|
|
|
} |
1997
|
|
|
|
|
|
|
|
1998
|
|
|
|
|
|
|
|
1999
|
|
|
|
|
|
|
|
2000
|
|
|
|
|
|
|
sub get_features_devtype { |
2001
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2002
|
|
|
|
|
|
|
\@_, |
2003
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2004
|
|
|
|
|
|
|
read_length => {isa=>'Int'}, |
2005
|
|
|
|
|
|
|
); |
2006
|
0
|
|
|
|
|
|
my $read_length = delete $args{read_length}; |
2007
|
|
|
|
|
|
|
|
2008
|
0
|
|
|
|
|
|
return $self->connection->get_value( |
2009
|
|
|
|
|
|
|
path => $self->device()."/features/devtype", |
2010
|
|
|
|
|
|
|
type=>'B', |
2011
|
|
|
|
|
|
|
read_length =>$read_length |
2012
|
|
|
|
|
|
|
); |
2013
|
|
|
|
|
|
|
} |
2014
|
|
|
|
|
|
|
|
2015
|
|
|
|
|
|
|
|
2016
|
|
|
|
|
|
|
|
2017
|
|
|
|
|
|
|
sub get_features_options { |
2018
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2019
|
|
|
|
|
|
|
\@_, |
2020
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2021
|
|
|
|
|
|
|
read_length => {isa=>'Num'} |
2022
|
|
|
|
|
|
|
); |
2023
|
0
|
|
|
|
|
|
my $read_length = delete $args{read_length}; |
2024
|
0
|
|
|
|
|
|
return $self->connection->get_value( |
2025
|
|
|
|
|
|
|
path => $self->device()."/features/options", |
2026
|
|
|
|
|
|
|
type=>'B', |
2027
|
|
|
|
|
|
|
read_length => $read_length |
2028
|
|
|
|
|
|
|
); |
2029
|
|
|
|
|
|
|
} |
2030
|
|
|
|
|
|
|
|
2031
|
|
|
|
|
|
|
|
2032
|
|
|
|
|
|
|
|
2033
|
|
|
|
|
|
|
sub get_features_serial { |
2034
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2035
|
|
|
|
|
|
|
\@_, |
2036
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2037
|
|
|
|
|
|
|
read_length =>{isa=>'Int'} |
2038
|
|
|
|
|
|
|
); |
2039
|
0
|
|
|
|
|
|
my $read_length = delete $args{read_length}; |
2040
|
|
|
|
|
|
|
|
2041
|
0
|
|
|
|
|
|
return $self->connection->get_value( |
2042
|
|
|
|
|
|
|
path => $self->device()."/features/serial", |
2043
|
|
|
|
|
|
|
type=>'B', |
2044
|
|
|
|
|
|
|
read_length=>$read_length |
2045
|
|
|
|
|
|
|
); |
2046
|
|
|
|
|
|
|
} |
2047
|
|
|
|
|
|
|
|
2048
|
|
|
|
|
|
|
|
2049
|
|
|
|
|
|
|
|
2050
|
|
|
|
|
|
|
sub set_oscs_freq { |
2051
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2052
|
|
|
|
|
|
|
\@_, |
2053
|
|
|
|
|
|
|
osc=>{isa => 'Int'}, |
2054
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
2055
|
0
|
|
|
|
|
|
);my $osc=delete $args{osc}; |
2056
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
2057
|
|
|
|
|
|
|
path => $self->device()."/oscs/$osc/freq", |
2058
|
|
|
|
|
|
|
type=>'D', |
2059
|
|
|
|
|
|
|
value =>$value |
2060
|
|
|
|
|
|
|
); |
2061
|
|
|
|
|
|
|
} |
2062
|
|
|
|
|
|
|
|
2063
|
|
|
|
|
|
|
sub get_oscs_freq { |
2064
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2065
|
|
|
|
|
|
|
\@_, |
2066
|
|
|
|
|
|
|
osc=>{isa => 'Int'}, |
2067
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2068
|
|
|
|
|
|
|
); |
2069
|
0
|
|
|
|
|
|
my $osc =delete $args{osc}; |
2070
|
0
|
|
|
|
|
|
return $self->get_value( |
2071
|
|
|
|
|
|
|
path => $self->device()."/oscs/$osc/freq", |
2072
|
|
|
|
|
|
|
type=>'D', |
2073
|
|
|
|
|
|
|
); |
2074
|
|
|
|
|
|
|
} |
2075
|
|
|
|
|
|
|
|
2076
|
|
|
|
|
|
|
|
2077
|
|
|
|
|
|
|
|
2078
|
|
|
|
|
|
|
sub get_oscs_freqawg { |
2079
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2080
|
|
|
|
|
|
|
\@_, |
2081
|
|
|
|
|
|
|
osc=>{isa => 'Int'}, |
2082
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2083
|
|
|
|
|
|
|
); |
2084
|
0
|
|
|
|
|
|
my $osc =delete $args{osc}; |
2085
|
0
|
|
|
|
|
|
return $self->get_value( |
2086
|
|
|
|
|
|
|
path => $self->device()."/oscs/$osc/freqawg", |
2087
|
|
|
|
|
|
|
type=>'D', |
2088
|
|
|
|
|
|
|
); |
2089
|
|
|
|
|
|
|
} |
2090
|
|
|
|
|
|
|
|
2091
|
|
|
|
|
|
|
|
2092
|
|
|
|
|
|
|
|
2093
|
|
|
|
|
|
|
sub get_sigouts_busy { |
2094
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2095
|
|
|
|
|
|
|
\@_, |
2096
|
|
|
|
|
|
|
sigout=>{isa => 'Int'}, |
2097
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2098
|
|
|
|
|
|
|
); |
2099
|
0
|
|
|
|
|
|
my $sigout =delete $args{sigout}; |
2100
|
0
|
|
|
|
|
|
return $self->get_value( |
2101
|
|
|
|
|
|
|
path => $self->device()."/sigouts/$sigout/busy", |
2102
|
|
|
|
|
|
|
type=>'I', |
2103
|
|
|
|
|
|
|
); |
2104
|
|
|
|
|
|
|
} |
2105
|
|
|
|
|
|
|
|
2106
|
|
|
|
|
|
|
|
2107
|
|
|
|
|
|
|
|
2108
|
|
|
|
|
|
|
sub set_sigouts_delay { |
2109
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2110
|
|
|
|
|
|
|
\@_, |
2111
|
|
|
|
|
|
|
sigout=>{isa => 'Int'}, |
2112
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
2113
|
0
|
|
|
|
|
|
);my $sigout=delete $args{sigout}; |
2114
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
2115
|
|
|
|
|
|
|
path => $self->device()."/sigouts/$sigout/delay", |
2116
|
|
|
|
|
|
|
type=>'D', |
2117
|
|
|
|
|
|
|
value =>$value |
2118
|
|
|
|
|
|
|
); |
2119
|
|
|
|
|
|
|
} |
2120
|
|
|
|
|
|
|
|
2121
|
|
|
|
|
|
|
sub get_sigouts_delay { |
2122
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2123
|
|
|
|
|
|
|
\@_, |
2124
|
|
|
|
|
|
|
sigout=>{isa => 'Int'}, |
2125
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2126
|
|
|
|
|
|
|
); |
2127
|
0
|
|
|
|
|
|
my $sigout =delete $args{sigout}; |
2128
|
0
|
|
|
|
|
|
return $self->get_value( |
2129
|
|
|
|
|
|
|
path => $self->device()."/sigouts/$sigout/delay", |
2130
|
|
|
|
|
|
|
type=>'D', |
2131
|
|
|
|
|
|
|
); |
2132
|
|
|
|
|
|
|
} |
2133
|
|
|
|
|
|
|
|
2134
|
|
|
|
|
|
|
|
2135
|
|
|
|
|
|
|
|
2136
|
|
|
|
|
|
|
sub set_sigouts_direct { |
2137
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2138
|
|
|
|
|
|
|
\@_, |
2139
|
|
|
|
|
|
|
sigout=>{isa => 'Int'}, |
2140
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
2141
|
0
|
|
|
|
|
|
);my $sigout=delete $args{sigout}; |
2142
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
2143
|
|
|
|
|
|
|
path => $self->device()."/sigouts/$sigout/direct", |
2144
|
|
|
|
|
|
|
type=>'I', |
2145
|
|
|
|
|
|
|
value =>$value |
2146
|
|
|
|
|
|
|
); |
2147
|
|
|
|
|
|
|
} |
2148
|
|
|
|
|
|
|
|
2149
|
|
|
|
|
|
|
sub get_sigouts_direct { |
2150
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2151
|
|
|
|
|
|
|
\@_, |
2152
|
|
|
|
|
|
|
sigout=>{isa => 'Int'}, |
2153
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2154
|
|
|
|
|
|
|
); |
2155
|
0
|
|
|
|
|
|
my $sigout =delete $args{sigout}; |
2156
|
0
|
|
|
|
|
|
return $self->get_value( |
2157
|
|
|
|
|
|
|
path => $self->device()."/sigouts/$sigout/direct", |
2158
|
|
|
|
|
|
|
type=>'I', |
2159
|
|
|
|
|
|
|
); |
2160
|
|
|
|
|
|
|
} |
2161
|
|
|
|
|
|
|
|
2162
|
|
|
|
|
|
|
|
2163
|
|
|
|
|
|
|
|
2164
|
|
|
|
|
|
|
sub set_sigouts_filter { |
2165
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2166
|
|
|
|
|
|
|
\@_, |
2167
|
|
|
|
|
|
|
sigout=>{isa => 'Int'}, |
2168
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
2169
|
0
|
|
|
|
|
|
);my $sigout=delete $args{sigout}; |
2170
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
2171
|
|
|
|
|
|
|
path => $self->device()."/sigouts/$sigout/filter", |
2172
|
|
|
|
|
|
|
type=>'I', |
2173
|
|
|
|
|
|
|
value =>$value |
2174
|
|
|
|
|
|
|
); |
2175
|
|
|
|
|
|
|
} |
2176
|
|
|
|
|
|
|
|
2177
|
|
|
|
|
|
|
sub get_sigouts_filter { |
2178
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2179
|
|
|
|
|
|
|
\@_, |
2180
|
|
|
|
|
|
|
sigout=>{isa => 'Int'}, |
2181
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2182
|
|
|
|
|
|
|
); |
2183
|
0
|
|
|
|
|
|
my $sigout =delete $args{sigout}; |
2184
|
0
|
|
|
|
|
|
return $self->get_value( |
2185
|
|
|
|
|
|
|
path => $self->device()."/sigouts/$sigout/filter", |
2186
|
|
|
|
|
|
|
type=>'I', |
2187
|
|
|
|
|
|
|
); |
2188
|
|
|
|
|
|
|
} |
2189
|
|
|
|
|
|
|
|
2190
|
|
|
|
|
|
|
|
2191
|
|
|
|
|
|
|
|
2192
|
|
|
|
|
|
|
sub get_sigouts_max { |
2193
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2194
|
|
|
|
|
|
|
\@_, |
2195
|
|
|
|
|
|
|
sigout=>{isa => 'Int'}, |
2196
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2197
|
|
|
|
|
|
|
); |
2198
|
0
|
|
|
|
|
|
my $sigout =delete $args{sigout}; |
2199
|
0
|
|
|
|
|
|
return $self->get_value( |
2200
|
|
|
|
|
|
|
path => $self->device()."/sigouts/$sigout/max", |
2201
|
|
|
|
|
|
|
type=>'D', |
2202
|
|
|
|
|
|
|
); |
2203
|
|
|
|
|
|
|
} |
2204
|
|
|
|
|
|
|
|
2205
|
|
|
|
|
|
|
|
2206
|
|
|
|
|
|
|
|
2207
|
|
|
|
|
|
|
sub get_sigouts_min { |
2208
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2209
|
|
|
|
|
|
|
\@_, |
2210
|
|
|
|
|
|
|
sigout=>{isa => 'Int'}, |
2211
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2212
|
|
|
|
|
|
|
); |
2213
|
0
|
|
|
|
|
|
my $sigout =delete $args{sigout}; |
2214
|
0
|
|
|
|
|
|
return $self->get_value( |
2215
|
|
|
|
|
|
|
path => $self->device()."/sigouts/$sigout/min", |
2216
|
|
|
|
|
|
|
type=>'D', |
2217
|
|
|
|
|
|
|
); |
2218
|
|
|
|
|
|
|
} |
2219
|
|
|
|
|
|
|
|
2220
|
|
|
|
|
|
|
|
2221
|
|
|
|
|
|
|
|
2222
|
|
|
|
|
|
|
sub set_sigouts_offset { |
2223
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2224
|
|
|
|
|
|
|
\@_, |
2225
|
|
|
|
|
|
|
sigout=>{isa => 'Int'}, |
2226
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
2227
|
0
|
|
|
|
|
|
);my $sigout=delete $args{sigout}; |
2228
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
2229
|
|
|
|
|
|
|
path => $self->device()."/sigouts/$sigout/offset", |
2230
|
|
|
|
|
|
|
type=>'D', |
2231
|
|
|
|
|
|
|
value =>$value |
2232
|
|
|
|
|
|
|
); |
2233
|
|
|
|
|
|
|
} |
2234
|
|
|
|
|
|
|
|
2235
|
|
|
|
|
|
|
sub get_sigouts_offset { |
2236
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2237
|
|
|
|
|
|
|
\@_, |
2238
|
|
|
|
|
|
|
sigout=>{isa => 'Int'}, |
2239
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2240
|
|
|
|
|
|
|
); |
2241
|
0
|
|
|
|
|
|
my $sigout =delete $args{sigout}; |
2242
|
0
|
|
|
|
|
|
return $self->get_value( |
2243
|
|
|
|
|
|
|
path => $self->device()."/sigouts/$sigout/offset", |
2244
|
|
|
|
|
|
|
type=>'D', |
2245
|
|
|
|
|
|
|
); |
2246
|
|
|
|
|
|
|
} |
2247
|
|
|
|
|
|
|
|
2248
|
|
|
|
|
|
|
|
2249
|
|
|
|
|
|
|
|
2250
|
|
|
|
|
|
|
sub set_sigouts_on { |
2251
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2252
|
|
|
|
|
|
|
\@_, |
2253
|
|
|
|
|
|
|
sigout=>{isa => 'Int'}, |
2254
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
2255
|
0
|
|
|
|
|
|
);my $sigout=delete $args{sigout}; |
2256
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
2257
|
|
|
|
|
|
|
path => $self->device()."/sigouts/$sigout/on", |
2258
|
|
|
|
|
|
|
type=>'I', |
2259
|
|
|
|
|
|
|
value =>$value |
2260
|
|
|
|
|
|
|
); |
2261
|
|
|
|
|
|
|
} |
2262
|
|
|
|
|
|
|
|
2263
|
|
|
|
|
|
|
sub get_sigouts_on { |
2264
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2265
|
|
|
|
|
|
|
\@_, |
2266
|
|
|
|
|
|
|
sigout=>{isa => 'Int'}, |
2267
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2268
|
|
|
|
|
|
|
); |
2269
|
0
|
|
|
|
|
|
my $sigout =delete $args{sigout}; |
2270
|
0
|
|
|
|
|
|
return $self->get_value( |
2271
|
|
|
|
|
|
|
path => $self->device()."/sigouts/$sigout/on", |
2272
|
|
|
|
|
|
|
type=>'I', |
2273
|
|
|
|
|
|
|
); |
2274
|
|
|
|
|
|
|
} |
2275
|
|
|
|
|
|
|
|
2276
|
|
|
|
|
|
|
|
2277
|
|
|
|
|
|
|
|
2278
|
|
|
|
|
|
|
sub get_sigouts_over { |
2279
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2280
|
|
|
|
|
|
|
\@_, |
2281
|
|
|
|
|
|
|
sigout=>{isa => 'Int'}, |
2282
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2283
|
|
|
|
|
|
|
); |
2284
|
0
|
|
|
|
|
|
my $sigout =delete $args{sigout}; |
2285
|
0
|
|
|
|
|
|
return $self->get_value( |
2286
|
|
|
|
|
|
|
path => $self->device()."/sigouts/$sigout/over", |
2287
|
|
|
|
|
|
|
type=>'I', |
2288
|
|
|
|
|
|
|
); |
2289
|
|
|
|
|
|
|
} |
2290
|
|
|
|
|
|
|
|
2291
|
|
|
|
|
|
|
# =head3 /DEV/SIGOUTS/n/PRECOMPENSATION/BOUNCES/m/DELAY |
2292
|
|
|
|
|
|
|
# Properties: Read Write Setting |
2293
|
|
|
|
|
|
|
# Type: Double(D) |
2294
|
|
|
|
|
|
|
# Unit: s |
2295
|
|
|
|
|
|
|
|
2296
|
|
|
|
|
|
|
# set_sigouts_precompensation_bounces_delay(sigout => $sigout, bounce => $bounce, value => $value) |
2297
|
|
|
|
|
|
|
# get_sigouts_precompensation_bounces_delay(sigout => $sigout, bounce => $bounce) |
2298
|
|
|
|
|
|
|
|
2299
|
|
|
|
|
|
|
# Sets the delay of the bounce correction filter. |
2300
|
|
|
|
|
|
|
# Note: This option was not available in the device used for developement, it is therefore untested. |
2301
|
|
|
|
|
|
|
# =cut |
2302
|
|
|
|
|
|
|
|
2303
|
|
|
|
|
|
|
|
2304
|
|
|
|
|
|
|
# sub set_sigouts_precompensation_bounces_delay { |
2305
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
2306
|
|
|
|
|
|
|
# \@_, |
2307
|
|
|
|
|
|
|
# sigout=>{isa => 'Int'}, |
2308
|
|
|
|
|
|
|
# bounce=>{isa => 'Int'}, |
2309
|
|
|
|
|
|
|
# value =>{isa =>'Num'}, |
2310
|
|
|
|
|
|
|
# );my $sigout=delete $args{sigout}; |
2311
|
|
|
|
|
|
|
# my $bounce=delete $args{bounce}; |
2312
|
|
|
|
|
|
|
# return $self->sync_set_value( |
2313
|
|
|
|
|
|
|
# path => $self->device()."/sigouts/$sigout/precompensation/bounces/$bounce/delay", |
2314
|
|
|
|
|
|
|
# type=>'D', |
2315
|
|
|
|
|
|
|
# value =>$value |
2316
|
|
|
|
|
|
|
# ); |
2317
|
|
|
|
|
|
|
# } |
2318
|
|
|
|
|
|
|
|
2319
|
|
|
|
|
|
|
# sub get_sigouts_precompensation_bounces_delay { |
2320
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
2321
|
|
|
|
|
|
|
# \@_, |
2322
|
|
|
|
|
|
|
# sigout=>{isa => 'Int'}, |
2323
|
|
|
|
|
|
|
# bounce=>{isa => 'Int'}, |
2324
|
|
|
|
|
|
|
# value =>{isa =>'Num',optional=>1}, |
2325
|
|
|
|
|
|
|
# ); |
2326
|
|
|
|
|
|
|
# my $sigout =delete $args{sigout}; |
2327
|
|
|
|
|
|
|
# my $bounce =delete $args{bounce}; |
2328
|
|
|
|
|
|
|
# return $self->get_value( |
2329
|
|
|
|
|
|
|
# path => $self->device()."/sigouts/$sigout/precompensation/bounces/$bounce/delay", |
2330
|
|
|
|
|
|
|
# type=>'D', |
2331
|
|
|
|
|
|
|
# ); |
2332
|
|
|
|
|
|
|
# } |
2333
|
|
|
|
|
|
|
|
2334
|
|
|
|
|
|
|
# =head3 /DEV/SIGOUTS/n/PRECOMPENSATION/BOUNCES/m/ENABLE |
2335
|
|
|
|
|
|
|
# Properties: Read Write Setting |
2336
|
|
|
|
|
|
|
# Type: Integer (64 bit)(I) |
2337
|
|
|
|
|
|
|
# Unit: None |
2338
|
|
|
|
|
|
|
|
2339
|
|
|
|
|
|
|
# set_sigouts_precompensation_bounces_enable(sigout => $sigout, bounce => $bounce, value => $value) |
2340
|
|
|
|
|
|
|
# get_sigouts_precompensation_bounces_enable(sigout => $sigout, bounce => $bounce) |
2341
|
|
|
|
|
|
|
|
2342
|
|
|
|
|
|
|
# Enables (1) or disables (0) the bounce correction filter. |
2343
|
|
|
|
|
|
|
# Note: This option was not available in the device used for developement, it is therefore untested. |
2344
|
|
|
|
|
|
|
# =cut |
2345
|
|
|
|
|
|
|
|
2346
|
|
|
|
|
|
|
|
2347
|
|
|
|
|
|
|
# sub set_sigouts_precompensation_bounces_enable { |
2348
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
2349
|
|
|
|
|
|
|
# \@_, |
2350
|
|
|
|
|
|
|
# sigout=>{isa => 'Int'}, |
2351
|
|
|
|
|
|
|
# bounce=>{isa => 'Int'}, |
2352
|
|
|
|
|
|
|
# value =>{isa =>'Num'}, |
2353
|
|
|
|
|
|
|
# );my $sigout=delete $args{sigout}; |
2354
|
|
|
|
|
|
|
# my $bounce=delete $args{bounce}; |
2355
|
|
|
|
|
|
|
# return $self->sync_set_value( |
2356
|
|
|
|
|
|
|
# path => $self->device()."/sigouts/$sigout/precompensation/bounces/$bounce/enable", |
2357
|
|
|
|
|
|
|
# type=>'I', |
2358
|
|
|
|
|
|
|
# value =>$value |
2359
|
|
|
|
|
|
|
# ); |
2360
|
|
|
|
|
|
|
# } |
2361
|
|
|
|
|
|
|
|
2362
|
|
|
|
|
|
|
# sub get_sigouts_precompensation_bounces_enable { |
2363
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
2364
|
|
|
|
|
|
|
# \@_, |
2365
|
|
|
|
|
|
|
# sigout=>{isa => 'Int'}, |
2366
|
|
|
|
|
|
|
# bounce=>{isa => 'Int'}, |
2367
|
|
|
|
|
|
|
# value =>{isa =>'Num',optional=>1}, |
2368
|
|
|
|
|
|
|
# ); |
2369
|
|
|
|
|
|
|
# my $sigout =delete $args{sigout}; |
2370
|
|
|
|
|
|
|
# my $bounce =delete $args{bounce}; |
2371
|
|
|
|
|
|
|
# return $self->get_value( |
2372
|
|
|
|
|
|
|
# path => $self->device()."/sigouts/$sigout/precompensation/bounces/$bounce/enable", |
2373
|
|
|
|
|
|
|
# type=>'I', |
2374
|
|
|
|
|
|
|
# ); |
2375
|
|
|
|
|
|
|
# } |
2376
|
|
|
|
|
|
|
|
2377
|
|
|
|
|
|
|
# =head3 /DEV/SIGOUTS/n/PRECOMPENSATION/BOUNCES/m/STATUS |
2378
|
|
|
|
|
|
|
# Properties: Read |
2379
|
|
|
|
|
|
|
# Type: Integer (64 bit)(I) |
2380
|
|
|
|
|
|
|
# Unit: None |
2381
|
|
|
|
|
|
|
|
2382
|
|
|
|
|
|
|
# get_sigouts_precompensation_bounces_status(sigout => $sigout, bounce => $bounce) |
2383
|
|
|
|
|
|
|
|
2384
|
|
|
|
|
|
|
# Indicates the status of the bounce correction filter: 0 = normal, 1 = overflow during the last update |
2385
|
|
|
|
|
|
|
# period (~100 ms), 2 = overflowed in the past. |
2386
|
|
|
|
|
|
|
# Note: This option was not available in the device used for developement, it is therefore untested. |
2387
|
|
|
|
|
|
|
# =cut |
2388
|
|
|
|
|
|
|
|
2389
|
|
|
|
|
|
|
|
2390
|
|
|
|
|
|
|
# sub get_sigouts_precompensation_bounces_status { |
2391
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
2392
|
|
|
|
|
|
|
# \@_, |
2393
|
|
|
|
|
|
|
# sigout=>{isa => 'Int'}, |
2394
|
|
|
|
|
|
|
# bounce=>{isa => 'Int'}, |
2395
|
|
|
|
|
|
|
# value =>{isa =>'Num',optional=>1}, |
2396
|
|
|
|
|
|
|
# ); |
2397
|
|
|
|
|
|
|
# my $sigout =delete $args{sigout}; |
2398
|
|
|
|
|
|
|
# my $bounce =delete $args{bounce}; |
2399
|
|
|
|
|
|
|
# return $self->get_value( |
2400
|
|
|
|
|
|
|
# path => $self->device()."/sigouts/$sigout/precompensation/bounces/$bounce/status", |
2401
|
|
|
|
|
|
|
# type=>'I', |
2402
|
|
|
|
|
|
|
# ); |
2403
|
|
|
|
|
|
|
# } |
2404
|
|
|
|
|
|
|
|
2405
|
|
|
|
|
|
|
# =head3 /DEV/SIGOUTS/n/PRECOMPENSATION/ENABLE |
2406
|
|
|
|
|
|
|
# Properties: Read Write Setting |
2407
|
|
|
|
|
|
|
# Type: Integer (64 bit)(I) |
2408
|
|
|
|
|
|
|
# Unit: None |
2409
|
|
|
|
|
|
|
|
2410
|
|
|
|
|
|
|
# set_sigouts_precompensation_enable(sigout => $sigout, value => $value) |
2411
|
|
|
|
|
|
|
# get_sigouts_precompensation_enable(sigout => $sigout) |
2412
|
|
|
|
|
|
|
|
2413
|
|
|
|
|
|
|
# Enables (1) or disables (0) the entire precompensation filter chain. |
2414
|
|
|
|
|
|
|
# Note: This option was not available in the device used for developement, it is therefore untested. |
2415
|
|
|
|
|
|
|
# /DEV/SIGOUTS/n/PRECOMPENSATION/EXPONENTIALS/m/AMPLITUDE |
2416
|
|
|
|
|
|
|
# Properties:Read, Write, Setting |
2417
|
|
|
|
|
|
|
# Type:Double |
2418
|
|
|
|
|
|
|
# Unit: None |
2419
|
|
|
|
|
|
|
# Sets the amplitude of the exponential overshoot compensation filter relative to the signal |
2420
|
|
|
|
|
|
|
# amplitude. |
2421
|
|
|
|
|
|
|
# /DEV/SIGOUTS/n/PRECOMPENSATION/EXPONENTIALS/m/ENABLE |
2422
|
|
|
|
|
|
|
# Properties:Read, Write, Setting |
2423
|
|
|
|
|
|
|
# Type:Integer (64 bit) |
2424
|
|
|
|
|
|
|
# Unit: None |
2425
|
|
|
|
|
|
|
# Enables (1) or disables (0) the exponential overshoot compensation filter. |
2426
|
|
|
|
|
|
|
# /DEV/SIGOUTS/n/PRECOMPENSATION/EXPONENTIALS/m/STATUS |
2427
|
|
|
|
|
|
|
# Properties:Read |
2428
|
|
|
|
|
|
|
# Type:Integer (64 bit) |
2429
|
|
|
|
|
|
|
# Unit: None |
2430
|
|
|
|
|
|
|
# Indicates the status of the exponential overshoot compensation filter: 0 = normal, 1 = overflow |
2431
|
|
|
|
|
|
|
# during the last update period (~100 ms), 2 = overflowed in the past. |
2432
|
|
|
|
|
|
|
# /DEV/SIGOUTS/n/PRECOMPENSATION/EXPONENTIALS/m/ |
2433
|
|
|
|
|
|
|
# TIMECONSTANT |
2434
|
|
|
|
|
|
|
# Properties:Read, Write, Setting |
2435
|
|
|
|
|
|
|
# Type:Double |
2436
|
|
|
|
|
|
|
# Unit: s |
2437
|
|
|
|
|
|
|
# Sets the characteristic time constant of the exponential overshoot compensation filter. |
2438
|
|
|
|
|
|
|
# =cut |
2439
|
|
|
|
|
|
|
|
2440
|
|
|
|
|
|
|
|
2441
|
|
|
|
|
|
|
# sub set_sigouts_precompensation_enable { |
2442
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
2443
|
|
|
|
|
|
|
# \@_, |
2444
|
|
|
|
|
|
|
# sigout=>{isa => 'Int'}, |
2445
|
|
|
|
|
|
|
# value =>{isa =>'Num'}, |
2446
|
|
|
|
|
|
|
# );my $sigout=delete $args{sigout}; |
2447
|
|
|
|
|
|
|
# return $self->sync_set_value( |
2448
|
|
|
|
|
|
|
# path => $self->device()."/sigouts/$sigout/precompensation/enable", |
2449
|
|
|
|
|
|
|
# type=>'I', |
2450
|
|
|
|
|
|
|
# value =>$value |
2451
|
|
|
|
|
|
|
# ); |
2452
|
|
|
|
|
|
|
# } |
2453
|
|
|
|
|
|
|
|
2454
|
|
|
|
|
|
|
# sub get_sigouts_precompensation_enable { |
2455
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
2456
|
|
|
|
|
|
|
# \@_, |
2457
|
|
|
|
|
|
|
# sigout=>{isa => 'Int'}, |
2458
|
|
|
|
|
|
|
# value =>{isa =>'Num',optional=>1}, |
2459
|
|
|
|
|
|
|
# ); |
2460
|
|
|
|
|
|
|
# my $sigout =delete $args{sigout}; |
2461
|
|
|
|
|
|
|
# return $self->get_value( |
2462
|
|
|
|
|
|
|
# path => $self->device()."/sigouts/$sigout/precompensation/enable", |
2463
|
|
|
|
|
|
|
# type=>'I', |
2464
|
|
|
|
|
|
|
# ); |
2465
|
|
|
|
|
|
|
# } |
2466
|
|
|
|
|
|
|
|
2467
|
|
|
|
|
|
|
# =head3 /DEV/SIGOUTS/n/PRECOMPENSATION/FIR/ENABLE |
2468
|
|
|
|
|
|
|
# Properties: Read Write Setting |
2469
|
|
|
|
|
|
|
# Type: Integer (64 bit)(I) |
2470
|
|
|
|
|
|
|
# Unit: None |
2471
|
|
|
|
|
|
|
|
2472
|
|
|
|
|
|
|
# set_sigouts_precompensation_fir_enable(sigout => $sigout, value => $value) |
2473
|
|
|
|
|
|
|
# get_sigouts_precompensation_fir_enable(sigout => $sigout) |
2474
|
|
|
|
|
|
|
|
2475
|
|
|
|
|
|
|
# Enables (1) or disables (0) the finite impulse response (FIR) precompensation filter. |
2476
|
|
|
|
|
|
|
# =cut |
2477
|
|
|
|
|
|
|
|
2478
|
|
|
|
|
|
|
|
2479
|
|
|
|
|
|
|
# sub set_sigouts_precompensation_fir_enable { |
2480
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
2481
|
|
|
|
|
|
|
# \@_, |
2482
|
|
|
|
|
|
|
# sigout=>{isa => 'Int'}, |
2483
|
|
|
|
|
|
|
# value =>{isa =>'Num'}, |
2484
|
|
|
|
|
|
|
# );my $sigout=delete $args{sigout}; |
2485
|
|
|
|
|
|
|
# return $self->sync_set_value( |
2486
|
|
|
|
|
|
|
# path => $self->device()."/sigouts/$sigout/precompensation/fir/enable", |
2487
|
|
|
|
|
|
|
# type=>'I', |
2488
|
|
|
|
|
|
|
# value =>$value |
2489
|
|
|
|
|
|
|
# ); |
2490
|
|
|
|
|
|
|
# } |
2491
|
|
|
|
|
|
|
|
2492
|
|
|
|
|
|
|
# sub get_sigouts_precompensation_fir_enable { |
2493
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
2494
|
|
|
|
|
|
|
# \@_, |
2495
|
|
|
|
|
|
|
# sigout=>{isa => 'Int'}, |
2496
|
|
|
|
|
|
|
# value =>{isa =>'Num',optional=>1}, |
2497
|
|
|
|
|
|
|
# ); |
2498
|
|
|
|
|
|
|
# my $sigout =delete $args{sigout}; |
2499
|
|
|
|
|
|
|
# return $self->get_value( |
2500
|
|
|
|
|
|
|
# path => $self->device()."/sigouts/$sigout/precompensation/fir/enable", |
2501
|
|
|
|
|
|
|
# type=>'I', |
2502
|
|
|
|
|
|
|
# ); |
2503
|
|
|
|
|
|
|
# } |
2504
|
|
|
|
|
|
|
|
2505
|
|
|
|
|
|
|
# =head3 /DEV/SIGOUTS/n/PRECOMPENSATION/FIR/STATUS |
2506
|
|
|
|
|
|
|
# Properties: Read |
2507
|
|
|
|
|
|
|
# Type: Integer (64 bit)(I) |
2508
|
|
|
|
|
|
|
# Unit: None |
2509
|
|
|
|
|
|
|
|
2510
|
|
|
|
|
|
|
# get_sigouts_precompensation_fir_status(sigout => $sigout) |
2511
|
|
|
|
|
|
|
|
2512
|
|
|
|
|
|
|
# Indicates the status of the finite impulse response (FIR) precompensation filter: 0 = normal, 1 = |
2513
|
|
|
|
|
|
|
# overflow during the last update period (~100 ms), 2 = overflowed in the past. |
2514
|
|
|
|
|
|
|
# /DEV//SIGOUTS/n/PRECOMPENSATION/HIGHPASS/m/CLEARING/ |
2515
|
|
|
|
|
|
|
# SLOPE |
2516
|
|
|
|
|
|
|
# Properties:Read, Write, Setting |
2517
|
|
|
|
|
|
|
# Type:Integer (enumerated) |
2518
|
|
|
|
|
|
|
# Unit: None |
2519
|
|
|
|
|
|
|
# When to react to a clearing pulse generated after the AWG Sequencer setPrecompClear |
2520
|
|
|
|
|
|
|
# instruction. |
2521
|
|
|
|
|
|
|
# entire_clearing_pulse0 |
2522
|
|
|
|
|
|
|
# During the entire clearing pulse (Level). |
2523
|
|
|
|
|
|
|
# rising_edge1 |
2524
|
|
|
|
|
|
|
# At the rising edge of clearing pulse. |
2525
|
|
|
|
|
|
|
# falling_edge2 |
2526
|
|
|
|
|
|
|
# At the falling edge of the clearing pulse. |
2527
|
|
|
|
|
|
|
# both_egdes3 |
2528
|
|
|
|
|
|
|
# Both, at the rising and falling edge of the clearing pulse. |
2529
|
|
|
|
|
|
|
# =cut |
2530
|
|
|
|
|
|
|
|
2531
|
|
|
|
|
|
|
|
2532
|
|
|
|
|
|
|
# sub get_sigouts_precompensation_fir_status { |
2533
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
2534
|
|
|
|
|
|
|
# \@_, |
2535
|
|
|
|
|
|
|
# sigout=>{isa => 'Int'}, |
2536
|
|
|
|
|
|
|
# value =>{isa =>'Num',optional=>1}, |
2537
|
|
|
|
|
|
|
# ); |
2538
|
|
|
|
|
|
|
# my $sigout =delete $args{sigout}; |
2539
|
|
|
|
|
|
|
# return $self->get_value( |
2540
|
|
|
|
|
|
|
# path => $self->device()."/sigouts/$sigout/precompensation/fir/status", |
2541
|
|
|
|
|
|
|
# type=>'I', |
2542
|
|
|
|
|
|
|
# ); |
2543
|
|
|
|
|
|
|
# } |
2544
|
|
|
|
|
|
|
|
2545
|
|
|
|
|
|
|
# =head3 /DEV/SIGOUTS/n/PRECOMPENSATION/HIGHPASS/m/ENABLE |
2546
|
|
|
|
|
|
|
# Properties: Read Write Setting |
2547
|
|
|
|
|
|
|
# Type: Integer (64 bit)(I) |
2548
|
|
|
|
|
|
|
# Unit: None |
2549
|
|
|
|
|
|
|
|
2550
|
|
|
|
|
|
|
# set_sigouts_precompensation_highpass_enable(sigout => $sigout, highpas => $highpas, value => $value) |
2551
|
|
|
|
|
|
|
# get_sigouts_precompensation_highpass_enable(sigout => $sigout, highpas => $highpas) |
2552
|
|
|
|
|
|
|
|
2553
|
|
|
|
|
|
|
# Enables (1) or disables (0) the high-pass compensation filter. |
2554
|
|
|
|
|
|
|
# =cut |
2555
|
|
|
|
|
|
|
|
2556
|
|
|
|
|
|
|
|
2557
|
|
|
|
|
|
|
# sub set_sigouts_precompensation_highpass_enable { |
2558
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
2559
|
|
|
|
|
|
|
# \@_, |
2560
|
|
|
|
|
|
|
# sigout=>{isa => 'Int'}, |
2561
|
|
|
|
|
|
|
# highpas=>{isa => 'Int'}, |
2562
|
|
|
|
|
|
|
# value =>{isa =>'Num'}, |
2563
|
|
|
|
|
|
|
# );my $sigout=delete $args{sigout}; |
2564
|
|
|
|
|
|
|
# my $highpas=delete $args{highpas}; |
2565
|
|
|
|
|
|
|
# return $self->sync_set_value( |
2566
|
|
|
|
|
|
|
# path => $self->device()."/sigouts/$sigout/precompensation/highpass/$highpas/enable", |
2567
|
|
|
|
|
|
|
# type=>'I', |
2568
|
|
|
|
|
|
|
# value =>$value |
2569
|
|
|
|
|
|
|
# ); |
2570
|
|
|
|
|
|
|
# } |
2571
|
|
|
|
|
|
|
|
2572
|
|
|
|
|
|
|
# sub get_sigouts_precompensation_highpass_enable { |
2573
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
2574
|
|
|
|
|
|
|
# \@_, |
2575
|
|
|
|
|
|
|
# sigout=>{isa => 'Int'}, |
2576
|
|
|
|
|
|
|
# highpas=>{isa => 'Int'}, |
2577
|
|
|
|
|
|
|
# value =>{isa =>'Num',optional=>1}, |
2578
|
|
|
|
|
|
|
# ); |
2579
|
|
|
|
|
|
|
# my $sigout =delete $args{sigout}; |
2580
|
|
|
|
|
|
|
# my $highpas =delete $args{highpas}; |
2581
|
|
|
|
|
|
|
# return $self->get_value( |
2582
|
|
|
|
|
|
|
# path => $self->device()."/sigouts/$sigout/precompensation/highpass/$highpas/enable", |
2583
|
|
|
|
|
|
|
# type=>'I', |
2584
|
|
|
|
|
|
|
# ); |
2585
|
|
|
|
|
|
|
# } |
2586
|
|
|
|
|
|
|
|
2587
|
|
|
|
|
|
|
# =head3 /DEV/SIGOUTS/n/PRECOMPENSATION/HIGHPASS/m/STATUS |
2588
|
|
|
|
|
|
|
# Properties: Read |
2589
|
|
|
|
|
|
|
# Type: Integer (64 bit)(I) |
2590
|
|
|
|
|
|
|
# Unit: None |
2591
|
|
|
|
|
|
|
|
2592
|
|
|
|
|
|
|
# get_sigouts_precompensation_highpass_status(sigout => $sigout, highpas => $highpas) |
2593
|
|
|
|
|
|
|
|
2594
|
|
|
|
|
|
|
# Indicates the status of the high-pass compensation filter: 0 = normal, 1 = overflow during the last |
2595
|
|
|
|
|
|
|
# update period (~100 ms), 2 = overflowed in the past. |
2596
|
|
|
|
|
|
|
# /DEV/SIGOUTS/n/PRECOMPENSATION/HIGHPASS/m/TIMECONSTANT |
2597
|
|
|
|
|
|
|
# Properties:Read, Write, Setting |
2598
|
|
|
|
|
|
|
# Type:Double |
2599
|
|
|
|
|
|
|
# Unit: s |
2600
|
|
|
|
|
|
|
# Sets the characteristic time constant of the high-pass compensation filter. |
2601
|
|
|
|
|
|
|
# =cut |
2602
|
|
|
|
|
|
|
|
2603
|
|
|
|
|
|
|
|
2604
|
|
|
|
|
|
|
# sub get_sigouts_precompensation_highpass_status { |
2605
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
2606
|
|
|
|
|
|
|
# \@_, |
2607
|
|
|
|
|
|
|
# sigout=>{isa => 'Int'}, |
2608
|
|
|
|
|
|
|
# highpas=>{isa => 'Int'}, |
2609
|
|
|
|
|
|
|
# value =>{isa =>'Num',optional=>1}, |
2610
|
|
|
|
|
|
|
# ); |
2611
|
|
|
|
|
|
|
# my $sigout =delete $args{sigout}; |
2612
|
|
|
|
|
|
|
# my $highpas =delete $args{highpas}; |
2613
|
|
|
|
|
|
|
# return $self->get_value( |
2614
|
|
|
|
|
|
|
# path => $self->device()."/sigouts/$sigout/precompensation/highpass/$highpas/status", |
2615
|
|
|
|
|
|
|
# type=>'I', |
2616
|
|
|
|
|
|
|
# ); |
2617
|
|
|
|
|
|
|
# } |
2618
|
|
|
|
|
|
|
|
2619
|
|
|
|
|
|
|
# =head3 /DEV/SIGOUTS/n/PRECOMPENSATION/LATENCY |
2620
|
|
|
|
|
|
|
# Properties: Read |
2621
|
|
|
|
|
|
|
# Type: Double(D) |
2622
|
|
|
|
|
|
|
# Unit: s |
2623
|
|
|
|
|
|
|
|
2624
|
|
|
|
|
|
|
# get_sigouts_precompensation_latency(sigout => $sigout) |
2625
|
|
|
|
|
|
|
|
2626
|
|
|
|
|
|
|
# The total latency introduced by the entire precompensation filter chain. |
2627
|
|
|
|
|
|
|
# =cut |
2628
|
|
|
|
|
|
|
|
2629
|
|
|
|
|
|
|
|
2630
|
|
|
|
|
|
|
# sub get_sigouts_precompensation_latency { |
2631
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
2632
|
|
|
|
|
|
|
# \@_, |
2633
|
|
|
|
|
|
|
# sigout=>{isa => 'Int'}, |
2634
|
|
|
|
|
|
|
# value =>{isa =>'Num',optional=>1}, |
2635
|
|
|
|
|
|
|
# ); |
2636
|
|
|
|
|
|
|
# my $sigout =delete $args{sigout}; |
2637
|
|
|
|
|
|
|
# return $self->get_value( |
2638
|
|
|
|
|
|
|
# path => $self->device()."/sigouts/$sigout/precompensation/latency", |
2639
|
|
|
|
|
|
|
# type=>'D', |
2640
|
|
|
|
|
|
|
# ); |
2641
|
|
|
|
|
|
|
# } |
2642
|
|
|
|
|
|
|
|
2643
|
|
|
|
|
|
|
# =head3 /DEV/SIGOUTS/n/PRECOMPENSATION/STATUS/RESET |
2644
|
|
|
|
|
|
|
# Properties: Read Write |
2645
|
|
|
|
|
|
|
# Type: Integer (64 bit)(I) |
2646
|
|
|
|
|
|
|
# Unit: None |
2647
|
|
|
|
|
|
|
|
2648
|
|
|
|
|
|
|
# set_sigouts_precompensation_status_reset(sigout => $sigout, value => $value) |
2649
|
|
|
|
|
|
|
# get_sigouts_precompensation_status_reset(sigout => $sigout) |
2650
|
|
|
|
|
|
|
|
2651
|
|
|
|
|
|
|
# Resets the status flags of all precompensation filters of this output channel. |
2652
|
|
|
|
|
|
|
# =cut |
2653
|
|
|
|
|
|
|
|
2654
|
|
|
|
|
|
|
|
2655
|
|
|
|
|
|
|
# sub set_sigouts_precompensation_status_reset { |
2656
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
2657
|
|
|
|
|
|
|
# \@_, |
2658
|
|
|
|
|
|
|
# sigout=>{isa => 'Int'}, |
2659
|
|
|
|
|
|
|
# value =>{isa =>'Num'}, |
2660
|
|
|
|
|
|
|
# );my $sigout=delete $args{sigout}; |
2661
|
|
|
|
|
|
|
# return $self->sync_set_value( |
2662
|
|
|
|
|
|
|
# path => $self->device()."/sigouts/$sigout/precompensation/status/reset", |
2663
|
|
|
|
|
|
|
# type=>'I', |
2664
|
|
|
|
|
|
|
# value =>$value |
2665
|
|
|
|
|
|
|
# ); |
2666
|
|
|
|
|
|
|
# } |
2667
|
|
|
|
|
|
|
|
2668
|
|
|
|
|
|
|
# sub get_sigouts_precompensation_status_reset { |
2669
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
2670
|
|
|
|
|
|
|
# \@_, |
2671
|
|
|
|
|
|
|
# sigout=>{isa => 'Int'}, |
2672
|
|
|
|
|
|
|
# value =>{isa =>'Num',optional=>1}, |
2673
|
|
|
|
|
|
|
# ); |
2674
|
|
|
|
|
|
|
# my $sigout =delete $args{sigout}; |
2675
|
|
|
|
|
|
|
# return $self->get_value( |
2676
|
|
|
|
|
|
|
# path => $self->device()."/sigouts/$sigout/precompensation/status/reset", |
2677
|
|
|
|
|
|
|
# type=>'I', |
2678
|
|
|
|
|
|
|
# ); |
2679
|
|
|
|
|
|
|
# } |
2680
|
|
|
|
|
|
|
|
2681
|
|
|
|
|
|
|
|
2682
|
|
|
|
|
|
|
|
2683
|
|
|
|
|
|
|
sub set_sigouts_range { |
2684
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2685
|
|
|
|
|
|
|
\@_, |
2686
|
|
|
|
|
|
|
sigout=>{isa => 'Int'}, |
2687
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
2688
|
0
|
|
|
|
|
|
);my $sigout=delete $args{sigout}; |
2689
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
2690
|
|
|
|
|
|
|
path => $self->device()."/sigouts/$sigout/range", |
2691
|
|
|
|
|
|
|
type=>'D', |
2692
|
|
|
|
|
|
|
value =>$value |
2693
|
|
|
|
|
|
|
); |
2694
|
|
|
|
|
|
|
} |
2695
|
|
|
|
|
|
|
|
2696
|
|
|
|
|
|
|
sub get_sigouts_range { |
2697
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2698
|
|
|
|
|
|
|
\@_, |
2699
|
|
|
|
|
|
|
sigout=>{isa => 'Int'}, |
2700
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2701
|
|
|
|
|
|
|
); |
2702
|
0
|
|
|
|
|
|
my $sigout =delete $args{sigout}; |
2703
|
0
|
|
|
|
|
|
return $self->get_value( |
2704
|
|
|
|
|
|
|
path => $self->device()."/sigouts/$sigout/range", |
2705
|
|
|
|
|
|
|
type=>'D', |
2706
|
|
|
|
|
|
|
); |
2707
|
|
|
|
|
|
|
} |
2708
|
|
|
|
|
|
|
|
2709
|
|
|
|
|
|
|
|
2710
|
|
|
|
|
|
|
|
2711
|
|
|
|
|
|
|
sub set_sines_amplitudes{ |
2712
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2713
|
|
|
|
|
|
|
\@_, |
2714
|
|
|
|
|
|
|
sine=>{isa => 'Int'}, |
2715
|
|
|
|
|
|
|
amplitude => {isa=>'Int'}, |
2716
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
2717
|
|
|
|
|
|
|
); |
2718
|
0
|
|
|
|
|
|
my $sine=delete $args{sine}; |
2719
|
0
|
|
|
|
|
|
my $amplitude = delete $args{amplitude}; |
2720
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
2721
|
|
|
|
|
|
|
path => $self->device()."/sines/$sine/amplitudes/$amplitude", |
2722
|
|
|
|
|
|
|
type=>'D', |
2723
|
|
|
|
|
|
|
value =>$value |
2724
|
|
|
|
|
|
|
|
2725
|
|
|
|
|
|
|
); |
2726
|
|
|
|
|
|
|
} |
2727
|
|
|
|
|
|
|
|
2728
|
|
|
|
|
|
|
sub get_sines_amplitudes { |
2729
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2730
|
|
|
|
|
|
|
\@_, |
2731
|
|
|
|
|
|
|
sine=>{isa => 'Int'}, |
2732
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2733
|
|
|
|
|
|
|
amplitude => {isa=>'Int'} |
2734
|
|
|
|
|
|
|
); |
2735
|
0
|
|
|
|
|
|
my $sine =delete $args{sine}; |
2736
|
0
|
|
|
|
|
|
my $amplitude = delete $args{amplitude}; |
2737
|
0
|
|
|
|
|
|
return $self->get_value( |
2738
|
|
|
|
|
|
|
path => $self->device()."/sines/$sine/amplitudes/$amplitude", |
2739
|
|
|
|
|
|
|
type=>'D', |
2740
|
|
|
|
|
|
|
|
2741
|
|
|
|
|
|
|
); |
2742
|
|
|
|
|
|
|
} |
2743
|
|
|
|
|
|
|
|
2744
|
|
|
|
|
|
|
|
2745
|
|
|
|
|
|
|
|
2746
|
|
|
|
|
|
|
sub set_sines_enables { |
2747
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2748
|
|
|
|
|
|
|
\@_, |
2749
|
|
|
|
|
|
|
sine=>{isa => 'Int'}, |
2750
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
2751
|
|
|
|
|
|
|
amplitude => {isa=>'Int'} |
2752
|
|
|
|
|
|
|
); |
2753
|
0
|
|
|
|
|
|
my $sine=delete $args{sine}; |
2754
|
0
|
|
|
|
|
|
my $amplitude = delete $args{amplitude}; |
2755
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
2756
|
|
|
|
|
|
|
path => $self->device()."/sines/$sine/enables/$amplitude", |
2757
|
|
|
|
|
|
|
type=>'I', |
2758
|
|
|
|
|
|
|
value =>$value |
2759
|
|
|
|
|
|
|
); |
2760
|
|
|
|
|
|
|
} |
2761
|
|
|
|
|
|
|
|
2762
|
|
|
|
|
|
|
sub get_sines_enables { |
2763
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2764
|
|
|
|
|
|
|
\@_, |
2765
|
|
|
|
|
|
|
sine=>{isa => 'Int'}, |
2766
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2767
|
|
|
|
|
|
|
amplitude => {isa=>'Int'} |
2768
|
|
|
|
|
|
|
); |
2769
|
0
|
|
|
|
|
|
my $sine =delete $args{sine}; |
2770
|
0
|
|
|
|
|
|
my $amplitude = delete $args{amplitude}; |
2771
|
0
|
|
|
|
|
|
return $self->get_value( |
2772
|
|
|
|
|
|
|
path => $self->device()."/sines/$sine/enables/$amplitude", |
2773
|
|
|
|
|
|
|
type=>'I', |
2774
|
|
|
|
|
|
|
); |
2775
|
|
|
|
|
|
|
} |
2776
|
|
|
|
|
|
|
|
2777
|
|
|
|
|
|
|
|
2778
|
|
|
|
|
|
|
|
2779
|
|
|
|
|
|
|
sub set_sines_harmonic { |
2780
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2781
|
|
|
|
|
|
|
\@_, |
2782
|
|
|
|
|
|
|
sine=>{isa => 'Int'}, |
2783
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
2784
|
0
|
|
|
|
|
|
);my $sine=delete $args{sine}; |
2785
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
2786
|
|
|
|
|
|
|
path => $self->device()."/sines/$sine/harmonic", |
2787
|
|
|
|
|
|
|
type=>'I', |
2788
|
|
|
|
|
|
|
value =>$value |
2789
|
|
|
|
|
|
|
); |
2790
|
|
|
|
|
|
|
} |
2791
|
|
|
|
|
|
|
|
2792
|
|
|
|
|
|
|
sub get_sines_harmonic { |
2793
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2794
|
|
|
|
|
|
|
\@_, |
2795
|
|
|
|
|
|
|
sine=>{isa => 'Int'}, |
2796
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2797
|
|
|
|
|
|
|
); |
2798
|
0
|
|
|
|
|
|
my $sine =delete $args{sine}; |
2799
|
0
|
|
|
|
|
|
return $self->get_value( |
2800
|
|
|
|
|
|
|
path => $self->device()."/sines/$sine/harmonic", |
2801
|
|
|
|
|
|
|
type=>'I', |
2802
|
|
|
|
|
|
|
); |
2803
|
|
|
|
|
|
|
} |
2804
|
|
|
|
|
|
|
|
2805
|
|
|
|
|
|
|
|
2806
|
|
|
|
|
|
|
|
2807
|
|
|
|
|
|
|
sub set_sines_oscselect { |
2808
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2809
|
|
|
|
|
|
|
\@_, |
2810
|
|
|
|
|
|
|
sine=>{isa => 'Int'}, |
2811
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
2812
|
0
|
|
|
|
|
|
);my $sine=delete $args{sine}; |
2813
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
2814
|
|
|
|
|
|
|
path => $self->device()."/sines/$sine/oscselect", |
2815
|
|
|
|
|
|
|
type=>'I', |
2816
|
|
|
|
|
|
|
value =>$value |
2817
|
|
|
|
|
|
|
); |
2818
|
|
|
|
|
|
|
} |
2819
|
|
|
|
|
|
|
|
2820
|
|
|
|
|
|
|
sub get_sines_oscselect { |
2821
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2822
|
|
|
|
|
|
|
\@_, |
2823
|
|
|
|
|
|
|
sine=>{isa => 'Int'}, |
2824
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2825
|
|
|
|
|
|
|
); |
2826
|
0
|
|
|
|
|
|
my $sine =delete $args{sine}; |
2827
|
0
|
|
|
|
|
|
return $self->get_value( |
2828
|
|
|
|
|
|
|
path => $self->device()."/sines/$sine/oscselect", |
2829
|
|
|
|
|
|
|
type=>'I', |
2830
|
|
|
|
|
|
|
); |
2831
|
|
|
|
|
|
|
} |
2832
|
|
|
|
|
|
|
|
2833
|
|
|
|
|
|
|
|
2834
|
|
|
|
|
|
|
|
2835
|
|
|
|
|
|
|
sub set_sines_phaseshift { |
2836
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2837
|
|
|
|
|
|
|
\@_, |
2838
|
|
|
|
|
|
|
sine=>{isa => 'Int'}, |
2839
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
2840
|
0
|
|
|
|
|
|
);my $sine=delete $args{sine}; |
2841
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
2842
|
|
|
|
|
|
|
path => $self->device()."/sines/$sine/phaseshift", |
2843
|
|
|
|
|
|
|
type=>'D', |
2844
|
|
|
|
|
|
|
value =>$value |
2845
|
|
|
|
|
|
|
); |
2846
|
|
|
|
|
|
|
} |
2847
|
|
|
|
|
|
|
|
2848
|
|
|
|
|
|
|
sub get_sines_phaseshift { |
2849
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2850
|
|
|
|
|
|
|
\@_, |
2851
|
|
|
|
|
|
|
sine=>{isa => 'Int'}, |
2852
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2853
|
|
|
|
|
|
|
); |
2854
|
0
|
|
|
|
|
|
my $sine =delete $args{sine}; |
2855
|
0
|
|
|
|
|
|
return $self->get_value( |
2856
|
|
|
|
|
|
|
path => $self->device()."/sines/$sine/phaseshift", |
2857
|
|
|
|
|
|
|
type=>'D', |
2858
|
|
|
|
|
|
|
); |
2859
|
|
|
|
|
|
|
} |
2860
|
|
|
|
|
|
|
|
2861
|
|
|
|
|
|
|
|
2862
|
|
|
|
|
|
|
|
2863
|
|
|
|
|
|
|
sub get_stats_cmdstream_bandwidth { |
2864
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2865
|
|
|
|
|
|
|
\@_, |
2866
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2867
|
|
|
|
|
|
|
); |
2868
|
0
|
|
|
|
|
|
return $self->get_value( |
2869
|
|
|
|
|
|
|
path => $self->device()."/stats/cmdstream/bandwidth", |
2870
|
|
|
|
|
|
|
type=>'D', |
2871
|
|
|
|
|
|
|
); |
2872
|
|
|
|
|
|
|
} |
2873
|
|
|
|
|
|
|
|
2874
|
|
|
|
|
|
|
|
2875
|
|
|
|
|
|
|
|
2876
|
|
|
|
|
|
|
sub get_stats_cmdstream_bytesreceived { |
2877
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2878
|
|
|
|
|
|
|
\@_, |
2879
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2880
|
|
|
|
|
|
|
); |
2881
|
0
|
|
|
|
|
|
return $self->get_value( |
2882
|
|
|
|
|
|
|
path => $self->device()."/stats/cmdstream/bytesreceived", |
2883
|
|
|
|
|
|
|
type=>'I', |
2884
|
|
|
|
|
|
|
); |
2885
|
|
|
|
|
|
|
} |
2886
|
|
|
|
|
|
|
|
2887
|
|
|
|
|
|
|
|
2888
|
|
|
|
|
|
|
|
2889
|
|
|
|
|
|
|
sub get_stats_cmdstream_bytessent { |
2890
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2891
|
|
|
|
|
|
|
\@_, |
2892
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2893
|
|
|
|
|
|
|
); |
2894
|
0
|
|
|
|
|
|
return $self->get_value( |
2895
|
|
|
|
|
|
|
path => $self->device()."/stats/cmdstream/bytessent", |
2896
|
|
|
|
|
|
|
type=>'I', |
2897
|
|
|
|
|
|
|
); |
2898
|
|
|
|
|
|
|
} |
2899
|
|
|
|
|
|
|
|
2900
|
|
|
|
|
|
|
|
2901
|
|
|
|
|
|
|
|
2902
|
|
|
|
|
|
|
sub get_stats_cmdstream_packetslost { |
2903
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2904
|
|
|
|
|
|
|
\@_, |
2905
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2906
|
|
|
|
|
|
|
); |
2907
|
0
|
|
|
|
|
|
return $self->get_value( |
2908
|
|
|
|
|
|
|
path => $self->device()."/stats/cmdstream/packetslost", |
2909
|
|
|
|
|
|
|
type=>'I', |
2910
|
|
|
|
|
|
|
); |
2911
|
|
|
|
|
|
|
} |
2912
|
|
|
|
|
|
|
|
2913
|
|
|
|
|
|
|
|
2914
|
|
|
|
|
|
|
|
2915
|
|
|
|
|
|
|
sub get_stats_cmdstream_packetsreceived { |
2916
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2917
|
|
|
|
|
|
|
\@_, |
2918
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2919
|
|
|
|
|
|
|
); |
2920
|
0
|
|
|
|
|
|
return $self->get_value( |
2921
|
|
|
|
|
|
|
path => $self->device()."/stats/cmdstream/packetsreceived", |
2922
|
|
|
|
|
|
|
type=>'I', |
2923
|
|
|
|
|
|
|
); |
2924
|
|
|
|
|
|
|
} |
2925
|
|
|
|
|
|
|
|
2926
|
|
|
|
|
|
|
|
2927
|
|
|
|
|
|
|
|
2928
|
|
|
|
|
|
|
sub get_stats_cmdstream_packetssent { |
2929
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2930
|
|
|
|
|
|
|
\@_, |
2931
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2932
|
|
|
|
|
|
|
); |
2933
|
0
|
|
|
|
|
|
return $self->get_value( |
2934
|
|
|
|
|
|
|
path => $self->device()."/stats/cmdstream/packetssent", |
2935
|
|
|
|
|
|
|
type=>'I', |
2936
|
|
|
|
|
|
|
); |
2937
|
|
|
|
|
|
|
} |
2938
|
|
|
|
|
|
|
|
2939
|
|
|
|
|
|
|
|
2940
|
|
|
|
|
|
|
|
2941
|
|
|
|
|
|
|
sub get_stats_cmdstream_pending { |
2942
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2943
|
|
|
|
|
|
|
\@_, |
2944
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2945
|
|
|
|
|
|
|
); |
2946
|
0
|
|
|
|
|
|
return $self->get_value( |
2947
|
|
|
|
|
|
|
path => $self->device()."/stats/cmdstream/pending", |
2948
|
|
|
|
|
|
|
type=>'I', |
2949
|
|
|
|
|
|
|
); |
2950
|
|
|
|
|
|
|
} |
2951
|
|
|
|
|
|
|
|
2952
|
|
|
|
|
|
|
|
2953
|
|
|
|
|
|
|
|
2954
|
|
|
|
|
|
|
sub get_stats_cmdstream_processing { |
2955
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2956
|
|
|
|
|
|
|
\@_, |
2957
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2958
|
|
|
|
|
|
|
); |
2959
|
0
|
|
|
|
|
|
return $self->get_value( |
2960
|
|
|
|
|
|
|
path => $self->device()."/stats/cmdstream/processing", |
2961
|
|
|
|
|
|
|
type=>'I', |
2962
|
|
|
|
|
|
|
); |
2963
|
|
|
|
|
|
|
} |
2964
|
|
|
|
|
|
|
|
2965
|
|
|
|
|
|
|
|
2966
|
|
|
|
|
|
|
|
2967
|
|
|
|
|
|
|
sub get_stats_datastream_bandwidth { |
2968
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2969
|
|
|
|
|
|
|
\@_, |
2970
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2971
|
|
|
|
|
|
|
); |
2972
|
0
|
|
|
|
|
|
return $self->get_value( |
2973
|
|
|
|
|
|
|
path => $self->device()."/stats/datastream/bandwidth", |
2974
|
|
|
|
|
|
|
type=>'D', |
2975
|
|
|
|
|
|
|
); |
2976
|
|
|
|
|
|
|
} |
2977
|
|
|
|
|
|
|
|
2978
|
|
|
|
|
|
|
|
2979
|
|
|
|
|
|
|
|
2980
|
|
|
|
|
|
|
sub get_stats_datastream_bytesreceived { |
2981
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2982
|
|
|
|
|
|
|
\@_, |
2983
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2984
|
|
|
|
|
|
|
); |
2985
|
0
|
|
|
|
|
|
return $self->get_value( |
2986
|
|
|
|
|
|
|
path => $self->device()."/stats/datastream/bytesreceived", |
2987
|
|
|
|
|
|
|
type=>'I', |
2988
|
|
|
|
|
|
|
); |
2989
|
|
|
|
|
|
|
} |
2990
|
|
|
|
|
|
|
|
2991
|
|
|
|
|
|
|
|
2992
|
|
|
|
|
|
|
|
2993
|
|
|
|
|
|
|
sub get_stats_datastream_packetslost { |
2994
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
2995
|
|
|
|
|
|
|
\@_, |
2996
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
2997
|
|
|
|
|
|
|
); |
2998
|
0
|
|
|
|
|
|
return $self->get_value( |
2999
|
|
|
|
|
|
|
path => $self->device()."/stats/datastream/packetslost", |
3000
|
|
|
|
|
|
|
type=>'I', |
3001
|
|
|
|
|
|
|
); |
3002
|
|
|
|
|
|
|
} |
3003
|
|
|
|
|
|
|
|
3004
|
|
|
|
|
|
|
|
3005
|
|
|
|
|
|
|
|
3006
|
|
|
|
|
|
|
sub get_stats_datastream_packetsreceived { |
3007
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3008
|
|
|
|
|
|
|
\@_, |
3009
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3010
|
|
|
|
|
|
|
); |
3011
|
0
|
|
|
|
|
|
return $self->get_value( |
3012
|
|
|
|
|
|
|
path => $self->device()."/stats/datastream/packetsreceived", |
3013
|
|
|
|
|
|
|
type=>'I', |
3014
|
|
|
|
|
|
|
); |
3015
|
|
|
|
|
|
|
} |
3016
|
|
|
|
|
|
|
|
3017
|
|
|
|
|
|
|
|
3018
|
|
|
|
|
|
|
|
3019
|
|
|
|
|
|
|
sub get_stats_datastream_pending { |
3020
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3021
|
|
|
|
|
|
|
\@_, |
3022
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3023
|
|
|
|
|
|
|
); |
3024
|
0
|
|
|
|
|
|
return $self->get_value( |
3025
|
|
|
|
|
|
|
path => $self->device()."/stats/datastream/pending", |
3026
|
|
|
|
|
|
|
type=>'I', |
3027
|
|
|
|
|
|
|
); |
3028
|
|
|
|
|
|
|
} |
3029
|
|
|
|
|
|
|
|
3030
|
|
|
|
|
|
|
|
3031
|
|
|
|
|
|
|
|
3032
|
|
|
|
|
|
|
sub get_stats_datastream_processing { |
3033
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3034
|
|
|
|
|
|
|
\@_, |
3035
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3036
|
|
|
|
|
|
|
); |
3037
|
0
|
|
|
|
|
|
return $self->get_value( |
3038
|
|
|
|
|
|
|
path => $self->device()."/stats/datastream/processing", |
3039
|
|
|
|
|
|
|
type=>'I', |
3040
|
|
|
|
|
|
|
); |
3041
|
|
|
|
|
|
|
} |
3042
|
|
|
|
|
|
|
|
3043
|
|
|
|
|
|
|
|
3044
|
|
|
|
|
|
|
|
3045
|
|
|
|
|
|
|
sub get_stats_physical_fpga_aux { |
3046
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3047
|
|
|
|
|
|
|
\@_, |
3048
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3049
|
|
|
|
|
|
|
); |
3050
|
0
|
|
|
|
|
|
return $self->get_value( |
3051
|
|
|
|
|
|
|
path => $self->device()."/stats/physical/fpga/aux", |
3052
|
|
|
|
|
|
|
type=>'D', |
3053
|
|
|
|
|
|
|
); |
3054
|
|
|
|
|
|
|
} |
3055
|
|
|
|
|
|
|
|
3056
|
|
|
|
|
|
|
|
3057
|
|
|
|
|
|
|
|
3058
|
|
|
|
|
|
|
sub get_stats_physical_fpga_core { |
3059
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3060
|
|
|
|
|
|
|
\@_, |
3061
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3062
|
|
|
|
|
|
|
); |
3063
|
0
|
|
|
|
|
|
return $self->get_value( |
3064
|
|
|
|
|
|
|
path => $self->device()."/stats/physical/fpga/core", |
3065
|
|
|
|
|
|
|
type=>'D', |
3066
|
|
|
|
|
|
|
); |
3067
|
|
|
|
|
|
|
} |
3068
|
|
|
|
|
|
|
|
3069
|
|
|
|
|
|
|
|
3070
|
|
|
|
|
|
|
|
3071
|
|
|
|
|
|
|
sub get_stats_physical_fpga_temp { |
3072
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3073
|
|
|
|
|
|
|
\@_, |
3074
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3075
|
|
|
|
|
|
|
); |
3076
|
0
|
|
|
|
|
|
return $self->get_value( |
3077
|
|
|
|
|
|
|
path => $self->device()."/stats/physical/fpga/temp", |
3078
|
|
|
|
|
|
|
type=>'D', |
3079
|
|
|
|
|
|
|
); |
3080
|
|
|
|
|
|
|
} |
3081
|
|
|
|
|
|
|
|
3082
|
|
|
|
|
|
|
|
3083
|
|
|
|
|
|
|
|
3084
|
|
|
|
|
|
|
sub get_stats_physical_overtemperature { |
3085
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3086
|
|
|
|
|
|
|
\@_, |
3087
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3088
|
|
|
|
|
|
|
); |
3089
|
0
|
|
|
|
|
|
return $self->get_value( |
3090
|
|
|
|
|
|
|
path => $self->device()."/stats/physical/overtemperature", |
3091
|
|
|
|
|
|
|
type=>'I', |
3092
|
|
|
|
|
|
|
); |
3093
|
|
|
|
|
|
|
} |
3094
|
|
|
|
|
|
|
|
3095
|
|
|
|
|
|
|
|
3096
|
|
|
|
|
|
|
|
3097
|
|
|
|
|
|
|
sub get_stats_physical_power_currents { |
3098
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3099
|
|
|
|
|
|
|
\@_, |
3100
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3101
|
|
|
|
|
|
|
current =>{isa=>'Int'} |
3102
|
|
|
|
|
|
|
); |
3103
|
0
|
|
|
|
|
|
my $current = delete $args{current}; |
3104
|
0
|
|
|
|
|
|
return $self->get_value( |
3105
|
|
|
|
|
|
|
path => $self->device()."/stats/physical/power/currents/$current", |
3106
|
|
|
|
|
|
|
type=>'D', |
3107
|
|
|
|
|
|
|
); |
3108
|
|
|
|
|
|
|
} |
3109
|
|
|
|
|
|
|
|
3110
|
|
|
|
|
|
|
|
3111
|
|
|
|
|
|
|
|
3112
|
|
|
|
|
|
|
sub get_stats_physical_power_temperatures{ |
3113
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3114
|
|
|
|
|
|
|
\@_, |
3115
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3116
|
|
|
|
|
|
|
temperature => {isa=>'Int'} |
3117
|
|
|
|
|
|
|
); |
3118
|
0
|
|
|
|
|
|
my $temperature = delete $args{temperature}; |
3119
|
0
|
|
|
|
|
|
return $self->get_value( |
3120
|
|
|
|
|
|
|
path => $self->device()."/stats/physical/power/temperatures/$temperature", |
3121
|
|
|
|
|
|
|
type=>'D', |
3122
|
|
|
|
|
|
|
); |
3123
|
|
|
|
|
|
|
} |
3124
|
|
|
|
|
|
|
|
3125
|
|
|
|
|
|
|
|
3126
|
|
|
|
|
|
|
|
3127
|
|
|
|
|
|
|
sub get_stats_physical_power_voltages{ |
3128
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3129
|
|
|
|
|
|
|
\@_, |
3130
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3131
|
|
|
|
|
|
|
voltage => {isa => 'Int'} |
3132
|
|
|
|
|
|
|
); |
3133
|
0
|
|
|
|
|
|
my $voltage = delete $args{voltage}; |
3134
|
0
|
|
|
|
|
|
return $self->get_value( |
3135
|
|
|
|
|
|
|
path => $self->device()."/stats/physical/power/voltages/$voltage", |
3136
|
|
|
|
|
|
|
type=>'D', |
3137
|
|
|
|
|
|
|
); |
3138
|
|
|
|
|
|
|
} |
3139
|
|
|
|
|
|
|
|
3140
|
|
|
|
|
|
|
|
3141
|
|
|
|
|
|
|
|
3142
|
|
|
|
|
|
|
sub get_stats_physical_slavefpgas_aux { |
3143
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3144
|
|
|
|
|
|
|
\@_, |
3145
|
|
|
|
|
|
|
slavefpga=>{isa => 'Int'}, |
3146
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3147
|
|
|
|
|
|
|
); |
3148
|
0
|
|
|
|
|
|
my $slavefpga =delete $args{slavefpga}; |
3149
|
0
|
|
|
|
|
|
return $self->get_value( |
3150
|
|
|
|
|
|
|
path => $self->device()."/stats/physical/slavefpgas/$slavefpga/aux", |
3151
|
|
|
|
|
|
|
type=>'D', |
3152
|
|
|
|
|
|
|
); |
3153
|
|
|
|
|
|
|
} |
3154
|
|
|
|
|
|
|
|
3155
|
|
|
|
|
|
|
|
3156
|
|
|
|
|
|
|
|
3157
|
|
|
|
|
|
|
sub get_stats_physical_slavefpgas_core { |
3158
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3159
|
|
|
|
|
|
|
\@_, |
3160
|
|
|
|
|
|
|
slavefpga=>{isa => 'Int'}, |
3161
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3162
|
|
|
|
|
|
|
); |
3163
|
0
|
|
|
|
|
|
my $slavefpga =delete $args{slavefpga}; |
3164
|
0
|
|
|
|
|
|
return $self->get_value( |
3165
|
|
|
|
|
|
|
path => $self->device()."/stats/physical/slavefpgas/$slavefpga/core", |
3166
|
|
|
|
|
|
|
type=>'D', |
3167
|
|
|
|
|
|
|
); |
3168
|
|
|
|
|
|
|
} |
3169
|
|
|
|
|
|
|
|
3170
|
|
|
|
|
|
|
|
3171
|
|
|
|
|
|
|
|
3172
|
|
|
|
|
|
|
sub get_stats_physical_slavefpgas_temp { |
3173
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3174
|
|
|
|
|
|
|
\@_, |
3175
|
|
|
|
|
|
|
slavefpga=>{isa => 'Int'}, |
3176
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3177
|
|
|
|
|
|
|
); |
3178
|
0
|
|
|
|
|
|
my $slavefpga =delete $args{slavefpga}; |
3179
|
0
|
|
|
|
|
|
return $self->get_value( |
3180
|
|
|
|
|
|
|
path => $self->device()."/stats/physical/slavefpgas/$slavefpga/temp", |
3181
|
|
|
|
|
|
|
type=>'D', |
3182
|
|
|
|
|
|
|
); |
3183
|
|
|
|
|
|
|
} |
3184
|
|
|
|
|
|
|
|
3185
|
|
|
|
|
|
|
|
3186
|
|
|
|
|
|
|
|
3187
|
|
|
|
|
|
|
sub get_stats_physical_temperatures { |
3188
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3189
|
|
|
|
|
|
|
\@_, |
3190
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3191
|
|
|
|
|
|
|
temperature =>{isa=>'Int'} |
3192
|
|
|
|
|
|
|
); |
3193
|
0
|
|
|
|
|
|
my $temperature = delete $args{temperature}; |
3194
|
0
|
|
|
|
|
|
return $self->get_value( |
3195
|
|
|
|
|
|
|
path => $self->device()."/stats/physical/temperatures/$temperature", |
3196
|
|
|
|
|
|
|
type=>'D', |
3197
|
|
|
|
|
|
|
); |
3198
|
|
|
|
|
|
|
} |
3199
|
|
|
|
|
|
|
|
3200
|
|
|
|
|
|
|
|
3201
|
|
|
|
|
|
|
|
3202
|
|
|
|
|
|
|
sub get_stats_physical_voltages { |
3203
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3204
|
|
|
|
|
|
|
\@_, |
3205
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3206
|
|
|
|
|
|
|
voltage=>{isa =>'Int'} |
3207
|
|
|
|
|
|
|
); |
3208
|
0
|
|
|
|
|
|
my $voltage = delete $args{voltage}; |
3209
|
0
|
|
|
|
|
|
return $self->get_value( |
3210
|
|
|
|
|
|
|
path => $self->device()."/stats/physical/voltages/$voltage", |
3211
|
|
|
|
|
|
|
type=>'D', |
3212
|
|
|
|
|
|
|
); |
3213
|
|
|
|
|
|
|
} |
3214
|
|
|
|
|
|
|
|
3215
|
|
|
|
|
|
|
|
3216
|
|
|
|
|
|
|
|
3217
|
|
|
|
|
|
|
sub get_status_adc0max { |
3218
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3219
|
|
|
|
|
|
|
\@_, |
3220
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3221
|
|
|
|
|
|
|
); |
3222
|
0
|
|
|
|
|
|
return $self->get_value( |
3223
|
|
|
|
|
|
|
path => $self->device()."/status/adc0max", |
3224
|
|
|
|
|
|
|
type=>'I', |
3225
|
|
|
|
|
|
|
); |
3226
|
|
|
|
|
|
|
} |
3227
|
|
|
|
|
|
|
|
3228
|
|
|
|
|
|
|
|
3229
|
|
|
|
|
|
|
|
3230
|
|
|
|
|
|
|
sub get_status_adc0min { |
3231
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3232
|
|
|
|
|
|
|
\@_, |
3233
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3234
|
|
|
|
|
|
|
); |
3235
|
0
|
|
|
|
|
|
return $self->get_value( |
3236
|
|
|
|
|
|
|
path => $self->device()."/status/adc0min", |
3237
|
|
|
|
|
|
|
type=>'I', |
3238
|
|
|
|
|
|
|
); |
3239
|
|
|
|
|
|
|
} |
3240
|
|
|
|
|
|
|
|
3241
|
|
|
|
|
|
|
|
3242
|
|
|
|
|
|
|
|
3243
|
|
|
|
|
|
|
sub get_status_adc1max { |
3244
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3245
|
|
|
|
|
|
|
\@_, |
3246
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3247
|
|
|
|
|
|
|
); |
3248
|
0
|
|
|
|
|
|
return $self->get_value( |
3249
|
|
|
|
|
|
|
path => $self->device()."/status/adc1max", |
3250
|
|
|
|
|
|
|
type=>'I', |
3251
|
|
|
|
|
|
|
); |
3252
|
|
|
|
|
|
|
} |
3253
|
|
|
|
|
|
|
|
3254
|
|
|
|
|
|
|
|
3255
|
|
|
|
|
|
|
|
3256
|
|
|
|
|
|
|
sub get_status_adc1min { |
3257
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3258
|
|
|
|
|
|
|
\@_, |
3259
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3260
|
|
|
|
|
|
|
); |
3261
|
0
|
|
|
|
|
|
return $self->get_value( |
3262
|
|
|
|
|
|
|
path => $self->device()."/status/adc1min", |
3263
|
|
|
|
|
|
|
type=>'I', |
3264
|
|
|
|
|
|
|
); |
3265
|
|
|
|
|
|
|
} |
3266
|
|
|
|
|
|
|
|
3267
|
|
|
|
|
|
|
|
3268
|
|
|
|
|
|
|
|
3269
|
|
|
|
|
|
|
sub get_status_fifolevel { |
3270
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3271
|
|
|
|
|
|
|
\@_, |
3272
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3273
|
|
|
|
|
|
|
); |
3274
|
0
|
|
|
|
|
|
return $self->get_value( |
3275
|
|
|
|
|
|
|
path => $self->device()."/status/fifolevel", |
3276
|
|
|
|
|
|
|
type=>'D', |
3277
|
|
|
|
|
|
|
); |
3278
|
|
|
|
|
|
|
} |
3279
|
|
|
|
|
|
|
|
3280
|
|
|
|
|
|
|
|
3281
|
|
|
|
|
|
|
|
3282
|
|
|
|
|
|
|
sub get_status_flags_binary { |
3283
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3284
|
|
|
|
|
|
|
\@_, |
3285
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3286
|
|
|
|
|
|
|
); |
3287
|
0
|
|
|
|
|
|
return $self->get_value( |
3288
|
|
|
|
|
|
|
path => $self->device()."/status/flags/binary", |
3289
|
|
|
|
|
|
|
type=>'I', |
3290
|
|
|
|
|
|
|
); |
3291
|
|
|
|
|
|
|
} |
3292
|
|
|
|
|
|
|
|
3293
|
|
|
|
|
|
|
|
3294
|
|
|
|
|
|
|
|
3295
|
|
|
|
|
|
|
sub get_status_flags_packetlosstcp { |
3296
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3297
|
|
|
|
|
|
|
\@_, |
3298
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3299
|
|
|
|
|
|
|
); |
3300
|
0
|
|
|
|
|
|
return $self->get_value( |
3301
|
|
|
|
|
|
|
path => $self->device()."/status/flags/packetlosstcp", |
3302
|
|
|
|
|
|
|
type=>'I', |
3303
|
|
|
|
|
|
|
); |
3304
|
|
|
|
|
|
|
} |
3305
|
|
|
|
|
|
|
|
3306
|
|
|
|
|
|
|
|
3307
|
|
|
|
|
|
|
|
3308
|
|
|
|
|
|
|
sub get_status_flags_packetlossudp { |
3309
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3310
|
|
|
|
|
|
|
\@_, |
3311
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3312
|
|
|
|
|
|
|
); |
3313
|
0
|
|
|
|
|
|
return $self->get_value( |
3314
|
|
|
|
|
|
|
path => $self->device()."/status/flags/packetlossudp", |
3315
|
|
|
|
|
|
|
type=>'I', |
3316
|
|
|
|
|
|
|
); |
3317
|
|
|
|
|
|
|
} |
3318
|
|
|
|
|
|
|
|
3319
|
|
|
|
|
|
|
|
3320
|
|
|
|
|
|
|
|
3321
|
|
|
|
|
|
|
sub get_status_time { |
3322
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3323
|
|
|
|
|
|
|
\@_, |
3324
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3325
|
|
|
|
|
|
|
); |
3326
|
0
|
|
|
|
|
|
return $self->get_value( |
3327
|
|
|
|
|
|
|
path => $self->device()."/status/time", |
3328
|
|
|
|
|
|
|
type=>'I', |
3329
|
|
|
|
|
|
|
); |
3330
|
|
|
|
|
|
|
} |
3331
|
|
|
|
|
|
|
|
3332
|
|
|
|
|
|
|
|
3333
|
|
|
|
|
|
|
|
3334
|
|
|
|
|
|
|
sub get_system_activeinterface { |
3335
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3336
|
|
|
|
|
|
|
\@_, |
3337
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3338
|
|
|
|
|
|
|
read_length => {isa=>'Int'} |
3339
|
|
|
|
|
|
|
); |
3340
|
0
|
|
|
|
|
|
my $read_length = delete $args{read_length}; |
3341
|
0
|
|
|
|
|
|
return $self->connection->get_value( |
3342
|
|
|
|
|
|
|
path => $self->device()."/system/activeinterface", |
3343
|
|
|
|
|
|
|
type=>'B', |
3344
|
|
|
|
|
|
|
read_length=>$read_length |
3345
|
|
|
|
|
|
|
); |
3346
|
|
|
|
|
|
|
} |
3347
|
|
|
|
|
|
|
|
3348
|
|
|
|
|
|
|
|
3349
|
|
|
|
|
|
|
|
3350
|
|
|
|
|
|
|
sub set_system_awg_channelgrouping { |
3351
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3352
|
|
|
|
|
|
|
\@_, |
3353
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
3354
|
|
|
|
|
|
|
); |
3355
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
3356
|
|
|
|
|
|
|
path => $self->device()."/system/awg/channelgrouping", |
3357
|
|
|
|
|
|
|
type=>'I', |
3358
|
|
|
|
|
|
|
value =>$value |
3359
|
|
|
|
|
|
|
); |
3360
|
|
|
|
|
|
|
} |
3361
|
|
|
|
|
|
|
|
3362
|
|
|
|
|
|
|
sub get_system_awg_channelgrouping { |
3363
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3364
|
|
|
|
|
|
|
\@_, |
3365
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3366
|
|
|
|
|
|
|
); |
3367
|
0
|
|
|
|
|
|
return $self->get_value( |
3368
|
|
|
|
|
|
|
path => $self->device()."/system/awg/channelgrouping", |
3369
|
|
|
|
|
|
|
type=>'I', |
3370
|
|
|
|
|
|
|
); |
3371
|
|
|
|
|
|
|
} |
3372
|
|
|
|
|
|
|
|
3373
|
|
|
|
|
|
|
|
3374
|
|
|
|
|
|
|
|
3375
|
|
|
|
|
|
|
sub set_system_awg_oscillatorcontrol { |
3376
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3377
|
|
|
|
|
|
|
\@_, |
3378
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
3379
|
|
|
|
|
|
|
); |
3380
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
3381
|
|
|
|
|
|
|
path => $self->device()."/system/awg/oscillatorcontrol", |
3382
|
|
|
|
|
|
|
type=>'I', |
3383
|
|
|
|
|
|
|
value =>$value |
3384
|
|
|
|
|
|
|
); |
3385
|
|
|
|
|
|
|
} |
3386
|
|
|
|
|
|
|
|
3387
|
|
|
|
|
|
|
sub get_system_awg_oscillatorcontrol { |
3388
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3389
|
|
|
|
|
|
|
\@_, |
3390
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3391
|
|
|
|
|
|
|
); |
3392
|
0
|
|
|
|
|
|
return $self->get_value( |
3393
|
|
|
|
|
|
|
path => $self->device()."/system/awg/oscillatorcontrol", |
3394
|
|
|
|
|
|
|
type=>'I', |
3395
|
|
|
|
|
|
|
); |
3396
|
|
|
|
|
|
|
} |
3397
|
|
|
|
|
|
|
|
3398
|
|
|
|
|
|
|
|
3399
|
|
|
|
|
|
|
|
3400
|
|
|
|
|
|
|
sub get_system_boardrevisions { |
3401
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3402
|
|
|
|
|
|
|
\@_, |
3403
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3404
|
|
|
|
|
|
|
boardrevision => {isa=>'Int'}, |
3405
|
|
|
|
|
|
|
read_length => {isa=>'Int'} |
3406
|
|
|
|
|
|
|
); |
3407
|
0
|
|
|
|
|
|
my $boardrevision = delete $args{boardrevision}; |
3408
|
0
|
|
|
|
|
|
my $read_length = delete $args{read_length}; |
3409
|
0
|
|
|
|
|
|
return $self->connection->get_value( |
3410
|
|
|
|
|
|
|
path => $self->device()."/system/boardrevisions/$boardrevision", |
3411
|
|
|
|
|
|
|
type=>'B', |
3412
|
|
|
|
|
|
|
read_length => $read_length |
3413
|
|
|
|
|
|
|
); |
3414
|
|
|
|
|
|
|
} |
3415
|
|
|
|
|
|
|
|
3416
|
|
|
|
|
|
|
|
3417
|
|
|
|
|
|
|
|
3418
|
|
|
|
|
|
|
sub get_system_clocks_referenceclock_freq { |
3419
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3420
|
|
|
|
|
|
|
\@_, |
3421
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3422
|
|
|
|
|
|
|
); |
3423
|
0
|
|
|
|
|
|
return $self->get_value( |
3424
|
|
|
|
|
|
|
path => $self->device()."/system/clocks/referenceclock/freq", |
3425
|
|
|
|
|
|
|
type=>'D', |
3426
|
|
|
|
|
|
|
); |
3427
|
|
|
|
|
|
|
} |
3428
|
|
|
|
|
|
|
|
3429
|
|
|
|
|
|
|
|
3430
|
|
|
|
|
|
|
|
3431
|
|
|
|
|
|
|
sub set_system_clocks_referenceclock_source { |
3432
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3433
|
|
|
|
|
|
|
\@_, |
3434
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
3435
|
|
|
|
|
|
|
); |
3436
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
3437
|
|
|
|
|
|
|
path => $self->device()."/system/clocks/referenceclock/source", |
3438
|
|
|
|
|
|
|
type=>'I', |
3439
|
|
|
|
|
|
|
value =>$value |
3440
|
|
|
|
|
|
|
); |
3441
|
|
|
|
|
|
|
} |
3442
|
|
|
|
|
|
|
|
3443
|
|
|
|
|
|
|
sub get_system_clocks_referenceclock_source { |
3444
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3445
|
|
|
|
|
|
|
\@_, |
3446
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3447
|
|
|
|
|
|
|
); |
3448
|
0
|
|
|
|
|
|
return $self->get_value( |
3449
|
|
|
|
|
|
|
path => $self->device()."/system/clocks/referenceclock/source", |
3450
|
|
|
|
|
|
|
type=>'I', |
3451
|
|
|
|
|
|
|
); |
3452
|
|
|
|
|
|
|
} |
3453
|
|
|
|
|
|
|
|
3454
|
|
|
|
|
|
|
|
3455
|
|
|
|
|
|
|
|
3456
|
|
|
|
|
|
|
sub get_system_clocks_referenceclock_status { |
3457
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3458
|
|
|
|
|
|
|
\@_, |
3459
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3460
|
|
|
|
|
|
|
); |
3461
|
0
|
|
|
|
|
|
return $self->get_value( |
3462
|
|
|
|
|
|
|
path => $self->device()."/system/clocks/referenceclock/status", |
3463
|
|
|
|
|
|
|
type=>'I', |
3464
|
|
|
|
|
|
|
); |
3465
|
|
|
|
|
|
|
} |
3466
|
|
|
|
|
|
|
|
3467
|
|
|
|
|
|
|
|
3468
|
|
|
|
|
|
|
|
3469
|
|
|
|
|
|
|
sub set_system_clocks_sampleclock_freq { |
3470
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3471
|
|
|
|
|
|
|
\@_, |
3472
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
3473
|
|
|
|
|
|
|
); |
3474
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
3475
|
|
|
|
|
|
|
path => $self->device()."/system/clocks/sampleclock/freq", |
3476
|
|
|
|
|
|
|
type=>'D', |
3477
|
|
|
|
|
|
|
value =>$value |
3478
|
|
|
|
|
|
|
); |
3479
|
|
|
|
|
|
|
} |
3480
|
|
|
|
|
|
|
|
3481
|
|
|
|
|
|
|
sub get_system_clocks_sampleclock_freq { |
3482
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3483
|
|
|
|
|
|
|
\@_, |
3484
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3485
|
|
|
|
|
|
|
); |
3486
|
0
|
|
|
|
|
|
return $self->get_value( |
3487
|
|
|
|
|
|
|
path => $self->device()."/system/clocks/sampleclock/freq", |
3488
|
|
|
|
|
|
|
type=>'D', |
3489
|
|
|
|
|
|
|
); |
3490
|
|
|
|
|
|
|
} |
3491
|
|
|
|
|
|
|
|
3492
|
|
|
|
|
|
|
|
3493
|
|
|
|
|
|
|
|
3494
|
|
|
|
|
|
|
sub set_system_clocks_sampleclock_outputenable { |
3495
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3496
|
|
|
|
|
|
|
\@_, |
3497
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
3498
|
|
|
|
|
|
|
); |
3499
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
3500
|
|
|
|
|
|
|
path => $self->device()."/system/clocks/sampleclock/outputenable", |
3501
|
|
|
|
|
|
|
type=>'I', |
3502
|
|
|
|
|
|
|
value =>$value |
3503
|
|
|
|
|
|
|
); |
3504
|
|
|
|
|
|
|
} |
3505
|
|
|
|
|
|
|
|
3506
|
|
|
|
|
|
|
sub get_system_clocks_sampleclock_outputenable { |
3507
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3508
|
|
|
|
|
|
|
\@_, |
3509
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3510
|
|
|
|
|
|
|
); |
3511
|
0
|
|
|
|
|
|
return $self->get_value( |
3512
|
|
|
|
|
|
|
path => $self->device()."/system/clocks/sampleclock/outputenable", |
3513
|
|
|
|
|
|
|
type=>'I', |
3514
|
|
|
|
|
|
|
); |
3515
|
|
|
|
|
|
|
} |
3516
|
|
|
|
|
|
|
|
3517
|
|
|
|
|
|
|
|
3518
|
|
|
|
|
|
|
|
3519
|
|
|
|
|
|
|
sub get_system_clocks_sampleclock_status { |
3520
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3521
|
|
|
|
|
|
|
\@_, |
3522
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3523
|
|
|
|
|
|
|
); |
3524
|
0
|
|
|
|
|
|
return $self->get_value( |
3525
|
|
|
|
|
|
|
path => $self->device()."/system/clocks/sampleclock/status", |
3526
|
|
|
|
|
|
|
type=>'I', |
3527
|
|
|
|
|
|
|
); |
3528
|
|
|
|
|
|
|
} |
3529
|
|
|
|
|
|
|
|
3530
|
|
|
|
|
|
|
|
3531
|
|
|
|
|
|
|
|
3532
|
|
|
|
|
|
|
sub get_system_fpgarevision { |
3533
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3534
|
|
|
|
|
|
|
\@_, |
3535
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3536
|
|
|
|
|
|
|
); |
3537
|
0
|
|
|
|
|
|
return $self->get_value( |
3538
|
|
|
|
|
|
|
path => $self->device()."/system/fpgarevision", |
3539
|
|
|
|
|
|
|
type=>'I', |
3540
|
|
|
|
|
|
|
); |
3541
|
|
|
|
|
|
|
} |
3542
|
|
|
|
|
|
|
|
3543
|
|
|
|
|
|
|
# =head3 /DEV/SYSTEM/FWLOG |
3544
|
|
|
|
|
|
|
# Properties: Read |
3545
|
|
|
|
|
|
|
# Type: String(B) |
3546
|
|
|
|
|
|
|
# Unit: None |
3547
|
|
|
|
|
|
|
|
3548
|
|
|
|
|
|
|
# get_system_fwlog() |
3549
|
|
|
|
|
|
|
|
3550
|
|
|
|
|
|
|
# Returns log output of the firmware. |
3551
|
|
|
|
|
|
|
# =cut |
3552
|
|
|
|
|
|
|
|
3553
|
|
|
|
|
|
|
|
3554
|
|
|
|
|
|
|
# sub get_system_fwlog { |
3555
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
3556
|
|
|
|
|
|
|
# \@_, |
3557
|
|
|
|
|
|
|
# value =>{isa =>'Num',optional=>1}, |
3558
|
|
|
|
|
|
|
# read_length=>{isa=>'Int'} |
3559
|
|
|
|
|
|
|
# ); |
3560
|
|
|
|
|
|
|
# my $read_length = delete $args{read_length}; |
3561
|
|
|
|
|
|
|
# return $self->connection->get_value( |
3562
|
|
|
|
|
|
|
# path => $self->device()."/system/fwlog", |
3563
|
|
|
|
|
|
|
# type=>'B', |
3564
|
|
|
|
|
|
|
# read_length=>$read_length |
3565
|
|
|
|
|
|
|
|
3566
|
|
|
|
|
|
|
# ); |
3567
|
|
|
|
|
|
|
# } |
3568
|
|
|
|
|
|
|
|
3569
|
|
|
|
|
|
|
|
3570
|
|
|
|
|
|
|
|
3571
|
|
|
|
|
|
|
sub set_system_fwlogenable { |
3572
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3573
|
|
|
|
|
|
|
\@_, |
3574
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
3575
|
|
|
|
|
|
|
); |
3576
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
3577
|
|
|
|
|
|
|
path => $self->device()."/system/fwlogenable", |
3578
|
|
|
|
|
|
|
type=>'I', |
3579
|
|
|
|
|
|
|
value =>$value |
3580
|
|
|
|
|
|
|
); |
3581
|
|
|
|
|
|
|
} |
3582
|
|
|
|
|
|
|
|
3583
|
|
|
|
|
|
|
sub get_system_fwlogenable { |
3584
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3585
|
|
|
|
|
|
|
\@_, |
3586
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3587
|
|
|
|
|
|
|
); |
3588
|
0
|
|
|
|
|
|
return $self->get_value( |
3589
|
|
|
|
|
|
|
path => $self->device()."/system/fwlogenable", |
3590
|
|
|
|
|
|
|
type=>'I', |
3591
|
|
|
|
|
|
|
); |
3592
|
|
|
|
|
|
|
} |
3593
|
|
|
|
|
|
|
|
3594
|
|
|
|
|
|
|
|
3595
|
|
|
|
|
|
|
|
3596
|
|
|
|
|
|
|
sub get_system_fwrevision { |
3597
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3598
|
|
|
|
|
|
|
\@_, |
3599
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3600
|
|
|
|
|
|
|
); |
3601
|
0
|
|
|
|
|
|
return $self->get_value( |
3602
|
|
|
|
|
|
|
path => $self->device()."/system/fwrevision", |
3603
|
|
|
|
|
|
|
type=>'I', |
3604
|
|
|
|
|
|
|
); |
3605
|
|
|
|
|
|
|
} |
3606
|
|
|
|
|
|
|
|
3607
|
|
|
|
|
|
|
|
3608
|
|
|
|
|
|
|
|
3609
|
|
|
|
|
|
|
sub get_system_fx3revision { |
3610
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3611
|
|
|
|
|
|
|
\@_, |
3612
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3613
|
|
|
|
|
|
|
); |
3614
|
0
|
|
|
|
|
|
return $self->get_value( |
3615
|
|
|
|
|
|
|
path => $self->device()."/system/fx3revision", |
3616
|
|
|
|
|
|
|
type=>'B', |
3617
|
|
|
|
|
|
|
); |
3618
|
|
|
|
|
|
|
} |
3619
|
|
|
|
|
|
|
|
3620
|
|
|
|
|
|
|
|
3621
|
|
|
|
|
|
|
|
3622
|
|
|
|
|
|
|
sub set_system_identify { |
3623
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3624
|
|
|
|
|
|
|
\@_, |
3625
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
3626
|
|
|
|
|
|
|
); |
3627
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
3628
|
|
|
|
|
|
|
path => $self->device()."/system/identify", |
3629
|
|
|
|
|
|
|
type=>'I', |
3630
|
|
|
|
|
|
|
value =>$value |
3631
|
|
|
|
|
|
|
); |
3632
|
|
|
|
|
|
|
} |
3633
|
|
|
|
|
|
|
|
3634
|
|
|
|
|
|
|
sub get_system_identify { |
3635
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3636
|
|
|
|
|
|
|
\@_, |
3637
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3638
|
|
|
|
|
|
|
); |
3639
|
0
|
|
|
|
|
|
return $self->get_value( |
3640
|
|
|
|
|
|
|
path => $self->device()."/system/identify", |
3641
|
|
|
|
|
|
|
type=>'I', |
3642
|
|
|
|
|
|
|
); |
3643
|
|
|
|
|
|
|
} |
3644
|
|
|
|
|
|
|
|
3645
|
|
|
|
|
|
|
|
3646
|
|
|
|
|
|
|
|
3647
|
|
|
|
|
|
|
sub get_system_interfacespeed { |
3648
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3649
|
|
|
|
|
|
|
\@_, |
3650
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3651
|
|
|
|
|
|
|
read_length => {isa=>'Int'} |
3652
|
|
|
|
|
|
|
); |
3653
|
0
|
|
|
|
|
|
my $read_length = delete $args{read_length}; |
3654
|
0
|
|
|
|
|
|
return $self->connection->get_value( |
3655
|
|
|
|
|
|
|
path => $self->device()."/system/interfacespeed", |
3656
|
|
|
|
|
|
|
type=>'B', |
3657
|
|
|
|
|
|
|
read_length => $read_length |
3658
|
|
|
|
|
|
|
|
3659
|
|
|
|
|
|
|
); |
3660
|
|
|
|
|
|
|
} |
3661
|
|
|
|
|
|
|
|
3662
|
|
|
|
|
|
|
|
3663
|
|
|
|
|
|
|
|
3664
|
|
|
|
|
|
|
sub get_system_kerneltype { |
3665
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3666
|
|
|
|
|
|
|
\@_, |
3667
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3668
|
|
|
|
|
|
|
read_length => {isa=>'Int'} |
3669
|
|
|
|
|
|
|
); |
3670
|
0
|
|
|
|
|
|
my $read_length = delete $args{read_length}; |
3671
|
0
|
|
|
|
|
|
return $self->connection->get_value( |
3672
|
|
|
|
|
|
|
path => $self->device()."/system/kerneltype", |
3673
|
|
|
|
|
|
|
type=>'B', |
3674
|
|
|
|
|
|
|
read_length => $read_length |
3675
|
|
|
|
|
|
|
); |
3676
|
|
|
|
|
|
|
} |
3677
|
|
|
|
|
|
|
|
3678
|
|
|
|
|
|
|
# =head3 /DEV/SYSTEM/NICS/n/DEFAULTGATEWAY |
3679
|
|
|
|
|
|
|
# Properties: Read Write |
3680
|
|
|
|
|
|
|
# Type: String(B) |
3681
|
|
|
|
|
|
|
# Unit: None |
3682
|
|
|
|
|
|
|
|
3683
|
|
|
|
|
|
|
# set_system_nics_defaultgateway(nic => $nic, value => $value) |
3684
|
|
|
|
|
|
|
# get_system_nics_defaultgateway(nic => $nic) |
3685
|
|
|
|
|
|
|
|
3686
|
|
|
|
|
|
|
# Default gateway configuration for the network connection. |
3687
|
|
|
|
|
|
|
# =cut |
3688
|
|
|
|
|
|
|
|
3689
|
|
|
|
|
|
|
|
3690
|
|
|
|
|
|
|
# sub set_system_nics_defaultgateway { |
3691
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
3692
|
|
|
|
|
|
|
# \@_, |
3693
|
|
|
|
|
|
|
# nic=>{isa => 'Int'}, |
3694
|
|
|
|
|
|
|
# value =>{isa =>'Str'}, |
3695
|
|
|
|
|
|
|
# );my $nic=delete $args{nic}; |
3696
|
|
|
|
|
|
|
# return $self->sync_set_value( |
3697
|
|
|
|
|
|
|
# path => $self->device()."/system/nics/$nic/defaultgateway", |
3698
|
|
|
|
|
|
|
# type=>'B', |
3699
|
|
|
|
|
|
|
# value =>$value |
3700
|
|
|
|
|
|
|
# ); |
3701
|
|
|
|
|
|
|
# } |
3702
|
|
|
|
|
|
|
|
3703
|
|
|
|
|
|
|
# sub get_system_nics_defaultgateway { |
3704
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
3705
|
|
|
|
|
|
|
# \@_, |
3706
|
|
|
|
|
|
|
# nic=>{isa => 'Int'}, |
3707
|
|
|
|
|
|
|
# value =>{isa =>'Num',optional=>1}, |
3708
|
|
|
|
|
|
|
# ); |
3709
|
|
|
|
|
|
|
# my $nic =delete $args{nic}; |
3710
|
|
|
|
|
|
|
# return $self->get_value( |
3711
|
|
|
|
|
|
|
# path => $self->device()."/system/nics/$nic/defaultgateway", |
3712
|
|
|
|
|
|
|
# type=>'B', |
3713
|
|
|
|
|
|
|
# ); |
3714
|
|
|
|
|
|
|
# } |
3715
|
|
|
|
|
|
|
|
3716
|
|
|
|
|
|
|
# =head3 /DEV/SYSTEM/NICS/n/DEFAULTIP4 |
3717
|
|
|
|
|
|
|
# Properties: Read Write |
3718
|
|
|
|
|
|
|
# Type: String(B) |
3719
|
|
|
|
|
|
|
# Unit: None |
3720
|
|
|
|
|
|
|
|
3721
|
|
|
|
|
|
|
# set_system_nics_defaultip4(nic => $nic, value => $value) |
3722
|
|
|
|
|
|
|
# get_system_nics_defaultip4(nic => $nic) |
3723
|
|
|
|
|
|
|
|
3724
|
|
|
|
|
|
|
# IPv4 address of the device to use if static IP is enabled. |
3725
|
|
|
|
|
|
|
# =cut |
3726
|
|
|
|
|
|
|
|
3727
|
|
|
|
|
|
|
|
3728
|
|
|
|
|
|
|
# sub set_system_nics_defaultip4 { |
3729
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
3730
|
|
|
|
|
|
|
# \@_, |
3731
|
|
|
|
|
|
|
# nic=>{isa => 'Int'}, |
3732
|
|
|
|
|
|
|
# value =>{isa =>'Str'}, |
3733
|
|
|
|
|
|
|
# );my $nic=delete $args{nic}; |
3734
|
|
|
|
|
|
|
# return $self->sync_set_value( |
3735
|
|
|
|
|
|
|
# path => $self->device()."/system/nics/$nic/defaultip4", |
3736
|
|
|
|
|
|
|
# type=>'B', |
3737
|
|
|
|
|
|
|
# value =>$value |
3738
|
|
|
|
|
|
|
# ); |
3739
|
|
|
|
|
|
|
# } |
3740
|
|
|
|
|
|
|
|
3741
|
|
|
|
|
|
|
# sub get_system_nics_defaultip4 { |
3742
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
3743
|
|
|
|
|
|
|
# \@_, |
3744
|
|
|
|
|
|
|
# nic=>{isa => 'Int'}, |
3745
|
|
|
|
|
|
|
# value =>{isa =>'Num',optional=>1}, |
3746
|
|
|
|
|
|
|
# ); |
3747
|
|
|
|
|
|
|
# my $nic =delete $args{nic}; |
3748
|
|
|
|
|
|
|
# return $self->get_value( |
3749
|
|
|
|
|
|
|
# path => $self->device()."/system/nics/$nic/defaultip4", |
3750
|
|
|
|
|
|
|
# type=>'B', |
3751
|
|
|
|
|
|
|
# ); |
3752
|
|
|
|
|
|
|
# } |
3753
|
|
|
|
|
|
|
|
3754
|
|
|
|
|
|
|
# =head3 /DEV/SYSTEM/NICS/n/DEFAULTMASK |
3755
|
|
|
|
|
|
|
# Properties: Read Write |
3756
|
|
|
|
|
|
|
# Type: String(B) |
3757
|
|
|
|
|
|
|
# Unit: None |
3758
|
|
|
|
|
|
|
|
3759
|
|
|
|
|
|
|
# set_system_nics_defaultmask(nic => $nic, value => $value) |
3760
|
|
|
|
|
|
|
# get_system_nics_defaultmask(nic => $nic) |
3761
|
|
|
|
|
|
|
|
3762
|
|
|
|
|
|
|
# IPv4 mask in case of static IP. |
3763
|
|
|
|
|
|
|
# =cut |
3764
|
|
|
|
|
|
|
|
3765
|
|
|
|
|
|
|
|
3766
|
|
|
|
|
|
|
# sub set_system_nics_defaultmask { |
3767
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
3768
|
|
|
|
|
|
|
# \@_, |
3769
|
|
|
|
|
|
|
# nic=>{isa => 'Int'}, |
3770
|
|
|
|
|
|
|
# value =>{isa =>'Str'}, |
3771
|
|
|
|
|
|
|
# );my $nic=delete $args{nic}; |
3772
|
|
|
|
|
|
|
# return $self->sync_set_value( |
3773
|
|
|
|
|
|
|
# path => $self->device()."/system/nics/$nic/defaultmask", |
3774
|
|
|
|
|
|
|
# type=>'B', |
3775
|
|
|
|
|
|
|
# value =>$value |
3776
|
|
|
|
|
|
|
# ); |
3777
|
|
|
|
|
|
|
# } |
3778
|
|
|
|
|
|
|
|
3779
|
|
|
|
|
|
|
# sub get_system_nics_defaultmask { |
3780
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
3781
|
|
|
|
|
|
|
# \@_, |
3782
|
|
|
|
|
|
|
# nic=>{isa => 'Int'}, |
3783
|
|
|
|
|
|
|
# value =>{isa =>'Num',optional=>1}, |
3784
|
|
|
|
|
|
|
# ); |
3785
|
|
|
|
|
|
|
# my $nic =delete $args{nic}; |
3786
|
|
|
|
|
|
|
# return $self->get_value( |
3787
|
|
|
|
|
|
|
# path => $self->device()."/system/nics/$nic/defaultmask", |
3788
|
|
|
|
|
|
|
# type=>'B', |
3789
|
|
|
|
|
|
|
# ); |
3790
|
|
|
|
|
|
|
# } |
3791
|
|
|
|
|
|
|
|
3792
|
|
|
|
|
|
|
# =head3 /DEV/SYSTEM/NICS/n/GATEWAY |
3793
|
|
|
|
|
|
|
# Properties: Read |
3794
|
|
|
|
|
|
|
# Type: String(B) |
3795
|
|
|
|
|
|
|
# Unit: None |
3796
|
|
|
|
|
|
|
|
3797
|
|
|
|
|
|
|
# get_system_nics_gateway(nic => $nic) |
3798
|
|
|
|
|
|
|
|
3799
|
|
|
|
|
|
|
# Current network gateway. |
3800
|
|
|
|
|
|
|
# =cut |
3801
|
|
|
|
|
|
|
|
3802
|
|
|
|
|
|
|
|
3803
|
|
|
|
|
|
|
# sub get_system_nics_gateway { |
3804
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
3805
|
|
|
|
|
|
|
# \@_, |
3806
|
|
|
|
|
|
|
# nic=>{isa => 'Int'}, |
3807
|
|
|
|
|
|
|
# value =>{isa =>'Num',optional=>1}, |
3808
|
|
|
|
|
|
|
# ); |
3809
|
|
|
|
|
|
|
# my $nic =delete $args{nic}; |
3810
|
|
|
|
|
|
|
# return $self->get_value( |
3811
|
|
|
|
|
|
|
# path => $self->device()."/system/nics/$nic/gateway", |
3812
|
|
|
|
|
|
|
# type=>'B', |
3813
|
|
|
|
|
|
|
# ); |
3814
|
|
|
|
|
|
|
# } |
3815
|
|
|
|
|
|
|
|
3816
|
|
|
|
|
|
|
# =head3 /DEV/SYSTEM/NICS/n/IP4 |
3817
|
|
|
|
|
|
|
# Properties: Read |
3818
|
|
|
|
|
|
|
# Type: String(B) |
3819
|
|
|
|
|
|
|
# Unit: None |
3820
|
|
|
|
|
|
|
|
3821
|
|
|
|
|
|
|
# get_system_nics_ip4(nic => $nic) |
3822
|
|
|
|
|
|
|
|
3823
|
|
|
|
|
|
|
# Current IPv4 of the device. |
3824
|
|
|
|
|
|
|
# =cut |
3825
|
|
|
|
|
|
|
|
3826
|
|
|
|
|
|
|
|
3827
|
|
|
|
|
|
|
# sub get_system_nics_ip4 { |
3828
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
3829
|
|
|
|
|
|
|
# \@_, |
3830
|
|
|
|
|
|
|
# nic=>{isa => 'Int'}, |
3831
|
|
|
|
|
|
|
# value =>{isa =>'Num',optional=>1}, |
3832
|
|
|
|
|
|
|
# ); |
3833
|
|
|
|
|
|
|
# my $nic =delete $args{nic}; |
3834
|
|
|
|
|
|
|
# return $self->get_value( |
3835
|
|
|
|
|
|
|
# path => $self->device()."/system/nics/$nic/ip4", |
3836
|
|
|
|
|
|
|
# type=>'B', |
3837
|
|
|
|
|
|
|
# ); |
3838
|
|
|
|
|
|
|
# } |
3839
|
|
|
|
|
|
|
|
3840
|
|
|
|
|
|
|
# =head3 /DEV/SYSTEM/NICS/n/MAC |
3841
|
|
|
|
|
|
|
# Properties: Read |
3842
|
|
|
|
|
|
|
# Type: String(B) |
3843
|
|
|
|
|
|
|
# Unit: None |
3844
|
|
|
|
|
|
|
|
3845
|
|
|
|
|
|
|
# get_system_nics_mac(nic => $nic) |
3846
|
|
|
|
|
|
|
|
3847
|
|
|
|
|
|
|
# Current MAC address of the device network interface. |
3848
|
|
|
|
|
|
|
# =cut |
3849
|
|
|
|
|
|
|
|
3850
|
|
|
|
|
|
|
|
3851
|
|
|
|
|
|
|
# sub get_system_nics_mac { |
3852
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
3853
|
|
|
|
|
|
|
# \@_, |
3854
|
|
|
|
|
|
|
# nic=>{isa => 'Int'}, |
3855
|
|
|
|
|
|
|
# value =>{isa =>'Num',optional=>1}, |
3856
|
|
|
|
|
|
|
# ); |
3857
|
|
|
|
|
|
|
# my $nic =delete $args{nic}; |
3858
|
|
|
|
|
|
|
# return $self->get_value( |
3859
|
|
|
|
|
|
|
# path => $self->device()."/system/nics/$nic/mac", |
3860
|
|
|
|
|
|
|
# type=>'B', |
3861
|
|
|
|
|
|
|
# ); |
3862
|
|
|
|
|
|
|
# } |
3863
|
|
|
|
|
|
|
|
3864
|
|
|
|
|
|
|
# =head3 /DEV/SYSTEM/NICS/n/MASK |
3865
|
|
|
|
|
|
|
# Properties: Read |
3866
|
|
|
|
|
|
|
# Type: String(B) |
3867
|
|
|
|
|
|
|
# Unit: None |
3868
|
|
|
|
|
|
|
|
3869
|
|
|
|
|
|
|
# get_system_nics_mask(nic => $nic) |
3870
|
|
|
|
|
|
|
|
3871
|
|
|
|
|
|
|
# Current network mask. |
3872
|
|
|
|
|
|
|
# =cut |
3873
|
|
|
|
|
|
|
|
3874
|
|
|
|
|
|
|
|
3875
|
|
|
|
|
|
|
# sub get_system_nics_mask { |
3876
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
3877
|
|
|
|
|
|
|
# \@_, |
3878
|
|
|
|
|
|
|
# nic=>{isa => 'Int'}, |
3879
|
|
|
|
|
|
|
# value =>{isa =>'Num',optional=>1}, |
3880
|
|
|
|
|
|
|
# ); |
3881
|
|
|
|
|
|
|
# my $nic =delete $args{nic}; |
3882
|
|
|
|
|
|
|
# return $self->get_value( |
3883
|
|
|
|
|
|
|
# path => $self->device()."/system/nics/$nic/mask", |
3884
|
|
|
|
|
|
|
# type=>'B', |
3885
|
|
|
|
|
|
|
# ); |
3886
|
|
|
|
|
|
|
# } |
3887
|
|
|
|
|
|
|
|
3888
|
|
|
|
|
|
|
# =head3 /DEV/SYSTEM/NICS/n/SAVEIP |
3889
|
|
|
|
|
|
|
# Properties: Read Write |
3890
|
|
|
|
|
|
|
# Type: Integer (64 bit)(I) |
3891
|
|
|
|
|
|
|
# Unit: None |
3892
|
|
|
|
|
|
|
|
3893
|
|
|
|
|
|
|
# set_system_nics_saveip(nic => $nic, value => $value) |
3894
|
|
|
|
|
|
|
# get_system_nics_saveip(nic => $nic) |
3895
|
|
|
|
|
|
|
|
3896
|
|
|
|
|
|
|
# If written, this action will program the defined static IP address to the device. |
3897
|
|
|
|
|
|
|
# =cut |
3898
|
|
|
|
|
|
|
|
3899
|
|
|
|
|
|
|
|
3900
|
|
|
|
|
|
|
# sub set_system_nics_saveip { |
3901
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
3902
|
|
|
|
|
|
|
# \@_, |
3903
|
|
|
|
|
|
|
# nic=>{isa => 'Int'}, |
3904
|
|
|
|
|
|
|
# value =>{isa =>'Num'}, |
3905
|
|
|
|
|
|
|
# );my $nic=delete $args{nic}; |
3906
|
|
|
|
|
|
|
# return $self->sync_set_value( |
3907
|
|
|
|
|
|
|
# path => $self->device()."/system/nics/$nic/saveip", |
3908
|
|
|
|
|
|
|
# type=>'I', |
3909
|
|
|
|
|
|
|
# value =>$value |
3910
|
|
|
|
|
|
|
# ); |
3911
|
|
|
|
|
|
|
# } |
3912
|
|
|
|
|
|
|
|
3913
|
|
|
|
|
|
|
# sub get_system_nics_saveip { |
3914
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
3915
|
|
|
|
|
|
|
# \@_, |
3916
|
|
|
|
|
|
|
# nic=>{isa => 'Int'}, |
3917
|
|
|
|
|
|
|
# value =>{isa =>'Num',optional=>1}, |
3918
|
|
|
|
|
|
|
# ); |
3919
|
|
|
|
|
|
|
# my $nic =delete $args{nic}; |
3920
|
|
|
|
|
|
|
# return $self->get_value( |
3921
|
|
|
|
|
|
|
# path => $self->device()."/system/nics/$nic/saveip", |
3922
|
|
|
|
|
|
|
# type=>'I', |
3923
|
|
|
|
|
|
|
# ); |
3924
|
|
|
|
|
|
|
# } |
3925
|
|
|
|
|
|
|
|
3926
|
|
|
|
|
|
|
# =head3 /DEV/SYSTEM/NICS/n/STATIC |
3927
|
|
|
|
|
|
|
# Properties: Read Write |
3928
|
|
|
|
|
|
|
# Type: Integer (64 bit)(I) |
3929
|
|
|
|
|
|
|
# Unit: None |
3930
|
|
|
|
|
|
|
|
3931
|
|
|
|
|
|
|
# set_system_nics_static(nic => $nic, value => $value) |
3932
|
|
|
|
|
|
|
# get_system_nics_static(nic => $nic) |
3933
|
|
|
|
|
|
|
|
3934
|
|
|
|
|
|
|
# Enable this flag if the device is used in a network with fixed IP assignment without a DHCP server. |
3935
|
|
|
|
|
|
|
# =cut |
3936
|
|
|
|
|
|
|
|
3937
|
|
|
|
|
|
|
|
3938
|
|
|
|
|
|
|
# sub set_system_nics_static { |
3939
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
3940
|
|
|
|
|
|
|
# \@_, |
3941
|
|
|
|
|
|
|
# nic=>{isa => 'Int'}, |
3942
|
|
|
|
|
|
|
# value =>{isa =>'Num'}, |
3943
|
|
|
|
|
|
|
# );my $nic=delete $args{nic}; |
3944
|
|
|
|
|
|
|
# return $self->sync_set_value( |
3945
|
|
|
|
|
|
|
# path => $self->device()."/system/nics/$nic/static", |
3946
|
|
|
|
|
|
|
# type=>'I', |
3947
|
|
|
|
|
|
|
# value =>$value |
3948
|
|
|
|
|
|
|
# ); |
3949
|
|
|
|
|
|
|
# } |
3950
|
|
|
|
|
|
|
|
3951
|
|
|
|
|
|
|
# sub get_system_nics_static { |
3952
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
3953
|
|
|
|
|
|
|
# \@_, |
3954
|
|
|
|
|
|
|
# nic=>{isa => 'Int'}, |
3955
|
|
|
|
|
|
|
# value =>{isa =>'Num',optional=>1}, |
3956
|
|
|
|
|
|
|
# ); |
3957
|
|
|
|
|
|
|
# my $nic =delete $args{nic}; |
3958
|
|
|
|
|
|
|
# return $self->get_value( |
3959
|
|
|
|
|
|
|
# path => $self->device()."/system/nics/$nic/static", |
3960
|
|
|
|
|
|
|
# type=>'I', |
3961
|
|
|
|
|
|
|
# ); |
3962
|
|
|
|
|
|
|
# } |
3963
|
|
|
|
|
|
|
|
3964
|
|
|
|
|
|
|
|
3965
|
|
|
|
|
|
|
|
3966
|
|
|
|
|
|
|
sub get_system_owner { |
3967
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
3968
|
|
|
|
|
|
|
\@_, |
3969
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
3970
|
|
|
|
|
|
|
read_length => {isa=>'Int'} |
3971
|
|
|
|
|
|
|
); |
3972
|
0
|
|
|
|
|
|
my $read_length = delete $args{read_length}; |
3973
|
0
|
|
|
|
|
|
return $self->connection->get_value( |
3974
|
|
|
|
|
|
|
path => $self->device()."/system/owner", |
3975
|
|
|
|
|
|
|
type=>'B', |
3976
|
|
|
|
|
|
|
read_length=>$read_length |
3977
|
|
|
|
|
|
|
); |
3978
|
|
|
|
|
|
|
} |
3979
|
|
|
|
|
|
|
|
3980
|
|
|
|
|
|
|
# =head3 /DEV/SYSTEM/PORTTCP |
3981
|
|
|
|
|
|
|
# Properties: Read Write |
3982
|
|
|
|
|
|
|
# Type: Integer (64 bit)(I) |
3983
|
|
|
|
|
|
|
# Unit: None |
3984
|
|
|
|
|
|
|
|
3985
|
|
|
|
|
|
|
# set_system_porttcp(value => $value) |
3986
|
|
|
|
|
|
|
# get_system_porttcp() |
3987
|
|
|
|
|
|
|
|
3988
|
|
|
|
|
|
|
# Returns the current TCP port used for communication to the dataserver. |
3989
|
|
|
|
|
|
|
# =cut |
3990
|
|
|
|
|
|
|
|
3991
|
|
|
|
|
|
|
|
3992
|
|
|
|
|
|
|
# sub set_system_porttcp { |
3993
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
3994
|
|
|
|
|
|
|
# \@_, |
3995
|
|
|
|
|
|
|
# value =>{isa =>'Num'}, |
3996
|
|
|
|
|
|
|
# ); |
3997
|
|
|
|
|
|
|
# return $self->sync_set_value( |
3998
|
|
|
|
|
|
|
# path => $self->device()."/system/porttcp", |
3999
|
|
|
|
|
|
|
# type=>'I', |
4000
|
|
|
|
|
|
|
# value =>$value |
4001
|
|
|
|
|
|
|
# ); |
4002
|
|
|
|
|
|
|
# } |
4003
|
|
|
|
|
|
|
|
4004
|
|
|
|
|
|
|
# sub get_system_porttcp { |
4005
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
4006
|
|
|
|
|
|
|
# \@_, |
4007
|
|
|
|
|
|
|
# value =>{isa =>'Num',optional=>1}, |
4008
|
|
|
|
|
|
|
# ); |
4009
|
|
|
|
|
|
|
# return $self->get_value( |
4010
|
|
|
|
|
|
|
# path => $self->device()."/system/porttcp", |
4011
|
|
|
|
|
|
|
# type=>'I', |
4012
|
|
|
|
|
|
|
# ); |
4013
|
|
|
|
|
|
|
# } |
4014
|
|
|
|
|
|
|
|
4015
|
|
|
|
|
|
|
# =head3 /DEV/SYSTEM/PORTUDP |
4016
|
|
|
|
|
|
|
# Properties: Read Write |
4017
|
|
|
|
|
|
|
# Type: Integer (64 bit)(I) |
4018
|
|
|
|
|
|
|
# Unit: None |
4019
|
|
|
|
|
|
|
|
4020
|
|
|
|
|
|
|
# set_system_portudp(value => $value) |
4021
|
|
|
|
|
|
|
# get_system_portudp() |
4022
|
|
|
|
|
|
|
|
4023
|
|
|
|
|
|
|
# Returns the current UDP port used for communication to the dataserver. |
4024
|
|
|
|
|
|
|
# =cut |
4025
|
|
|
|
|
|
|
|
4026
|
|
|
|
|
|
|
|
4027
|
|
|
|
|
|
|
# sub set_system_portudp { |
4028
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
4029
|
|
|
|
|
|
|
# \@_, |
4030
|
|
|
|
|
|
|
# value =>{isa =>'Num'}, |
4031
|
|
|
|
|
|
|
# ); |
4032
|
|
|
|
|
|
|
# return $self->sync_set_value( |
4033
|
|
|
|
|
|
|
# path => $self->device()."/system/portudp", |
4034
|
|
|
|
|
|
|
# type=>'I', |
4035
|
|
|
|
|
|
|
# value =>$value |
4036
|
|
|
|
|
|
|
# ); |
4037
|
|
|
|
|
|
|
# } |
4038
|
|
|
|
|
|
|
|
4039
|
|
|
|
|
|
|
# sub get_system_portudp { |
4040
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
4041
|
|
|
|
|
|
|
# \@_, |
4042
|
|
|
|
|
|
|
# value =>{isa =>'Num',optional=>1}, |
4043
|
|
|
|
|
|
|
# ); |
4044
|
|
|
|
|
|
|
# return $self->get_value( |
4045
|
|
|
|
|
|
|
# path => $self->device()."/system/portudp", |
4046
|
|
|
|
|
|
|
# type=>'I', |
4047
|
|
|
|
|
|
|
# ); |
4048
|
|
|
|
|
|
|
# } |
4049
|
|
|
|
|
|
|
|
4050
|
|
|
|
|
|
|
|
4051
|
|
|
|
|
|
|
|
4052
|
|
|
|
|
|
|
sub get_system_powerconfigdate { |
4053
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4054
|
|
|
|
|
|
|
\@_, |
4055
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
4056
|
|
|
|
|
|
|
); |
4057
|
0
|
|
|
|
|
|
return $self->get_value( |
4058
|
|
|
|
|
|
|
path => $self->device()."/system/powerconfigdate", |
4059
|
|
|
|
|
|
|
type=>'I', |
4060
|
|
|
|
|
|
|
); |
4061
|
|
|
|
|
|
|
} |
4062
|
|
|
|
|
|
|
|
4063
|
|
|
|
|
|
|
|
4064
|
|
|
|
|
|
|
|
4065
|
|
|
|
|
|
|
sub get_system_preset_busy { |
4066
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4067
|
|
|
|
|
|
|
\@_, |
4068
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
4069
|
|
|
|
|
|
|
); |
4070
|
0
|
|
|
|
|
|
return $self->get_value( |
4071
|
|
|
|
|
|
|
path => $self->device()."/system/preset/busy", |
4072
|
|
|
|
|
|
|
type=>'I', |
4073
|
|
|
|
|
|
|
); |
4074
|
|
|
|
|
|
|
} |
4075
|
|
|
|
|
|
|
|
4076
|
|
|
|
|
|
|
|
4077
|
|
|
|
|
|
|
|
4078
|
|
|
|
|
|
|
sub get_system_preset_error { |
4079
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4080
|
|
|
|
|
|
|
\@_, |
4081
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
4082
|
|
|
|
|
|
|
); |
4083
|
0
|
|
|
|
|
|
return $self->get_value( |
4084
|
|
|
|
|
|
|
path => $self->device()."/system/preset/error", |
4085
|
|
|
|
|
|
|
type=>'I', |
4086
|
|
|
|
|
|
|
); |
4087
|
|
|
|
|
|
|
} |
4088
|
|
|
|
|
|
|
|
4089
|
|
|
|
|
|
|
|
4090
|
|
|
|
|
|
|
|
4091
|
|
|
|
|
|
|
sub set_system_preset_load { |
4092
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4093
|
|
|
|
|
|
|
\@_, |
4094
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
4095
|
|
|
|
|
|
|
); |
4096
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
4097
|
|
|
|
|
|
|
path => $self->device()."/system/preset/load", |
4098
|
|
|
|
|
|
|
type=>'I', |
4099
|
|
|
|
|
|
|
value =>$value |
4100
|
|
|
|
|
|
|
); |
4101
|
|
|
|
|
|
|
} |
4102
|
|
|
|
|
|
|
|
4103
|
|
|
|
|
|
|
sub get_system_preset_load { |
4104
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4105
|
|
|
|
|
|
|
\@_, |
4106
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
4107
|
|
|
|
|
|
|
); |
4108
|
0
|
|
|
|
|
|
return $self->get_value( |
4109
|
|
|
|
|
|
|
path => $self->device()."/system/preset/load", |
4110
|
|
|
|
|
|
|
type=>'I', |
4111
|
|
|
|
|
|
|
); |
4112
|
|
|
|
|
|
|
} |
4113
|
|
|
|
|
|
|
|
4114
|
|
|
|
|
|
|
|
4115
|
|
|
|
|
|
|
|
4116
|
|
|
|
|
|
|
sub get_system_properties_freqresolution { |
4117
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4118
|
|
|
|
|
|
|
\@_, |
4119
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
4120
|
|
|
|
|
|
|
); |
4121
|
0
|
|
|
|
|
|
return $self->get_value( |
4122
|
|
|
|
|
|
|
path => $self->device()."/system/properties/freqresolution", |
4123
|
|
|
|
|
|
|
type=>'I', |
4124
|
|
|
|
|
|
|
); |
4125
|
|
|
|
|
|
|
} |
4126
|
|
|
|
|
|
|
|
4127
|
|
|
|
|
|
|
|
4128
|
|
|
|
|
|
|
|
4129
|
|
|
|
|
|
|
sub get_system_properties_freqscaling { |
4130
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4131
|
|
|
|
|
|
|
\@_, |
4132
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
4133
|
|
|
|
|
|
|
); |
4134
|
0
|
|
|
|
|
|
return $self->get_value( |
4135
|
|
|
|
|
|
|
path => $self->device()."/system/properties/freqscaling", |
4136
|
|
|
|
|
|
|
type=>'D', |
4137
|
|
|
|
|
|
|
); |
4138
|
|
|
|
|
|
|
} |
4139
|
|
|
|
|
|
|
|
4140
|
|
|
|
|
|
|
|
4141
|
|
|
|
|
|
|
|
4142
|
|
|
|
|
|
|
sub get_system_properties_maxfreq { |
4143
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4144
|
|
|
|
|
|
|
\@_, |
4145
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
4146
|
|
|
|
|
|
|
); |
4147
|
0
|
|
|
|
|
|
return $self->get_value( |
4148
|
|
|
|
|
|
|
path => $self->device()."/system/properties/maxfreq", |
4149
|
|
|
|
|
|
|
type=>'D', |
4150
|
|
|
|
|
|
|
); |
4151
|
|
|
|
|
|
|
} |
4152
|
|
|
|
|
|
|
|
4153
|
|
|
|
|
|
|
|
4154
|
|
|
|
|
|
|
|
4155
|
|
|
|
|
|
|
sub get_system_properties_maxtimeconstant { |
4156
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4157
|
|
|
|
|
|
|
\@_, |
4158
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
4159
|
|
|
|
|
|
|
); |
4160
|
0
|
|
|
|
|
|
return $self->get_value( |
4161
|
|
|
|
|
|
|
path => $self->device()."/system/properties/maxtimeconstant", |
4162
|
|
|
|
|
|
|
type=>'D', |
4163
|
|
|
|
|
|
|
); |
4164
|
|
|
|
|
|
|
} |
4165
|
|
|
|
|
|
|
|
4166
|
|
|
|
|
|
|
|
4167
|
|
|
|
|
|
|
|
4168
|
|
|
|
|
|
|
sub get_system_properties_minfreq { |
4169
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4170
|
|
|
|
|
|
|
\@_, |
4171
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
4172
|
|
|
|
|
|
|
); |
4173
|
0
|
|
|
|
|
|
return $self->get_value( |
4174
|
|
|
|
|
|
|
path => $self->device()."/system/properties/minfreq", |
4175
|
|
|
|
|
|
|
type=>'D', |
4176
|
|
|
|
|
|
|
); |
4177
|
|
|
|
|
|
|
} |
4178
|
|
|
|
|
|
|
|
4179
|
|
|
|
|
|
|
|
4180
|
|
|
|
|
|
|
|
4181
|
|
|
|
|
|
|
sub get_system_properties_mintimeconstant { |
4182
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4183
|
|
|
|
|
|
|
\@_, |
4184
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
4185
|
|
|
|
|
|
|
); |
4186
|
0
|
|
|
|
|
|
return $self->get_value( |
4187
|
|
|
|
|
|
|
path => $self->device()."/system/properties/mintimeconstant", |
4188
|
|
|
|
|
|
|
type=>'D', |
4189
|
|
|
|
|
|
|
); |
4190
|
|
|
|
|
|
|
} |
4191
|
|
|
|
|
|
|
|
4192
|
|
|
|
|
|
|
|
4193
|
|
|
|
|
|
|
|
4194
|
|
|
|
|
|
|
sub get_system_properties_negativefreq { |
4195
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4196
|
|
|
|
|
|
|
\@_, |
4197
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
4198
|
|
|
|
|
|
|
); |
4199
|
0
|
|
|
|
|
|
return $self->get_value( |
4200
|
|
|
|
|
|
|
path => $self->device()."/system/properties/negativefreq", |
4201
|
|
|
|
|
|
|
type=>'I', |
4202
|
|
|
|
|
|
|
); |
4203
|
|
|
|
|
|
|
} |
4204
|
|
|
|
|
|
|
|
4205
|
|
|
|
|
|
|
|
4206
|
|
|
|
|
|
|
|
4207
|
|
|
|
|
|
|
sub get_system_properties_timebase { |
4208
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4209
|
|
|
|
|
|
|
\@_, |
4210
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
4211
|
|
|
|
|
|
|
); |
4212
|
0
|
|
|
|
|
|
return $self->get_value( |
4213
|
|
|
|
|
|
|
path => $self->device()."/system/properties/timebase", |
4214
|
|
|
|
|
|
|
type=>'D', |
4215
|
|
|
|
|
|
|
); |
4216
|
|
|
|
|
|
|
} |
4217
|
|
|
|
|
|
|
|
4218
|
|
|
|
|
|
|
|
4219
|
|
|
|
|
|
|
|
4220
|
|
|
|
|
|
|
sub set_system_saveports { |
4221
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4222
|
|
|
|
|
|
|
\@_, |
4223
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
4224
|
|
|
|
|
|
|
); |
4225
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
4226
|
|
|
|
|
|
|
path => $self->device()."/system/saveports", |
4227
|
|
|
|
|
|
|
type=>'I', |
4228
|
|
|
|
|
|
|
value =>$value |
4229
|
|
|
|
|
|
|
); |
4230
|
|
|
|
|
|
|
} |
4231
|
|
|
|
|
|
|
|
4232
|
|
|
|
|
|
|
sub get_system_saveports { |
4233
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4234
|
|
|
|
|
|
|
\@_, |
4235
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
4236
|
|
|
|
|
|
|
); |
4237
|
0
|
|
|
|
|
|
return $self->get_value( |
4238
|
|
|
|
|
|
|
path => $self->device()."/system/saveports", |
4239
|
|
|
|
|
|
|
type=>'I', |
4240
|
|
|
|
|
|
|
); |
4241
|
|
|
|
|
|
|
} |
4242
|
|
|
|
|
|
|
|
4243
|
|
|
|
|
|
|
# =head3 /DEV/SYSTEM/SHUTDOWN |
4244
|
|
|
|
|
|
|
# Properties: Read Write |
4245
|
|
|
|
|
|
|
# Type: Integer (64 bit)(I) |
4246
|
|
|
|
|
|
|
# Unit: None |
4247
|
|
|
|
|
|
|
|
4248
|
|
|
|
|
|
|
# set_system_shutdown(value => $value) |
4249
|
|
|
|
|
|
|
# get_system_shutdown() |
4250
|
|
|
|
|
|
|
|
4251
|
|
|
|
|
|
|
# Sending a '1' to this node initiates a shutdown of the operating system on the device. It is |
4252
|
|
|
|
|
|
|
# recommended to trigger this shutdown before switching the device off with the hardware switch |
4253
|
|
|
|
|
|
|
# at the back side of the device. |
4254
|
|
|
|
|
|
|
# =cut |
4255
|
|
|
|
|
|
|
|
4256
|
|
|
|
|
|
|
|
4257
|
|
|
|
|
|
|
# sub set_system_shutdown { |
4258
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
4259
|
|
|
|
|
|
|
# \@_, |
4260
|
|
|
|
|
|
|
# value =>{isa =>'Num'}, |
4261
|
|
|
|
|
|
|
# ); |
4262
|
|
|
|
|
|
|
# return $self->sync_set_value( |
4263
|
|
|
|
|
|
|
# path => $self->device()."/system/shutdown", |
4264
|
|
|
|
|
|
|
# type=>'I', |
4265
|
|
|
|
|
|
|
# value =>$value |
4266
|
|
|
|
|
|
|
# ); |
4267
|
|
|
|
|
|
|
# } |
4268
|
|
|
|
|
|
|
|
4269
|
|
|
|
|
|
|
# sub get_system_shutdown { |
4270
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
4271
|
|
|
|
|
|
|
# \@_, |
4272
|
|
|
|
|
|
|
# value =>{isa =>'Num',optional=>1}, |
4273
|
|
|
|
|
|
|
# ); |
4274
|
|
|
|
|
|
|
# return $self->get_value( |
4275
|
|
|
|
|
|
|
# path => $self->device()."/system/shutdown", |
4276
|
|
|
|
|
|
|
# type=>'I', |
4277
|
|
|
|
|
|
|
# ); |
4278
|
|
|
|
|
|
|
# } |
4279
|
|
|
|
|
|
|
|
4280
|
|
|
|
|
|
|
|
4281
|
|
|
|
|
|
|
|
4282
|
|
|
|
|
|
|
sub get_system_slaverevision { |
4283
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4284
|
|
|
|
|
|
|
\@_, |
4285
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
4286
|
|
|
|
|
|
|
); |
4287
|
0
|
|
|
|
|
|
return $self->get_value( |
4288
|
|
|
|
|
|
|
path => $self->device()."/system/slaverevision", |
4289
|
|
|
|
|
|
|
type=>'I', |
4290
|
|
|
|
|
|
|
); |
4291
|
|
|
|
|
|
|
} |
4292
|
|
|
|
|
|
|
|
4293
|
|
|
|
|
|
|
# =head3 /DEV/SYSTEM/STALL |
4294
|
|
|
|
|
|
|
# Properties: Read Write |
4295
|
|
|
|
|
|
|
# Type: Integer (64 bit)(I) |
4296
|
|
|
|
|
|
|
# Unit: None |
4297
|
|
|
|
|
|
|
|
4298
|
|
|
|
|
|
|
# set_system_stall(value => $value) |
4299
|
|
|
|
|
|
|
# get_system_stall() |
4300
|
|
|
|
|
|
|
|
4301
|
|
|
|
|
|
|
# Indicates if the network connection is stalled. |
4302
|
|
|
|
|
|
|
# =cut |
4303
|
|
|
|
|
|
|
|
4304
|
|
|
|
|
|
|
|
4305
|
|
|
|
|
|
|
# sub set_system_stall { |
4306
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
4307
|
|
|
|
|
|
|
# \@_, |
4308
|
|
|
|
|
|
|
# value =>{isa =>'Num'}, |
4309
|
|
|
|
|
|
|
# ); |
4310
|
|
|
|
|
|
|
# return $self->sync_set_value( |
4311
|
|
|
|
|
|
|
# path => $self->device()."/system/stall", |
4312
|
|
|
|
|
|
|
# type=>'I', |
4313
|
|
|
|
|
|
|
# value =>$value |
4314
|
|
|
|
|
|
|
# ); |
4315
|
|
|
|
|
|
|
# } |
4316
|
|
|
|
|
|
|
|
4317
|
|
|
|
|
|
|
# sub get_system_stall { |
4318
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
4319
|
|
|
|
|
|
|
# \@_, |
4320
|
|
|
|
|
|
|
# value =>{isa =>'Num',optional=>1}, |
4321
|
|
|
|
|
|
|
# ); |
4322
|
|
|
|
|
|
|
# return $self->get_value( |
4323
|
|
|
|
|
|
|
# path => $self->device()."/system/stall", |
4324
|
|
|
|
|
|
|
# type=>'I', |
4325
|
|
|
|
|
|
|
# ); |
4326
|
|
|
|
|
|
|
# } |
4327
|
|
|
|
|
|
|
|
4328
|
|
|
|
|
|
|
# =head3 /DEV/SYSTEM/UPDATE |
4329
|
|
|
|
|
|
|
# Properties: Read Write |
4330
|
|
|
|
|
|
|
# Type: Integer (64 bit)(I) |
4331
|
|
|
|
|
|
|
# Unit: None |
4332
|
|
|
|
|
|
|
|
4333
|
|
|
|
|
|
|
# set_system_update(value => $value) |
4334
|
|
|
|
|
|
|
# get_system_update() |
4335
|
|
|
|
|
|
|
|
4336
|
|
|
|
|
|
|
# Requests update of the device firmware and bitstream from the dataserver. |
4337
|
|
|
|
|
|
|
# =cut |
4338
|
|
|
|
|
|
|
|
4339
|
|
|
|
|
|
|
|
4340
|
|
|
|
|
|
|
# sub set_system_update { |
4341
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
4342
|
|
|
|
|
|
|
# \@_, |
4343
|
|
|
|
|
|
|
# value =>{isa =>'Num'}, |
4344
|
|
|
|
|
|
|
# ); |
4345
|
|
|
|
|
|
|
# return $self->sync_set_value( |
4346
|
|
|
|
|
|
|
# path => $self->device()."/system/update", |
4347
|
|
|
|
|
|
|
# type=>'I', |
4348
|
|
|
|
|
|
|
# value =>$value |
4349
|
|
|
|
|
|
|
# ); |
4350
|
|
|
|
|
|
|
# } |
4351
|
|
|
|
|
|
|
|
4352
|
|
|
|
|
|
|
# sub get_system_update { |
4353
|
|
|
|
|
|
|
# my ($self, $value, %args) = validated_setter( |
4354
|
|
|
|
|
|
|
# \@_, |
4355
|
|
|
|
|
|
|
# value =>{isa =>'Num',optional=>1}, |
4356
|
|
|
|
|
|
|
# ); |
4357
|
|
|
|
|
|
|
# return $self->get_value( |
4358
|
|
|
|
|
|
|
# path => $self->device()."/system/update", |
4359
|
|
|
|
|
|
|
# type=>'I', |
4360
|
|
|
|
|
|
|
# ); |
4361
|
|
|
|
|
|
|
# } |
4362
|
|
|
|
|
|
|
|
4363
|
|
|
|
|
|
|
|
4364
|
|
|
|
|
|
|
|
4365
|
|
|
|
|
|
|
sub set_triggers_in_imp50 { |
4366
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4367
|
|
|
|
|
|
|
\@_, |
4368
|
|
|
|
|
|
|
in=>{isa => 'Int'}, |
4369
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
4370
|
0
|
|
|
|
|
|
);my $in=delete $args{in}; |
4371
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
4372
|
|
|
|
|
|
|
path => $self->device()."/triggers/in/$in/imp50", |
4373
|
|
|
|
|
|
|
type=>'I', |
4374
|
|
|
|
|
|
|
value =>$value |
4375
|
|
|
|
|
|
|
); |
4376
|
|
|
|
|
|
|
} |
4377
|
|
|
|
|
|
|
|
4378
|
|
|
|
|
|
|
sub get_triggers_in_imp50 { |
4379
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4380
|
|
|
|
|
|
|
\@_, |
4381
|
|
|
|
|
|
|
in=>{isa => 'Int'}, |
4382
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
4383
|
|
|
|
|
|
|
); |
4384
|
0
|
|
|
|
|
|
my $in =delete $args{in}; |
4385
|
0
|
|
|
|
|
|
return $self->get_value( |
4386
|
|
|
|
|
|
|
path => $self->device()."/triggers/in/$in/imp50", |
4387
|
|
|
|
|
|
|
type=>'I', |
4388
|
|
|
|
|
|
|
); |
4389
|
|
|
|
|
|
|
} |
4390
|
|
|
|
|
|
|
|
4391
|
|
|
|
|
|
|
|
4392
|
|
|
|
|
|
|
|
4393
|
|
|
|
|
|
|
sub set_triggers_in_level { |
4394
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4395
|
|
|
|
|
|
|
\@_, |
4396
|
|
|
|
|
|
|
in=>{isa => 'Int'}, |
4397
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
4398
|
0
|
|
|
|
|
|
);my $in=delete $args{in}; |
4399
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
4400
|
|
|
|
|
|
|
path => $self->device()."/triggers/in/$in/level", |
4401
|
|
|
|
|
|
|
type=>'D', |
4402
|
|
|
|
|
|
|
value =>$value |
4403
|
|
|
|
|
|
|
); |
4404
|
|
|
|
|
|
|
} |
4405
|
|
|
|
|
|
|
|
4406
|
|
|
|
|
|
|
sub get_triggers_in_level { |
4407
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4408
|
|
|
|
|
|
|
\@_, |
4409
|
|
|
|
|
|
|
in=>{isa => 'Int'}, |
4410
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
4411
|
|
|
|
|
|
|
); |
4412
|
0
|
|
|
|
|
|
my $in =delete $args{in}; |
4413
|
0
|
|
|
|
|
|
return $self->get_value( |
4414
|
|
|
|
|
|
|
path => $self->device()."/triggers/in/$in/level", |
4415
|
|
|
|
|
|
|
type=>'D', |
4416
|
|
|
|
|
|
|
); |
4417
|
|
|
|
|
|
|
} |
4418
|
|
|
|
|
|
|
|
4419
|
|
|
|
|
|
|
|
4420
|
|
|
|
|
|
|
|
4421
|
|
|
|
|
|
|
sub get_triggers_in_value { |
4422
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4423
|
|
|
|
|
|
|
\@_, |
4424
|
|
|
|
|
|
|
in=>{isa => 'Int'}, |
4425
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
4426
|
|
|
|
|
|
|
); |
4427
|
0
|
|
|
|
|
|
my $in =delete $args{in}; |
4428
|
0
|
|
|
|
|
|
return $self->get_value( |
4429
|
|
|
|
|
|
|
path => $self->device()."/triggers/in/$in/value", |
4430
|
|
|
|
|
|
|
type=>'I', |
4431
|
|
|
|
|
|
|
); |
4432
|
|
|
|
|
|
|
} |
4433
|
|
|
|
|
|
|
|
4434
|
|
|
|
|
|
|
|
4435
|
|
|
|
|
|
|
|
4436
|
|
|
|
|
|
|
sub set_triggers_out_delay { |
4437
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4438
|
|
|
|
|
|
|
\@_, |
4439
|
|
|
|
|
|
|
out=>{isa => 'Int'}, |
4440
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
4441
|
0
|
|
|
|
|
|
);my $out=delete $args{out}; |
4442
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
4443
|
|
|
|
|
|
|
path => $self->device()."/triggers/out/$out/delay", |
4444
|
|
|
|
|
|
|
type=>'D', |
4445
|
|
|
|
|
|
|
value =>$value |
4446
|
|
|
|
|
|
|
); |
4447
|
|
|
|
|
|
|
} |
4448
|
|
|
|
|
|
|
|
4449
|
|
|
|
|
|
|
sub get_triggers_out_delay { |
4450
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4451
|
|
|
|
|
|
|
\@_, |
4452
|
|
|
|
|
|
|
out=>{isa => 'Int'}, |
4453
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
4454
|
|
|
|
|
|
|
); |
4455
|
0
|
|
|
|
|
|
my $out =delete $args{out}; |
4456
|
0
|
|
|
|
|
|
return $self->get_value( |
4457
|
|
|
|
|
|
|
path => $self->device()."/triggers/out/$out/delay", |
4458
|
|
|
|
|
|
|
type=>'D', |
4459
|
|
|
|
|
|
|
); |
4460
|
|
|
|
|
|
|
} |
4461
|
|
|
|
|
|
|
|
4462
|
|
|
|
|
|
|
|
4463
|
|
|
|
|
|
|
|
4464
|
|
|
|
|
|
|
sub set_triggers_out_source { |
4465
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4466
|
|
|
|
|
|
|
\@_, |
4467
|
|
|
|
|
|
|
out=>{isa => 'Int'}, |
4468
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
4469
|
0
|
|
|
|
|
|
);my $out=delete $args{out}; |
4470
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
4471
|
|
|
|
|
|
|
path => $self->device()."/triggers/out/$out/source", |
4472
|
|
|
|
|
|
|
type=>'I', |
4473
|
|
|
|
|
|
|
value =>$value |
4474
|
|
|
|
|
|
|
); |
4475
|
|
|
|
|
|
|
} |
4476
|
|
|
|
|
|
|
|
4477
|
|
|
|
|
|
|
sub get_triggers_out_source { |
4478
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4479
|
|
|
|
|
|
|
\@_, |
4480
|
|
|
|
|
|
|
out=>{isa => 'Int'}, |
4481
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
4482
|
|
|
|
|
|
|
); |
4483
|
0
|
|
|
|
|
|
my $out =delete $args{out}; |
4484
|
0
|
|
|
|
|
|
return $self->get_value( |
4485
|
|
|
|
|
|
|
path => $self->device()."/triggers/out/$out/source", |
4486
|
|
|
|
|
|
|
type=>'I', |
4487
|
|
|
|
|
|
|
); |
4488
|
|
|
|
|
|
|
} |
4489
|
|
|
|
|
|
|
|
4490
|
|
|
|
|
|
|
|
4491
|
|
|
|
|
|
|
|
4492
|
|
|
|
|
|
|
sub set_triggers_streams_enable { |
4493
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4494
|
|
|
|
|
|
|
\@_, |
4495
|
|
|
|
|
|
|
stream=>{isa => 'Int'}, |
4496
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
4497
|
0
|
|
|
|
|
|
);my $stream=delete $args{stream}; |
4498
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
4499
|
|
|
|
|
|
|
path => $self->device()."/triggers/streams/$stream/enable", |
4500
|
|
|
|
|
|
|
type=>'I', |
4501
|
|
|
|
|
|
|
value =>$value |
4502
|
|
|
|
|
|
|
); |
4503
|
|
|
|
|
|
|
} |
4504
|
|
|
|
|
|
|
|
4505
|
|
|
|
|
|
|
sub get_triggers_streams_enable { |
4506
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4507
|
|
|
|
|
|
|
\@_, |
4508
|
|
|
|
|
|
|
stream=>{isa => 'Int'}, |
4509
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
4510
|
|
|
|
|
|
|
); |
4511
|
0
|
|
|
|
|
|
my $stream =delete $args{stream}; |
4512
|
0
|
|
|
|
|
|
return $self->get_value( |
4513
|
|
|
|
|
|
|
path => $self->device()."/triggers/streams/$stream/enable", |
4514
|
|
|
|
|
|
|
type=>'I', |
4515
|
|
|
|
|
|
|
); |
4516
|
|
|
|
|
|
|
} |
4517
|
|
|
|
|
|
|
|
4518
|
|
|
|
|
|
|
|
4519
|
|
|
|
|
|
|
|
4520
|
|
|
|
|
|
|
sub set_triggers_streams_holdofftime { |
4521
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4522
|
|
|
|
|
|
|
\@_, |
4523
|
|
|
|
|
|
|
stream=>{isa => 'Int'}, |
4524
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
4525
|
0
|
|
|
|
|
|
);my $stream=delete $args{stream}; |
4526
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
4527
|
|
|
|
|
|
|
path => $self->device()."/triggers/streams/$stream/holdofftime", |
4528
|
|
|
|
|
|
|
type=>'D', |
4529
|
|
|
|
|
|
|
value =>$value |
4530
|
|
|
|
|
|
|
); |
4531
|
|
|
|
|
|
|
} |
4532
|
|
|
|
|
|
|
|
4533
|
|
|
|
|
|
|
sub get_triggers_streams_holdofftime { |
4534
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4535
|
|
|
|
|
|
|
\@_, |
4536
|
|
|
|
|
|
|
stream=>{isa => 'Int'}, |
4537
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
4538
|
|
|
|
|
|
|
); |
4539
|
0
|
|
|
|
|
|
my $stream =delete $args{stream}; |
4540
|
0
|
|
|
|
|
|
return $self->get_value( |
4541
|
|
|
|
|
|
|
path => $self->device()."/triggers/streams/$stream/holdofftime", |
4542
|
|
|
|
|
|
|
type=>'D', |
4543
|
|
|
|
|
|
|
); |
4544
|
|
|
|
|
|
|
} |
4545
|
|
|
|
|
|
|
|
4546
|
|
|
|
|
|
|
|
4547
|
|
|
|
|
|
|
|
4548
|
|
|
|
|
|
|
sub set_triggers_streams_mask { |
4549
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4550
|
|
|
|
|
|
|
\@_, |
4551
|
|
|
|
|
|
|
stream=>{isa => 'Int'}, |
4552
|
|
|
|
|
|
|
value =>{isa =>'Num'}, |
4553
|
0
|
|
|
|
|
|
);my $stream=delete $args{stream}; |
4554
|
0
|
|
|
|
|
|
return $self->sync_set_value( |
4555
|
|
|
|
|
|
|
path => $self->device()."/triggers/streams/$stream/mask", |
4556
|
|
|
|
|
|
|
type=>'I', |
4557
|
|
|
|
|
|
|
value =>$value |
4558
|
|
|
|
|
|
|
); |
4559
|
|
|
|
|
|
|
} |
4560
|
|
|
|
|
|
|
|
4561
|
|
|
|
|
|
|
sub get_triggers_streams_mask { |
4562
|
0
|
|
|
0
|
0
|
|
my ($self, $value, %args) = validated_setter( |
4563
|
|
|
|
|
|
|
\@_, |
4564
|
|
|
|
|
|
|
stream=>{isa => 'Int'}, |
4565
|
|
|
|
|
|
|
value =>{isa =>'Num',optional=>1}, |
4566
|
|
|
|
|
|
|
); |
4567
|
0
|
|
|
|
|
|
my $stream =delete $args{stream}; |
4568
|
0
|
|
|
|
|
|
return $self->get_value( |
4569
|
|
|
|
|
|
|
path => $self->device()."/triggers/streams/$stream/mask", |
4570
|
|
|
|
|
|
|
type=>'I', |
4571
|
|
|
|
|
|
|
); |
4572
|
|
|
|
|
|
|
} |
4573
|
|
|
|
|
|
|
|
4574
|
|
|
|
|
|
|
|
4575
|
|
|
|
|
|
|
__PACKAGE__->meta()->make_immutable(); |
4576
|
|
|
|
|
|
|
|
4577
|
|
|
|
|
|
|
1; |
4578
|
|
|
|
|
|
|
|
4579
|
|
|
|
|
|
|
__END__ |
4580
|
|
|
|
|
|
|
|
4581
|
|
|
|
|
|
|
=pod |
4582
|
|
|
|
|
|
|
|
4583
|
|
|
|
|
|
|
=encoding UTF-8 |
4584
|
|
|
|
|
|
|
|
4585
|
|
|
|
|
|
|
=head1 NAME |
4586
|
|
|
|
|
|
|
|
4587
|
|
|
|
|
|
|
Lab::Moose::Instrument::ZI_HDAWG - Zurich Instruments HDAWG Arbitrary Waveform Generator |
4588
|
|
|
|
|
|
|
|
4589
|
|
|
|
|
|
|
=head1 VERSION |
4590
|
|
|
|
|
|
|
|
4591
|
|
|
|
|
|
|
version 3.880 |
4592
|
|
|
|
|
|
|
|
4593
|
|
|
|
|
|
|
=head1 Tested |
4594
|
|
|
|
|
|
|
|
4595
|
|
|
|
|
|
|
=head2 AWGS |
4596
|
|
|
|
|
|
|
|
4597
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/AUXTRIGGERS/m/CHANNEL |
4598
|
|
|
|
|
|
|
Properties: Read Write Setting |
4599
|
|
|
|
|
|
|
Type: Integer (enumerated)(I) |
4600
|
|
|
|
|
|
|
Unit: None |
4601
|
|
|
|
|
|
|
|
4602
|
|
|
|
|
|
|
set_awgs_auxtriggers_channel(awg => $awg, auxtrigger => $auxtrigger, value => $value) |
4603
|
|
|
|
|
|
|
get_awgs_auxtriggers_channel(awg => $awg, auxtrigger => $auxtrigger) |
4604
|
|
|
|
|
|
|
|
4605
|
|
|
|
|
|
|
Selects the digital trigger source signal. |
4606
|
|
|
|
|
|
|
trigin0, trigger_input0 0 |
4607
|
|
|
|
|
|
|
Trigger In 1 |
4608
|
|
|
|
|
|
|
trigin1, trigger_input1 1 |
4609
|
|
|
|
|
|
|
Trigger In 2 |
4610
|
|
|
|
|
|
|
trigin2, trigger_input2 2 |
4611
|
|
|
|
|
|
|
Trigger In 3 |
4612
|
|
|
|
|
|
|
trigin3, trigger_input3 3 |
4613
|
|
|
|
|
|
|
Trigger In 4 |
4614
|
|
|
|
|
|
|
trigout0 , trigger_output0 4 |
4615
|
|
|
|
|
|
|
Trigger Out 1 |
4616
|
|
|
|
|
|
|
trigout1 , trigger_output1 5 |
4617
|
|
|
|
|
|
|
Trigger Out 2 |
4618
|
|
|
|
|
|
|
trigout2 , trigger_output2 6 |
4619
|
|
|
|
|
|
|
Trigger Out 3 |
4620
|
|
|
|
|
|
|
trigout3 , trigger_output3 7 |
4621
|
|
|
|
|
|
|
Trigger Out 4 |
4622
|
|
|
|
|
|
|
|
4623
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/AUXTRIGGERS/m/SLOPE |
4624
|
|
|
|
|
|
|
Properties: Read Write Setting |
4625
|
|
|
|
|
|
|
Type: Integer (enumerated)(I) |
4626
|
|
|
|
|
|
|
Unit: None |
4627
|
|
|
|
|
|
|
|
4628
|
|
|
|
|
|
|
set_awgs_auxtriggers_slope(awg => $awg, auxtrigger => $auxtrigger, value => $value) |
4629
|
|
|
|
|
|
|
get_awgs_auxtriggers_slope(awg => $awg, auxtrigger => $auxtrigger) |
4630
|
|
|
|
|
|
|
|
4631
|
|
|
|
|
|
|
Select the signal edge that should activate the trigger. The trigger will be level sensitive when the |
4632
|
|
|
|
|
|
|
Level option is selected. |
4633
|
|
|
|
|
|
|
level_sensitive0 |
4634
|
|
|
|
|
|
|
Level sensitive trigger |
4635
|
|
|
|
|
|
|
rising_edge1 |
4636
|
|
|
|
|
|
|
Rising edge trigger |
4637
|
|
|
|
|
|
|
2falling_edge |
4638
|
|
|
|
|
|
|
Falling edge trigger |
4639
|
|
|
|
|
|
|
both_edges3 |
4640
|
|
|
|
|
|
|
Rising or falling edge trigger |
4641
|
|
|
|
|
|
|
|
4642
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/AUXTRIGGERS/m/STATE |
4643
|
|
|
|
|
|
|
Properties: Read |
4644
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
4645
|
|
|
|
|
|
|
Unit: None |
4646
|
|
|
|
|
|
|
|
4647
|
|
|
|
|
|
|
get_awgs_auxtriggers_state(awg => $awg, auxtrigger => $auxtrigger) |
4648
|
|
|
|
|
|
|
|
4649
|
|
|
|
|
|
|
State of the Auxiliary Trigger: No trigger detected/trigger detected. |
4650
|
|
|
|
|
|
|
|
4651
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/COMMANDTABLE/CLEAR |
4652
|
|
|
|
|
|
|
Properties: Read Write Setting |
4653
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
4654
|
|
|
|
|
|
|
Unit: None |
4655
|
|
|
|
|
|
|
|
4656
|
|
|
|
|
|
|
set_awgs_commandtable_clear(awg => $awg, value => $value) |
4657
|
|
|
|
|
|
|
get_awgs_commandtable_clear(awg => $awg) |
4658
|
|
|
|
|
|
|
|
4659
|
|
|
|
|
|
|
Writing to this node clears all data previously loaded to the command table of the device. |
4660
|
|
|
|
|
|
|
|
4661
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/COMMANDTABLE/STATUS |
4662
|
|
|
|
|
|
|
Properties: Read |
4663
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
4664
|
|
|
|
|
|
|
Unit: None |
4665
|
|
|
|
|
|
|
|
4666
|
|
|
|
|
|
|
get_awgs_commandtable_status(awg => $awg) |
4667
|
|
|
|
|
|
|
|
4668
|
|
|
|
|
|
|
Status of the command table on the instrument. Bit 0: data uploaded to the command table; Bit |
4669
|
|
|
|
|
|
|
1, Bit 2: reserved; Bit 3: uploading of data to the command table failed due to a JSON parsing error. |
4670
|
|
|
|
|
|
|
|
4671
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/DIO/DELAY/INDEX |
4672
|
|
|
|
|
|
|
Properties: Read Write Setting |
4673
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
4674
|
|
|
|
|
|
|
Unit: None |
4675
|
|
|
|
|
|
|
|
4676
|
|
|
|
|
|
|
set_awgs_dio_delay_index(awg => $awg, value => $value) |
4677
|
|
|
|
|
|
|
get_awgs_dio_delay_index(awg => $awg) |
4678
|
|
|
|
|
|
|
|
4679
|
|
|
|
|
|
|
Index of the bit on the DIO interface for which the delay should be changed. |
4680
|
|
|
|
|
|
|
|
4681
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/DIO/DELAY/VALUE |
4682
|
|
|
|
|
|
|
Properties: Read Write Setting |
4683
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
4684
|
|
|
|
|
|
|
Unit: None |
4685
|
|
|
|
|
|
|
|
4686
|
|
|
|
|
|
|
set_awgs_dio_delay_value(awg => $awg, value => $value) |
4687
|
|
|
|
|
|
|
get_awgs_dio_delay_value(awg => $awg) |
4688
|
|
|
|
|
|
|
|
4689
|
|
|
|
|
|
|
Corresponding delay value to apply to the given bit of the DIO interface in units of 150 MHz clock |
4690
|
|
|
|
|
|
|
cycles. Valid values are 0 to 3. |
4691
|
|
|
|
|
|
|
|
4692
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/DIO/ERROR/TIMING |
4693
|
|
|
|
|
|
|
Properties: Read Write Setting |
4694
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
4695
|
|
|
|
|
|
|
Unit: None |
4696
|
|
|
|
|
|
|
|
4697
|
|
|
|
|
|
|
set_awgs_dio_error_timing(awg => $awg, value => $value) |
4698
|
|
|
|
|
|
|
get_awgs_dio_error_timing(awg => $awg) |
4699
|
|
|
|
|
|
|
|
4700
|
|
|
|
|
|
|
A 32-bit value indicating which bits on the DIO interface may have timing errors. A timing error is |
4701
|
|
|
|
|
|
|
defined as an event where either the VALID or any of the data bits on the DIO interface change |
4702
|
|
|
|
|
|
|
value at the same time as the STROBE bit. |
4703
|
|
|
|
|
|
|
|
4704
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/DIO/ERROR/WIDTH |
4705
|
|
|
|
|
|
|
Properties: Read Write Setting |
4706
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
4707
|
|
|
|
|
|
|
Unit: None |
4708
|
|
|
|
|
|
|
|
4709
|
|
|
|
|
|
|
set_awgs_dio_error_width(awg => $awg, value => $value) |
4710
|
|
|
|
|
|
|
get_awgs_dio_error_width(awg => $awg) |
4711
|
|
|
|
|
|
|
|
4712
|
|
|
|
|
|
|
Indicates a width (i.e. jitter) error on either the STROBE (bit 0 of the value) or VALID bit (bit 1 of |
4713
|
|
|
|
|
|
|
the result). A width error indicates that there was jitter detected on the given bit, meaning that |
4714
|
|
|
|
|
|
|
an active period was either shorter or longer than the configured expected width. |
4715
|
|
|
|
|
|
|
|
4716
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/DIO/HIGHBITS |
4717
|
|
|
|
|
|
|
Properties: Read Write Setting |
4718
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
4719
|
|
|
|
|
|
|
Unit: None |
4720
|
|
|
|
|
|
|
|
4721
|
|
|
|
|
|
|
set_awgs_dio_highbits(awg => $awg, value => $value) |
4722
|
|
|
|
|
|
|
get_awgs_dio_highbits(awg => $awg) |
4723
|
|
|
|
|
|
|
|
4724
|
|
|
|
|
|
|
32-bit value indicating which bits on the 32-bit interface are detected as having a logic high value. |
4725
|
|
|
|
|
|
|
|
4726
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/DIO/LOWBITS |
4727
|
|
|
|
|
|
|
Properties: Read Write Setting |
4728
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
4729
|
|
|
|
|
|
|
Unit: None |
4730
|
|
|
|
|
|
|
|
4731
|
|
|
|
|
|
|
set_awgs_dio_lowbits(awg => $awg, value => $value) |
4732
|
|
|
|
|
|
|
get_awgs_dio_lowbits(awg => $awg) |
4733
|
|
|
|
|
|
|
|
4734
|
|
|
|
|
|
|
32-bit value indicating which bits on the 32-bit interface are detected as having a logic low value. |
4735
|
|
|
|
|
|
|
|
4736
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/DIO/MASK/SHIFT |
4737
|
|
|
|
|
|
|
Properties: Read Write Setting |
4738
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
4739
|
|
|
|
|
|
|
Unit: None |
4740
|
|
|
|
|
|
|
|
4741
|
|
|
|
|
|
|
set_awgs_dio_mask_shift(awg => $awg, value => $value) |
4742
|
|
|
|
|
|
|
get_awgs_dio_mask_shift(awg => $awg) |
4743
|
|
|
|
|
|
|
|
4744
|
|
|
|
|
|
|
Defines the amount of bit shifting to apply for the DIO wave selection in connection with |
4745
|
|
|
|
|
|
|
playWaveDIO(). |
4746
|
|
|
|
|
|
|
|
4747
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/DIO/MASK/VALUE |
4748
|
|
|
|
|
|
|
Properties: Read Write Setting |
4749
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
4750
|
|
|
|
|
|
|
Unit: None |
4751
|
|
|
|
|
|
|
|
4752
|
|
|
|
|
|
|
set_awgs_dio_mask_value(awg => $awg, value => $value) |
4753
|
|
|
|
|
|
|
get_awgs_dio_mask_value(awg => $awg) |
4754
|
|
|
|
|
|
|
|
4755
|
|
|
|
|
|
|
Selects the DIO bits to be used for waveform selection in connection with playWaveDIO(). |
4756
|
|
|
|
|
|
|
|
4757
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/DIO/STATE |
4758
|
|
|
|
|
|
|
Properties: Read Write Setting |
4759
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
4760
|
|
|
|
|
|
|
Unit: None |
4761
|
|
|
|
|
|
|
|
4762
|
|
|
|
|
|
|
set_awgs_dio_state(awg => $awg, value => $value) |
4763
|
|
|
|
|
|
|
get_awgs_dio_state(awg => $awg) |
4764
|
|
|
|
|
|
|
|
4765
|
|
|
|
|
|
|
When asserted, indicates that triggers are generated from the DIO interface to the AWG. |
4766
|
|
|
|
|
|
|
|
4767
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/DIO/STROBE/INDEX |
4768
|
|
|
|
|
|
|
Properties: Read Write Setting |
4769
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
4770
|
|
|
|
|
|
|
Unit: None |
4771
|
|
|
|
|
|
|
|
4772
|
|
|
|
|
|
|
set_awgs_dio_strobe_index(awg => $awg, value => $value) |
4773
|
|
|
|
|
|
|
get_awgs_dio_strobe_index(awg => $awg) |
4774
|
|
|
|
|
|
|
|
4775
|
|
|
|
|
|
|
Select the DIO bit to use as the STROBE signal. |
4776
|
|
|
|
|
|
|
|
4777
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/DIO/STROBE/SLOPE |
4778
|
|
|
|
|
|
|
Properties: Read Write Setting |
4779
|
|
|
|
|
|
|
Type: Integer (enumerated)(I) |
4780
|
|
|
|
|
|
|
Unit: None |
4781
|
|
|
|
|
|
|
|
4782
|
|
|
|
|
|
|
set_awgs_dio_strobe_slope(awg => $awg, value => $value) |
4783
|
|
|
|
|
|
|
get_awgs_dio_strobe_slope(awg => $awg) |
4784
|
|
|
|
|
|
|
|
4785
|
|
|
|
|
|
|
Select the signal edge of the STROBE signal for use in timing alignment. |
4786
|
|
|
|
|
|
|
off0 |
4787
|
|
|
|
|
|
|
Off |
4788
|
|
|
|
|
|
|
rising_edge1 |
4789
|
|
|
|
|
|
|
Rising edge trigger |
4790
|
|
|
|
|
|
|
falling_edge2 |
4791
|
|
|
|
|
|
|
Falling edge trigger |
4792
|
|
|
|
|
|
|
both_edges3 |
4793
|
|
|
|
|
|
|
Rising or falling edge trigger |
4794
|
|
|
|
|
|
|
|
4795
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/DIO/STROBE/WIDTH |
4796
|
|
|
|
|
|
|
Properties: Read Write Setting |
4797
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
4798
|
|
|
|
|
|
|
Unit: None |
4799
|
|
|
|
|
|
|
|
4800
|
|
|
|
|
|
|
set_awgs_dio_strobe_width(awg => $awg, value => $value) |
4801
|
|
|
|
|
|
|
get_awgs_dio_strobe_width(awg => $awg) |
4802
|
|
|
|
|
|
|
|
4803
|
|
|
|
|
|
|
Specifies the expected width of active pulses on the STROBE bit. |
4804
|
|
|
|
|
|
|
|
4805
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/DIO/VALID/INDEX |
4806
|
|
|
|
|
|
|
Properties: Read Write Setting |
4807
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
4808
|
|
|
|
|
|
|
Unit: None |
4809
|
|
|
|
|
|
|
|
4810
|
|
|
|
|
|
|
set_awgs_dio_valid_index(awg => $awg, value => $value) |
4811
|
|
|
|
|
|
|
get_awgs_dio_valid_index(awg => $awg) |
4812
|
|
|
|
|
|
|
|
4813
|
|
|
|
|
|
|
Select the DIO bit to use as the VALID signal to indicate a valid input is available. |
4814
|
|
|
|
|
|
|
|
4815
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/DIO/VALID/POLARITY |
4816
|
|
|
|
|
|
|
Properties: Read Write Setting |
4817
|
|
|
|
|
|
|
Type: Integer (enumerated)(I) |
4818
|
|
|
|
|
|
|
Unit: None |
4819
|
|
|
|
|
|
|
|
4820
|
|
|
|
|
|
|
set_awgs_dio_valid_polarity(awg => $awg, value => $value) |
4821
|
|
|
|
|
|
|
get_awgs_dio_valid_polarity(awg => $awg) |
4822
|
|
|
|
|
|
|
|
4823
|
|
|
|
|
|
|
Polarity of the VALID bit that indicates that a valid input is available. |
4824
|
|
|
|
|
|
|
0none |
4825
|
|
|
|
|
|
|
None: VALID bit is ignored. |
4826
|
|
|
|
|
|
|
low1 |
4827
|
|
|
|
|
|
|
Low: VALID bit must be logical zero. |
4828
|
|
|
|
|
|
|
high2 |
4829
|
|
|
|
|
|
|
High: VALID bit must be logical high. |
4830
|
|
|
|
|
|
|
both3 |
4831
|
|
|
|
|
|
|
Both: VALID bit may be logical high or zero. |
4832
|
|
|
|
|
|
|
|
4833
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/DIO/VALID/WIDTH |
4834
|
|
|
|
|
|
|
Properties: Read Write Setting |
4835
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
4836
|
|
|
|
|
|
|
Unit: None |
4837
|
|
|
|
|
|
|
|
4838
|
|
|
|
|
|
|
set_awgs_dio_valid_width(awg => $awg, value => $value) |
4839
|
|
|
|
|
|
|
get_awgs_dio_valid_width(awg => $awg) |
4840
|
|
|
|
|
|
|
|
4841
|
|
|
|
|
|
|
Expected width of an active pulse on the VALID bit. |
4842
|
|
|
|
|
|
|
|
4843
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/ELF/CHECKSUM |
4844
|
|
|
|
|
|
|
Properties: Read |
4845
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
4846
|
|
|
|
|
|
|
Unit: None |
4847
|
|
|
|
|
|
|
|
4848
|
|
|
|
|
|
|
get_awgs_elf_checksum(awg => $awg) |
4849
|
|
|
|
|
|
|
|
4850
|
|
|
|
|
|
|
Checksum of the uploaded ELF file. |
4851
|
|
|
|
|
|
|
|
4852
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/ELF/LENGTH |
4853
|
|
|
|
|
|
|
Properties: Read |
4854
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
4855
|
|
|
|
|
|
|
Unit: None |
4856
|
|
|
|
|
|
|
|
4857
|
|
|
|
|
|
|
get_awgs_elf_length(awg => $awg) |
4858
|
|
|
|
|
|
|
|
4859
|
|
|
|
|
|
|
Length of the compiled ELF file. |
4860
|
|
|
|
|
|
|
|
4861
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/ELF/MEMORYUSAGE |
4862
|
|
|
|
|
|
|
Properties: Read |
4863
|
|
|
|
|
|
|
Type: Double(D) |
4864
|
|
|
|
|
|
|
Unit: None |
4865
|
|
|
|
|
|
|
|
4866
|
|
|
|
|
|
|
get_awgs_elf_memoryusage(awg => $awg) |
4867
|
|
|
|
|
|
|
|
4868
|
|
|
|
|
|
|
Size of the uploaded ELF file relative to the size of the main memory. |
4869
|
|
|
|
|
|
|
|
4870
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/ELF/PROGRESS |
4871
|
|
|
|
|
|
|
Properties: Read |
4872
|
|
|
|
|
|
|
Type: Double(D) |
4873
|
|
|
|
|
|
|
Unit: % |
4874
|
|
|
|
|
|
|
|
4875
|
|
|
|
|
|
|
get_awgs_elf_progress(awg => $awg) |
4876
|
|
|
|
|
|
|
|
4877
|
|
|
|
|
|
|
The percentage of the sequencer program already uploaded to the device. |
4878
|
|
|
|
|
|
|
|
4879
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/ENABLE |
4880
|
|
|
|
|
|
|
Properties: Read Write Setting |
4881
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
4882
|
|
|
|
|
|
|
Unit: None |
4883
|
|
|
|
|
|
|
|
4884
|
|
|
|
|
|
|
set_awgs_enable(awg => $awg, value => $value) |
4885
|
|
|
|
|
|
|
get_awgs_enable(awg => $awg) |
4886
|
|
|
|
|
|
|
|
4887
|
|
|
|
|
|
|
Activates the AWG. |
4888
|
|
|
|
|
|
|
|
4889
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/OUTPUTS/m/AMPLITUDE |
4890
|
|
|
|
|
|
|
Properties: Read Write Setting |
4891
|
|
|
|
|
|
|
Type: Double(D) |
4892
|
|
|
|
|
|
|
Unit: None |
4893
|
|
|
|
|
|
|
|
4894
|
|
|
|
|
|
|
set_awgs_outputs_amplitude(awg => $awg, output => $output, value => $value) |
4895
|
|
|
|
|
|
|
get_awgs_outputs_amplitude(awg => $awg, output => $output) |
4896
|
|
|
|
|
|
|
|
4897
|
|
|
|
|
|
|
Amplitude in units of full scale of the given AWG Output. The full scale corresponds to the Range |
4898
|
|
|
|
|
|
|
voltage setting of the Signal Outputs. |
4899
|
|
|
|
|
|
|
|
4900
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/OUTPUTS/m/ENABLES/k |
4901
|
|
|
|
|
|
|
Properties: Read |
4902
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
4903
|
|
|
|
|
|
|
Unit: None |
4904
|
|
|
|
|
|
|
|
4905
|
|
|
|
|
|
|
get_awgs_outputs_enables_k(awg => $awg, output => $output) |
4906
|
|
|
|
|
|
|
|
4907
|
|
|
|
|
|
|
Enables the driving of the given AWG output channel. |
4908
|
|
|
|
|
|
|
|
4909
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/OUTPUTS/m/GAINS/k |
4910
|
|
|
|
|
|
|
Properties: Read Write Setting |
4911
|
|
|
|
|
|
|
Type: Double(D) |
4912
|
|
|
|
|
|
|
Unit: None |
4913
|
|
|
|
|
|
|
|
4914
|
|
|
|
|
|
|
set_awgs_outputs_gains(awg => $awg, output => $output, gain=>$gain, value => $value) |
4915
|
|
|
|
|
|
|
get_awgs_outputs_gains(awg => $awg, output => $output, gain=>$gain) |
4916
|
|
|
|
|
|
|
|
4917
|
|
|
|
|
|
|
Gain factor applied to the AWG Output at the given output multiplier stage. The final signal |
4918
|
|
|
|
|
|
|
amplitude is proportional to the Range voltage setting of the Wave signal outputs. |
4919
|
|
|
|
|
|
|
|
4920
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/OUTPUTS/m/HOLD |
4921
|
|
|
|
|
|
|
Properties: Read Write Setting |
4922
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
4923
|
|
|
|
|
|
|
Unit: None |
4924
|
|
|
|
|
|
|
|
4925
|
|
|
|
|
|
|
set_awgs_outputs_hold(awg => $awg, output => $output, value => $value) |
4926
|
|
|
|
|
|
|
get_awgs_outputs_hold(awg => $awg, output => $output) |
4927
|
|
|
|
|
|
|
|
4928
|
|
|
|
|
|
|
Keep the last sample (constant) on the output even after the waveform program finishes. |
4929
|
|
|
|
|
|
|
|
4930
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/OUTPUTS/m/MODULATION/CARRIERS/k/FREQ |
4931
|
|
|
|
|
|
|
Properties: Read |
4932
|
|
|
|
|
|
|
Type: Double(D) |
4933
|
|
|
|
|
|
|
Unit: Hz |
4934
|
|
|
|
|
|
|
|
4935
|
|
|
|
|
|
|
get_awgs_outputs_modulation_carriers_freq(awg => $awg, output => $output, carrier=>$carrier) |
4936
|
|
|
|
|
|
|
|
4937
|
|
|
|
|
|
|
Indicates the frequency used for this carrier. The frequency is calculated with oscillator frequency |
4938
|
|
|
|
|
|
|
times the harmonic factor. |
4939
|
|
|
|
|
|
|
Note: This option was not available in the device used for developement, it is therefore untested. |
4940
|
|
|
|
|
|
|
|
4941
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/OUTPUTS/m/MODULATION/CARRIERS/k/HARMONIC |
4942
|
|
|
|
|
|
|
Properties: Read Write Setting |
4943
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
4944
|
|
|
|
|
|
|
Unit: None |
4945
|
|
|
|
|
|
|
|
4946
|
|
|
|
|
|
|
set_awgs_outputs_modulation_carriers_harmonic(awg => $awg, output => $output, carrier=>$carrier, value => $value) |
4947
|
|
|
|
|
|
|
get_awgs_outputs_modulation_carriers_harmonic(awg => $awg, output => $output, carrier=>$carrier) |
4948
|
|
|
|
|
|
|
|
4949
|
|
|
|
|
|
|
Multiplies the carrier reference frequency with the integer factor defined by this field. |
4950
|
|
|
|
|
|
|
Note: This option was not available in the device used for developement, it is therefore untested. |
4951
|
|
|
|
|
|
|
|
4952
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/OUTPUTS/m/MODULATION/CARRIERS/k/OSCSELECT |
4953
|
|
|
|
|
|
|
Properties: Read Write Setting |
4954
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
4955
|
|
|
|
|
|
|
Unit: None |
4956
|
|
|
|
|
|
|
|
4957
|
|
|
|
|
|
|
set_awgs_outputs_modulation_carriers_oscselect(awg => $awg, output => $output, carrier=>$carrier, value => $value) |
4958
|
|
|
|
|
|
|
get_awgs_outputs_modulation_carriers_oscselect(awg => $awg, output => $output, carrier=>$carrier) |
4959
|
|
|
|
|
|
|
|
4960
|
|
|
|
|
|
|
Select oscillator for generation of this carrier. |
4961
|
|
|
|
|
|
|
Note: This option was not available in the device used for developement, it is therefore untested. |
4962
|
|
|
|
|
|
|
|
4963
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/OUTPUTS/m/MODULATION/CARRIERS/k/PHASESHIFT |
4964
|
|
|
|
|
|
|
Properties: Read Write Setting |
4965
|
|
|
|
|
|
|
Type: Double(D) |
4966
|
|
|
|
|
|
|
Unit: deg |
4967
|
|
|
|
|
|
|
|
4968
|
|
|
|
|
|
|
set_awgs_outputs_modulation_carriers_phaseshift(awg => $awg, output => $output, carrier=>$carrier, value => $value) |
4969
|
|
|
|
|
|
|
get_awgs_outputs_modulation_carriers_phaseshift(awg => $awg, output => $output) |
4970
|
|
|
|
|
|
|
|
4971
|
|
|
|
|
|
|
Phase shift applied to carrier signal. |
4972
|
|
|
|
|
|
|
Note: This option was not available in the device used for developement, it is therefore untested. |
4973
|
|
|
|
|
|
|
|
4974
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/OUTPUTS/m/MODULATION/MODE |
4975
|
|
|
|
|
|
|
Properties: Read Write Setting |
4976
|
|
|
|
|
|
|
Type: Integer (enumerated)(I) |
4977
|
|
|
|
|
|
|
Unit: None |
4978
|
|
|
|
|
|
|
|
4979
|
|
|
|
|
|
|
set_awgs_outputs_modulation_mode(awg => $awg, output => $output, value => $value) |
4980
|
|
|
|
|
|
|
get_awgs_outputs_modulation_mode(awg => $awg, output => $output) |
4981
|
|
|
|
|
|
|
|
4982
|
|
|
|
|
|
|
Select modulation mode between off, sine modulation and advanced. |
4983
|
|
|
|
|
|
|
off0 |
4984
|
|
|
|
|
|
|
Modulation Off: AWG Output goes directly to Signal Output. |
4985
|
|
|
|
|
|
|
sine001 |
4986
|
|
|
|
|
|
|
Sine 11: AWG Outputs 0 and 1 are both multiplied with Sine Generator signal 0. |
4987
|
|
|
|
|
|
|
sine112 |
4988
|
|
|
|
|
|
|
Sine 22: AWG Outputs 0 and 1 are both multiplied with Sine Generator signal 1. |
4989
|
|
|
|
|
|
|
sine013 |
4990
|
|
|
|
|
|
|
Sine 12: AWG Outputs 0 and 1 are multiplied with Sine Generator signal 0 and 1, |
4991
|
|
|
|
|
|
|
respectively. |
4992
|
|
|
|
|
|
|
sine104 |
4993
|
|
|
|
|
|
|
Sine 21: AWG Outputs 0 and 1 are multiplied with Sine Generator signal 1 and 0, |
4994
|
|
|
|
|
|
|
respectively. |
4995
|
|
|
|
|
|
|
advanced5 |
4996
|
|
|
|
|
|
|
Advanced: Output modulates corresponding sines from modulation carriers. |
4997
|
|
|
|
|
|
|
mixer6 |
4998
|
|
|
|
|
|
|
Mixer Calibration: The AWG outputs are multiplied with the sum or difference |
4999
|
|
|
|
|
|
|
of Sine Generators multiplied by gains specified. The resulting output signal is |
5000
|
|
|
|
|
|
|
AWG1*(Sine1*Gain1 - Sine2*Gain2) + AWG2*(Sine1*Gain2 + Sine2*Gain1). |
5001
|
|
|
|
|
|
|
|
5002
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/READY |
5003
|
|
|
|
|
|
|
Properties: Read |
5004
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5005
|
|
|
|
|
|
|
Unit: None |
5006
|
|
|
|
|
|
|
|
5007
|
|
|
|
|
|
|
get_awgs_ready(awg => $awg) |
5008
|
|
|
|
|
|
|
|
5009
|
|
|
|
|
|
|
AWG has a compiled wave form and is ready to be enabled. |
5010
|
|
|
|
|
|
|
|
5011
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/RESET |
5012
|
|
|
|
|
|
|
Properties: Read Write Setting |
5013
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5014
|
|
|
|
|
|
|
Unit: None |
5015
|
|
|
|
|
|
|
|
5016
|
|
|
|
|
|
|
set_awgs_reset(awg => $awg, value => $value) |
5017
|
|
|
|
|
|
|
get_awgs_reset(awg => $awg) |
5018
|
|
|
|
|
|
|
|
5019
|
|
|
|
|
|
|
Clears the configured AWG program and resets the state to not ready. |
5020
|
|
|
|
|
|
|
|
5021
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/RTLOGGER/CLEAR |
5022
|
|
|
|
|
|
|
Properties: Read Write Setting |
5023
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5024
|
|
|
|
|
|
|
Unit: None |
5025
|
|
|
|
|
|
|
|
5026
|
|
|
|
|
|
|
set_awgs_rtlogger_clear(awg => $awg, value => $value) |
5027
|
|
|
|
|
|
|
get_awgs_rtlogger_clear(awg => $awg) |
5028
|
|
|
|
|
|
|
|
5029
|
|
|
|
|
|
|
Clears the logger data. |
5030
|
|
|
|
|
|
|
|
5031
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/RTLOGGER/ENABLE |
5032
|
|
|
|
|
|
|
Properties: Read Write Setting |
5033
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5034
|
|
|
|
|
|
|
Unit: None |
5035
|
|
|
|
|
|
|
|
5036
|
|
|
|
|
|
|
set_awgs_rtlogger_enable(awg => $awg, value => $value) |
5037
|
|
|
|
|
|
|
get_awgs_rtlogger_enable(awg => $awg) |
5038
|
|
|
|
|
|
|
|
5039
|
|
|
|
|
|
|
Activates the Real-time Logger. |
5040
|
|
|
|
|
|
|
|
5041
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/RTLOGGER/MODE |
5042
|
|
|
|
|
|
|
Properties: Read Write Setting |
5043
|
|
|
|
|
|
|
Type: Integer (enumerated)(I) |
5044
|
|
|
|
|
|
|
Unit: None |
5045
|
|
|
|
|
|
|
|
5046
|
|
|
|
|
|
|
set_awgs_rtlogger_mode(awg => $awg, value => $value) |
5047
|
|
|
|
|
|
|
get_awgs_rtlogger_mode(awg => $awg) |
5048
|
|
|
|
|
|
|
|
5049
|
|
|
|
|
|
|
Selects the operation mode. |
5050
|
|
|
|
|
|
|
normal0 |
5051
|
|
|
|
|
|
|
Normal: Logger starts with the AWG and overwrites old values as soon as the |
5052
|
|
|
|
|
|
|
memory limit of 1024 entries is reached. |
5053
|
|
|
|
|
|
|
timestamp1 |
5054
|
|
|
|
|
|
|
Timestamp-triggered: Logger starts with the AWG, waits for the first valid trigger, and |
5055
|
|
|
|
|
|
|
only starts recording data after the time specified by the starttimestamp. Recording |
5056
|
|
|
|
|
|
|
stops as soon as the memory limit of 1024 entries is reached. |
5057
|
|
|
|
|
|
|
|
5058
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/RTLOGGER/STARTTIMESTAMP |
5059
|
|
|
|
|
|
|
Properties: Read Write Setting |
5060
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5061
|
|
|
|
|
|
|
Unit: None |
5062
|
|
|
|
|
|
|
|
5063
|
|
|
|
|
|
|
set_awgs_rtlogger_starttimestamp(awg => $awg, value => $value) |
5064
|
|
|
|
|
|
|
get_awgs_rtlogger_starttimestamp(awg => $awg) |
5065
|
|
|
|
|
|
|
|
5066
|
|
|
|
|
|
|
Timestamp at which to start logging for timestamp-triggered mode. |
5067
|
|
|
|
|
|
|
|
5068
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/RTLOGGER/STATUS |
5069
|
|
|
|
|
|
|
Properties: Read |
5070
|
|
|
|
|
|
|
Type: Integer (enumerated)(I) |
5071
|
|
|
|
|
|
|
Unit: None |
5072
|
|
|
|
|
|
|
|
5073
|
|
|
|
|
|
|
get_awgs_rtlogger_status(awg => $awg) |
5074
|
|
|
|
|
|
|
|
5075
|
|
|
|
|
|
|
Operation state. |
5076
|
|
|
|
|
|
|
idle0 |
5077
|
|
|
|
|
|
|
Idle: Logger is not running. |
5078
|
|
|
|
|
|
|
normal1 |
5079
|
|
|
|
|
|
|
Normal: Logger is running in normal mode. |
5080
|
|
|
|
|
|
|
ts_wait2 |
5081
|
|
|
|
|
|
|
Wait for timestamp: Logger is in timestamp-triggered mode and waits for start |
5082
|
|
|
|
|
|
|
timestamp. |
5083
|
|
|
|
|
|
|
ts_active3 |
5084
|
|
|
|
|
|
|
Active: Logger is in timestamp-triggered mode and logging. |
5085
|
|
|
|
|
|
|
ts_full4 |
5086
|
|
|
|
|
|
|
Log Full: Logger is in timestamp-triggered mode and has stopped logging because |
5087
|
|
|
|
|
|
|
log is full. |
5088
|
|
|
|
|
|
|
erasing5 |
5089
|
|
|
|
|
|
|
Erasing: Log is being erased |
5090
|
|
|
|
|
|
|
|
5091
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/RTLOGGER/TIMEBASE |
5092
|
|
|
|
|
|
|
Properties: Read |
5093
|
|
|
|
|
|
|
Type: Double(D) |
5094
|
|
|
|
|
|
|
Unit: s |
5095
|
|
|
|
|
|
|
|
5096
|
|
|
|
|
|
|
get_awgs_rtlogger_timebase(awg => $awg) |
5097
|
|
|
|
|
|
|
|
5098
|
|
|
|
|
|
|
Minimal time difference between two timestamps. The value matches the awg execution rate. |
5099
|
|
|
|
|
|
|
|
5100
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/SEQUENCER/CONTINUE |
5101
|
|
|
|
|
|
|
Properties: Read Write |
5102
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5103
|
|
|
|
|
|
|
Unit: None |
5104
|
|
|
|
|
|
|
|
5105
|
|
|
|
|
|
|
set_awgs_sequencer_continue(awg => $awg, value => $value) |
5106
|
|
|
|
|
|
|
get_awgs_sequencer_continue(awg => $awg) |
5107
|
|
|
|
|
|
|
|
5108
|
|
|
|
|
|
|
Reserved for future use. |
5109
|
|
|
|
|
|
|
|
5110
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/SEQUENCER/MEMORYUSAGE |
5111
|
|
|
|
|
|
|
Properties: Read |
5112
|
|
|
|
|
|
|
Type: Double(D) |
5113
|
|
|
|
|
|
|
Unit: None |
5114
|
|
|
|
|
|
|
|
5115
|
|
|
|
|
|
|
get_awgs_sequencer_memoryusage(awg => $awg) |
5116
|
|
|
|
|
|
|
|
5117
|
|
|
|
|
|
|
Size of the current Sequencer program relative to the available instruction memory of 16 |
5118
|
|
|
|
|
|
|
kInstructions (16'384 instructions). |
5119
|
|
|
|
|
|
|
|
5120
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/SEQUENCER/NEXT |
5121
|
|
|
|
|
|
|
Properties: Read Write |
5122
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5123
|
|
|
|
|
|
|
Unit: None |
5124
|
|
|
|
|
|
|
|
5125
|
|
|
|
|
|
|
set_awgs_sequencer_next(awg => $awg, value => $value) |
5126
|
|
|
|
|
|
|
get_awgs_sequencer_next(awg => $awg) |
5127
|
|
|
|
|
|
|
|
5128
|
|
|
|
|
|
|
Reserved for future use. |
5129
|
|
|
|
|
|
|
|
5130
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/SEQUENCER/PC |
5131
|
|
|
|
|
|
|
Properties: Read |
5132
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5133
|
|
|
|
|
|
|
Unit: None |
5134
|
|
|
|
|
|
|
|
5135
|
|
|
|
|
|
|
get_awgs_sequencer_pc(awg => $awg) |
5136
|
|
|
|
|
|
|
|
5137
|
|
|
|
|
|
|
Current position in the list of sequence instructions during execution. |
5138
|
|
|
|
|
|
|
|
5139
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/SEQUENCER/STATUS |
5140
|
|
|
|
|
|
|
Properties: Read |
5141
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5142
|
|
|
|
|
|
|
Unit: None |
5143
|
|
|
|
|
|
|
|
5144
|
|
|
|
|
|
|
get_awgs_sequencer_status(awg => $awg) |
5145
|
|
|
|
|
|
|
|
5146
|
|
|
|
|
|
|
Status of the sequencer on the instrument. Bit 0: sequencer is running; Bit 1: reserved; Bit 2: |
5147
|
|
|
|
|
|
|
sequencer is waiting for a trigger to arrive; Bit 3: AWG has detected an error; Bit 4: reserved. |
5148
|
|
|
|
|
|
|
|
5149
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/SEQUENCER/TRIGGERED |
5150
|
|
|
|
|
|
|
Properties: Read |
5151
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5152
|
|
|
|
|
|
|
Unit: None |
5153
|
|
|
|
|
|
|
|
5154
|
|
|
|
|
|
|
get_awgs_sequencer_triggered(awg => $awg) |
5155
|
|
|
|
|
|
|
|
5156
|
|
|
|
|
|
|
When 1, indicates that the AWG Sequencer has been triggered. |
5157
|
|
|
|
|
|
|
|
5158
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/SINGLE |
5159
|
|
|
|
|
|
|
Properties: Read Write Setting |
5160
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5161
|
|
|
|
|
|
|
Unit: None |
5162
|
|
|
|
|
|
|
|
5163
|
|
|
|
|
|
|
set_awgs_single(awg => $awg, value => $value) |
5164
|
|
|
|
|
|
|
get_awgs_single(awg => $awg) |
5165
|
|
|
|
|
|
|
|
5166
|
|
|
|
|
|
|
Puts the AWG into single shot mode. |
5167
|
|
|
|
|
|
|
|
5168
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/SWEEP/AWGTRIGS/m |
5169
|
|
|
|
|
|
|
Properties: Read Write |
5170
|
|
|
|
|
|
|
Type: Double(D) |
5171
|
|
|
|
|
|
|
Unit: Dependent |
5172
|
|
|
|
|
|
|
|
5173
|
|
|
|
|
|
|
set_awgs_sweep_awgtrigs(awg => $awg, trig => $trig value => $value) |
5174
|
|
|
|
|
|
|
get_awgs_sweep_awgtrigs(awg => $awg, trig => $trig) |
5175
|
|
|
|
|
|
|
|
5176
|
|
|
|
|
|
|
Node used by the sweeper module for fast index sweeps. When selected as sweep grid the |
5177
|
|
|
|
|
|
|
sweeper module will switch into a fast index based scan mode. This mode can be up to 1000 times |
5178
|
|
|
|
|
|
|
faster than conventional node sweeps. The sequencer program must support this functionality. |
5179
|
|
|
|
|
|
|
See section 'AWG Index Sweep' of the UHF user manual for more information. |
5180
|
|
|
|
|
|
|
Note: This option was not available in the device used for developement, it is therefore untested. |
5181
|
|
|
|
|
|
|
|
5182
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/TIME |
5183
|
|
|
|
|
|
|
Properties: Read Write Setting |
5184
|
|
|
|
|
|
|
Type: Integer (enumerated)(I) |
5185
|
|
|
|
|
|
|
Unit: None |
5186
|
|
|
|
|
|
|
|
5187
|
|
|
|
|
|
|
set_awgs_time(awg => $awg, value => $value) |
5188
|
|
|
|
|
|
|
get_awgs_time(awg => $awg) |
5189
|
|
|
|
|
|
|
|
5190
|
|
|
|
|
|
|
AWG sampling rate. The numeric values here are an example when the base sample rate is the |
5191
|
|
|
|
|
|
|
default value of 2.4 GHz and are rounded for display purposes. The exact values are equal to |
5192
|
|
|
|
|
|
|
the base sampling rate divided by 2^n, where n is the node value. The base sample clock is the |
5193
|
|
|
|
|
|
|
node /DEV/SYSTEM/CLOCKS/SAMPLECLOCK/FREQ. This value is used by default and can be |
5194
|
|
|
|
|
|
|
overridden in the Sequence program. |
5195
|
|
|
|
|
|
|
02.4 GHz |
5196
|
|
|
|
|
|
|
11.2 GHz |
5197
|
|
|
|
|
|
|
2600 MHz |
5198
|
|
|
|
|
|
|
3300 MHz |
5199
|
|
|
|
|
|
|
4150 MHz |
5200
|
|
|
|
|
|
|
575 MHz |
5201
|
|
|
|
|
|
|
637.50 MHz |
5202
|
|
|
|
|
|
|
718.75 MHz |
5203
|
|
|
|
|
|
|
89.38 MHz |
5204
|
|
|
|
|
|
|
94.69 MHz |
5205
|
|
|
|
|
|
|
102.34 MHz |
5206
|
|
|
|
|
|
|
111.17 MHz |
5207
|
|
|
|
|
|
|
12585.94 kHz |
5208
|
|
|
|
|
|
|
13292.97 kHz |
5209
|
|
|
|
|
|
|
|
5210
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/USERREGS/m |
5211
|
|
|
|
|
|
|
Properties: Read Write Setting |
5212
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5213
|
|
|
|
|
|
|
Unit: None |
5214
|
|
|
|
|
|
|
|
5215
|
|
|
|
|
|
|
set_awgs_userregs(awg => $awg, userregs=>$userregs, value => $value) |
5216
|
|
|
|
|
|
|
get_awgs_userregs(awg => $awg, userregs=>$userregs) |
5217
|
|
|
|
|
|
|
|
5218
|
|
|
|
|
|
|
Integer user register value. The sequencer has reading and writing access to the user register |
5219
|
|
|
|
|
|
|
values during run time. |
5220
|
|
|
|
|
|
|
|
5221
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/WAVEFORM/MEMORYUSAGE |
5222
|
|
|
|
|
|
|
Properties: Read |
5223
|
|
|
|
|
|
|
Type: Double(D) |
5224
|
|
|
|
|
|
|
Unit: % |
5225
|
|
|
|
|
|
|
|
5226
|
|
|
|
|
|
|
get_awgs_waveform_memoryusage(awg => $awg) |
5227
|
|
|
|
|
|
|
|
5228
|
|
|
|
|
|
|
Amount of the used waveform data relative to the device cache memory. The cache memory |
5229
|
|
|
|
|
|
|
provides space for 256 kSa (262'144 Sa) per-channel of waveform data. Memory Usage over 100% |
5230
|
|
|
|
|
|
|
means that waveforms must be loaded from the main memory of 64 or 512 MSa (67'108'864 Sa |
5231
|
|
|
|
|
|
|
or 536'870'912 Sa) per-channel during playback. |
5232
|
|
|
|
|
|
|
|
5233
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/WAVEFORM/PLAYING |
5234
|
|
|
|
|
|
|
Properties: Read |
5235
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5236
|
|
|
|
|
|
|
Unit: None |
5237
|
|
|
|
|
|
|
|
5238
|
|
|
|
|
|
|
get_awgs_waveform_playing(awg => $awg) |
5239
|
|
|
|
|
|
|
|
5240
|
|
|
|
|
|
|
When 1, indicates if a waveform is being played currently. |
5241
|
|
|
|
|
|
|
|
5242
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/ZSYNC/DECODER/MASK |
5243
|
|
|
|
|
|
|
Properties: Read Write Setting |
5244
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5245
|
|
|
|
|
|
|
Unit: None |
5246
|
|
|
|
|
|
|
|
5247
|
|
|
|
|
|
|
set_awgs_zsync_decoder_mask(awg => $awg, value => $value) |
5248
|
|
|
|
|
|
|
get_awgs_zsync_decoder_mask(awg => $awg) |
5249
|
|
|
|
|
|
|
|
5250
|
|
|
|
|
|
|
8-bit value to select the bits of the message received on ZSync interface coming from the PQSC |
5251
|
|
|
|
|
|
|
error decoder. |
5252
|
|
|
|
|
|
|
|
5253
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/ZSYNC/DECODER/OFFSET |
5254
|
|
|
|
|
|
|
Properties: Read Write Setting |
5255
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5256
|
|
|
|
|
|
|
Unit: None |
5257
|
|
|
|
|
|
|
|
5258
|
|
|
|
|
|
|
set_awgs_zsync_decoder_offset(awg => $awg, value => $value) |
5259
|
|
|
|
|
|
|
get_awgs_zsync_decoder_offset(awg => $awg) |
5260
|
|
|
|
|
|
|
|
5261
|
|
|
|
|
|
|
The additive offset applied to the message received on ZSync interface coming from the PQSC |
5262
|
|
|
|
|
|
|
error decoder. |
5263
|
|
|
|
|
|
|
|
5264
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/ZSYNC/DECODER/SHIFT |
5265
|
|
|
|
|
|
|
Properties: Read Write Setting |
5266
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5267
|
|
|
|
|
|
|
Unit: None |
5268
|
|
|
|
|
|
|
|
5269
|
|
|
|
|
|
|
set_awgs_zsync_decoder_shift(awg => $awg, value => $value) |
5270
|
|
|
|
|
|
|
get_awgs_zsync_decoder_shift(awg => $awg) |
5271
|
|
|
|
|
|
|
|
5272
|
|
|
|
|
|
|
The bit shift applied to the message received on ZSync interface coming from the PQSC error |
5273
|
|
|
|
|
|
|
decoder. |
5274
|
|
|
|
|
|
|
|
5275
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/ZSYNC/REGISTER/MASK |
5276
|
|
|
|
|
|
|
Properties: Read Write Setting |
5277
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5278
|
|
|
|
|
|
|
Unit: None |
5279
|
|
|
|
|
|
|
|
5280
|
|
|
|
|
|
|
set_awgs_zsync_register_mask(awg => $awg, value => $value) |
5281
|
|
|
|
|
|
|
get_awgs_zsync_register_mask(awg => $awg) |
5282
|
|
|
|
|
|
|
|
5283
|
|
|
|
|
|
|
4-bit value to select the bits of the message received on ZSync interface coming from the PQSC |
5284
|
|
|
|
|
|
|
readout registers. |
5285
|
|
|
|
|
|
|
|
5286
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/ZSYNC/REGISTER/OFFSET |
5287
|
|
|
|
|
|
|
Properties: Read Write Setting |
5288
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5289
|
|
|
|
|
|
|
Unit: None |
5290
|
|
|
|
|
|
|
|
5291
|
|
|
|
|
|
|
set_awgs_zsync_register_offset(awg => $awg, value => $value) |
5292
|
|
|
|
|
|
|
get_awgs_zsync_register_offset(awg => $awg) |
5293
|
|
|
|
|
|
|
|
5294
|
|
|
|
|
|
|
The additive offset applied to the message received on ZSync interface coming from the PQSC |
5295
|
|
|
|
|
|
|
readout registers. |
5296
|
|
|
|
|
|
|
|
5297
|
|
|
|
|
|
|
=head3 /DEV/AWGS/n/ZSYNC/REGISTER/SHIFT |
5298
|
|
|
|
|
|
|
Properties: Read Write Setting |
5299
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5300
|
|
|
|
|
|
|
Unit: None |
5301
|
|
|
|
|
|
|
|
5302
|
|
|
|
|
|
|
set_awgs_zsync_register_shift(awg => $awg, value => $value) |
5303
|
|
|
|
|
|
|
get_awgs_zsync_register_shift(awg => $awg) |
5304
|
|
|
|
|
|
|
|
5305
|
|
|
|
|
|
|
The bit shift applied to the message received on ZSync interface coming from the PQSC readout |
5306
|
|
|
|
|
|
|
registers. |
5307
|
|
|
|
|
|
|
|
5308
|
|
|
|
|
|
|
=head2 ClOCKBASE |
5309
|
|
|
|
|
|
|
=head3 /DEV/CLOCKBASE |
5310
|
|
|
|
|
|
|
Properties: Read |
5311
|
|
|
|
|
|
|
Type: Double(D) |
5312
|
|
|
|
|
|
|
Unit: Hz |
5313
|
|
|
|
|
|
|
|
5314
|
|
|
|
|
|
|
get_clockbase() |
5315
|
|
|
|
|
|
|
|
5316
|
|
|
|
|
|
|
Returns the internal clock frequency of the device. |
5317
|
|
|
|
|
|
|
|
5318
|
|
|
|
|
|
|
=head2 CNT |
5319
|
|
|
|
|
|
|
Note: None of the functionality could be tested here since the module was missing in developement. |
5320
|
|
|
|
|
|
|
=head3 /DEV/CNTS/n/ENABLE |
5321
|
|
|
|
|
|
|
Properties: Read Write Setting |
5322
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5323
|
|
|
|
|
|
|
Unit: None |
5324
|
|
|
|
|
|
|
|
5325
|
|
|
|
|
|
|
set_cnts_enable(cnt => $cnt, value => $value) |
5326
|
|
|
|
|
|
|
get_cnts_enable(cnt => $cnt) |
5327
|
|
|
|
|
|
|
|
5328
|
|
|
|
|
|
|
Enable the pulse counter unit. |
5329
|
|
|
|
|
|
|
Note: This option was not available in the device used for developement, it is therefore untested. |
5330
|
|
|
|
|
|
|
|
5331
|
|
|
|
|
|
|
=head3 /DEV/CNTS/n/GATESELECT |
5332
|
|
|
|
|
|
|
Properties: Read Write Setting |
5333
|
|
|
|
|
|
|
Type: Integer (enumerated)(I) |
5334
|
|
|
|
|
|
|
Unit: None |
5335
|
|
|
|
|
|
|
|
5336
|
|
|
|
|
|
|
set_cnts_gateselect(cnt => $cnt, value => $value) |
5337
|
|
|
|
|
|
|
get_cnts_gateselect(cnt => $cnt) |
5338
|
|
|
|
|
|
|
|
5339
|
|
|
|
|
|
|
Select the signal source used for enabling the counter in the Gated Free Running and Gated |
5340
|
|
|
|
|
|
|
modes. |
5341
|
|
|
|
|
|
|
trigin0, trigger_input0 0 |
5342
|
|
|
|
|
|
|
Trigger/Ref Input 1 (front panel). |
5343
|
|
|
|
|
|
|
trigin1, trigger_input1 1 |
5344
|
|
|
|
|
|
|
Trigger/Ref Input 2 (front panel). |
5345
|
|
|
|
|
|
|
trigin2, trigger_input2 2 |
5346
|
|
|
|
|
|
|
Trigger Input 3 (rear panel). |
5347
|
|
|
|
|
|
|
trigin3, trigger_input3 3 |
5348
|
|
|
|
|
|
|
Trigger Input 4 (rear panel). |
5349
|
|
|
|
|
|
|
awg_trigger04 |
5350
|
|
|
|
|
|
|
AWG Trigger 1. |
5351
|
|
|
|
|
|
|
awg_trigger15 |
5352
|
|
|
|
|
|
|
AWG Trigger 2. |
5353
|
|
|
|
|
|
|
awg_trigger26 |
5354
|
|
|
|
|
|
|
AWG Trigger 3. |
5355
|
|
|
|
|
|
|
awg_trigger37 |
5356
|
|
|
|
|
|
|
AWG Trigger 4. |
5357
|
|
|
|
|
|
|
|
5358
|
|
|
|
|
|
|
=head3 /DEV/CNTS/n/INPUTSELECT |
5359
|
|
|
|
|
|
|
Properties: Read Write Setting |
5360
|
|
|
|
|
|
|
Type: Integer (enumerated)(I) |
5361
|
|
|
|
|
|
|
Unit: None |
5362
|
|
|
|
|
|
|
|
5363
|
|
|
|
|
|
|
set_cnts_inputselect(cnt => $cnt, value => $value) |
5364
|
|
|
|
|
|
|
get_cnts_inputselect(cnt => $cnt) |
5365
|
|
|
|
|
|
|
|
5366
|
|
|
|
|
|
|
Select the counter signal source. |
5367
|
|
|
|
|
|
|
0DIO Bit 0. |
5368
|
|
|
|
|
|
|
1DIO Bit 1. |
5369
|
|
|
|
|
|
|
2DIO Bit 2. |
5370
|
|
|
|
|
|
|
3DIO Bit 3. |
5371
|
|
|
|
|
|
|
4DIO Bit 4. |
5372
|
|
|
|
|
|
|
5DIO Bit 5. |
5373
|
|
|
|
|
|
|
6DIO Bit 6. |
5374
|
|
|
|
|
|
|
7DIO Bit 7. |
5375
|
|
|
|
|
|
|
8DIO Bit 8. |
5376
|
|
|
|
|
|
|
9DIO Bit 9. |
5377
|
|
|
|
|
|
|
10DIO Bit 10. |
5378
|
|
|
|
|
|
|
11DIO Bit 11. |
5379
|
|
|
|
|
|
|
12DIO Bit 12. |
5380
|
|
|
|
|
|
|
13DIO Bit 13. |
5381
|
|
|
|
|
|
|
14DIO Bit 14. |
5382
|
|
|
|
|
|
|
15DIO Bit 15. |
5383
|
|
|
|
|
|
|
16DIO Bit 16. |
5384
|
|
|
|
|
|
|
17DIO Bit 17. |
5385
|
|
|
|
|
|
|
18DIO Bit 18. |
5386
|
|
|
|
|
|
|
19DIO Bit 19. |
5387
|
|
|
|
|
|
|
20DIO Bit 20. |
5388
|
|
|
|
|
|
|
21DIO Bit 21. |
5389
|
|
|
|
|
|
|
22DIO Bit 22. |
5390
|
|
|
|
|
|
|
23DIO Bit 23. |
5391
|
|
|
|
|
|
|
24DIO Bit 24. |
5392
|
|
|
|
|
|
|
25DIO Bit 25. |
5393
|
|
|
|
|
|
|
26DIO Bit 26. |
5394
|
|
|
|
|
|
|
27DIO Bit 27. |
5395
|
|
|
|
|
|
|
28DIO Bit 28. |
5396
|
|
|
|
|
|
|
29DIO Bit 29. |
5397
|
|
|
|
|
|
|
30DIO Bit 30. |
5398
|
|
|
|
|
|
|
31DIO Bit 31. |
5399
|
|
|
|
|
|
|
trigin0, trigger_input0 32 |
5400
|
|
|
|
|
|
|
Trigger/Ref Input 1 (front panel). |
5401
|
|
|
|
|
|
|
trigin1, trigger_input1 33 |
5402
|
|
|
|
|
|
|
Trigger/Ref Input 2 (front panel). |
5403
|
|
|
|
|
|
|
trigin2, trigger_input2 34 |
5404
|
|
|
|
|
|
|
Trigger Input 3 (rear panel). |
5405
|
|
|
|
|
|
|
trigin3, trigger_input3 35 |
5406
|
|
|
|
|
|
|
Trigger Input 4 (rear panel). |
5407
|
|
|
|
|
|
|
|
5408
|
|
|
|
|
|
|
=head3 /DEV/CNTS/n/INTEGRATE |
5409
|
|
|
|
|
|
|
Properties: Read Write Setting |
5410
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5411
|
|
|
|
|
|
|
Unit: None |
5412
|
|
|
|
|
|
|
|
5413
|
|
|
|
|
|
|
set_cnts_integrate(cnt => $cnt, value => $value) |
5414
|
|
|
|
|
|
|
get_cnts_integrate(cnt => $cnt) |
5415
|
|
|
|
|
|
|
|
5416
|
|
|
|
|
|
|
Sum up counter values over time. |
5417
|
|
|
|
|
|
|
|
5418
|
|
|
|
|
|
|
=head3 /DEV/CNTS/n/MODE |
5419
|
|
|
|
|
|
|
Properties: Read Write Setting |
5420
|
|
|
|
|
|
|
Type: Integer (enumerated)(I) |
5421
|
|
|
|
|
|
|
Unit: None |
5422
|
|
|
|
|
|
|
|
5423
|
|
|
|
|
|
|
set_cnts_mode(cnt => $cnt, value => $value) |
5424
|
|
|
|
|
|
|
get_cnts_mode(cnt => $cnt) |
5425
|
|
|
|
|
|
|
|
5426
|
|
|
|
|
|
|
Select the run mode of the counter unit. |
5427
|
|
|
|
|
|
|
free_running1 |
5428
|
|
|
|
|
|
|
Free Running: The counter runs on a repetitive time base defined by the Period |
5429
|
|
|
|
|
|
|
field. At the beginning of each period the counter is reset, and at the end, the |
5430
|
|
|
|
|
|
|
accumulated number of counts is output. |
5431
|
|
|
|
|
|
|
gated_free_running2 |
5432
|
|
|
|
|
|
|
Gated Free Running: The counter runs on a repetitive time base defined by the |
5433
|
|
|
|
|
|
|
Period field. The Gate Input signal controls when the unit counter is allowed to |
5434
|
|
|
|
|
|
|
run. The counter as well as the timer is reset when the Gate Input signal is low. The |
5435
|
|
|
|
|
|
|
counter will only deliver new values if the Gate Input signal is high for a time longer |
5436
|
|
|
|
|
|
|
than the configured Period. |
5437
|
|
|
|
|
|
|
gated3 |
5438
|
|
|
|
|
|
|
Gated: The counter is controlled with the Gate Input signal. The counter is enabled |
5439
|
|
|
|
|
|
|
at the rising edge of the Gate Input signal and disabled at the falling edge. Pulses are |
5440
|
|
|
|
|
|
|
counted as long as the counter is enabled. The accumulated number of counts is |
5441
|
|
|
|
|
|
|
output on the falling edge of the Gate Input signal. |
5442
|
|
|
|
|
|
|
time_tagging4 |
5443
|
|
|
|
|
|
|
Time Tagging: Every pulse is detected individually and tagged with the time of the |
5444
|
|
|
|
|
|
|
event. The Period defines the minimum hold-off time between the tagging of two |
5445
|
|
|
|
|
|
|
subsequent pulses. If more than one pulse occurs within the window defined by the |
5446
|
|
|
|
|
|
|
Period, then the pulses are accumulated and output at the end of the window. The |
5447
|
|
|
|
|
|
|
Period effectively determines the maximum rate at which pulse information can be |
5448
|
|
|
|
|
|
|
transmitted to the host PC. |
5449
|
|
|
|
|
|
|
|
5450
|
|
|
|
|
|
|
=head3 /DEV/CNTS/n/OPERATION |
5451
|
|
|
|
|
|
|
Properties: Read Write Setting |
5452
|
|
|
|
|
|
|
Type: Integer (enumerated)(I) |
5453
|
|
|
|
|
|
|
Unit: None |
5454
|
|
|
|
|
|
|
|
5455
|
|
|
|
|
|
|
set_cnts_operation(cnt => $cnt, value => $value) |
5456
|
|
|
|
|
|
|
get_cnts_operation(cnt => $cnt) |
5457
|
|
|
|
|
|
|
|
5458
|
|
|
|
|
|
|
Select the arithmetic operation (addition, subtraction) applied to the counter unit outputs. 'Other |
5459
|
|
|
|
|
|
|
counter' refers to the grouping of the counter units: 1 with 2, and 3 with 4. |
5460
|
|
|
|
|
|
|
none0 |
5461
|
|
|
|
|
|
|
None |
5462
|
|
|
|
|
|
|
add_other_counter1 |
5463
|
|
|
|
|
|
|
Add Other Counter |
5464
|
|
|
|
|
|
|
subtract_other_counter2 |
5465
|
|
|
|
|
|
|
Subtract Other Counter |
5466
|
|
|
|
|
|
|
|
5467
|
|
|
|
|
|
|
=head3 /DEV/CNTS/n/PERIOD |
5468
|
|
|
|
|
|
|
Properties: Read Write Setting |
5469
|
|
|
|
|
|
|
Type: Double(D) |
5470
|
|
|
|
|
|
|
Unit: s |
5471
|
|
|
|
|
|
|
|
5472
|
|
|
|
|
|
|
set_cnts_period(cnt => $cnt, value => $value) |
5473
|
|
|
|
|
|
|
get_cnts_period(cnt => $cnt) |
5474
|
|
|
|
|
|
|
|
5475
|
|
|
|
|
|
|
Set the period used for the Free Running and Gated Free Running modes. Also sets the hold-off |
5476
|
|
|
|
|
|
|
time for the Time Tagging mode. |
5477
|
|
|
|
|
|
|
|
5478
|
|
|
|
|
|
|
=head3 /DEV/CNTS/n/TRIGFALLING |
5479
|
|
|
|
|
|
|
Properties: Read Write Setting |
5480
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5481
|
|
|
|
|
|
|
Unit: None |
5482
|
|
|
|
|
|
|
|
5483
|
|
|
|
|
|
|
set_cnts_trigfalling(cnt => $cnt, value => $value) |
5484
|
|
|
|
|
|
|
get_cnts_trigfalling(cnt => $cnt) |
5485
|
|
|
|
|
|
|
|
5486
|
|
|
|
|
|
|
Performs a trigger event when the source signal crosses the trigger level from high to low. For |
5487
|
|
|
|
|
|
|
dual edge triggering, select also the rising edge. |
5488
|
|
|
|
|
|
|
|
5489
|
|
|
|
|
|
|
=head3 /DEV/CNTS/n/TRIGRISING |
5490
|
|
|
|
|
|
|
Properties: Read Write Setting |
5491
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5492
|
|
|
|
|
|
|
Unit: None |
5493
|
|
|
|
|
|
|
|
5494
|
|
|
|
|
|
|
set_cnts_trigrising(cnt => $cnt, value => $value) |
5495
|
|
|
|
|
|
|
get_cnts_trigrising(cnt => $cnt) |
5496
|
|
|
|
|
|
|
|
5497
|
|
|
|
|
|
|
Performs a trigger event when the source signal crosses the trigger level from low to high. For |
5498
|
|
|
|
|
|
|
dual edge triggering, select also the falling edge. |
5499
|
|
|
|
|
|
|
|
5500
|
|
|
|
|
|
|
=head3 /DEV/CNTS/n/VALUE |
5501
|
|
|
|
|
|
|
Properties: Read |
5502
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5503
|
|
|
|
|
|
|
Unit: None |
5504
|
|
|
|
|
|
|
|
5505
|
|
|
|
|
|
|
get_cnts_value(cnt => $cnt) |
5506
|
|
|
|
|
|
|
|
5507
|
|
|
|
|
|
|
Counter output value. |
5508
|
|
|
|
|
|
|
|
5509
|
|
|
|
|
|
|
=head2 DIOS |
5510
|
|
|
|
|
|
|
=head3 /DEV/DIOS/n/DRIVE |
5511
|
|
|
|
|
|
|
Properties: Read Write Setting |
5512
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5513
|
|
|
|
|
|
|
Unit: None |
5514
|
|
|
|
|
|
|
|
5515
|
|
|
|
|
|
|
set_dios_drive(dio => $dio, value => $value) |
5516
|
|
|
|
|
|
|
get_dios_drive(dio => $dio) |
5517
|
|
|
|
|
|
|
|
5518
|
|
|
|
|
|
|
When on (1), the corresponding 8-bit bus is in output mode. When off (0), it is in input mode. Bit |
5519
|
|
|
|
|
|
|
0 corresponds to the least significant byte. For example, the value 1 drives the least significant |
5520
|
|
|
|
|
|
|
byte, the value 8 drives the most significant byte. |
5521
|
|
|
|
|
|
|
|
5522
|
|
|
|
|
|
|
=head3 /DEV/DIOS/n/INPUT |
5523
|
|
|
|
|
|
|
Properties: Read |
5524
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5525
|
|
|
|
|
|
|
Unit: None |
5526
|
|
|
|
|
|
|
|
5527
|
|
|
|
|
|
|
get_dios_input(dio => $dio) |
5528
|
|
|
|
|
|
|
|
5529
|
|
|
|
|
|
|
Gives the value of the DIO input for those bytes where drive is disabled. |
5530
|
|
|
|
|
|
|
|
5531
|
|
|
|
|
|
|
=head3 /DEV/DIOS/n/INTERFACE |
5532
|
|
|
|
|
|
|
Properties: Read Write Setting |
5533
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5534
|
|
|
|
|
|
|
Unit: None |
5535
|
|
|
|
|
|
|
|
5536
|
|
|
|
|
|
|
set_dios_interface(dio => $dio, value => $value) |
5537
|
|
|
|
|
|
|
get_dios_interface(dio => $dio) |
5538
|
|
|
|
|
|
|
|
5539
|
|
|
|
|
|
|
Selects the interface standard to use on the 32-bit DIO interface. A value of 0 means that a 3.3 V |
5540
|
|
|
|
|
|
|
CMOS interface is used. A value of 1 means that an LVDS compatible interface is used. |
5541
|
|
|
|
|
|
|
|
5542
|
|
|
|
|
|
|
=head3 /DEV/DIOS/n/MODE |
5543
|
|
|
|
|
|
|
Properties: Read Write Setting |
5544
|
|
|
|
|
|
|
Type: Integer (enumerated)(I) |
5545
|
|
|
|
|
|
|
Unit: None |
5546
|
|
|
|
|
|
|
|
5547
|
|
|
|
|
|
|
set_dios_mode(dio => $dio, value => $value) |
5548
|
|
|
|
|
|
|
get_dios_mode(dio => $dio) |
5549
|
|
|
|
|
|
|
|
5550
|
|
|
|
|
|
|
Select DIO mode |
5551
|
|
|
|
|
|
|
manual0 |
5552
|
|
|
|
|
|
|
Enables manual control of the DIO output bits. |
5553
|
|
|
|
|
|
|
awg_sequencer_commands1 |
5554
|
|
|
|
|
|
|
Enables setting the DIO output values by AWG sequencer commands and forwards |
5555
|
|
|
|
|
|
|
DIO input values to the AWG sequencer. The DIO interface operates at a clock |
5556
|
|
|
|
|
|
|
frequency of 150 MHz. |
5557
|
|
|
|
|
|
|
dio_codeword2 |
5558
|
|
|
|
|
|
|
Enables setting the DIO output values by AWG sequencer commands and forwards |
5559
|
|
|
|
|
|
|
DIO input values to the AWG sequencer. This mode is equivalent to the mode AWG |
5560
|
|
|
|
|
|
|
Sequencer, except for the DIO interface clock frequency which is set to 50 MHz. |
5561
|
|
|
|
|
|
|
qccs3 |
5562
|
|
|
|
|
|
|
Enables setting the DIO output values by the ZSync input values. Forwards the ZSync |
5563
|
|
|
|
|
|
|
input values to the AWG sequencer. Forwards the DIO input values to the ZSync |
5564
|
|
|
|
|
|
|
output. Select this mode when the instrument is connected via ZSync to a PQSC. |
5565
|
|
|
|
|
|
|
|
5566
|
|
|
|
|
|
|
=head3 /DEV/DIOS/n/OUTPUT |
5567
|
|
|
|
|
|
|
Properties: Read Write Setting |
5568
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5569
|
|
|
|
|
|
|
Unit: None |
5570
|
|
|
|
|
|
|
|
5571
|
|
|
|
|
|
|
set_dios_output(dio => $dio, value => $value) |
5572
|
|
|
|
|
|
|
get_dios_output(dio => $dio) |
5573
|
|
|
|
|
|
|
|
5574
|
|
|
|
|
|
|
Sets the value of the DIO output for those bytes where 'drive' is enabled. |
5575
|
|
|
|
|
|
|
|
5576
|
|
|
|
|
|
|
=head2 FEATURES |
5577
|
|
|
|
|
|
|
|
5578
|
|
|
|
|
|
|
=head3 /DEV/FEATURES/CODE |
5579
|
|
|
|
|
|
|
Properties: Write |
5580
|
|
|
|
|
|
|
Type: String(B) |
5581
|
|
|
|
|
|
|
Unit: None |
5582
|
|
|
|
|
|
|
|
5583
|
|
|
|
|
|
|
set_features_code(value => $value) |
5584
|
|
|
|
|
|
|
|
5585
|
|
|
|
|
|
|
Node providing a mechanism to write feature codes. |
5586
|
|
|
|
|
|
|
Could not test as no feature code had to be installed. |
5587
|
|
|
|
|
|
|
|
5588
|
|
|
|
|
|
|
=head3 /DEV/FEATURES/DEVTYPE |
5589
|
|
|
|
|
|
|
Properties: Read |
5590
|
|
|
|
|
|
|
Type: String(B) |
5591
|
|
|
|
|
|
|
Unit: None |
5592
|
|
|
|
|
|
|
|
5593
|
|
|
|
|
|
|
get_features_devtype() |
5594
|
|
|
|
|
|
|
|
5595
|
|
|
|
|
|
|
Returns the device type. |
5596
|
|
|
|
|
|
|
|
5597
|
|
|
|
|
|
|
=head3 /DEV/FEATURES/OPTIONS |
5598
|
|
|
|
|
|
|
Properties: Read |
5599
|
|
|
|
|
|
|
Type: String(B) |
5600
|
|
|
|
|
|
|
Unit: None |
5601
|
|
|
|
|
|
|
|
5602
|
|
|
|
|
|
|
get_features_options() |
5603
|
|
|
|
|
|
|
|
5604
|
|
|
|
|
|
|
Returns enabled options. |
5605
|
|
|
|
|
|
|
|
5606
|
|
|
|
|
|
|
=head3 /DEV/FEATURES/SERIAL |
5607
|
|
|
|
|
|
|
Properties: Read |
5608
|
|
|
|
|
|
|
Type: String(B) |
5609
|
|
|
|
|
|
|
Unit: None |
5610
|
|
|
|
|
|
|
|
5611
|
|
|
|
|
|
|
get_features_serial() |
5612
|
|
|
|
|
|
|
|
5613
|
|
|
|
|
|
|
Device serial number. |
5614
|
|
|
|
|
|
|
|
5615
|
|
|
|
|
|
|
=head3 /DEV/OSCS/n/FREQ |
5616
|
|
|
|
|
|
|
Properties: Read Write Setting |
5617
|
|
|
|
|
|
|
Type: Double(D) |
5618
|
|
|
|
|
|
|
Unit: Hz |
5619
|
|
|
|
|
|
|
|
5620
|
|
|
|
|
|
|
set_oscs_freq(osc => $osc, value => $value) |
5621
|
|
|
|
|
|
|
get_oscs_freq(osc => $osc) |
5622
|
|
|
|
|
|
|
|
5623
|
|
|
|
|
|
|
Frequency control for each oscillator. |
5624
|
|
|
|
|
|
|
|
5625
|
|
|
|
|
|
|
=head3 /DEV/OSCS/n/FREQAWG |
5626
|
|
|
|
|
|
|
Properties: Read |
5627
|
|
|
|
|
|
|
Type: Double(D) |
5628
|
|
|
|
|
|
|
Unit: Hz |
5629
|
|
|
|
|
|
|
|
5630
|
|
|
|
|
|
|
get_oscs_freqawg(osc => $osc) |
5631
|
|
|
|
|
|
|
|
5632
|
|
|
|
|
|
|
Frequency as set by the AWG sequencer. |
5633
|
|
|
|
|
|
|
|
5634
|
|
|
|
|
|
|
=head3 /DEV/SIGOUTS/n/BUSY |
5635
|
|
|
|
|
|
|
Properties: Read |
5636
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5637
|
|
|
|
|
|
|
Unit: None |
5638
|
|
|
|
|
|
|
|
5639
|
|
|
|
|
|
|
get_sigouts_busy(sigout => $sigout) |
5640
|
|
|
|
|
|
|
|
5641
|
|
|
|
|
|
|
Boolean value indicating whether a blocking process is being executed on the device. For |
5642
|
|
|
|
|
|
|
example, locking to the external reference clock. |
5643
|
|
|
|
|
|
|
|
5644
|
|
|
|
|
|
|
=head3 /DEV/SIGOUTS/n/DELAY |
5645
|
|
|
|
|
|
|
Properties: Read Write Setting |
5646
|
|
|
|
|
|
|
Type: Double(D) |
5647
|
|
|
|
|
|
|
Unit: s |
5648
|
|
|
|
|
|
|
|
5649
|
|
|
|
|
|
|
set_sigouts_delay(sigout => $sigout, value => $value) |
5650
|
|
|
|
|
|
|
get_sigouts_delay(sigout => $sigout) |
5651
|
|
|
|
|
|
|
|
5652
|
|
|
|
|
|
|
This value allows to delay the output of the signal in order to align waves. |
5653
|
|
|
|
|
|
|
|
5654
|
|
|
|
|
|
|
=head3 /DEV/SIGOUTS/n/DIRECT |
5655
|
|
|
|
|
|
|
Properties: Read Write Setting |
5656
|
|
|
|
|
|
|
Type: Integer (enumerated)(I) |
5657
|
|
|
|
|
|
|
Unit: None |
5658
|
|
|
|
|
|
|
|
5659
|
|
|
|
|
|
|
set_sigouts_direct(sigout => $sigout, value => $value) |
5660
|
|
|
|
|
|
|
get_sigouts_direct(sigout => $sigout) |
5661
|
|
|
|
|
|
|
|
5662
|
|
|
|
|
|
|
Enables the direct output path. If enabled the signal will be fed directly from the DAC, reducing |
5663
|
|
|
|
|
|
|
delay and noise. However, the range will be fixed and offset is not available any more. |
5664
|
|
|
|
|
|
|
amplified_path0 |
5665
|
|
|
|
|
|
|
Amplified Path |
5666
|
|
|
|
|
|
|
direct_path1 |
5667
|
|
|
|
|
|
|
Direct Path |
5668
|
|
|
|
|
|
|
|
5669
|
|
|
|
|
|
|
=head3 /DEV/SIGOUTS/n/FILTER |
5670
|
|
|
|
|
|
|
Properties: Read Write Setting |
5671
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5672
|
|
|
|
|
|
|
Unit: None |
5673
|
|
|
|
|
|
|
|
5674
|
|
|
|
|
|
|
set_sigouts_filter(sigout => $sigout, value => $value) |
5675
|
|
|
|
|
|
|
get_sigouts_filter(sigout => $sigout) |
5676
|
|
|
|
|
|
|
|
5677
|
|
|
|
|
|
|
Enables a filter stage in the amplified path. |
5678
|
|
|
|
|
|
|
|
5679
|
|
|
|
|
|
|
=head3 /DEV/SIGOUTS/n/MAX |
5680
|
|
|
|
|
|
|
Properties: Read |
5681
|
|
|
|
|
|
|
Type: Double(D) |
5682
|
|
|
|
|
|
|
Unit: None |
5683
|
|
|
|
|
|
|
|
5684
|
|
|
|
|
|
|
get_sigouts_max(sigout => $sigout) |
5685
|
|
|
|
|
|
|
|
5686
|
|
|
|
|
|
|
Maximum value transmitted to the DAC represented as a 16-bit integer in two's complement |
5687
|
|
|
|
|
|
|
format. |
5688
|
|
|
|
|
|
|
|
5689
|
|
|
|
|
|
|
=head3 /DEV/SIGOUTS/n/MIN |
5690
|
|
|
|
|
|
|
Properties: Read |
5691
|
|
|
|
|
|
|
Type: Double(D) |
5692
|
|
|
|
|
|
|
Unit: None |
5693
|
|
|
|
|
|
|
|
5694
|
|
|
|
|
|
|
get_sigouts_min(sigout => $sigout) |
5695
|
|
|
|
|
|
|
|
5696
|
|
|
|
|
|
|
Minimum value transmitted to the DAC represented as a 16-bit integer in twos complement |
5697
|
|
|
|
|
|
|
format. |
5698
|
|
|
|
|
|
|
|
5699
|
|
|
|
|
|
|
=head3 /DEV/SIGOUTS/n/OFFSET |
5700
|
|
|
|
|
|
|
Properties: Read Write Setting |
5701
|
|
|
|
|
|
|
Type: Double(D) |
5702
|
|
|
|
|
|
|
Unit: V |
5703
|
|
|
|
|
|
|
|
5704
|
|
|
|
|
|
|
set_sigouts_offset(sigout => $sigout, value => $value) |
5705
|
|
|
|
|
|
|
get_sigouts_offset(sigout => $sigout) |
5706
|
|
|
|
|
|
|
|
5707
|
|
|
|
|
|
|
Defines the DC voltage that is added to the dynamic part of the output signal. |
5708
|
|
|
|
|
|
|
|
5709
|
|
|
|
|
|
|
=head3 /DEV/SIGOUTS/n/ON |
5710
|
|
|
|
|
|
|
Properties: Read Write Setting |
5711
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5712
|
|
|
|
|
|
|
Unit: None |
5713
|
|
|
|
|
|
|
|
5714
|
|
|
|
|
|
|
set_sigouts_on(sigout => $sigout, value => $value) |
5715
|
|
|
|
|
|
|
get_sigouts_on(sigout => $sigout) |
5716
|
|
|
|
|
|
|
|
5717
|
|
|
|
|
|
|
Enabling/Disabling the Signal Output. Corresponds to the blue LED indicator on the instrument |
5718
|
|
|
|
|
|
|
front panel. |
5719
|
|
|
|
|
|
|
|
5720
|
|
|
|
|
|
|
=head3 /DEV/SIGOUTS/n/OVER |
5721
|
|
|
|
|
|
|
Properties: Read |
5722
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5723
|
|
|
|
|
|
|
Unit: None |
5724
|
|
|
|
|
|
|
|
5725
|
|
|
|
|
|
|
get_sigouts_over(sigout => $sigout) |
5726
|
|
|
|
|
|
|
|
5727
|
|
|
|
|
|
|
Indicates that the signal output is overloaded. |
5728
|
|
|
|
|
|
|
/DEV/SIGOUTS/n/PRECOMPENSATION/BOUNCES/m/AMPLITUDE |
5729
|
|
|
|
|
|
|
Properties:Read, Write, Setting |
5730
|
|
|
|
|
|
|
Type:Double |
5731
|
|
|
|
|
|
|
Unit: None |
5732
|
|
|
|
|
|
|
Sets the amplitude of the bounce correction filter relative to the signal amplitude. |
5733
|
|
|
|
|
|
|
|
5734
|
|
|
|
|
|
|
=head3 /DEV/SIGOUTS/n/RANGE |
5735
|
|
|
|
|
|
|
Properties: Read Write Setting |
5736
|
|
|
|
|
|
|
Type: Double(D) |
5737
|
|
|
|
|
|
|
Unit: V |
5738
|
|
|
|
|
|
|
|
5739
|
|
|
|
|
|
|
set_sigouts_range(sigout => $sigout, value => $value) |
5740
|
|
|
|
|
|
|
get_sigouts_range(sigout => $sigout) |
5741
|
|
|
|
|
|
|
|
5742
|
|
|
|
|
|
|
Sets the output voltage range. The instrument selects the next higher available range. |
5743
|
|
|
|
|
|
|
|
5744
|
|
|
|
|
|
|
=head3 /DEV/SINES/n/AMPLITUDES/m |
5745
|
|
|
|
|
|
|
Properties: Read Write Setting |
5746
|
|
|
|
|
|
|
Type: Double(D) |
5747
|
|
|
|
|
|
|
Unit: None |
5748
|
|
|
|
|
|
|
|
5749
|
|
|
|
|
|
|
set_sines_amplitudes(sine => $sine, amplitude=> $amplitude, value => $value) |
5750
|
|
|
|
|
|
|
get_sines_amplitudes(sine => $sine, amplitude=>$amplitude) |
5751
|
|
|
|
|
|
|
|
5752
|
|
|
|
|
|
|
Sets the peak amplitude that the sine signal contributes to the signal output. Note that the last |
5753
|
|
|
|
|
|
|
index is either 0 or 1 and will map to the pair of outputs given by the first index. (e.g. sines/3/ |
5754
|
|
|
|
|
|
|
amplitudes/0 corresponds to wave output 2) |
5755
|
|
|
|
|
|
|
|
5756
|
|
|
|
|
|
|
=head3 /DEV/SINES/n/ENABLES/m |
5757
|
|
|
|
|
|
|
Properties: Read Write Setting |
5758
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5759
|
|
|
|
|
|
|
Unit: None |
5760
|
|
|
|
|
|
|
|
5761
|
|
|
|
|
|
|
set_sines_enables(sine => $sine, amplitude=>$amplitude,value => $value) |
5762
|
|
|
|
|
|
|
get_sines_enables(sine => $sine, amplitude=>$amplitude) |
5763
|
|
|
|
|
|
|
|
5764
|
|
|
|
|
|
|
Enables the sine signal to the signal output. Note that the last index is either 0 or 1 and will map |
5765
|
|
|
|
|
|
|
to the pair of outputs given by the first index. (e.g. sines/3/amplitudes/0 corresponds to wave |
5766
|
|
|
|
|
|
|
output 2) |
5767
|
|
|
|
|
|
|
|
5768
|
|
|
|
|
|
|
=head3 /DEV/SINES/n/HARMONIC |
5769
|
|
|
|
|
|
|
Properties: Read Write Setting |
5770
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5771
|
|
|
|
|
|
|
Unit: None |
5772
|
|
|
|
|
|
|
|
5773
|
|
|
|
|
|
|
set_sines_harmonic(sine => $sine, value => $value) |
5774
|
|
|
|
|
|
|
get_sines_harmonic(sine => $sine) |
5775
|
|
|
|
|
|
|
|
5776
|
|
|
|
|
|
|
Multiplies the sine signals reference frequency with the integer factor defined by this field. |
5777
|
|
|
|
|
|
|
|
5778
|
|
|
|
|
|
|
=head3 /DEV/SINES/n/OSCSELECT |
5779
|
|
|
|
|
|
|
Properties: Read Write Setting |
5780
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5781
|
|
|
|
|
|
|
Unit: None |
5782
|
|
|
|
|
|
|
|
5783
|
|
|
|
|
|
|
set_sines_oscselect(sine => $sine, value => $value) |
5784
|
|
|
|
|
|
|
get_sines_oscselect(sine => $sine) |
5785
|
|
|
|
|
|
|
|
5786
|
|
|
|
|
|
|
Select oscillator for generation of this sine signal. |
5787
|
|
|
|
|
|
|
|
5788
|
|
|
|
|
|
|
=head3 /DEV/SINES/n/PHASESHIFT |
5789
|
|
|
|
|
|
|
Properties: Read Write Setting |
5790
|
|
|
|
|
|
|
Type: Double(D) |
5791
|
|
|
|
|
|
|
Unit: deg |
5792
|
|
|
|
|
|
|
|
5793
|
|
|
|
|
|
|
set_sines_phaseshift(sine => $sine, value => $value) |
5794
|
|
|
|
|
|
|
get_sines_phaseshift(sine => $sine) |
5795
|
|
|
|
|
|
|
|
5796
|
|
|
|
|
|
|
Phase shift applied to sine signal. |
5797
|
|
|
|
|
|
|
|
5798
|
|
|
|
|
|
|
=head3 /DEV/STATS/CMDSTREAM/BANDWIDTH |
5799
|
|
|
|
|
|
|
Properties: Read |
5800
|
|
|
|
|
|
|
Type: Double(D) |
5801
|
|
|
|
|
|
|
Unit: Mbit/s |
5802
|
|
|
|
|
|
|
|
5803
|
|
|
|
|
|
|
get_stats_cmdstream_bandwidth() |
5804
|
|
|
|
|
|
|
|
5805
|
|
|
|
|
|
|
Command streaming bandwidth usage on the physical network connection between device and |
5806
|
|
|
|
|
|
|
data server. |
5807
|
|
|
|
|
|
|
|
5808
|
|
|
|
|
|
|
=head3 /DEV/STATS/CMDSTREAM/BYTESRECEIVED |
5809
|
|
|
|
|
|
|
Properties: Read |
5810
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5811
|
|
|
|
|
|
|
Unit: B |
5812
|
|
|
|
|
|
|
|
5813
|
|
|
|
|
|
|
get_stats_cmdstream_bytesreceived() |
5814
|
|
|
|
|
|
|
|
5815
|
|
|
|
|
|
|
Number of bytes received on the command stream from the device since session start. |
5816
|
|
|
|
|
|
|
|
5817
|
|
|
|
|
|
|
=head3 /DEV/STATS/CMDSTREAM/BYTESSENT |
5818
|
|
|
|
|
|
|
Properties: Read |
5819
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5820
|
|
|
|
|
|
|
Unit: B |
5821
|
|
|
|
|
|
|
|
5822
|
|
|
|
|
|
|
get_stats_cmdstream_bytessent() |
5823
|
|
|
|
|
|
|
|
5824
|
|
|
|
|
|
|
Number of bytes sent on the command stream from the device since session start. |
5825
|
|
|
|
|
|
|
|
5826
|
|
|
|
|
|
|
=head3 /DEV/STATS/CMDSTREAM/PACKETSLOST |
5827
|
|
|
|
|
|
|
Properties: Read |
5828
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5829
|
|
|
|
|
|
|
Unit: None |
5830
|
|
|
|
|
|
|
|
5831
|
|
|
|
|
|
|
get_stats_cmdstream_packetslost() |
5832
|
|
|
|
|
|
|
|
5833
|
|
|
|
|
|
|
Number of command packets lost since device start. Command packets contain device settings |
5834
|
|
|
|
|
|
|
that are sent to and received from the device. |
5835
|
|
|
|
|
|
|
|
5836
|
|
|
|
|
|
|
=head3 /DEV/STATS/CMDSTREAM/PACKETSRECEIVED |
5837
|
|
|
|
|
|
|
Properties: Read |
5838
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5839
|
|
|
|
|
|
|
Unit: None |
5840
|
|
|
|
|
|
|
|
5841
|
|
|
|
|
|
|
get_stats_cmdstream_packetsreceived() |
5842
|
|
|
|
|
|
|
|
5843
|
|
|
|
|
|
|
Number of packets received on the command stream from the device since session start. |
5844
|
|
|
|
|
|
|
|
5845
|
|
|
|
|
|
|
=head3 /DEV/STATS/CMDSTREAM/PACKETSSENT |
5846
|
|
|
|
|
|
|
Properties: Read |
5847
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5848
|
|
|
|
|
|
|
Unit: None |
5849
|
|
|
|
|
|
|
|
5850
|
|
|
|
|
|
|
get_stats_cmdstream_packetssent() |
5851
|
|
|
|
|
|
|
|
5852
|
|
|
|
|
|
|
Number of packets sent on the command stream to the device since session start. |
5853
|
|
|
|
|
|
|
|
5854
|
|
|
|
|
|
|
=head3 /DEV/STATS/CMDSTREAM/PENDING |
5855
|
|
|
|
|
|
|
Properties: Read |
5856
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5857
|
|
|
|
|
|
|
Unit: None |
5858
|
|
|
|
|
|
|
|
5859
|
|
|
|
|
|
|
get_stats_cmdstream_pending() |
5860
|
|
|
|
|
|
|
|
5861
|
|
|
|
|
|
|
Number of buffers ready for receiving command packets from the device. |
5862
|
|
|
|
|
|
|
|
5863
|
|
|
|
|
|
|
=head3 /DEV/STATS/CMDSTREAM/PROCESSING |
5864
|
|
|
|
|
|
|
Properties: Read |
5865
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5866
|
|
|
|
|
|
|
Unit: None |
5867
|
|
|
|
|
|
|
|
5868
|
|
|
|
|
|
|
get_stats_cmdstream_processing() |
5869
|
|
|
|
|
|
|
|
5870
|
|
|
|
|
|
|
Number of buffers being processed for command packets. Small values indicate proper |
5871
|
|
|
|
|
|
|
performance. For a TCP/IP interface, command packets are sent using the TCP protocol. |
5872
|
|
|
|
|
|
|
|
5873
|
|
|
|
|
|
|
=head3 /DEV/STATS/DATASTREAM/BANDWIDTH |
5874
|
|
|
|
|
|
|
Properties: Read |
5875
|
|
|
|
|
|
|
Type: Double(D) |
5876
|
|
|
|
|
|
|
Unit: Mbit/s |
5877
|
|
|
|
|
|
|
|
5878
|
|
|
|
|
|
|
get_stats_datastream_bandwidth() |
5879
|
|
|
|
|
|
|
|
5880
|
|
|
|
|
|
|
Data streaming bandwidth usage on the physical network connection between device and data |
5881
|
|
|
|
|
|
|
server. |
5882
|
|
|
|
|
|
|
|
5883
|
|
|
|
|
|
|
=head3 /DEV/STATS/DATASTREAM/BYTESRECEIVED |
5884
|
|
|
|
|
|
|
Properties: Read |
5885
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5886
|
|
|
|
|
|
|
Unit: B |
5887
|
|
|
|
|
|
|
|
5888
|
|
|
|
|
|
|
get_stats_datastream_bytesreceived() |
5889
|
|
|
|
|
|
|
|
5890
|
|
|
|
|
|
|
Number of bytes received on the data stream from the device since session start. |
5891
|
|
|
|
|
|
|
|
5892
|
|
|
|
|
|
|
=head3 /DEV/STATS/DATASTREAM/PACKETSLOST |
5893
|
|
|
|
|
|
|
Properties: Read |
5894
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5895
|
|
|
|
|
|
|
Unit: None |
5896
|
|
|
|
|
|
|
|
5897
|
|
|
|
|
|
|
get_stats_datastream_packetslost() |
5898
|
|
|
|
|
|
|
|
5899
|
|
|
|
|
|
|
Number of data packets lost since device start. Data packets contain measurement data. |
5900
|
|
|
|
|
|
|
|
5901
|
|
|
|
|
|
|
=head3 /DEV/STATS/DATASTREAM/PACKETSRECEIVED |
5902
|
|
|
|
|
|
|
Properties: Read |
5903
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5904
|
|
|
|
|
|
|
Unit: None |
5905
|
|
|
|
|
|
|
|
5906
|
|
|
|
|
|
|
get_stats_datastream_packetsreceived() |
5907
|
|
|
|
|
|
|
|
5908
|
|
|
|
|
|
|
Number of packets received on the data stream from the device since session start. |
5909
|
|
|
|
|
|
|
|
5910
|
|
|
|
|
|
|
=head3 /DEV/STATS/DATASTREAM/PENDING |
5911
|
|
|
|
|
|
|
Properties: Read |
5912
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5913
|
|
|
|
|
|
|
Unit: None |
5914
|
|
|
|
|
|
|
|
5915
|
|
|
|
|
|
|
get_stats_datastream_pending() |
5916
|
|
|
|
|
|
|
|
5917
|
|
|
|
|
|
|
Number of buffers ready for receiving data packets from the device. |
5918
|
|
|
|
|
|
|
|
5919
|
|
|
|
|
|
|
=head3 /DEV/STATS/DATASTREAM/PROCESSING |
5920
|
|
|
|
|
|
|
Properties: Read |
5921
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5922
|
|
|
|
|
|
|
Unit: None |
5923
|
|
|
|
|
|
|
|
5924
|
|
|
|
|
|
|
get_stats_datastream_processing() |
5925
|
|
|
|
|
|
|
|
5926
|
|
|
|
|
|
|
Number of buffers being processed for data packets. Small values indicate proper performance. |
5927
|
|
|
|
|
|
|
For a TCP/IP interface, data packets are sent using the UDP protocol. |
5928
|
|
|
|
|
|
|
|
5929
|
|
|
|
|
|
|
=head3 /DEV/STATS/PHYSICAL/FPGA/AUX |
5930
|
|
|
|
|
|
|
Properties: Read |
5931
|
|
|
|
|
|
|
Type: Double(D) |
5932
|
|
|
|
|
|
|
Unit: V |
5933
|
|
|
|
|
|
|
|
5934
|
|
|
|
|
|
|
get_stats_physical_fpga_aux() |
5935
|
|
|
|
|
|
|
|
5936
|
|
|
|
|
|
|
Supply voltage of the FPGA. |
5937
|
|
|
|
|
|
|
|
5938
|
|
|
|
|
|
|
=head3 /DEV/STATS/PHYSICAL/FPGA/CORE |
5939
|
|
|
|
|
|
|
Properties: Read |
5940
|
|
|
|
|
|
|
Type: Double(D) |
5941
|
|
|
|
|
|
|
Unit: V |
5942
|
|
|
|
|
|
|
|
5943
|
|
|
|
|
|
|
get_stats_physical_fpga_core() |
5944
|
|
|
|
|
|
|
|
5945
|
|
|
|
|
|
|
Core voltage of the FPGA. |
5946
|
|
|
|
|
|
|
|
5947
|
|
|
|
|
|
|
=head3 /DEV/STATS/PHYSICAL/FPGA/TEMP |
5948
|
|
|
|
|
|
|
Properties: Read |
5949
|
|
|
|
|
|
|
Type: Double(D) |
5950
|
|
|
|
|
|
|
Unit: Celsius |
5951
|
|
|
|
|
|
|
|
5952
|
|
|
|
|
|
|
get_stats_physical_fpga_temp() |
5953
|
|
|
|
|
|
|
|
5954
|
|
|
|
|
|
|
Internal temperature of the FPGA. |
5955
|
|
|
|
|
|
|
|
5956
|
|
|
|
|
|
|
=head3 /DEV/STATS/PHYSICAL/OVERTEMPERATURE |
5957
|
|
|
|
|
|
|
Properties: Read |
5958
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
5959
|
|
|
|
|
|
|
Unit: None |
5960
|
|
|
|
|
|
|
|
5961
|
|
|
|
|
|
|
get_stats_physical_overtemperature() |
5962
|
|
|
|
|
|
|
|
5963
|
|
|
|
|
|
|
This flag is set to 1 if the temperature of the FPGA exceeds 85 Celsius. It will be reset to 0 after a restart |
5964
|
|
|
|
|
|
|
of the device. |
5965
|
|
|
|
|
|
|
|
5966
|
|
|
|
|
|
|
=head3 /DEV/STATS/PHYSICAL/POWER/CURRENTS/n |
5967
|
|
|
|
|
|
|
Properties: Read |
5968
|
|
|
|
|
|
|
Type: Double(D) |
5969
|
|
|
|
|
|
|
Unit: A |
5970
|
|
|
|
|
|
|
|
5971
|
|
|
|
|
|
|
get_stats_physical_power_currents(current => $current) |
5972
|
|
|
|
|
|
|
|
5973
|
|
|
|
|
|
|
Currents of the main power supply. |
5974
|
|
|
|
|
|
|
|
5975
|
|
|
|
|
|
|
=head3 /DEV/STATS/PHYSICAL/POWER/TEMPERATURES/n |
5976
|
|
|
|
|
|
|
Properties: Read |
5977
|
|
|
|
|
|
|
Type: Double(D) |
5978
|
|
|
|
|
|
|
Unit: Celsius |
5979
|
|
|
|
|
|
|
|
5980
|
|
|
|
|
|
|
get_stats_physical_power_temperatures(temperature =>$temperature) |
5981
|
|
|
|
|
|
|
|
5982
|
|
|
|
|
|
|
Temperatures of the main power supply. |
5983
|
|
|
|
|
|
|
|
5984
|
|
|
|
|
|
|
=head3 /DEV/STATS/PHYSICAL/POWER/VOLTAGES/n |
5985
|
|
|
|
|
|
|
Properties: Read |
5986
|
|
|
|
|
|
|
Type: Double(D) |
5987
|
|
|
|
|
|
|
Unit: V |
5988
|
|
|
|
|
|
|
|
5989
|
|
|
|
|
|
|
get_stats_physical_power_voltages(voltage => $voltage) |
5990
|
|
|
|
|
|
|
|
5991
|
|
|
|
|
|
|
Voltages of the main power supply. |
5992
|
|
|
|
|
|
|
|
5993
|
|
|
|
|
|
|
=head3 /DEV/STATS/PHYSICAL/SLAVEFPGAS/n/AUX |
5994
|
|
|
|
|
|
|
Properties: Read |
5995
|
|
|
|
|
|
|
Type: Double(D) |
5996
|
|
|
|
|
|
|
Unit: V |
5997
|
|
|
|
|
|
|
|
5998
|
|
|
|
|
|
|
get_stats_physical_slavefpgas_aux(slavefpga => $slavefpga) |
5999
|
|
|
|
|
|
|
|
6000
|
|
|
|
|
|
|
Supply voltage of the FPGA. |
6001
|
|
|
|
|
|
|
|
6002
|
|
|
|
|
|
|
=head3 /DEV/STATS/PHYSICAL/SLAVEFPGAS/n/CORE |
6003
|
|
|
|
|
|
|
Properties: Read |
6004
|
|
|
|
|
|
|
Type: Double(D) |
6005
|
|
|
|
|
|
|
Unit: V |
6006
|
|
|
|
|
|
|
|
6007
|
|
|
|
|
|
|
get_stats_physical_slavefpgas_core(slavefpga => $slavefpga) |
6008
|
|
|
|
|
|
|
|
6009
|
|
|
|
|
|
|
Core voltage of the FPGA. |
6010
|
|
|
|
|
|
|
|
6011
|
|
|
|
|
|
|
=head3 /DEV/STATS/PHYSICAL/SLAVEFPGAS/n/TEMP |
6012
|
|
|
|
|
|
|
Properties: Read |
6013
|
|
|
|
|
|
|
Type: Double(D) |
6014
|
|
|
|
|
|
|
Unit: Celsius |
6015
|
|
|
|
|
|
|
|
6016
|
|
|
|
|
|
|
get_stats_physical_slavefpgas_temp(slavefpga => $slavefpga) |
6017
|
|
|
|
|
|
|
|
6018
|
|
|
|
|
|
|
Internal temperature of the FPGA. |
6019
|
|
|
|
|
|
|
|
6020
|
|
|
|
|
|
|
=head3 /DEV/STATS/PHYSICAL/TEMPERATURES/n |
6021
|
|
|
|
|
|
|
Properties: Read |
6022
|
|
|
|
|
|
|
Type: Double(D) |
6023
|
|
|
|
|
|
|
Unit: Celsius |
6024
|
|
|
|
|
|
|
|
6025
|
|
|
|
|
|
|
get_stats_physical_temperatures(temperature => $temperature) |
6026
|
|
|
|
|
|
|
|
6027
|
|
|
|
|
|
|
Internal temperature measurements. |
6028
|
|
|
|
|
|
|
|
6029
|
|
|
|
|
|
|
=head3 /DEV/STATS/PHYSICAL/VOLTAGES/n |
6030
|
|
|
|
|
|
|
Properties: Read |
6031
|
|
|
|
|
|
|
Type: Double(D) |
6032
|
|
|
|
|
|
|
Unit: V |
6033
|
|
|
|
|
|
|
|
6034
|
|
|
|
|
|
|
get_stats_physical_voltages(voltage => $voltage) |
6035
|
|
|
|
|
|
|
|
6036
|
|
|
|
|
|
|
Internal voltage measurements. |
6037
|
|
|
|
|
|
|
|
6038
|
|
|
|
|
|
|
=head3 /DEV/STATUS/ADC0MAX |
6039
|
|
|
|
|
|
|
Properties: Read |
6040
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
6041
|
|
|
|
|
|
|
Unit: None |
6042
|
|
|
|
|
|
|
|
6043
|
|
|
|
|
|
|
get_status_adc0max() |
6044
|
|
|
|
|
|
|
|
6045
|
|
|
|
|
|
|
The maximum value on Signal Input 1 (ADC0) during 100 ms. |
6046
|
|
|
|
|
|
|
|
6047
|
|
|
|
|
|
|
=head3 /DEV/STATUS/ADC0MIN |
6048
|
|
|
|
|
|
|
Properties: Read |
6049
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
6050
|
|
|
|
|
|
|
Unit: None |
6051
|
|
|
|
|
|
|
|
6052
|
|
|
|
|
|
|
get_status_adc0min() |
6053
|
|
|
|
|
|
|
|
6054
|
|
|
|
|
|
|
The minimum value on Signal Input 1 (ADC0) during 100 ms |
6055
|
|
|
|
|
|
|
|
6056
|
|
|
|
|
|
|
=head3 /DEV/STATUS/ADC1MAX |
6057
|
|
|
|
|
|
|
Properties: Read |
6058
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
6059
|
|
|
|
|
|
|
Unit: None |
6060
|
|
|
|
|
|
|
|
6061
|
|
|
|
|
|
|
get_status_adc1max() |
6062
|
|
|
|
|
|
|
|
6063
|
|
|
|
|
|
|
The maximum value on Signal Input 2 (ADC1) during 100 ms. |
6064
|
|
|
|
|
|
|
|
6065
|
|
|
|
|
|
|
=head3 /DEV/STATUS/ADC1MIN |
6066
|
|
|
|
|
|
|
Properties: Read |
6067
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
6068
|
|
|
|
|
|
|
Unit: None |
6069
|
|
|
|
|
|
|
|
6070
|
|
|
|
|
|
|
get_status_adc1min() |
6071
|
|
|
|
|
|
|
|
6072
|
|
|
|
|
|
|
The minimum value on Signal Input 2 (ADC1) during 100 ms |
6073
|
|
|
|
|
|
|
|
6074
|
|
|
|
|
|
|
=head3 /DEV/STATUS/FIFOLEVEL |
6075
|
|
|
|
|
|
|
Properties: Read |
6076
|
|
|
|
|
|
|
Type: Double(D) |
6077
|
|
|
|
|
|
|
Unit: None |
6078
|
|
|
|
|
|
|
|
6079
|
|
|
|
|
|
|
get_status_fifolevel() |
6080
|
|
|
|
|
|
|
|
6081
|
|
|
|
|
|
|
USB FIFO level: Indicates the USB FIFO fill level inside the device. When 100%, data is lost |
6082
|
|
|
|
|
|
|
|
6083
|
|
|
|
|
|
|
=head3 /DEV/STATUS/FLAGS/BINARY |
6084
|
|
|
|
|
|
|
Properties: Read |
6085
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
6086
|
|
|
|
|
|
|
Unit: None |
6087
|
|
|
|
|
|
|
|
6088
|
|
|
|
|
|
|
get_status_flags_binary() |
6089
|
|
|
|
|
|
|
|
6090
|
|
|
|
|
|
|
A set of binary flags giving an indication of the state of various parts of the device. Bit 11: Sample |
6091
|
|
|
|
|
|
|
Loss. |
6092
|
|
|
|
|
|
|
|
6093
|
|
|
|
|
|
|
=head3 /DEV/STATUS/FLAGS/PACKETLOSSTCP |
6094
|
|
|
|
|
|
|
Properties: Read |
6095
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
6096
|
|
|
|
|
|
|
Unit: None |
6097
|
|
|
|
|
|
|
|
6098
|
|
|
|
|
|
|
get_status_flags_packetlosstcp() |
6099
|
|
|
|
|
|
|
|
6100
|
|
|
|
|
|
|
Flag indicating if tcp packages have been lost. |
6101
|
|
|
|
|
|
|
|
6102
|
|
|
|
|
|
|
=head3 /DEV/STATUS/FLAGS/PACKETLOSSUDP |
6103
|
|
|
|
|
|
|
Properties: Read |
6104
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
6105
|
|
|
|
|
|
|
Unit: None |
6106
|
|
|
|
|
|
|
|
6107
|
|
|
|
|
|
|
get_status_flags_packetlossudp() |
6108
|
|
|
|
|
|
|
|
6109
|
|
|
|
|
|
|
Flag indicating if udp packages have been lost. |
6110
|
|
|
|
|
|
|
|
6111
|
|
|
|
|
|
|
=head3 /DEV/STATUS/TIME |
6112
|
|
|
|
|
|
|
Properties: Read |
6113
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
6114
|
|
|
|
|
|
|
Unit: None |
6115
|
|
|
|
|
|
|
|
6116
|
|
|
|
|
|
|
get_status_time() |
6117
|
|
|
|
|
|
|
|
6118
|
|
|
|
|
|
|
The current timestamp. |
6119
|
|
|
|
|
|
|
|
6120
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/ACTIVEINTERFACE |
6121
|
|
|
|
|
|
|
Properties: Read |
6122
|
|
|
|
|
|
|
Type: String(B) |
6123
|
|
|
|
|
|
|
Unit: None |
6124
|
|
|
|
|
|
|
|
6125
|
|
|
|
|
|
|
get_system_activeinterface() |
6126
|
|
|
|
|
|
|
|
6127
|
|
|
|
|
|
|
Currently active interface of the device. |
6128
|
|
|
|
|
|
|
|
6129
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/AWG/CHANNELGROUPING |
6130
|
|
|
|
|
|
|
Properties: Read Write Setting |
6131
|
|
|
|
|
|
|
Type: Integer (enumerated)(I) |
6132
|
|
|
|
|
|
|
Unit: None |
6133
|
|
|
|
|
|
|
|
6134
|
|
|
|
|
|
|
set_system_awg_channelgrouping(value => $value) |
6135
|
|
|
|
|
|
|
get_system_awg_channelgrouping() |
6136
|
|
|
|
|
|
|
|
6137
|
|
|
|
|
|
|
Sets the channel grouping mode of the device. |
6138
|
|
|
|
|
|
|
groups_of_20 |
6139
|
|
|
|
|
|
|
Use the outputs in groups of 2. One sequencer program controls 2 outputs (use |
6140
|
|
|
|
|
|
|
/dev/awgs/0..4/). |
6141
|
|
|
|
|
|
|
groups_of_41 |
6142
|
|
|
|
|
|
|
Use the outputs in groups of 4. One sequencer program controls 4 outputs (use |
6143
|
|
|
|
|
|
|
/dev/awgs/0/ and /dev/awgs/2/) |
6144
|
|
|
|
|
|
|
2groups_of_8 |
6145
|
|
|
|
|
|
|
Use the outputs in groups of 8. One sequencer program controls 8 outputs (use |
6146
|
|
|
|
|
|
|
/dev/awgs/0/). Requires 8 channel device. |
6147
|
|
|
|
|
|
|
|
6148
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/AWG/OSCILLATORCONTROL |
6149
|
|
|
|
|
|
|
Properties: Read Write Setting |
6150
|
|
|
|
|
|
|
Type: Integer (enumerated)(I) |
6151
|
|
|
|
|
|
|
Unit: None |
6152
|
|
|
|
|
|
|
|
6153
|
|
|
|
|
|
|
set_system_awg_oscillatorcontrol(value => $value) |
6154
|
|
|
|
|
|
|
get_system_awg_oscillatorcontrol() |
6155
|
|
|
|
|
|
|
|
6156
|
|
|
|
|
|
|
Sets the oscillator control mode. |
6157
|
|
|
|
|
|
|
api0 |
6158
|
|
|
|
|
|
|
Oscillators are controlled by the UI/API. |
6159
|
|
|
|
|
|
|
awg_sequencer1 |
6160
|
|
|
|
|
|
|
Oscillators are controlled by the AWG sequencer. |
6161
|
|
|
|
|
|
|
|
6162
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/BOARDREVISIONS/n |
6163
|
|
|
|
|
|
|
Properties: Read |
6164
|
|
|
|
|
|
|
Type: String(B) |
6165
|
|
|
|
|
|
|
Unit: None |
6166
|
|
|
|
|
|
|
|
6167
|
|
|
|
|
|
|
get_system_boardrevisions() |
6168
|
|
|
|
|
|
|
|
6169
|
|
|
|
|
|
|
Hardware revision of the FPGA base board |
6170
|
|
|
|
|
|
|
|
6171
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/CLOCKS/REFERENCECLOCK/FREQ |
6172
|
|
|
|
|
|
|
Properties: Read |
6173
|
|
|
|
|
|
|
Type: Double(D) |
6174
|
|
|
|
|
|
|
Unit: Hz |
6175
|
|
|
|
|
|
|
|
6176
|
|
|
|
|
|
|
get_system_clocks_referenceclock_freq() |
6177
|
|
|
|
|
|
|
|
6178
|
|
|
|
|
|
|
Indicates the frequency of the reference clock. |
6179
|
|
|
|
|
|
|
|
6180
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/CLOCKS/REFERENCECLOCK/SOURCE |
6181
|
|
|
|
|
|
|
Properties: Read Write Setting |
6182
|
|
|
|
|
|
|
Type: Integer (enumerated)(I) |
6183
|
|
|
|
|
|
|
Unit: None |
6184
|
|
|
|
|
|
|
|
6185
|
|
|
|
|
|
|
set_system_clocks_referenceclock_source(value => $value) |
6186
|
|
|
|
|
|
|
get_system_clocks_referenceclock_source() |
6187
|
|
|
|
|
|
|
|
6188
|
|
|
|
|
|
|
Reference clock source. |
6189
|
|
|
|
|
|
|
internal0 |
6190
|
|
|
|
|
|
|
The internal clock is used as the frequency and time base reference. |
6191
|
|
|
|
|
|
|
external1 |
6192
|
|
|
|
|
|
|
An external clock is intended to be used as the frequency and time base reference. |
6193
|
|
|
|
|
|
|
Provide a clean and stable 10MHz or 100MHz reference to the appropriate back panel |
6194
|
|
|
|
|
|
|
connector. |
6195
|
|
|
|
|
|
|
2zsync |
6196
|
|
|
|
|
|
|
A ZSync clock is intended to be used as the frequency and time base reference. |
6197
|
|
|
|
|
|
|
|
6198
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/CLOCKS/REFERENCECLOCK/STATUS |
6199
|
|
|
|
|
|
|
Properties: Read |
6200
|
|
|
|
|
|
|
Type: Integer (enumerated)(I) |
6201
|
|
|
|
|
|
|
Unit: None |
6202
|
|
|
|
|
|
|
|
6203
|
|
|
|
|
|
|
get_system_clocks_referenceclock_status() |
6204
|
|
|
|
|
|
|
|
6205
|
|
|
|
|
|
|
Status of the reference clock. |
6206
|
|
|
|
|
|
|
0Reference clock has been locked on. |
6207
|
|
|
|
|
|
|
1There was an error locking onto the reference clock signal. After an error the source |
6208
|
|
|
|
|
|
|
is automatically switched back to internal reference clock. |
6209
|
|
|
|
|
|
|
2The device is busy trying to lock onto the reference clock signal. |
6210
|
|
|
|
|
|
|
|
6211
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/CLOCKS/SAMPLECLOCK/FREQ |
6212
|
|
|
|
|
|
|
Properties: Read Write Setting |
6213
|
|
|
|
|
|
|
Type: Double(D) |
6214
|
|
|
|
|
|
|
Unit: Hz |
6215
|
|
|
|
|
|
|
|
6216
|
|
|
|
|
|
|
set_system_clocks_sampleclock_freq(value => $value) |
6217
|
|
|
|
|
|
|
get_system_clocks_sampleclock_freq() |
6218
|
|
|
|
|
|
|
|
6219
|
|
|
|
|
|
|
Indicates the frequency of the sample clock. Changing the sample clock temporarily interrupts |
6220
|
|
|
|
|
|
|
the AWG sequencers. |
6221
|
|
|
|
|
|
|
|
6222
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/CLOCKS/SAMPLECLOCK/OUTPUTENABLE |
6223
|
|
|
|
|
|
|
Properties: Read Write Setting |
6224
|
|
|
|
|
|
|
Type: Integer (enumerated)(I) |
6225
|
|
|
|
|
|
|
Unit: None |
6226
|
|
|
|
|
|
|
|
6227
|
|
|
|
|
|
|
set_system_clocks_sampleclock_outputenable(value => $value) |
6228
|
|
|
|
|
|
|
get_system_clocks_sampleclock_outputenable() |
6229
|
|
|
|
|
|
|
|
6230
|
|
|
|
|
|
|
Enable the sampleclock output. |
6231
|
|
|
|
|
|
|
on0 |
6232
|
|
|
|
|
|
|
Sample clock output is disabled. |
6233
|
|
|
|
|
|
|
off1 |
6234
|
|
|
|
|
|
|
Sample clock output is enabled. |
6235
|
|
|
|
|
|
|
|
6236
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/CLOCKS/SAMPLECLOCK/STATUS |
6237
|
|
|
|
|
|
|
Properties: Read |
6238
|
|
|
|
|
|
|
Type: Integer (enumerated)(I) |
6239
|
|
|
|
|
|
|
Unit: None |
6240
|
|
|
|
|
|
|
|
6241
|
|
|
|
|
|
|
get_system_clocks_sampleclock_status() |
6242
|
|
|
|
|
|
|
|
6243
|
|
|
|
|
|
|
Status of the sample clock. |
6244
|
|
|
|
|
|
|
0Sample clock signal is valid and has been locked on. |
6245
|
|
|
|
|
|
|
1There was an error adjusting the sample clock. |
6246
|
|
|
|
|
|
|
2The device is busy trying to adjust the sample clock. |
6247
|
|
|
|
|
|
|
|
6248
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/FPGAREVISION |
6249
|
|
|
|
|
|
|
Properties: Read |
6250
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
6251
|
|
|
|
|
|
|
Unit: None |
6252
|
|
|
|
|
|
|
|
6253
|
|
|
|
|
|
|
get_system_fpgarevision() |
6254
|
|
|
|
|
|
|
|
6255
|
|
|
|
|
|
|
HDL firmware revision. |
6256
|
|
|
|
|
|
|
|
6257
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/FWLOGENABLE |
6258
|
|
|
|
|
|
|
Properties: Read Write |
6259
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
6260
|
|
|
|
|
|
|
Unit: None |
6261
|
|
|
|
|
|
|
|
6262
|
|
|
|
|
|
|
set_system_fwlogenable(value => $value) |
6263
|
|
|
|
|
|
|
get_system_fwlogenable() |
6264
|
|
|
|
|
|
|
|
6265
|
|
|
|
|
|
|
Enables logging to the fwlog node. |
6266
|
|
|
|
|
|
|
|
6267
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/FWREVISION |
6268
|
|
|
|
|
|
|
Properties: Read |
6269
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
6270
|
|
|
|
|
|
|
Unit: None |
6271
|
|
|
|
|
|
|
|
6272
|
|
|
|
|
|
|
get_system_fwrevision() |
6273
|
|
|
|
|
|
|
|
6274
|
|
|
|
|
|
|
Revision of the device-internal controller software. |
6275
|
|
|
|
|
|
|
|
6276
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/FX3REVISION |
6277
|
|
|
|
|
|
|
Properties: Read |
6278
|
|
|
|
|
|
|
Type: String(B) |
6279
|
|
|
|
|
|
|
Unit: None |
6280
|
|
|
|
|
|
|
|
6281
|
|
|
|
|
|
|
get_system_fx3revision() |
6282
|
|
|
|
|
|
|
|
6283
|
|
|
|
|
|
|
USB firmware revision. |
6284
|
|
|
|
|
|
|
|
6285
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/IDENTIFY |
6286
|
|
|
|
|
|
|
Properties: Read Write |
6287
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
6288
|
|
|
|
|
|
|
Unit: None |
6289
|
|
|
|
|
|
|
|
6290
|
|
|
|
|
|
|
set_system_identify(value => $value) |
6291
|
|
|
|
|
|
|
get_system_identify() |
6292
|
|
|
|
|
|
|
|
6293
|
|
|
|
|
|
|
Setting this node to 1 will cause the device to blink the power led for a few seconds. |
6294
|
|
|
|
|
|
|
|
6295
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/INTERFACESPEED |
6296
|
|
|
|
|
|
|
Properties: Read |
6297
|
|
|
|
|
|
|
Type: String(B) |
6298
|
|
|
|
|
|
|
Unit: None |
6299
|
|
|
|
|
|
|
|
6300
|
|
|
|
|
|
|
get_system_interfacespeed() |
6301
|
|
|
|
|
|
|
|
6302
|
|
|
|
|
|
|
Speed of the currently active interface (USB only). |
6303
|
|
|
|
|
|
|
|
6304
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/KERNELTYPE |
6305
|
|
|
|
|
|
|
Properties: Read |
6306
|
|
|
|
|
|
|
Type: String(B) |
6307
|
|
|
|
|
|
|
Unit: None |
6308
|
|
|
|
|
|
|
|
6309
|
|
|
|
|
|
|
get_system_kerneltype() |
6310
|
|
|
|
|
|
|
|
6311
|
|
|
|
|
|
|
Returns the type of the data server kernel (mdk or hpk). |
6312
|
|
|
|
|
|
|
|
6313
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/OWNER |
6314
|
|
|
|
|
|
|
Properties: Read |
6315
|
|
|
|
|
|
|
Type: String(B) |
6316
|
|
|
|
|
|
|
Unit: None |
6317
|
|
|
|
|
|
|
|
6318
|
|
|
|
|
|
|
get_system_owner() |
6319
|
|
|
|
|
|
|
|
6320
|
|
|
|
|
|
|
Returns the current owner of the device (IP). |
6321
|
|
|
|
|
|
|
|
6322
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/POWERCONFIGDATE |
6323
|
|
|
|
|
|
|
Properties: Read |
6324
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
6325
|
|
|
|
|
|
|
Unit: None |
6326
|
|
|
|
|
|
|
|
6327
|
|
|
|
|
|
|
get_system_powerconfigdate() |
6328
|
|
|
|
|
|
|
|
6329
|
|
|
|
|
|
|
Contains the date of power configuration (format is: (year << 16) | (month << 8) | day) |
6330
|
|
|
|
|
|
|
|
6331
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/PRESET/BUSY |
6332
|
|
|
|
|
|
|
Properties: Read |
6333
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
6334
|
|
|
|
|
|
|
Unit: None |
6335
|
|
|
|
|
|
|
|
6336
|
|
|
|
|
|
|
get_system_preset_busy() |
6337
|
|
|
|
|
|
|
|
6338
|
|
|
|
|
|
|
Indicates if presets are currently loaded. |
6339
|
|
|
|
|
|
|
|
6340
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/PRESET/ERROR |
6341
|
|
|
|
|
|
|
Properties: Read |
6342
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
6343
|
|
|
|
|
|
|
Unit: None |
6344
|
|
|
|
|
|
|
|
6345
|
|
|
|
|
|
|
get_system_preset_error() |
6346
|
|
|
|
|
|
|
|
6347
|
|
|
|
|
|
|
Indicates if the last operation was illegal. Successful: 0, Error: 1. |
6348
|
|
|
|
|
|
|
|
6349
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/PRESET/LOAD |
6350
|
|
|
|
|
|
|
Properties: Read Write |
6351
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
6352
|
|
|
|
|
|
|
Unit: None |
6353
|
|
|
|
|
|
|
|
6354
|
|
|
|
|
|
|
set_system_preset_load(value => $value) |
6355
|
|
|
|
|
|
|
get_system_preset_load() |
6356
|
|
|
|
|
|
|
|
6357
|
|
|
|
|
|
|
Load the selected preset. |
6358
|
|
|
|
|
|
|
|
6359
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/PROPERTIES/FREQRESOLUTION |
6360
|
|
|
|
|
|
|
Properties: Read |
6361
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
6362
|
|
|
|
|
|
|
Unit: None |
6363
|
|
|
|
|
|
|
|
6364
|
|
|
|
|
|
|
get_system_properties_freqresolution() |
6365
|
|
|
|
|
|
|
|
6366
|
|
|
|
|
|
|
The number of bits used to represent a frequency. |
6367
|
|
|
|
|
|
|
|
6368
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/PROPERTIES/FREQSCALING |
6369
|
|
|
|
|
|
|
Properties: Read |
6370
|
|
|
|
|
|
|
Type: Double(D) |
6371
|
|
|
|
|
|
|
Unit: None |
6372
|
|
|
|
|
|
|
|
6373
|
|
|
|
|
|
|
get_system_properties_freqscaling() |
6374
|
|
|
|
|
|
|
|
6375
|
|
|
|
|
|
|
The scale factor to use to convert a frequency represented as a freqresolution-bit integer to a |
6376
|
|
|
|
|
|
|
floating point value. |
6377
|
|
|
|
|
|
|
|
6378
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/PROPERTIES/MAXFREQ |
6379
|
|
|
|
|
|
|
Properties: Read |
6380
|
|
|
|
|
|
|
Type: Double(D) |
6381
|
|
|
|
|
|
|
Unit: None |
6382
|
|
|
|
|
|
|
|
6383
|
|
|
|
|
|
|
get_system_properties_maxfreq() |
6384
|
|
|
|
|
|
|
|
6385
|
|
|
|
|
|
|
The maximum oscillator frequency that can be set. |
6386
|
|
|
|
|
|
|
|
6387
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/PROPERTIES/MAXTIMECONSTANT |
6388
|
|
|
|
|
|
|
Properties: Read |
6389
|
|
|
|
|
|
|
Type: Double(D) |
6390
|
|
|
|
|
|
|
Unit: s |
6391
|
|
|
|
|
|
|
|
6392
|
|
|
|
|
|
|
get_system_properties_maxtimeconstant() |
6393
|
|
|
|
|
|
|
|
6394
|
|
|
|
|
|
|
The maximum demodulator time constant that can be set. Only relevant for lock-in amplifiers. |
6395
|
|
|
|
|
|
|
|
6396
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/PROPERTIES/MINFREQ |
6397
|
|
|
|
|
|
|
Properties: Read |
6398
|
|
|
|
|
|
|
Type: Double(D) |
6399
|
|
|
|
|
|
|
Unit: None |
6400
|
|
|
|
|
|
|
|
6401
|
|
|
|
|
|
|
get_system_properties_minfreq() |
6402
|
|
|
|
|
|
|
|
6403
|
|
|
|
|
|
|
The minimum oscillator frequency that can be set. |
6404
|
|
|
|
|
|
|
|
6405
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/PROPERTIES/MINTIMECONSTANT |
6406
|
|
|
|
|
|
|
Properties: Read |
6407
|
|
|
|
|
|
|
Type: Double(D) |
6408
|
|
|
|
|
|
|
Unit: s |
6409
|
|
|
|
|
|
|
|
6410
|
|
|
|
|
|
|
get_system_properties_mintimeconstant() |
6411
|
|
|
|
|
|
|
|
6412
|
|
|
|
|
|
|
The minimum demodulator time constant that can be set. Only relevant for lock-in amplifiers. |
6413
|
|
|
|
|
|
|
|
6414
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/PROPERTIES/NEGATIVEFREQ |
6415
|
|
|
|
|
|
|
Properties: Read |
6416
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
6417
|
|
|
|
|
|
|
Unit: None |
6418
|
|
|
|
|
|
|
|
6419
|
|
|
|
|
|
|
get_system_properties_negativefreq() |
6420
|
|
|
|
|
|
|
|
6421
|
|
|
|
|
|
|
Indicates whether negative frequencies are supported. |
6422
|
|
|
|
|
|
|
|
6423
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/PROPERTIES/TIMEBASE |
6424
|
|
|
|
|
|
|
Properties: Read |
6425
|
|
|
|
|
|
|
Type: Double(D) |
6426
|
|
|
|
|
|
|
Unit: s |
6427
|
|
|
|
|
|
|
|
6428
|
|
|
|
|
|
|
get_system_properties_timebase() |
6429
|
|
|
|
|
|
|
|
6430
|
|
|
|
|
|
|
Minimal time difference between two timestamps. The value is equal to 1/(maximum sampling |
6431
|
|
|
|
|
|
|
rate). |
6432
|
|
|
|
|
|
|
|
6433
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/SAVEPORTS |
6434
|
|
|
|
|
|
|
Properties: Read Write |
6435
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
6436
|
|
|
|
|
|
|
Unit: None |
6437
|
|
|
|
|
|
|
|
6438
|
|
|
|
|
|
|
set_system_saveports(value => $value) |
6439
|
|
|
|
|
|
|
get_system_saveports() |
6440
|
|
|
|
|
|
|
|
6441
|
|
|
|
|
|
|
Flag indicating that the TCP and UDP ports should be saved. |
6442
|
|
|
|
|
|
|
|
6443
|
|
|
|
|
|
|
=head3 /DEV/SYSTEM/SLAVEREVISION |
6444
|
|
|
|
|
|
|
Properties: Read |
6445
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
6446
|
|
|
|
|
|
|
Unit: None |
6447
|
|
|
|
|
|
|
|
6448
|
|
|
|
|
|
|
get_system_slaverevision() |
6449
|
|
|
|
|
|
|
|
6450
|
|
|
|
|
|
|
HDL firmware revision of the slave FPGA. |
6451
|
|
|
|
|
|
|
|
6452
|
|
|
|
|
|
|
=head3 /DEV/TRIGGERS/IN/n/IMP50 |
6453
|
|
|
|
|
|
|
Properties: Read Write Setting |
6454
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
6455
|
|
|
|
|
|
|
Unit: None |
6456
|
|
|
|
|
|
|
|
6457
|
|
|
|
|
|
|
set_triggers_in_imp50(in => $in, value => $value) |
6458
|
|
|
|
|
|
|
get_triggers_in_imp50(in => $in) |
6459
|
|
|
|
|
|
|
|
6460
|
|
|
|
|
|
|
Trigger input impedance: When on, the trigger input impedance is 50 Ohm, when off 1 k Ohm. |
6461
|
|
|
|
|
|
|
|
6462
|
|
|
|
|
|
|
=head3 /DEV/TRIGGERS/IN/n/LEVEL |
6463
|
|
|
|
|
|
|
Properties: Read Write Setting |
6464
|
|
|
|
|
|
|
Type: Double(D) |
6465
|
|
|
|
|
|
|
Unit: V |
6466
|
|
|
|
|
|
|
|
6467
|
|
|
|
|
|
|
set_triggers_in_level(in => $in, value => $value) |
6468
|
|
|
|
|
|
|
get_triggers_in_level(in => $in) |
6469
|
|
|
|
|
|
|
|
6470
|
|
|
|
|
|
|
Trigger voltage level at which the trigger input toggles between low and high. Use 50% amplitude |
6471
|
|
|
|
|
|
|
for digital input and consider the trigger hysteresis. |
6472
|
|
|
|
|
|
|
|
6473
|
|
|
|
|
|
|
=head3 /DEV/TRIGGERS/IN/n/VALUE |
6474
|
|
|
|
|
|
|
Properties: Read |
6475
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
6476
|
|
|
|
|
|
|
Unit: None |
6477
|
|
|
|
|
|
|
|
6478
|
|
|
|
|
|
|
get_triggers_in_value(in => $in) |
6479
|
|
|
|
|
|
|
|
6480
|
|
|
|
|
|
|
Shows the trigger input. The value integrated over some time. Values are 1: low, 2: high, 3: was low |
6481
|
|
|
|
|
|
|
and high in the period. |
6482
|
|
|
|
|
|
|
|
6483
|
|
|
|
|
|
|
=head3 /DEV/TRIGGERS/OUT/n/DELAY |
6484
|
|
|
|
|
|
|
Properties: Read Write Setting |
6485
|
|
|
|
|
|
|
Type: Double(D) |
6486
|
|
|
|
|
|
|
Unit: s |
6487
|
|
|
|
|
|
|
|
6488
|
|
|
|
|
|
|
set_triggers_out_delay(out => $out, value => $value) |
6489
|
|
|
|
|
|
|
get_triggers_out_delay(out => $out) |
6490
|
|
|
|
|
|
|
|
6491
|
|
|
|
|
|
|
Trigger delay, controls the fine delay of the trigger output. The resolution is 78 ps. |
6492
|
|
|
|
|
|
|
|
6493
|
|
|
|
|
|
|
=head3 /DEV/TRIGGERS/OUT/n/SOURCE |
6494
|
|
|
|
|
|
|
Properties: Read Write Setting |
6495
|
|
|
|
|
|
|
Type: Integer (enumerated)(I) |
6496
|
|
|
|
|
|
|
Unit: None |
6497
|
|
|
|
|
|
|
|
6498
|
|
|
|
|
|
|
set_triggers_out_source(out => $out, value => $value) |
6499
|
|
|
|
|
|
|
get_triggers_out_source(out => $out) |
6500
|
|
|
|
|
|
|
|
6501
|
|
|
|
|
|
|
Assign a signal to a marker. |
6502
|
|
|
|
|
|
|
awg_trigger00 |
6503
|
|
|
|
|
|
|
Trigger output is assigned to AWG Trigger 1, controlled by AWG sequencer |
6504
|
|
|
|
|
|
|
commands. |
6505
|
|
|
|
|
|
|
awg_trigger11 |
6506
|
|
|
|
|
|
|
Trigger output is assigned to AWG Trigger 2, controlled by AWG sequencer |
6507
|
|
|
|
|
|
|
commands. |
6508
|
|
|
|
|
|
|
awg_trigger22 |
6509
|
|
|
|
|
|
|
Trigger output is assigned to AWG Trigger 3, controlled by AWG sequencer |
6510
|
|
|
|
|
|
|
commands. |
6511
|
|
|
|
|
|
|
awg_trigger33 |
6512
|
|
|
|
|
|
|
Trigger output is assigned to AWG Trigger 4, controlled by AWG sequencer |
6513
|
|
|
|
|
|
|
commands. |
6514
|
|
|
|
|
|
|
output0_marker04 |
6515
|
|
|
|
|
|
|
Output is assigned to Output 1 Marker 1. |
6516
|
|
|
|
|
|
|
output0_marker15 |
6517
|
|
|
|
|
|
|
Output is assigned to Output 1 Marker 2. |
6518
|
|
|
|
|
|
|
6output1_marker0 |
6519
|
|
|
|
|
|
|
Output is assigned to Output 2 Marker 1. |
6520
|
|
|
|
|
|
|
output1_marker17 |
6521
|
|
|
|
|
|
|
Output is assigned to Output 2 Marker 2. |
6522
|
|
|
|
|
|
|
trigin0, trigger_input0 8 |
6523
|
|
|
|
|
|
|
Output is assigned to Trigger Input 1. |
6524
|
|
|
|
|
|
|
trigin1, trigger_input1 9 |
6525
|
|
|
|
|
|
|
Output is assigned to Trigger Input 2. |
6526
|
|
|
|
|
|
|
trigin2, trigger_input2 10 |
6527
|
|
|
|
|
|
|
Output is assigned to Trigger Input 3. |
6528
|
|
|
|
|
|
|
trigin3, trigger_input3 11 |
6529
|
|
|
|
|
|
|
Output is assigned to Trigger Input 4. |
6530
|
|
|
|
|
|
|
trigin4, trigger_input4 12 |
6531
|
|
|
|
|
|
|
Output is assigned to Trigger Input 5. |
6532
|
|
|
|
|
|
|
trigin5, trigger_input5 13 |
6533
|
|
|
|
|
|
|
Output is assigned to Trigger Input 6. |
6534
|
|
|
|
|
|
|
trigin6, trigger_input6 14 |
6535
|
|
|
|
|
|
|
Output is assigned to Trigger Input 7. |
6536
|
|
|
|
|
|
|
trigin7, trigger_input7 15 |
6537
|
|
|
|
|
|
|
Output is assigned to Trigger Input 8. |
6538
|
|
|
|
|
|
|
high17 |
6539
|
|
|
|
|
|
|
Output is set to high. |
6540
|
|
|
|
|
|
|
low18 |
6541
|
|
|
|
|
|
|
Output is set to low. |
6542
|
|
|
|
|
|
|
|
6543
|
|
|
|
|
|
|
=head3 /DEV/TRIGGERS/STREAMS/n/ENABLE |
6544
|
|
|
|
|
|
|
Properties: Read Write Setting |
6545
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
6546
|
|
|
|
|
|
|
Unit: None |
6547
|
|
|
|
|
|
|
|
6548
|
|
|
|
|
|
|
set_triggers_streams_enable(stream => $stream, value => $value) |
6549
|
|
|
|
|
|
|
get_triggers_streams_enable(stream => $stream) |
6550
|
|
|
|
|
|
|
|
6551
|
|
|
|
|
|
|
Enables trigger streaming. |
6552
|
|
|
|
|
|
|
|
6553
|
|
|
|
|
|
|
=head3 /DEV/TRIGGERS/STREAMS/n/HOLDOFFTIME |
6554
|
|
|
|
|
|
|
Properties: Read Write Setting |
6555
|
|
|
|
|
|
|
Type: Double(D) |
6556
|
|
|
|
|
|
|
Unit: s |
6557
|
|
|
|
|
|
|
|
6558
|
|
|
|
|
|
|
set_triggers_streams_holdofftime(stream => $stream, value => $value) |
6559
|
|
|
|
|
|
|
get_triggers_streams_holdofftime(stream => $stream) |
6560
|
|
|
|
|
|
|
|
6561
|
|
|
|
|
|
|
Sets the holdoff time of the trigger unit. |
6562
|
|
|
|
|
|
|
|
6563
|
|
|
|
|
|
|
=head3 /DEV/TRIGGERS/STREAMS/n/MASK |
6564
|
|
|
|
|
|
|
Properties: Read Write Setting |
6565
|
|
|
|
|
|
|
Type: Integer (64 bit)(I) |
6566
|
|
|
|
|
|
|
Unit: None |
6567
|
|
|
|
|
|
|
|
6568
|
|
|
|
|
|
|
set_triggers_streams_mask(stream => $stream, value => $value) |
6569
|
|
|
|
|
|
|
get_triggers_streams_mask(stream => $stream) |
6570
|
|
|
|
|
|
|
|
6571
|
|
|
|
|
|
|
Masks triggers for the current stream. The mask is bit encoded where bit 0..7 are the input triggers |
6572
|
|
|
|
|
|
|
and bit 8..11 are AWG triggers. |
6573
|
|
|
|
|
|
|
|
6574
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
6575
|
|
|
|
|
|
|
|
6576
|
|
|
|
|
|
|
This software is copyright (c) 2023 by the Lab::Measurement team; in detail: |
6577
|
|
|
|
|
|
|
|
6578
|
|
|
|
|
|
|
Copyright 2023 Andreas K. Huettel, Erik Fabrizzi |
6579
|
|
|
|
|
|
|
|
6580
|
|
|
|
|
|
|
|
6581
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
6582
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
6583
|
|
|
|
|
|
|
|
6584
|
|
|
|
|
|
|
=cut |