User`s guide

C/C++ Library
33
5.11 _6308_I2V_Control
@ Description
This function is used to set the PCI-6308As’ voltage-to-current mode control.
There are three range modes for the PCI-6308A. Please refer to section 3.3
for details of the 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 _6308_I2V_Control (U16 cardNo, U16 ctrl)
C/C++ (Windows 95)
U16 W_6308_I2V_Control (U16 cardNo, U16 ctrl)
Visual Basic (Windows 95)
W_6308_I2V_Control (ByVal cardNo As Integer, ByVal ctrl
As Integer) As Integer
@ Argument
cardNo: the card number of PCI-6308A cards
ctrl: 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).
@ Return Code
ERR_NoError