beautypg.com

ADLINK cPCI-6208V User Manual

Page 39

background image

C/C++ Library

31

5.9 _6208_I2V_Control

@ Description

This function is used to set the cPCI/PCI-6208A voltage-to-current
mode control. There are three range modes for the cPCI/PCI-6208A.
Please refer to section 4.2 for description of voltage to current
conversion.

@ Syntax

C/C++ (DOS)

U16 _6208_I2V_Control (U16 cardNo, U16 ctrl)

C/C++ (Windows 95)

U16 W_6208_DO (U16 cardNo, U16 DOData)

Visual Basic (Windows 95)

W_6208_I2V_Control (ByVal cardNo As Integer,

ByVal ctrl As Integer) As Integer

@ Argument

cardNo: The card number of the 6208 card

initialized. (The first card in the most
significant PCI slot is assign cardNo = 0).

ctrl: the voltage-to-current mode, the valid

modes are shown in table 3 of Operation theory.
The constants are defined in Pci_6208.h (DOS)
and Acl_pci.h (Windows 95).

@ Return Code

ERR_NoError

This manual is related to the following products: