ILX Lightwave MPS-8033 Series User Manual page 87

Precision fiber optic sources
Table of Contents

Advertisement

C O M M A N D R E F E R E N C E
4
C H A P T E R
GPIB Command Reference
TERM
Parameters
0 −
1 −
2 −
3 −
Notes
Examples
TERM?
Parameters
Response
0 −
1 −
2 −
3 −
Notes
Examples
70
!
MPS-8033
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
The TERM command allows the programmer to select the message terminator type for GPIB
messages. <CR> (carriage return), <CR><NL> (new line), <CR><^END> (EOI),
<CR><NL><^END>, <NL><^END>, <NL>, and <^END> are allowed.
An <nrf value>, where the GPIB termination is one of the following:
4 −
<CR><NL><^END>
5 −
<CR><NL>
6 −
<CR><^END>
<CR>
<CR><NL><^END> (0) is the default type. This does not truly comply with the IEEE−488.2
specification. However, the <CR> character is ignored (treated as a white space), so this terminator
may be used with other IEEE−488.2 compliant instruments.
Setting the terminator to anything other than number 4, <NL><^END> puts the 8033 out of
compliance with the IEEE−488.2 specification. The other options are provided to allow compatibility
with GPIB drivers which do not meet the IEEE−488.2 standard.
Use of terminator number 3 is especially risky with other devices which comply with the IEEE−488.2
specification. This is because the <CR> character is ignored, treated as a white space. Therefore,
if number 3 terminator is used, other IEEE−488.2 devices may wait indefinitely for a message
termination and "hang" the bus.
"TERM 5" action: the <NL> (new line) terminator is selected. The 8033 will terminate messages
with the <NL> character.
The TERM? query allows the programmer to determine which program message terminator is
currently selected. <CR> (carriage return), <CR><NL> (new line), <CR><^END> (EOI),
<CR><NL><^END>, <NL><^END>, <NL>, and <^END> are allowed.
None.
The response data is:
4 −
<CR><NL><^END>
5 −
<CR><NL>
6 −
<CR><^END>
<CR>
<CR><NL><^END> (0) is the default type.
Use of any terminator, other than number 4, removes the 8033 from strict compliance with the IEEE−
488.2 standard.
Although the <CR> is recognized as a <white space> by the IEEE−488.2 specification, it is used as
a possible terminator in order to be compatible with GPIB products which do not meet the IEEE−
488.2 standard.
"TERM?"
response: 0, means the selected program message terminator is the
<CR><NL><^END> characters, in that order.
<NL><^END>
<NL>
<^END>
<NL><^END>
<NL>
<^END>
C
OMMON
D
D
EVICE
EPENDENT
F
P
RONT
ANEL
C
OMMON
D
D
EVICE
EPENDENT
F
P
RONT
ANEL

Advertisement

Table of Contents
loading

Table of Contents