U16
C/C++ (Windows 95)
U16
Visual Basic (Windows 95)
W_6308_DO (ByVal cardNo As Integer, ByVal DOData As
@ Argument
cardNo:
DOData:
@ Return Code
ERR_NoError
5.11 _6308_I2V_Control
@ Description
This function is used to set PCI-6308A voltage-to-current mode
control. There are three modes of range for PCI-6308A. Please
refer to section 3.3 for the detailed description of voltage to current
conversion. The three voltage-to-current modes are:
@ Syntax
C/C++ (DOS)
U16
C/C++ (Windows 95)
U16
Visual Basic (Windows 95)
W_6308_I2V_Control (ByVal cardNo As Integer, ByVal ctrl
@ Argument
cardNo:
ctrl:
@ Return Code
ERR_NoError
28 • C/C++ Library
_6308_DO (U16 cardNo, U16 DOData)
W_6308_DO (U16 cardNo, U16 DOData)
Integer) As Integer
the card number of PCI-6308 cards
the value written to digital output port
Mode
I_0to20mA
I_4to20mA
I_5to25mA
_6308_I2V_Control (U16 cardNo, U16 ctrl)
W_6308_I2V_Control (U16 cardNo, U16 ctrl)
As Integer) As Integer
the card number of PCI-6308A cards
the voltage-to-current mode, the valid
modes are shown in the above table. The
constants are defined in Pci_6308.h (DOS)
and Acl_pci.h (Windows 95).
Input Voltage
Range
0~10V
0~10V
0~10V
Output Current
Range
0~20 mA
4~20 mA
5~25 mA