Sending Data To Bus Devices; Receiving Data From Bus Devices; Program Examples - Brainboxes IE-285 User Manual

Ieee 488 interface board
Table of Contents

Advertisement

PC Elite Reference
any mistake was made, other flags show whether a device is
present on the bus and the state of the data transfer.
_________________________ _

Sending Data To Bus Devices.

Data can be sent to the IEEE bus devices in several ways.
The simplest and most straight forward method is by writing
data to the "IEEEDATA" file, PRO-488 automatically addresses
the current device to listen and the PC outputs your data, as easy
as that!
Alternatively, data can be sent via the "IEEECTRL" file
using one of three methods:- as specified by decimal numbers
after a DATA or EOI command, as literal data within delimiters
after a STRING command, or as literal data within delimiters
after an OUTPUT command.
LISTEN 5 DATA 72,69,76,76,79 UNL <CR>
LISTEN 5 STRING "HELLO" UNL <CR>
OUTPUT "HELLO" <CR>
_____________________________ _

Receiving Data From Bus Devices.

Data can be input from the current IEEE bus device by a
read of the "IEEEDATA" file, just like reading disk data!
Alternatively, data can be requested from any IEEE bus
device, via the "IEEECTRL" file using the ENTER command.
ENTER 200 <CR>
Both these methods are very flexible, a complete bus
handshake sequence is performed with the current device being
addressed to talk. The input sequence is terminated by the
receipt of the number of bytes specified or by EOS received.

Program Examples.

_________________
Here are four example programs that demonstrate the
power and ease of use of Pro-488. Each places a D.V.M. under
PC control, programs the meter's range and function with the
1-6
Join The Elite.
Chapter 1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ie-296Pc elite

Table of Contents