20
•
High-level Programming
After installation, all the files
of ACL-6128 Library & Utility for DOS
are
stored in C:\ADLINK\6128\DOS directory.
4.3 C Language Library
The ACL-6128's digital-to-analog conversion library was constructed to
provide a simple programming interface for communicating with the
ACL-6128 card. The library provides easy to use functions which allow
programmers to use the features of the card in a high-level way.
The version of this library included in the diskette is DOS only.
The detailed function description is specified in the following sections :
4.3.1 _6128_Initial
@ Description
An ACL-6128 card is initialized according to the card number and its
corresponding base address. Every ACL-6128 cards have to be
initialized by this function before calling other functions.
@ Syntax
int _6128_Initial(int card_number, int base_address)
@ Argument
card_number : The card number to be initialized,
totally 8
cards
can be initialized,
the card number must
be within the range
of 0 and 7.
base_address : the I/O port base address of the card .
@ Return Code
ERR_NoError
ERR_InvalidBoardNumber
ERR_BaseAddressError
Summary of Contents for ACL -6128
Page 1: ...N u D A Q A C L 6 1 2 8 2 Channel Isolated 12 bit Analog Output Card U s e r s G u i d e...
Page 4: ......
Page 8: ......
Page 33: ...Calibration 25...