EasyManuals Logo

Anritsu MS9710C User Manual

Anritsu MS9710C
269 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #209 background imageLoading...
Page #209 background image
Section 10 Program Examples
10-2
10.1 Precautions on Creating a Program
Precautions on creating a remote control program are as follows.
Description
Devices may be in various states after they have been operated by their
own operator panels and other programs. In many cases, these states may
not be proper at the start of use. Therefore, these devices must be initial-
ized so that they can be used under certain conditions.
(a) Initialization of interface function (IFC@)
(b) Initialization of device message exchange function (DCL@)
(c) Initialization of device-dependent functions (*RST)
When the RS-232C interface is used, only 3) is required.
If devices are set in a simple remote state, they will enter the local state
when the LOCAL key is pressed. If a panel key is pressed with the device
in the local state, the device cannot carry out automatic measurement prop-
erly and therefore the measurement data becomes inaccurate.
Execute an LLO@ statement to lock out devices to prevent devices from
returning to the local state.
If a command other than a READ@ statement is sent to the controller
before reading the query result, the output message is cleared at reception
of MLA and therefore the response message disappears. Be sure to write a
READ@ statement directly after the query.
Expected exceptions must be handled in the exception handling section in
the program so that execution does not stop due to errors.
If a created program is executed for a device that does not have a subset,
processing will not proceed. Be sure to check subsets of devices. Also
check the devices conform to IEEE 488.2.
The RS-232C interface of the MS9710C has a 256-byte data area as an
internal receive buffer. However, overflow may occur depending on the
processing type. To prevent errors from occurring due to overflow, do not
send a large volume of data (control commands) at a time when perform-
ing remote control using the RS-232C interface. After sending a sequence
of commands, you can send an *OPC? command, wait for a response to be
received, then send the next command for synchronization.
Precaution
Be sure to initialize devices.
Set devices in the RWLS
(Remote With Lockout State).
Immediately after sending a
query, do not send any
device-related command oth-
er than READ@
Avoid exception handling in
the protocol.
Check interface functions
(subset) of individual devices
(GPIB).
Prevent buffer overflow
(RS-232C).
No.
1
2
3
4
5
6

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Anritsu MS9710C and is the answer not in the manual?

Anritsu MS9710C Specifications

General IconGeneral
BrandAnritsu
ModelMS9710C
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals