RWS-n?
Read Single Channel Measurement With
Status
Query
Syntax:
RWS-n?
Parameters:
None
Function:
This query returns the last measurement taken from the specified channel.
The units of this measurement are the units defined at the time the reading
was made. Because it
is
possible to make this query faster than measure
ments are actually being taken, the values returned by successive queries may
be multiple reports of the same measurement.
To ensure that fresh data
is
being read the NDA(new data available) bit in the
Status Byte can be checked either by issuing a serial poll or by using the
*STB? command. A serial poll
is
recommended
if
the CPlB interface is being
used. The NDA bit will be 1
if
the last measurement has not been read. The
NDA bit for the specified channel will be reset to 0 immediately after a mea-
surement
is
queried from that channel and will stay 0 until a new reading is
taken.
Returns:
<status>,<number>
<status>
is
an integer that represents the status of the returned value.
<status> will be 0 for ok, 1 for over range, 2 for saturated and
3
for data error,
and
4
for ranging.
<number>
is
a floating point number in the exponential format.
Related Commands:
*STB?, MODE-n, MODE-n?, R?, R-n?, RWS? UNITS-n,
UNITS-n?
SFREQ
DC
Sample Frequency Select
Syntax:
SFREQ
<freq>
Parameters:
The parameter <freq>
is
of type <number>. The range of this number depends
on the current DC sample precision
(see
SPREC).
If
the precision
is
20000 then
the range
is
0.001 to 25Hz.
If
the precision
is
4096 then the range
is
0.001 to
500Hz when two detector calibration modules are plugged into the meter and
1000Hz for one.
Function:
This command determines how often a signal
is
sampled when in DC continu-
ous mode. Both channels sample data at the same rate when in DC continu-
ous mode.
Related Commands:
SFREQ?, SPREC, SPREC?
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com