Chapter 4: API and Third-Party Software
32
API and Third-Party Software
Examples
The PowerDAQ Software Suite API and third party software
drivers support all PowerDAQ AO board features. This
chapter provides an overview on how to use the API calls
and examples using third-party software.
API Function calls
Please refer to PowerDAQ SDK and programmer manual for
the details about Analog Output board programming.
Generally Analog Output subsystem works in the same way
as all other paced subsystems. The following command
sequence should be used to program the PowerDAQ AO
board in a low-level language such as C/C++/VB/Delphi:
•
Open Driver. This allows you to check that the driver
is installed properly and started and also gets a
number and parameters of the PowerDAQ boards
installed in the system.
•
Open Adapter. After the adapter is opened the
PowerDAQ SDK return a special handle that should
be used for all calls referring to a specific
PowerDAQ board installed. This call locks the
specific PowerDAQ board by the specific application.
•
Open Subsystem. This call grants access to one of
the available PowerDAQ board subsystems. The
following subsystems can be accessed on a
PowerDAQ Analog Output board: Analog Output,
Digital Input, Digital Output, DSP Counter and
Calibration.
•
Work with subsystem. There are two different ways
to use a subsystem – in synchronous and
asynchronous mode.
Summary of Contents for PowerDAQ PDXI-AO Series
Page 9: ...1 1 Introduction...
Page 15: ...7 2 Installation and Configuration...
Page 26: ...Chapter 2 Installation and Configuration 18...
Page 27: ...19 3 Architecture...
Page 38: ...Chapter 3 Architecture 30...
Page 39: ...31 4 API and Third Party Software Examples...
Page 43: ...35 5 Interconnections...