Difference between revisions of "Example atod"
Line 2: | Line 2: | ||
This procedure provides an overview of how to compile and run the ''atod_test'' C example project. It assumes familiarity with the C programming language and is intended to be used by experienced programmers who are looking to learn the EMAC SDK. | This procedure provides an overview of how to compile and run the ''atod_test'' C example project. It assumes familiarity with the C programming language and is intended to be used by experienced programmers who are looking to learn the EMAC SDK. | ||
− | + | 1. Open the C/C++ editing perspective. | |
− | From the Eclipse menubar, select ''Window->Open Perspective->Other...'' | + | |
+ | From the Eclipse menubar, select ''Window->Open Perspective->Other...'' | ||
+ | |||
Select ''C/C++'' and click ''OK''. | Select ''C/C++'' and click ''OK''. | ||
+ | |||
+ | [[File:/home/jgreene/Desktop/wiki pages images/atod test/open perspective.jpg|thumbnail|Select Perspective]] | ||
2. Open the ''atod_test'' project. | 2. Open the ''atod_test'' project. |
Revision as of 11:02, 13 November 2013
This procedure provides an overview of how to compile and run the atod_test C example project. It assumes familiarity with the C programming language and is intended to be used by experienced programmers who are looking to learn the EMAC SDK.
1. Open the C/C++ editing perspective.
From the Eclipse menubar, select Window->Open Perspective->Other...
Select C/C++ and click OK.
2. Open the atod_test project.
OPEN THE PROJECT IN ECLIPSE
The atod_test example project source can be found in the projects/ subdirectory of the EMAC OE SDK root directory. The full path to the source is as follows:
/path/to/sdk/EMAC-OE-arm-linux-gnueabi-SDK_4.0/projects/atod_test/
COMPILE IT
RUN IT
WHAT IT DOES
The atod test reads all channels of an indexed atod device on an EMAC OE Linux operating system.