|
Revision 3352, 1.0 KB
(checked in by jgaeddert, 6 years ago)
|
|
removing Amara dependency from wavLoader
|
| Line | |
|---|
| 1 | This file outlines the necessary steps needed to take advantage of the wavLoader |
|---|
| 2 | |
|---|
| 3 | Requirements: |
|---|
| 4 | |
|---|
| 5 | 1. Python v2.0 or better |
|---|
| 6 | |
|---|
| 7 | - wavLoader requires the xml.dom.minidom package: |
|---|
| 8 | http://docs.python.org/lib/module-xml.dom.minidom.html |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | 2. Python bindings for omniORB |
|---|
| 12 | |
|---|
| 13 | - download and install omniORBpy: |
|---|
| 14 | http://omniorb.sourceforge.net/index.html |
|---|
| 15 | - create a new directory in the OSSIE src directory |
|---|
| 16 | #cd <path to ossie src>/ |
|---|
| 17 | #mkdir idl_py |
|---|
| 18 | #cd idl_py |
|---|
| 19 | #cp ../idl/*.idl . |
|---|
| 20 | #omniidl -bpython *.idl |
|---|
| 21 | |
|---|
| 22 | - now let the python interpreter know about the new bindings |
|---|
| 23 | * create: /usr/lib/python2.X/site-packages/ossie.pth |
|---|
| 24 | * add the following two lines to the ossie.pth file: |
|---|
| 25 | /usr/local/lib/python2.X/site-packages |
|---|
| 26 | <path to ossie src>/idl_py |
|---|
| 27 | * in both of the above cases the 2.X should be replaced by your version of python |
|---|
| 28 | |
|---|
| 29 | 3. Using wavLoader |
|---|
| 30 | |
|---|
| 31 | - currently you just call wavLoader with the device assignment sequence |
|---|
| 32 | as a command line argument |
|---|
| 33 | #python wavLoader.py <filename_DAS.xml> |
|---|