User`s guide

24 Software Library
@ Return Code
ERR_NoError
5.2.5 _6208_Get_DA_Status
@ Description
This function is used to check the DA data sending status. Because the
data transfer time for every DA data takes 2.2 µs, the software driver must
wait for 2.2µs before sending another data to any analog output port. This
function should be called before writing any data to output port. While the
DA value is sending, the returned value is “1”, otherwise the returned value
is “0”.
@ Syntax
C/C++ (DOS)
U16 _6208_Get_DA_Status (U16 cardNo)
C/C++ (Windows 95/98)
U16 W_6208_Get_DA_Status (U16 cardNo)
Visual Basic (Windows 95/98)
W_6208_Get_DA_Status (ByVal cardNo As Integer) As Integer
@ Argument
cardNo: The card number of 6208 series card initialized. The first card (in
the most prior PCI slot) is with cardNo = 0.
@ Return Code
0 (low): no DA value is sending
1 (high): the DA value is sending
5.2.6 _6208_DI
@ Description
This function is used to read data from digital input ports. There are 4 digital
input channels on 6208 series card. The retrieved value is stored in DIData.
However the returned value need to be handled further by including the
following code in you program :
*DIData = (*DIData&0xF0)>>4