02-12-2007 10:16 AM
02-12-2007 10:22 AM
02-13-2007 02:10 AM
Hi,
I tried FETCH:FIELD query. It didn't work. I tried putting a space after the question mark without any results.
Here another programming manuel of the same familly..
02-13-2007 09:20 AM
I don't knwo what else to try. You should contact the isntrument vendor.
The syntax for a fetch as defined by SCPI is :
FETCh[:<function>]? <parameters>[,<source list>]
Parameters are allowed in the FETCh? query. They may be defaulted from the right by
omitting them, or in any other position by substituting the keyword DEFault. DEFault must
be accepted as a parameter for this query. If a parameter is specified, it is used in the
calculation if applicable. If the parameter is invalid because it conflicts with the acquired
data, an error -221 shall be generated. If the instrument receives a parameter which is
unexpected (too many parameters), it shall process the query and return the data. The
unexpected parameter shall be ignored, and the “command warning” bit of the “data
QUEStionable” status register shall be set.
PH018
A special parameter type is the <source list>. The <source list> is syntactically a <channel
list> as described in “Syntax and Style.” The purpose of the <source list> is to specify the
physical port which is the source of the measurement. For example, (@2) would specify that
the measurement should occur on channel 2. Multiple channels can be specified by using
multiple channels in the channel list. For example, (@1,3:5,9) specifies that measurements
are to be taken on channels 1,3,4,5, and 9. SCPI does not specify if the acquisitions are
simultaneous or sequential. A function which requires multiple channels, such as time
interval, would specify each channel as a separate list. For example, (@1),(@2) would
specify a two-channel measurement between channels 1 and 2. A multiple channel, multiple
measurement is specified by using multiple channels in each of the lists. For example,
(@1,2),(@3,4) specifies a pair of two-channel measurements, the first between channels 1
and 3 and the second between channels 2 and 4.
02-13-2007 09:32 AM