Publication No. 980855 Rev. A 1256 User Manual
EADS North America Test and Services Advanced SCPI Operations 8-5
The INCLUDE? query with no parameters passed returns all
presently defined include groups. Each group is separated from
each other by a comma. Note that if there are many include lists
defined, the query may result in a reply which is longer than the
length of the output reply buffer (1024 characters). In this case, the
“Query Interrupted” error will be placed on the error queue and the
output reply buffer will be cleared. To avoid this, always specify a
channel list with this query.
The reply to the INCLUDE? query does NOT contain module
names, nor does it contain path names. In addition, when 3 or
more consecutive channels are defined in the include list, the reply
will represent the channels as a range of channels, with a colon (:)
between the first and last channels in the range.
For example, if the following commands are executed:
MODULE:DEFINE matrix,1
MODULE:DEFINE
power,2
INCLUDE
(@matrix(14,103,104,105,106),power
(3:7,12,16,17,18))
then the query:
INCLUDE? (@matrix(105))
returns the reply:
(@1(14,103:106),2(3:7,12,16:18))
After power-up, and after a “*RST” command has been executed,
all INCLUDE lists are deleted.
Using
Exclude
Lists
The 1256 provides the capability to define sets of relays which are “mutually
exclusive”. This feature is called an “exclude list”. When one relay on an
exclude list is closed, all others in the exclude list are opened. This prevents two
relays in an exclude list from being closed simultaneously.
This feature can be used to ensure two or more relays are not shorting system
resources, such as power supplies, together.
A channel may reside on at most one exclude list. An attempt to place a
channel on a second exclude list results in an error. The error is placed on the
error queue and may be read using the SYSTEM:ERROR? query.
A channel cannot be on an include list with another channel if it is also on an
exclude list with that second channel. That is, the following definitions result in
an error:
INCLUDE:DEF (@1(0:10))
EXCLUDE:DEF
(@1(0,11:15,6))
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com