Download LabOne Programming Manual

Transcript
4.4. LabOne Python API (ziPython) Command Reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set(...)
set( (ziDAQSweeper)arg1, (str)arg2, (float)arg3) -> None :
Sweep Parameters
Path name
Type
Description
sweep/device
string Device that should be used for
the parameter sweep, e.g. 'dev99'.
sweep/start
double Sweep start frequency [Hz]
sweep/stop
double Sweep stop frequency [Hz]
sweep/gridnode
string Path of the node that should be
used for sweeping. For frequency
sweep applications this will be e.g.
'oscs/0/freq'. The device name of
the path can be omitted and is given
by sweep/device.
sweep/loopcount
int
Number of sweep loops (default 1)
sweep/endless
int
Sweep endless (default 0)
0 = endless off, use loopcount,
1 = endless on, ignore loopcount.
sweep/samplecount
int
Number of samples per sweep.
sweep/settling/time
double Settling time before measurement is
performed.
sweep/settling/tc
double Settling time in time constant units
5 ~ low precision
15 ~ medium precision
50 ~ high precision
sweep/settling/inaccuracy int Demodulator filter settling inaccuracy
defining the wait time between a sweep
parameter change and recording of the
next sweep point. Typical inaccuracy
values: 10m for highest sweep
speed for large signals, 100u for precise
amplitude measurements, 100n for precise
noise measurements. Depending on the
order the settling accuracy will define
the number of filter time constants the
sweeper has to wait. The maximum between
this value and the settling time is taken
as wait time until the next sweep point
is recorded.
sweep/xmapping
int
Sweep mode:
0 = linear,
1 = logarithmic.
sweep/scan
int
Scan type:
0 = sequential,
1 = binary,
2 = bidirectional,
3 = reverse.
sweep/bandwidth
double Fixed bandwidth [Hz],
0 = Automatic calculation.
sweep/bandwidthcontrol int
Sets the bandwidth control mode,
(default 2):
0 = Manual (user sets bandwidth and
order),
1 = Fixed (uses fixed bandwidth value),
2 = Auto (calculates best bandwidth
value) Equivalent to the obsolete
bandwidth = 0 setting.
sweep/order
int
Defines the filter roll off to use in
Fixed bandwidth selection.
Valid values are between 0 (6 dB/octave)
and 8 (48 dB/octave). An order of 0
triggers a read-out of the order from
the selected demodulator.
sweep/maxbandwidth
double Maximal bandwidth used in auto bandwidth
mode in [Hz]. The default is 1.25MHz.
sweep/omegasuppression double Damping in [dB] of omega and 2-omega
LabOne Programming Manual
Revision 31421
Zurich Instruments
97