ADLINK PCI-8134A User Manual

Page 140

Advertising
background image

130

Additional Function Library

23

RDY active (AP3 of PCL5023 change from 1 to 0)

24~31

Always 0

_8134_link_axis_interrupt:

This function is used to create a callback function in Windows for
interrupt signal receiving. Once the interrupt comes, the callback
function will be called too.

@ Syntax

C/C++ (DOS,Windows)

I16 _8134_get_int_axis(U16 *int_axis) (DOS only)
I16 _8134_int_enable (I16 cardNo, HANDLE *phEvent)
I16 _8134_int_disable (I16 cardNo)

I16 _8134_int_control(I16 cardNo, I16 intFlag)
I16 _8134_set_int_factor(I16 axis, U32 int_factor)
I16 _8134_get_int_status(I16 axis, U32 *int_status)

I16 _8134_link_axis_interrupt(I16 AxisNo, void ( _stdcall

*callbackAddr)(void))

Visual Basic (Windows)

B_8134_int_enable (ByVal cardNo As Integer, phEvent As Long)
B_8134_int_disable (ByVal cardNo As Integer) As Integer
B_8134_int_control (ByVal cardno As Integer, ByVal intFlag As

Integer)

B_8134_set_int_factor (ByVal axis As Integer, ByVal int_factor As

Long) As Integer

B_8134_get_int_status (ByVal axis As Integer, int_status As Long)

As Integer

Advertising