HP NuDAQ I-9111DG/HR manual 25 9111ADSoftTrigger, 26 9111Set8254

Models: NuDAQ I-9111DG/HR

1 83
Download 83 pages 54.21 Kb
Page 61
Image 61

Visual Basic (Windows 95)

W_9111_Reset_FIFO (ByVal cardNo As Integer) As Integer

@ Argument

cardNo: The card number of PCI-9111 card initialized.

@Return Code

ERR_NoError

5.25_9111_AD_Soft_Trigger

@ Description

This function is used to trigger the A/D conversion by software. When the function is called, a trigger pulse will be generated and the converted data will be stored from address Base +0.

@ Syntax

C/C++ (DOS)

U16 _9111_AD_Soft_Trigger (U16 cardNo)

C/C++ (Windows 95)

U16 W_9111_AD_Soft_Trigger (U16 cardNo)

Visual Basic (Windows 95)

W_9111_AD_Soft_Trigger (ByVal cardNo As Integer) As Integer

@ Argument

cardNo: The card number of PCI-9111 card initialized.

@Return Code

ERR_NoError

5.26_9111_Set_8254

@ Description

This function is used to write PCI-9111 8254 Programmable Timer.

@ Syntax

C/C++ (DOS)

U16 _9111_Set_8254 (U16 cardNo, U16 ChannelNo, U8 count)

C/C++ (Windows 95)

U16 W_9111_Set_8254 (U16 cardNo, U16 ChannelNo, U8 count)

Visual Basic (Windows 95)

W_9111_Set_8254 (ByVal cardNo As Integer, ByVal ChannelNo As Integer, ByVal count As Byte) As Integer

@ Argument

 

cardNo:

The card number of PCI-9111 card initialized.

Tmr_ch:

Port of 8254 Timer, the value is within 0 to 3.

C/C++ Library 51

Page 61
Image 61
HP NuDAQ I-9111DG/HR manual 25 9111ADSoftTrigger, 26 9111Set8254