11 _6308_i2v_control, Description, Syntax – ADLINK PCM-6308V+ User Manual

Page 49: Arguments, Return code, Description @ syntax @ arguments @ return code

Advertising
background image

C/C++ Library

39

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 con-
version. The three voltage-to-current modes are:

@ 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

@ Arguments

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

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

Advertising