2 system & initialization, System & initialization – ADLINK PCI-8124-C User Manual

Page 71

Advertising
background image

Function Library

61

6.2

System & Initialization

@ Name

@ Description

_8124_initialSw:

This function is used to initialize the PCI-8124-C cards in your
system. All PCI-8124-C cards must be initialized by this func-
tion before calling other functions. The ID of cards can be
assigned by system automatically or dip switch (SW1) manu-
ally.

The source of TRG-OUT and TTL-OUT output signals can be
decided by SW2 or PWM output. See also section 5.5
“_8124_set_trigger_source”.

If DefaultSw = 1, the output signal of TRG-OUT and TTL-OUT
will output as SW2. On the contrary, if DefaultSw = 0, the TRG-
OUT will output as PWM default setting and TTL-OUT will out-
put D5V ( as a digital output).

_8124_close:

This function is to close the PCI-8124-C cards and release its
resources, which must be called at the end of your applica-
tions.

_8124_get_version:

Users can get the hardware and software version number by
this function.

_8124_initialSw

PCI-8124-C Cards Initialization

_8124_close

Release the resources of PCI-8124-C
Cards

_8124_get_version

Get the hardware and software versions

Advertising