ADLINK PCI-8134A User Manual

Page 112

Advertising
background image

102

Function Library

15

Start with STA signal

16

Acceleration Completed

17

Deceleration Started

18∼ 22 Always 0

23

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

24~31

Always 0

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)

U16 _8134_Set_INT_ENABLE(U16 cardNo, U16 intFlag)
U16 set_int_factor(U16 axis, U32 int_factor)
U16 get_int_axis(U16 *int_axis)
U16 get_int_status(U16 axis, U32 *int_status)

C/C++ (Windows)

U16 W_8134_INT_Enable (I16 cardNo, HANDLE *phEvent)
U16 W_8134_INT_Disable (I16 cardNo)
void W_8134_Set_INT_Control(U16 cardNo, U16 intFlag)
U16 set_int_factor(U16 axis, U32 int_factor)
U16 get_int_status(I16 axis, U32 *int_status)

Advertising