C/C++ DOS Function Library
15
PCIe-7432
Argument
cardNo:
Card number of selected board
di_data:
Returns 32-bit value from digital port
Return Code
ERR_NoError
ERR_BoardNoInit
Digital Output Relative Functions
Write data to the digital output ports (to write 32-bit data, call
function
_7432_DO
).
Syntax
C/C++ (DOS)
U16 _7432_DO (U16 cardNo, U32 do_data)
C/C++ (Windows)
U16 W_7432_DO (U16 cardNo, U32 do_data)
Visual Basic (Windows)
W_7432_DO (ByVal cardNo As Integer, ByVal do_data
As Long) As Integer
Argument
cardNo:
Card number of selected board
do_data:
value is written to digital output port
Return Code
ERR_NoError
ERR_BoardNoInit
Interrupt Source Control
The dual interrupt system allows two interrupt sources to be
generated and checked by the software, with the function
enabling selection and control of the interrupt sources by
writing data to the interrupt control register. The interrupt
source can be set as Channel 0 (INT1) and/or Channel 1
(INT2) of the digital input channels.