Intel LPCI-7200S 5.6 7200AUXDIChannel, 5.7 7200AUXDO, @ Description, @ Syntax, Visual C++ Windows

Models: LPCI-7200S

1 71
Download 71 pages 46.71 Kb
Page 49
Image 49
5.6 _7200_AUX_DI_Channel

5.6 _7200_AUX_DI_Channel

@ Description

Read data from the auxiliary digital input channel of cPCI-7200 card. There are 4 digital input channels on the cPCI-7200 auxiliary digital input port. When performing this function, the auxiliary digital input port is read and the value of the corresponding channel is returned.

*channel means each bit of digital input port.

@Syntax

Visual C++( Windows 95)

int W_7200_AUX_DI_Channel (U8 di_ch_no, Boolean *aux_data)

Visual Basic (Windows 95)

W_7200_AUX_DI_Channel (ByVal di_ch_no As Byte, aux_data As Byte) As Long

C/C++ ( DOS)

int _7200_AUX_DI_Channel (U8 di_ch_no, Boolean *aux_data)

@ Argument

di_ch_no: the DI channel number, the value is between 0 and 3.

aux_data: return value, either 0 or 1.

@ Return Code

ERR_NoError, ERR_InvalidDIChannel,ERR_FunctionNotAvailable

5.7 _7200_AUX_DO

@ Description

Write data to auxiliary digital output port. There are 4 auxiliary digital outputs on the cPCI-7200.

@ Syntax

Visual C++ (Windows 95)

int W_7200_AUX_DO (U32 aux_do)

Visual Basic (Windows 95)

W_7200_AUX_DO (ByVal aux_do As Long) As Long

C/C++ (DOS)

int _7200_AUX_DO (U32 aux_do)

@ Argument

aux_do: value will be written to auxiliary digital output port.

@ Return Code

ERR_NoError

ERR_FunctionNotAvailable

C/C++ Libraries 41

Page 49
Image 49
Intel LPCI-7200S 5.6 7200AUXDIChannel, 5.7 7200AUXDO, @ Description, @ Syntax, Visual C++ Windows, Visual Basic Windows