Measurement-computing Analyzer488 Uživatelský manuál Strana 218

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 281
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 217
Section 6 Instrument Simulator
6.8
6.8 Command Descriptions
Control of the Instrument Simulator Mode of the Analyzer488 is implemented
with 18 bus commands, described here in detail. Examples are given for the
commands using a PC functioning as an IEEE 488 controller using the IOtech
Personal488 PC/IEEE 488 board and Driver488 software. All examples are given
using GWBASIC or BASICA. The Analyzer488 bus address should be set to 10 for
all examples.
In order to establish communication with the Analyzer488 from GWBASIC or
BASICA, the following sequence must be used:
OPEN "\DEV\IEEEOUT" FOR OUTPUT AS #1
IOCTL#1,"BREAK"
PRINT#1,"RESET"
OPEN "\DEV\IEEEIN" FOR INPUT AS #2
All of the command examples that follow assume that the driver has been
properly opened and reset by the above sequence.
Most of the instructions offer a query (
?
) option. This option can be used to
determine the current configuration or mode of a command previously executed. Any
number of these query commands may be combined into one string to allow the user
to construct a specialized status command requesting the Analyzer488 to return only
that information which is of interest for a given application.
Attention!
It is necessary that the Execute command (X) follow all
command strings sent to the Analyzer488. No commands
are executed until an X is received by the Analyzer488.
The only exceptions to this rule are the Buffer Data (Bn),
Panel Display (D/string/), and the Query (?)
commands. These commands do not have to be followed
by an X.
Zobrazit stránku 217
1 2 ... 213 214 215 216 217 218 219 220 221 222 223 ... 280 281

Komentáře k této Příručce

Žádné komentáře