National Instruments GPIB-MAC User Manual page 38

Table of Contents

Advertisement

November 1985
Section Four - Functions
This section contains descriptions of functions which you use to
program the GPIB-MAC. These functions are in alphabetical order
and are formatted to provide you a handy reference.
Points to Remember
1. The programming examples for each function description are in
Microsoft BASIC version 2.0.
2. In the syntax portion of the function descriptions, arguments
enclosed in brackets are optional. Do not enter the brackets as
part of your argument.
3. Terminate each programming message with a catriage return
(<CR>), a linefeed (<IF>), or a carriage return followed by a
the syntax portions of the function descriptions. In the program-
ming examples, the BASIC PRINT # statement automatically
sends a carriage return at the end of the string, so a carriage
return is not placed there explicitly.
4. To send more than one programming message per PRINT
statement, embed a <CR> (denoted by CIIR$( 13)) or <LF>
(denoted by CHR$( 10))in the statement. For example, to send
the two programming messages "send interface clear" and "send
remote enable," you could use either of these two sequences:
5.
For all examples, the communications port has been assigned to
file number 1 (#l) by the BASIC OPEN "COM..." statement.
27
SECTION FOUR - FUNCTIONS
PRINT #l,"sic"
PRINT #l,"sre 1"
or
PRINT # 1 ,"sic"+CHR$( 13)+"sre 1"

Advertisement

Table of Contents
loading

Table of Contents