28
•
C/C++ Library
U16 _6308_DO (U16 cardNo, U16 DOData)
C/C++ (Windows 95)
U16 W_6308_DO (U16 cardNo, U16 DOData)
Visual Basic (Windows 95)
W_6308_DO (ByVal cardNo As Integer, ByVal DOData As
Integer) As Integer
@ Argument
cardNo:
the card number of PCI-6308 cards
DOData:
the value written to digital output port
@ 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:
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