-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathRigol DSG3000.ini
339 lines (288 loc) · 7.68 KB
/
Rigol DSG3000.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
# Instrument driver configuration file.
[General settings]
# The name is shown in all the configuration windows
name: Rigol DSG3000
# The version string should be updated whenever changes are made to this config file
version: 1.0
# Name of folder containing the code defining a custom driver. Do not define this item
# or leave it blank for any standard driver based on the built-in VISA interface.
driver_path: Rigol DSG3000
[Model and options]
# The option section allow instruments with different options to use the same driver
# List of models supported by this driver
model_str_1: Rigol Technologies,DSG30
# Check instrument model id at startup (True or False). Default is False
check_model: True
# General VISA settings for the instrument.
[VISA settings]
# Enable or disable communication over the VISA protocol (True or False)
# If False, the driver will not perform any operations (unless there is a custom driver).
use_visa = True
# Reset the interface (not the instrument) at startup (True or False). Default is False
reset: False
# Time (in seconds) before the timing out while waiting for an instrument response. Default is 5
timeout: 2
# Query instrument errors (True or False). If True, every command sent to the device will
# be followed by an error query. This is useful when testing new setups, but may degrade
# performance by slowing down the instrument communication.
query_instr_errors: False
# Bit mask for checking status byte errors (default is 255, include all errors)
# The bits signal the following errors:
# 0: Operation
# 1: Request control
# 2: Query error
# 3: Device error
# 4: Execution error
# 5: Command error
# 6: User request
# 7: Power on
error_bit_mask: 255
# SCPI string to be used when querying for instrument error messages
error_cmd: :SYST:ERR?
# Initialization commands are sent to the instrument when starting the driver
# *RST will reset the device, *CLS clears the interface
init:
# Final commands sent to the instrument when closing the driver
final:
# Define quantities in sections. This list is a selection of allowed keywords,
# see the manual for a full list of options
# datatype: The datatype should be one of DOUBLE, BOOLEAN, COMBO,
# STRING, COMPLEX, VECTOR, VECTOR_COMPLEX, PATH or BUTTON.
# unit: Quantity unit
# set_cmd: Command used to send data to the instrument. Put <*> where the value should appear.
# get_cmd: Command used to get the data from the instrument. Default is set_cmd?
# def_value: Default value
# low_lim: Lowest allowable value. Defaults to -INF
# high_lim: Highest allowable values. Defaults to +INF
# combo_def_1: First option in a pull-down combo box. Only used when datatype=COMBO
# combo_def_2: Second option in a pull-down combo box. Only used when datatype=COMBO
# ...
# combo_def_n: nth option in a pull-down combo box. Only used when datatype=COMBO
# state_quant: Quantity that determines this control's visibility
# state_value_1: Value of "state_quant" for which the control is visible
# state_value_2: Value of "state_quant" for which the control is visible
# ...
# model_value_1: Value of "model" for which the control is visible
# model_value_2: Value of "model" for which the control is visible
# ...
# option_value_1: Value of "installed option" for which the control is visible
# option_value_2: Value of "installed option" for which the control is visible
# ...
# permission: Sets read/writability, options are BOTH, READ, WRITE or NONE. Default is BOTH
# group: Name of the group where the control belongs.
# section: Name of the section where the control belongs.
[Level]
unit: dBm
datatype: DOUBLE
set_cmd: :LEV
[Frequency]
unit: Hz
datatype: DOUBLE
set_cmd: :FREQ
[Phase]
unit: deg
datatype: DOUBLE
set_cmd: :PHAS
[Output]
datatype: BOOLEAN
set_cmd: :OUTP
[Modulation]
datatype: BOOLEAN
set_cmd: :MOD:STAT
[Pulse modulation]
datatype: BOOLEAN
set_cmd: :PULM:STAT
group: Pulse modulation
section: Modulation
[Pulse polarity]
datatype: COMBO
combo_def_1: Normal
combo_def_2: Inverse
cmd_def_1: NORMAL
cmd_def_2: INVERSE
group: Pulse modulation
set_cmd: :PULM:POL
section: Modulation
[Pulse modulation source]
datatype: COMBO
combo_def_1: Internal
combo_def_2: External
cmd_def_1: INT
cmd_def_2: EXT
group: Pulse modulation
set_cmd: :PULM:SOUR
section: Modulation
[Pulse width]
unit: s
datatype: DOUBLE
set_cmd: :PULM:WIDT
state_quant: Pulse modulation source
state_value_1: Internal
group: Pulse modulation
section: Modulation
[Pulse period]
unit: s
datatype: DOUBLE
high_lim: 170
set_cmd: :PULM:PER
state_quant: Pulse modulation source
state_value_1: Internal
group: Pulse modulation
section: Modulation
[AM - Enabled]
datatype: BOOLEAN
set_cmd: :AM:STAT
group: Amplitude modulation
section: Modulation
[AM - Depth]
datatype: DOUBLE
low_lim: 0
high_lim: 100
set_cmd: :AM:DEPT
state_quant: AM - Enabled
state_value_1: 1
group: Amplitude modulation
section: Modulation
[AM - Source]
datatype: COMBO
combo_def_1: Internal
combo_def_2: External
combo_def_3: Internal,External
cmd_def_1: INT
cmd_def_2: EXT
cmd_def_3: INT,EXT
set_cmd: :AM:SOUR
state_quant: AM - Enabled
state_value_1: 1
group: Amplitude modulation
section: Modulation
[AM - Frequency]
datatype: DOUBLE
unit: Hz
set_cmd: :AM:FREQ
state_quant: AM - Source
state_value_1: Internal
group: Amplitude modulation
section: Modulation
[FM - Enabled]
datatype: BOOLEAN
set_cmd: :FM:STAT
group: Frequency modulation
section: Modulation
[FM - Deviation]
datatype: DOUBLE
unit: Hz
set_cmd: :FM:DEV
state_quant: FM - Enabled
state_value_1: 1
group: Frequency modulation
section: Modulation
[FM - Source]
datatype: COMBO
combo_def_1: Internal
combo_def_2: External
combo_def_3: Internal,External
cmd_def_1: INT
cmd_def_2: EXT
cmd_def_3: INT,EXT
set_cmd: :FM:SOUR
state_quant: FM - Enabled
state_value_1: 1
group: Frequency modulation
section: Modulation
[FM - Waveform]
datatype: COMBO
combo_def_1: Sine
combo_def_2: Square
cmd_def_1: SINE
cmd_def_2: SQUA
set_cmd: :FM:WAVE
state_quant: FM - Source
state_value_1: Internal
group: Frequency modulation
section: Modulation
[FM - Frequency]
datatype: DOUBLE
unit: Hz
set_cmd: :FM:FREQ
state_quant: FM - Source
state_value_1: Internal
group: Frequency modulation
section: Modulation
[PM - Enabled]
datatype: BOOLEAN
set_cmd: :PM:STAT
group: Phase modulation
section: Modulation
[PM - Deviation]
datatype: DOUBLE
unit: rad
set_cmd: :PM:DEV
state_quant: PM - Enabled
state_value_1: 1
group: Phase modulation
section: Modulation
[PM - Source]
datatype: COMBO
combo_def_1: Internal
combo_def_2: External
combo_def_3: Internal,External
cmd_def_1: INT
cmd_def_2: EXT
cmd_def_3: INT,EXT
set_cmd: :PM:SOUR
state_quant: PM - Enabled
state_value_1: 1
group: Phase modulation
section: Modulation
[PM - Waveform]
datatype: COMBO
combo_def_1: Sine
combo_def_2: Square
cmd_def_1: SINE
cmd_def_2: SQUA
set_cmd: :PM:WAVE
state_quant: PM - Source
state_value_1: Internal
group: Phase modulation
section: Modulation
[PM - Frequency]
datatype: DOUBLE
unit: Hz
set_cmd: :PM:FREQ
state_quant: PM - Source
state_value_1: Internal
group: Phase modulation
section: Modulation
[LF output]
datatype: BOOLEAN
set_cmd: :LFO:STAT
group: Low-frequency output
section: Low-frequency output
[LF shape]
datatype: COMBO
combo_def_1: Sine
combo_def_2: Swp-Sine
combo_def_3: Triangle
combo_def_4: Square
combo_def_5: Ramp
cmd_def_1: SINE
cmd_def_2: SWEP
cmd_def_3: TRI
cmd_def_4: SQU
cmd_def_5: RAMP
set_cmd: :LFO:SHAP
group: Low-frequency output
section: Low-frequency output
[LF frequency]
unit: Hz
datatype: DOUBLE
set_cmd: :LFO:FREQ
group: Low-frequency output
section: Low-frequency output
[LF level]
unit: V
datatype: DOUBLE
set_cmd: :LFO:LEV
group: Low-frequency output
section: Low-frequency output