Description Format For Routines; Routines - Keithley KM-488-ROM User Manual

Ieee-488 interface board
Table of Contents

Advertisement

7.2
DESCRIPTION
FORMAT FOR ROUTINES
The format for each descriptions is as follows:
usage
alternate usage
parameters
returns
notes
example
7.3
ROUTINES
Purpose
usage
alternate usage
returns
. . . a brief description of the routine. See Chapter 3 for more detailed
descriptions.
. . . gives an example of usage for each routine and assumes the input
parameters are passed in as variables. These parameters can also be
passed in directly. See the General Programming Notes for more
information.
. . . lists alternate usage for the routine, if any. Unless otherwise noted, the
alternate usage performs exactly the same function as the usage.
. . . describes each of the input parameters.
. . . describes any values returned by the routine.
. . . lists any special programming considerations.
. . . gives a programming example using the routine.
DMATIMEOUT
Sets the maximum length of time for a DMA transfer to complete before
a timeout error is reported. (See XMITA and RCVA routines.)
. . .
unaigmd tiam;
*atthout
(tima) :
NOTE: The alternate usage sets both the DMA and I/O Timeouts to the
specified value.
time is a UNSIGNED INTEGER representing the timeout period to
elapse during a DMA transactioD. A DMA Timeout Error will be
generated
when the time to transfer (via DMA) an entire message
exceeds the set DMA timeout value (time). time can range from 0 to
65535 milliseconds and is internally rounded to the closest integer
multiple of 55 milliseconds.
None.
This example sets a timeout of 5 seconds.
dmatimaout
(5000)
/
PROGRAMMING IN C
7-3

Advertisement

Table of Contents
loading

Table of Contents