Download Manual - Astronics Test Systems
Transcript
Publication Number 980873 Rev. A 1256E User Manual (@1(0),2(0),4(0),(@1(3,5)),(@2(7:10)), (@3(16,19)),(@4(1:4,14,23)) 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 Astronics Test Systems Advanced SCPI Operations 8-5