User`s guide

26 Software Library
@ Argument
cardNo: the card number of 6208 series card initialized. The first card (in
the most prior PCI slot) is with cardNo = 0.
DOData: the value written to digital output port
@ Return Code
ERR_NoError
5.2.8 _6208_I2V_Control
@ Description
This function is used to set cPCI/PCI-6208A voltage-to-current mode
control. There are three modes of range for cPCI/PCI-6208A. Please refer
to section 3.3 for the detailed description of voltage to current conversion.
The three voltage-to-current modes are:
Mode
Input Voltage
Range
Output Current
Range
I_0to20mA 0~10V 0~20 mA
I_4to20mA 0~10V 4~20 mA
I_5to25mA 0~10V 5~25 mA
@ Syntax
C/C++ (DOS)
U16 _6208_I2V_Control (U16 cardNo, U16 ctrl)
C/C++ (Windows 95/98)
U16 W_6208_DO (U16 cardNo, U16 DOData)
Visual Basic (Windows 95/98)
W_6208_I2V_Control (ByVal cardNo As Integer, ByVal ctrl As Integer) As
Integer