Parameter Types - JDS Uniphase SWS15100 User Manual

Swept wavelength systems
Table of Contents

Advertisement

The following program message is not valid:
CLOSE (@3!4):STATE?

Parameter Types

The acceptable parameter types for each command or query are listed in Table 20 and Table 21.
Valid parameter types are:
Numeric Value—Any value between 9.9E37 and -9.9E37. The value can be sent as an
integer (154), a decimal (15.2), or an exponential number (4.5E6). The character data forms
MIN (minimum), MAX (maximum), and DEF (default) are also valid.
NRf —Any value between 9.9E37 and -9.9E37. The value can be sent as an integer (154), a
decimal (15.2), or an exponential number (4.5E6). The character data forms MIN, MAX, and
DEF are not valid.
Boolean—0, 1, or ON, OFF, or TRUE, FALSE. Any other numeric value sent is rounded to
the nearest integer. If the resulting integer is anything but 0, it is interpreted as 1.
Character—A character string that contains no more than 12 characters. Each character in
the string must be either an uppercase or a lowercase letter, a digit (0 to 9), or an
underscore (_).
String—Any character string. The characters in the string can be any ASCII character and
the string can be of any length, unless otherwise specified in the command table. For the
source optics module to recognize a single or double quotation mark (' or ") as part of the
string (and not as the end of the string), two sequential single quotation marks or two
sequential double quotation marks are used to represent a single quotation mark or a double
quotation mark, respectively.
Non-decimal Numeric—Any binary, octal, or hex value, where the non-decimal numeric
values (xxxx) are preceded by the type (T). For example, in #Txxxx, T is defined as:
octal = # followed by q or Q
hex = # followed by h or H
binary = # followed by b or B
The value (xxxx) following the type must be less than the decimal value 2
to the following rules for each type:
octal values can only contain the numeric characters 0 to 7
hex values can only contain the numeric characters 0 to 9 and the letters A to F (both
lowercase and uppercase are accepted)
binary values can only contain the numeric characters 1 and 0
For example:
#Q12347 is a valid octal number
#ha57b2 is a valid hex number
#B010111 is a valid binary number
174 – Programming Guide
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
(the STATE? command is not at the same level as CLOSE)
32
and must conform

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents