ADLINK PCI-8164 User Manual

Page 245

Advertising
background image

Function Library

233

@ Argument

cardNo: card number 0,1,2,3…

AxisNo: axis number 0,1,2,3,4…

intFlag: int flag, 0 or 1 (0: Disable, 1:Enable)

int_factor: interrupt factor, refer to previous table

*int_type: Interrupt type, (1: error int, 2: event int, 3: both hap-

pened)

*event_int: event_int_status, refer to previous table

*error_int: error_int_status, refer to previous table

*sts: (0: not this card’s IRQ, 1: this card’s IRQ)

*phEvent: event handler (Windows)

*error_int_status: refer to previous table

*event_int_status: refer to previous table

int_mask: (0:make axis stop interrupt active, 1:make axis stop

interrupt in-active)

axis_stop_int: (0: disable axis stop interrupt factor, 1: enable

axis stop interrupt factor )

@ Return Code

ERR_NoError
ERR_EventNotEnableYet
ERR_LinkIntError
ERR_CardNoErrot

Advertising