Initialization, 3 initialization – ADLINK PCI-8134A User Manual

Page 89

Advertising
background image

Function Library

79

Type Name

Description

Range

U8

8-bit ASCII character

0 to 255

I16

16-bit signed integer

-32768 to 32767

U16

16-bit unsigned integer

0 to 65535

I32

32-bit signed long integer

-2147483648 to 2147483647

U32

32-bit unsigned long integer

0 to 4294967295

F32

32-bit single-precision floating-
point

-3.402823E38 to 3.402823E38

F64

64-bit double-precision floating-
point

-1.797683134862315E308 to
1.797683134862315E309

Boolean

Boolean logic value

TRUE, FALSE

6.3

Initialization

@ Name

W_8134_Initial – Card Initialization
W_8134_InitialA – Another Card
Initialization Method
W_8134_Close – Card Close
W_8134_Set_Config – Configure Card according to Motion Creator
W_8134_Get_IRQ_Channel – Get the card’s IRQ number
W_8134_Get_ Base_Addr – Get the card’s base address


@ Description

W_8134_Initial:

This function is used to initialize PCI-8134 card. It has to be initialized by
this function before calling other functions. The parameter definitions of
this function are different from OS. Please pay attention it.

W_8134_InitialA:

This function is like above one. The only difference is parameter
definition. We suggest that users use this function for card
initialization because this function is OS independent.

W_8134_Close:

This function must be called before the program ends.

W_8134_Set_Config:

This function is used to configure PCI-8134 card. All the I/O
configurations and some operating modes appeared on “Axis
Configuration Window” of Motion Creator will be set to PCI-8134. Click
“Save Configuration” button on the “Axis Configuration Window” if you
want to use this function in the application program. Click “Save
Configuration” button will save all the configurations to a file call
8134.cfg”. This file will appear in the Windows’ system directory.

W_8134_Get_IRQ_Channel :

Advertising