Chapter 4
4.1
About the
High-level API
4.2
Example
Code
© Copyright 2024
United Electronic Industries, Inc.
Programming with the High-level API
This chapter provides the following information about programming the
DNx-VR-608 using the UeiDaq Framework API:
•
About the High-level API (Section 4.1)
•
Example Code (Section 4.2)
•
Create a Session (Section 4.3)
•
Resource Strings (Section 4.4)
•
Configure VR Channels (Section 4.5)
•
Configure Digital Output Channels (Section 4.6)
•
Configure Sync Out (Rev. 2) (Section 4.7)
•
Configure the Timing (Section 4.8)
•
Start the Session (Section 4.9)
•
Read Data (Section 4.10)
•
Stop the Session (Section 4.11)
The UeiDaq Framework is object oriented and its objects can be manipulated in
the same manner from different development environments, such as Visual
C++, MATLAB, LabVIEW, and more. The Framework is supported in Windows 7
and up. It is generally simpler to use compared to the low-level API, and it
includes a generic simulation device to assist in software development.
Therefore, we recommend that Windows users use the high-level API unless
unconventional functionality is required. Users programming in Linux or a
real-time operating system should instead use the Low-level API (Chapter 5).
For more detail regarding the Framework's architecture, please see the "UeiDaq
Framework User Manual" located under:
Start » All Programs » UEI
For information on the Framework's classes, structures, and constants, please
see the "UeiDaq Framework Reference Manual" located under:
Start » All Programs » UEI
The UeiDaq Framework is bundled with examples for supported programming
languages. The example code is located in language-specific folders under:
C:\Program FIles (x86)\UEI\Framework
For example:
Start » All Programs » UEI » Visual C++ Examples
Examples for the DNx-VR-608 will have "Variable Reluctance" in its title.
February 2024
DNx-VR-608 Variable Reluctance Interface
Programming with the High-level API
Chapter 4
27
www.ueidaq.com
508.921.4600