Changeset 9605
- Timestamp:
- 10/01/09 12:20:29 (4 years ago)
- Location:
- ossiedev
- Files:
-
- 301 added
- 20 modified
- 5 copied
-
branches/deepanns/Makefile (added)
-
branches/deepanns/Makefile.am (added)
-
branches/deepanns/Makefile.in (added)
-
branches/deepanns/aclocal.m4 (added)
-
branches/deepanns/autom4te.cache (added)
-
branches/deepanns/autom4te.cache/output.0 (added)
-
branches/deepanns/autom4te.cache/output.1 (added)
-
branches/deepanns/autom4te.cache/requests (added)
-
branches/deepanns/autom4te.cache/traces.0 (added)
-
branches/deepanns/autom4te.cache/traces.1 (added)
-
branches/deepanns/bootstrap (added)
-
branches/deepanns/config.guess (added)
-
branches/deepanns/config.log (added)
-
branches/deepanns/config.status (added)
-
branches/deepanns/config.sub (added)
-
branches/deepanns/configure (added)
-
branches/deepanns/configure.ac (added)
-
branches/deepanns/depcomp (added)
-
branches/deepanns/install-sh (added)
-
branches/deepanns/ltmain.sh (added)
-
branches/deepanns/missing (added)
-
branches/deepanns/tools/Makefile (added)
-
branches/deepanns/tools/Makefile.am (added)
-
branches/deepanns/tools/Makefile.in (added)
-
branches/deepanns/tools/OEF/.project (modified) (1 diff)
-
branches/deepanns/tools/WaveDev/Makefile (added)
-
branches/deepanns/tools/WaveDev/Makefile.am (added)
-
branches/deepanns/tools/WaveDev/Makefile.in (added)
-
branches/deepanns/tools/WaveDev/wavedev.cfg (modified) (1 diff)
-
branches/deepanns/tools/WaveDev/wavedev/MainFrame.py (modified) (5 diffs)
-
branches/deepanns/tools/WaveDev/wavedev/Makefile (added)
-
branches/deepanns/tools/WaveDev/wavedev/Makefile.am (added)
-
branches/deepanns/tools/WaveDev/wavedev/Makefile.in (added)
-
branches/deepanns/tools/WaveDev/wavedev/XML_gen/DevMan/Makefile (added)
-
branches/deepanns/tools/WaveDev/wavedev/XML_gen/DevMan/Makefile.am (added)
-
branches/deepanns/tools/WaveDev/wavedev/XML_gen/DevMan/Makefile.in (added)
-
branches/deepanns/tools/WaveDev/wavedev/XML_gen/Makefile (added)
-
branches/deepanns/tools/WaveDev/wavedev/XML_gen/Makefile.am (added)
-
branches/deepanns/tools/WaveDev/wavedev/XML_gen/Makefile.in (added)
-
branches/deepanns/tools/WaveDev/wavedev/XML_gen/component_gen.py (modified) (2 diffs)
-
branches/deepanns/tools/WaveDev/wavedev/XML_gen/dtd/Makefile (added)
-
branches/deepanns/tools/WaveDev/wavedev/XML_gen/dtd/Makefile.am (added)
-
branches/deepanns/tools/WaveDev/wavedev/XML_gen/dtd/Makefile.in (added)
-
branches/deepanns/tools/WaveDev/wavedev/XML_gen/templates/Makefile (added)
-
branches/deepanns/tools/WaveDev/wavedev/XML_gen/templates/Makefile.am (added)
-
branches/deepanns/tools/WaveDev/wavedev/XML_gen/templates/Makefile.in (added)
-
branches/deepanns/tools/WaveDev/wavedev/XML_gen/templates/_spd.xml.tpl (modified) (1 diff)
-
branches/deepanns/tools/WaveDev/wavedev/cfg.py (modified) (1 diff)
-
branches/deepanns/tools/WaveDev/wavedev/generate/Makefile (added)
-
branches/deepanns/tools/WaveDev/wavedev/generate/Makefile.am (added)
-
branches/deepanns/tools/WaveDev/wavedev/generate/Makefile.in (added)
-
branches/deepanns/tools/WaveDev/wavedev/generate/basic_xml/Makefile (added)
-
branches/deepanns/tools/WaveDev/wavedev/generate/basic_xml/Makefile.am (added)
-
branches/deepanns/tools/WaveDev/wavedev/generate/basic_xml/Makefile.in (added)
-
branches/deepanns/tools/WaveDev/wavedev/generate/reconf (modified) (1 diff)
-
branches/deepanns/tools/WaveDev/wavedev/generate/templates/Makefile (added)
-
branches/deepanns/tools/WaveDev/wavedev/generate/templates/Makefile.am (added)
-
branches/deepanns/tools/WaveDev/wavedev/generate/templates/Makefile.in (added)
-
branches/deepanns/tools/WaveDev/wavedev/generate/templates/basic_ports/Makefile (added)
-
branches/deepanns/tools/WaveDev/wavedev/generate/templates/basic_ports/Makefile.am (added)
-
branches/deepanns/tools/WaveDev/wavedev/generate/templates/basic_ports/Makefile.in (added)
-
branches/deepanns/tools/WaveDev/wavedev/generate/templates/basic_ports/genStructure.py (modified) (10 diffs)
-
branches/deepanns/tools/WaveDev/wavedev/generate/templates/basic_ports/sampleComp.cpp (modified) (5 diffs)
-
branches/deepanns/tools/WaveDev/wavedev/generate/templates/basic_ports/sampleComp.h (modified) (2 diffs)
-
branches/deepanns/tools/WaveDev/wavedev/generate/templates/custom_ports/Makefile (added)
-
branches/deepanns/tools/WaveDev/wavedev/generate/templates/custom_ports/Makefile.am (added)
-
branches/deepanns/tools/WaveDev/wavedev/generate/templates/custom_ports/Makefile.in (added)
-
branches/deepanns/tools/WaveDev/wavedev/generate/templates/py_comp/Makefile (added)
-
branches/deepanns/tools/WaveDev/wavedev/generate/templates/py_comp/Makefile.am (added)
-
branches/deepanns/tools/WaveDev/wavedev/generate/templates/py_comp/Makefile.in (added)
-
branches/deepanns/tools/WaveDev/wavedev/images/Makefile (added)
-
branches/deepanns/tools/WaveDev/wavedev/images/Makefile.am (added)
-
branches/deepanns/tools/WaveDev/wavedev/images/Makefile.in (added)
-
branches/deepanns/tools/WaveDev/wavedev/importNode.py (modified) (4 diffs)
-
branches/deepanns/tools/aclocal.m4 (added)
-
branches/deepanns/tools/alf/.project (added)
-
branches/deepanns/tools/alf/.pydevproject (added)
-
branches/deepanns/tools/alf/ALF.py (modified) (21 diffs)
-
branches/deepanns/tools/alf/Makefile (added)
-
branches/deepanns/tools/alf/Makefile.am (added)
-
branches/deepanns/tools/alf/Makefile.in (added)
-
branches/deepanns/tools/alf/compform.py (modified) (2 diffs)
-
branches/deepanns/tools/alf/config/Makefile (added)
-
branches/deepanns/tools/alf/config/Makefile.am (added)
-
branches/deepanns/tools/alf/config/Makefile.in (added)
-
branches/deepanns/tools/alf/config/alf.cfg (modified) (1 diff)
-
branches/deepanns/tools/alf/connectTool.py (modified) (22 diffs)
-
branches/deepanns/tools/alf/images/Makefile (added)
-
branches/deepanns/tools/alf/images/Makefile.am (added)
-
branches/deepanns/tools/alf/images/Makefile.in (added)
-
branches/deepanns/tools/alf/images/launch_wavedash.png (added)
-
branches/deepanns/tools/alf/images/network.png (copied) (copied from ossiedev/trunk/tools/alf/images/network.png)
-
branches/deepanns/tools/alf/importWaveform.py (modified) (1 diff)
-
branches/deepanns/tools/alf/loadAutomationFile.py (modified) (2 diffs)
-
branches/deepanns/tools/alf/namingserviceDialog.py (copied) (copied from ossiedev/trunk/tools/alf/namingserviceDialog.py)
-
branches/deepanns/tools/alf/profiles/Makefile (added)
-
branches/deepanns/tools/alf/profiles/Makefile.am (added)
-
branches/deepanns/tools/alf/profiles/Makefile.in (added)
-
branches/deepanns/tools/alf_plugins/AWG/Makefile (added)
-
branches/deepanns/tools/alf_plugins/AWG/Makefile.am (added)
-
branches/deepanns/tools/alf_plugins/AWG/Makefile.in (added)
-
branches/deepanns/tools/alf_plugins/Makefile (added)
-
branches/deepanns/tools/alf_plugins/Makefile.am (added)
-
branches/deepanns/tools/alf_plugins/Makefile.in (added)
-
branches/deepanns/tools/alf_plugins/plot/Makefile (added)
-
branches/deepanns/tools/alf_plugins/plot/Makefile.in (added)
-
branches/deepanns/tools/alf_plugins/speaker/Makefile (added)
-
branches/deepanns/tools/alf_plugins/speaker/Makefile.in (added)
-
branches/deepanns/tools/alf_plugins/write_to_file/Makefile (added)
-
branches/deepanns/tools/alf_plugins/write_to_file/Makefile.in (added)
-
branches/deepanns/tools/autom4te.cache (added)
-
branches/deepanns/tools/autom4te.cache/output.0 (added)
-
branches/deepanns/tools/autom4te.cache/output.1 (added)
-
branches/deepanns/tools/autom4te.cache/requests (added)
-
branches/deepanns/tools/autom4te.cache/traces.0 (added)
-
branches/deepanns/tools/autom4te.cache/traces.1 (added)
-
branches/deepanns/tools/config.log (added)
-
branches/deepanns/tools/config.status (added)
-
branches/deepanns/tools/configure (added)
-
branches/deepanns/tools/configure.ac (added)
-
branches/deepanns/tools/wavedash/.metadata (added)
-
branches/deepanns/tools/wavedash/.metadata/.lock (added)
-
branches/deepanns/tools/wavedash/.metadata/.mylyn (added)
-
branches/deepanns/tools/wavedash/.metadata/.mylyn/contexts (added)
-
branches/deepanns/tools/wavedash/.metadata/.mylyn/offline (added)
-
branches/deepanns/tools/wavedash/.metadata/.mylyn/repositories.xml.zip (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.core.resources (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.core.resources/.history (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.core.resources/.root (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.core.resources/.root/1.tree (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.core.resources/.safetable (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.core.runtime (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.core.runtime/.settings (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.epp.usagedata.recording.prefs (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.equinox.p2.ui.sdk.prefs (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.context.core.prefs (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.java.ui.prefs (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.cvs.ui.prefs (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.ui.prefs (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.epp.usagedata.recording (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload0.csv (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload1.csv (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload2.csv (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload3.csv (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.epp.usagedata.recording/usagedata.csv (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.equinox.p2.ui.sdk (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.jdt.core (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.jdt.ui (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.mylyn.bugzilla.core (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.team.cvs.core (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.ui.workbench (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml (added)
-
branches/deepanns/tools/wavedash/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml (added)
-
branches/deepanns/tools/wavedash/.metadata/version.ini (added)
-
branches/deepanns/tools/wavedash/.project (added)
-
branches/deepanns/tools/wavedash/.pydevproject (added)
-
branches/deepanns/tools/wavedash/Makefile (added)
-
branches/deepanns/tools/wavedash/Makefile.am (copied) (copied from ossiedev/trunk/tools/wavedash/Makefile.am)
-
branches/deepanns/tools/wavedash/Makefile.in (added)
-
branches/deepanns/tools/wavedash/src/Makefile (added)
-
branches/deepanns/tools/wavedash/src/Makefile.am (copied) (copied from ossiedev/trunk/tools/wavedash/src/Makefile.am)
-
branches/deepanns/tools/wavedash/src/Makefile.in (added)
-
branches/deepanns/tools/wavedash/src/WavedashController.py (modified) (1 diff)
-
branches/deepanns/tools/wavedash/src/WavedashUtils.py (modified) (1 diff)
-
branches/deepanns/tools/wavedash/src/WavedashView.py (modified) (1 diff)
-
branches/deepanns/tools/wavedash/src/resources/Makefile (added)
-
branches/deepanns/tools/wavedash/src/resources/Makefile.am (copied) (copied from ossiedev/trunk/tools/wavedash/src/resources/Makefile.am)
-
branches/deepanns/tools/wavedash/src/resources/Makefile.in (added)
-
trunk/components/AutomaticGainControl/libtool (added)
-
trunk/components/AutomaticGainControl/ltmain.sh (added)
-
trunk/components/Channel/libtool (added)
-
trunk/components/Channel/ltmain.sh (added)
-
trunk/components/ChannelDemo/libtool (added)
-
trunk/components/ChannelDemo/ltmain.sh (added)
-
trunk/components/Conv_Dec/libtool (added)
-
trunk/components/Conv_Dec/ltmain.sh (added)
-
trunk/components/Conv_Enc/libtool (added)
-
trunk/components/Conv_Enc/ltmain.sh (added)
-
trunk/components/Decimator/config.guess (added)
-
trunk/components/Decimator/config.sub (added)
-
trunk/components/Decimator/libtool (added)
-
trunk/components/Decimator/ltmain.sh (added)
-
trunk/components/DigitalModem/libtool (added)
-
trunk/components/DigitalModem/ltmain.sh (added)
-
trunk/components/FrameAssembler/libtool (added)
-
trunk/components/FrameAssembler/ltmain.sh (added)
-
trunk/components/Interpolator/libtool (added)
-
trunk/components/Interpolator/ltmain.sh (added)
-
trunk/components/JPEG_VideoViewer/aclocal.d/AC_HAVE_XERCES_C.m4 (added)
-
trunk/components/JPEG_VideoViewer/libtool (added)
-
trunk/components/PacketResizer/libtool (added)
-
trunk/components/PacketResizer/ltmain.sh (added)
-
trunk/components/RxDemo/libtool (added)
-
trunk/components/SymbolSyncPoly/libtool (added)
-
trunk/components/SymbolSyncPoly/ltmain.sh (added)
-
trunk/components/TxDemo/libtool (added)
-
trunk/components/TxDemo/ltmain.sh (added)
-
trunk/components/USRP_Commander/libtool (added)
-
trunk/components/USRP_Commander/ltmain.sh (added)
-
trunk/components/WFMDemod/libtool (added)
-
trunk/components/WebCamCapture/aclocal.d/AC_HAVE_XERCES_C.m4 (added)
-
trunk/components/WebCamCapture/config.guess (added)
-
trunk/components/WebCamCapture/config.sub (added)
-
trunk/components/WebCamCapture/libtool (added)
-
trunk/components/WebCamCapture/ltmain.sh (added)
-
trunk/components/am_demod/config.guess (added)
-
trunk/components/am_demod/config.sub (added)
-
trunk/components/am_demod/libtool (added)
-
trunk/components/am_demod/ltmain.sh (added)
-
trunk/components/amplifier/aclocal.d/AC_HAVE_XERCES_C.m4 (added)
-
trunk/components/amplifier/config.guess (added)
-
trunk/components/amplifier/config.sub (added)
-
trunk/components/amplifier/libtool (added)
-
trunk/components/amplifier/ltmain.sh (added)
-
trunk/components/pass_data/Makefile (added)
-
trunk/components/pass_data/Makefile.in (added)
-
trunk/components/pass_data/aclocal.m4 (added)
-
trunk/components/pass_data/autom4te.cache (added)
-
trunk/components/pass_data/autom4te.cache/output.0 (added)
-
trunk/components/pass_data/autom4te.cache/output.1 (added)
-
trunk/components/pass_data/autom4te.cache/requests (added)
-
trunk/components/pass_data/autom4te.cache/traces.0 (added)
-
trunk/components/pass_data/autom4te.cache/traces.1 (added)
-
trunk/components/pass_data/config.log (added)
-
trunk/components/pass_data/config.status (added)
-
trunk/components/pass_data/configure (added)
-
trunk/platform/GPP/libtool (added)
-
trunk/platform/GPP/ltmain.sh (added)
-
trunk/platform/Sound_in/libtool (added)
-
trunk/platform/Sound_in/ltmain.sh (added)
-
trunk/platform/Sound_out/libtool (added)
-
trunk/platform/Sound_out/ltmain.sh (added)
-
trunk/platform/USRP/libtool (added)
-
trunk/platform/USRP/ltmain.sh (added)
-
trunk/platform/XilinxFPGA/libtool (added)
-
trunk/platform/domain/config.guess (added)
-
trunk/platform/domain/config.sub (added)
-
trunk/platform/domain/ltmain.sh (added)
-
trunk/platform/dtd/config.guess (added)
-
trunk/platform/dtd/config.sub (added)
-
trunk/platform/dtd/ltmain.sh (added)
-
trunk/platform/nodes/default_GPP_USRP_node/ltmain.sh (added)
-
trunk/platform/nodes/default_GPP_USRP_sound_node/config.guess (added)
-
trunk/platform/nodes/default_GPP_USRP_sound_node/config.sub (added)
-
trunk/platform/nodes/default_GPP_USRP_sound_node/ltmain.sh (added)
-
trunk/platform/nodes/default_GPP_node/config.guess (added)
-
trunk/platform/nodes/default_GPP_node/config.sub (added)
-
trunk/platform/nodes/default_GPP_node/ltmain.sh (added)
-
trunk/platform/nodes/default_GPP_sound_node/ltmain.sh (added)
-
trunk/platform/nodes/default_ml403_node/config.sub (added)
-
trunk/platform/nodes/default_ml403_node/ltmain.sh (added)
-
trunk/system/c_wavLoader/libtool (added)
-
trunk/system/customInterfaces/config.guess (added)
-
trunk/system/customInterfaces/config.sub (added)
-
trunk/system/customInterfaces/ltmain.sh (added)
-
trunk/system/nodebooter/config.guess (added)
-
trunk/system/nodebooter/config.sub (added)
-
trunk/system/nodebooter/libtool (added)
-
trunk/system/nodebooter/ltmain.sh (added)
-
trunk/waveforms/Lab5Example/Makefile (added)
-
trunk/waveforms/Lab5Example/Makefile.in (added)
-
trunk/waveforms/Lab5Example/aclocal.m4 (added)
-
trunk/waveforms/Lab5Example/autom4te.cache (added)
-
trunk/waveforms/Lab5Example/autom4te.cache/output.0 (added)
-
trunk/waveforms/Lab5Example/autom4te.cache/output.1 (added)
-
trunk/waveforms/Lab5Example/autom4te.cache/requests (added)
-
trunk/waveforms/Lab5Example/autom4te.cache/traces.0 (added)
-
trunk/waveforms/Lab5Example/autom4te.cache/traces.1 (added)
-
trunk/waveforms/Lab5Example/config.log (added)
-
trunk/waveforms/Lab5Example/config.status (added)
-
trunk/waveforms/Lab5Example/configure (added)
-
trunk/waveforms/OSSIETalkLoopBack/Makefile (added)
-
trunk/waveforms/OSSIETalkLoopBack/Makefile.in (added)
-
trunk/waveforms/OSSIETalkLoopBack/aclocal.m4 (added)
-
trunk/waveforms/OSSIETalkLoopBack/autom4te.cache (added)
-
trunk/waveforms/OSSIETalkLoopBack/autom4te.cache/output.0 (added)
-
trunk/waveforms/OSSIETalkLoopBack/autom4te.cache/output.1 (added)
-
trunk/waveforms/OSSIETalkLoopBack/autom4te.cache/requests (added)
-
trunk/waveforms/OSSIETalkLoopBack/autom4te.cache/traces.0 (added)
-
trunk/waveforms/OSSIETalkLoopBack/autom4te.cache/traces.1 (added)
-
trunk/waveforms/OSSIETalkLoopBack/config.log (added)
-
trunk/waveforms/OSSIETalkLoopBack/config.status (added)
-
trunk/waveforms/OSSIETalkLoopBack/configure (added)
-
trunk/waveforms/OSSIETalkUSRP/Makefile (added)
-
trunk/waveforms/OSSIETalkUSRP/Makefile.in (added)
-
trunk/waveforms/OSSIETalkUSRP/aclocal.m4 (added)
-
trunk/waveforms/OSSIETalkUSRP/autom4te.cache (added)
-
trunk/waveforms/OSSIETalkUSRP/autom4te.cache/output.0 (added)
-
trunk/waveforms/OSSIETalkUSRP/autom4te.cache/output.1 (added)
-
trunk/waveforms/OSSIETalkUSRP/autom4te.cache/requests (added)
-
trunk/waveforms/OSSIETalkUSRP/autom4te.cache/traces.0 (added)
-
trunk/waveforms/OSSIETalkUSRP/autom4te.cache/traces.1 (added)
-
trunk/waveforms/OSSIETalkUSRP/config.log (added)
-
trunk/waveforms/OSSIETalkUSRP/config.status (added)
-
trunk/waveforms/OSSIETalkUSRP/configure (added)
-
trunk/waveforms/ossie_demo/config.guess (added)
-
trunk/waveforms/ossie_demo/config.sub (added)
-
trunk/waveforms/ossie_demo/ltmain.sh (added)
-
trunk/waveforms/pass_data_waveform/Makefile (added)
-
trunk/waveforms/pass_data_waveform/Makefile.in (added)
-
trunk/waveforms/pass_data_waveform/aclocal.m4 (added)
-
trunk/waveforms/pass_data_waveform/autom4te.cache (added)
-
trunk/waveforms/pass_data_waveform/autom4te.cache/output.0 (added)
-
trunk/waveforms/pass_data_waveform/autom4te.cache/output.1 (added)
-
trunk/waveforms/pass_data_waveform/autom4te.cache/requests (added)
-
trunk/waveforms/pass_data_waveform/autom4te.cache/traces.0 (added)
-
trunk/waveforms/pass_data_waveform/autom4te.cache/traces.1 (added)
-
trunk/waveforms/pass_data_waveform/config.log (added)
-
trunk/waveforms/pass_data_waveform/config.status (added)
-
trunk/waveforms/pass_data_waveform/configure (added)
Legend:
- Unmodified
- Added
- Removed
-
ossiedev/branches/deepanns/tools/OEF/.project
r9573 r9605 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <projectDescription> 3 <name>OEF </name>3 <name>OEF_Bkup</name> 4 4 <comment></comment> 5 5 <projects> -
ossiedev/branches/deepanns/tools/WaveDev/wavedev.cfg
r8729 r9605 2 2 <owdconfiguration> 3 3 <version>Beta Version 0.7.2</version> 4 <installpath>/sdr</installpath> 5 <stdidlpath></stdidlpath> 6 <ossieincludepath></ossieincludepath> 4 <installpath>/sdr/</installpath> 5 <stdidlpath>/usr/local/include/standardinterfaces/</stdidlpath> 6 <customidlpath>/usr/local/include/custominterfaces/</customidlpath> 7 <ossieincludepath>/usr/local/include/ossie/</ossieincludepath> 7 8 <homedir></homedir> 8 9 <sourcepreamble></sourcepreamble> -
ossiedev/branches/deepanns/tools/WaveDev/wavedev/MainFrame.py
r8729 r9605 1454 1454 1455 1455 # List possible resource directories (components and device) 1456 baseComponentPath = self.installPath + 'xml/' 1456 # NOTE: use CF::FileManager to obtain file location 1457 baseComponentPath = self.installPath + 'dom/xml/' 1458 baseDevicePath = self.installPath + 'dev/xml/' 1459 if os.path.isdir(baseDevicePath): 1460 for d in os.listdir(baseDevicePath): 1461 if d != 'dtd': 1462 resList.append( (baseDevicePath,d) ) 1463 else: 1464 errorMsg(self,"No devices could be found in the following directory: " + baseDevicePath) 1465 return 1466 1457 1467 if os.path.isdir(baseComponentPath): 1458 1468 for r in os.listdir(baseComponentPath): … … 1460 1470 resList.append( (baseComponentPath,r) ) 1461 1471 else: 1462 errorMsg(self,"No component resources could be found in : " + self.installPath)1472 errorMsg(self,"No component resources could be found in the following directory: " + baseComponentPath) 1463 1473 return 1464 1474 … … 1481 1491 1482 1492 nodeList = [] 1483 if os.path.isdir(self.installPath + 'nodes'): 1484 nodeList = os.listdir(self.installPath + 'nodes') 1493 # NOTE: the use of hard coded dirs is bad juju 1494 # NOTE: use CF::FileManager to obtain file location 1495 if os.path.isdir(self.installPath + 'dev/nodes'): 1496 nodeList = os.listdir(self.installPath + 'dev/nodes') 1485 1497 else: 1486 1498 errorMsg(self, "No nodes could be found in: " + self.installPath) … … 1490 1502 1491 1503 # check for existence of DomainManager XML files 1492 nodes_root_path = self.installPath + os.path.sep + ' nodes' + os.path.sep + node_name + os.path.sep1504 nodes_root_path = self.installPath + os.path.sep + 'dev/nodes' + os.path.sep + node_name + os.path.sep 1493 1505 if not os.path.exists(nodes_root_path + 'DeviceManager.dcd.xml'): 1494 1506 errorMsg(self, "Could not find DeviceManager.dcd.xml in: " + nodes_root_path) … … 1505 1517 1506 1518 nodeName = node_name 1507 nodePath = self.installPath + ' nodes/' + nodeName + '/'1519 nodePath = self.installPath + 'dev/nodes/' + nodeName + '/' 1508 1520 1509 1521 tmpNode = importNode.getNode(nodePath,nodeName,self) -
ossiedev/branches/deepanns/tools/WaveDev/wavedev/XML_gen/component_gen.py
r8649 r9605 30 30 31 31 32 xmlpath = u' xml/'33 binpath = u' bin/'32 xmlpath = u'/xml/' 33 binpath = u'/bin/' 34 34 35 35 … … 168 168 169 169 # set the implementation id 170 # NOTE: this supports only one implementation 170 171 implementationNode = softpkgNode.getElementsByTagName("implementation")[0] 171 172 implementationNode.setAttribute("id", u'DCE:' + unicode(uuidgen.uuidgen()) ) -
ossiedev/branches/deepanns/tools/WaveDev/wavedev/XML_gen/templates/_spd.xml.tpl
r8626 r9605 19 19 <localfile name="./default/default"/> 20 20 </code> 21 <os name="Linux" version="2.6.26.3"/> 21 22 <processor name="x86"/> 22 23 </implementation> -
ossiedev/branches/deepanns/tools/WaveDev/wavedev/cfg.py
r8729 r9605 47 47 frame_obj.installPath = frame_obj.installPath + '/' 48 48 except: 49 frame_obj.installPath = " "49 frame_obj.installPath = "/sdr/" 50 50 51 51 # standard IDL path -
ossiedev/branches/deepanns/tools/WaveDev/wavedev/generate/reconf
r3181 r9605 1 1 #!/bin/sh 2 2 3 libtoolize 3 4 rm -f config.cache 4 5 aclocal -
ossiedev/branches/deepanns/tools/WaveDev/wavedev/generate/templates/basic_ports/genStructure.py
r8729 r9605 124 124 compPath = compPath + '/' 125 125 126 Flags = ["-Wall "]126 Flags = ["-Wall -I$(includedir)/ossie"] 127 127 128 128 output = open(compPath + 'Makefile.am','w') 129 129 self.info2str(output,"AM_CXXFLAGS = ",Flags,1) 130 131 tstr = "LDADD = $(libdir)/libossiecf.la $(libdir)/libossieparser.la $(libdir)/libossieidl.la $(libdir)/libstandardInterfaces.la\n" 132 output.write(tstr) 130 133 131 134 tstr = "bin_PROGRAMS = " + comp.name + "\n\n" … … 137 140 output.write(tstr) 138 141 139 tstr = "xmldir = $(prefix)/ xml/$(ossieName)\n"142 tstr = "xmldir = $(prefix)/dom/xml/$(ossieName)\n" 140 143 output.write(tstr) 141 144 142 tstr = "bindir = $(prefix)/ bin\n"145 tstr = "bindir = $(prefix)/dom/bin\n" 143 146 output.write(tstr) 144 147 … … 196 199 197 200 output = open(genPath + 'configure.ac','w') 198 tstr = "AC_INIT(" + name + ", 0.6.0)\nAM_INIT_AUTOMAKE\n\n" 201 tstr = "AC_INIT(" + name + ", 0.8.0)\nAM_INIT_AUTOMAKE\n\n" 202 output.write(tstr) 203 tstr = "AC_CONFIG_MACRO_DIR([m4])\nLT_INIT\n" 199 204 output.write(tstr) 200 205 #tstr = 'AC_PREFIX_DEFAULT("/sdr")\n\n' 201 206 tstr = 'AC_PREFIX_DEFAULT("' + installPath + '")\n\n' 202 207 output.write(tstr) 203 tstr = "AC_PROG_CXX\nAC_PROG_INSTALL\nAC_PROG_ MAKE_SET\n\n"208 tstr = "AC_PROG_CXX\nAC_PROG_INSTALL\nAC_PROG_LIBTOOL\nAC_PROG_MAKE_SET\n\n" 204 209 output.write(tstr) 205 210 tstr = "AC_HEADER_SYS_WAIT\n\nAC_FUNC_FORK\n\n" … … 220 225 tstr = 'AC_CHECK_HEADERS([omniORB4/CORBA.h], [], [AC_MSG_ERROR([cannot find omniORB4 header files])])\n\n' 221 226 output.write(tstr) 222 tstr = 'AC_CHECK_LIB([standardInterfaces], [main], [], [AC_MSG_ERROR([cannot find standardInterfaces])])\n' 223 output.write(tstr) 224 tstr = 'AC_CHECK_HEADERS([standardinterfaces/complexShort.h], [], [AC_MSG_ERROR([cannot find standardInterfaces header files])])\n\n' 225 output.write(tstr) 226 227 # TODO: Add support for sigproc 228 if False: 229 tstr = 'AC_CHECK_LIB([sigproc], [main], [], [AC_MSG_ERROR([cannot find sigproc library])])\n' 230 output.write(tstr) 231 tstr = 'AC_CHECK_HEADERS([sigproc/SigProc.h], [], [AC_MSG_ERROR([cannot find sigproc library header files])])\n\n' 232 output.write(tstr) 227 # tstr = 'AC_CHECK_LIB([standardInterfaces], [main], [], [AC_MSG_ERROR([cannot find standardInterfaces])])\n' 228 # output.write(tstr) 229 # tstr = 'AC_CHECK_HEADERS([standardinterfaces/complexShort.h], [], [AC_MSG_ERROR([cannot find standardInterfaces header files])])\n\n' 230 # output.write(tstr) 231 232 # if False: 233 # tstr = 'AC_CHECK_LIB([sigproc], [main], [], [AC_MSG_ERROR([cannot find sigproc library])])\n' 234 # output.write(tstr) 235 # tstr = 'AC_CHECK_HEADERS([sigproc/SigProc.h], [], [AC_MSG_ERROR([cannot find sigproc library header files])])\n\n' 236 # output.write(tstr) 233 237 234 238 tstr = 'AC_LANG_POP\n\n' … … 238 242 tstr = 'export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig"\n' 239 243 output.write(tstr) 240 tstr = "PKG_CHECK_MODULES(OSSIE, ossie >= 0.6.0,,exit)\n"241 output.write(tstr)244 # tstr = "PKG_CHECK_MODULES(OSSIE, ossie >= 0.6.0,,exit)\n" 245 # output.write(tstr) 242 246 tstr = 'CXXFLAGS="$CXXFLAGS $OSSIE_CFLAGS"\n' 243 247 output.write(tstr) 244 tstr = 'IDL_FLAGS="$OSSIE_CFLAGS"\nAC_SUBST(IDL_FLAGS)\n\n'245 output.write(tstr)248 # tstr = 'IDL_FLAGS="$OSSIE_CFLAGS"\nAC_SUBST(IDL_FLAGS)\n\n' 249 # output.write(tstr) 246 250 247 251 if aceFlag == True: … … 253 257 output.write(tstr) 254 258 255 tstr = 'AC_SUBST(SI_PATH)\n\n'256 output.write(tstr)259 # tstr = 'AC_SUBST(SI_PATH)\n\n' 260 # output.write(tstr) 257 261 258 262 tstr = "AC_CONFIG_FILES(Makefile" … … 954 958 #make sure there are properties first 955 959 960 ts = " "*4 + 'static int init = 0;\n' 961 output.write(ts) 962 ts = " "*4 + "if( init == 0 ) {\n" 963 ts = ts + " "*8 + "if( props.length() == 0 ) {\n" 964 ts = ts + " "*12 + 'std::cout << "configure called with invalid props.length - " << props.length() << std::endl;\n' 965 ts = ts + " "*12 + "return;\n" 966 ts = ts + " "*8 + "}\n" 967 output.write(ts) 968 969 ts = " "*8 + "propertySet.length(props.length());" 970 ts = " "*8 + "for( int j=0; j < props.length(); j++ ) {\n" 971 ts = " "*12 + "propertySet[j].id = CORBA::string_dup(props[j].id);" 972 ts = " "*12 + "propertySet[j].value = props[j].value;" 973 ts = " "*8 + "}\n" 974 ts = " "*8 + "init = 1;" 975 ts = " "*4 + "}\n\n" 976 output.write(ts) 977 978 956 979 ts = " "*4 + 'std::cout << "props length : " << props.length() << std::endl;\n\n' 957 ts = ts + " "*4 + "for ( unsignedint i = 0; i <props.length(); i++)\n"980 ts = ts + " "*4 + "for ( int i = 0; i <props.length(); i++)\n" 958 981 ts = ts + " "*4 + "{\n"; output.write(ts) 959 982 ts = " "*8 + 'std::cout << "Property id : " << props[i].id << std::endl;\n\n' … … 982 1005 ts = " "*12 + 'props[i].value >>= simple_temp;\n'; 983 1006 ts = ts + " "*12 + 'simple_' + str(simpleCount) + '_value = simple_temp;\n'; 1007 ts = ts + " "*12 + "for( int k = 0; k < propertySet.length(); k++ ) {\n" 1008 ts = ts + " "*16 + "if( strcmp(propertySet[k].id, props[i].id) == 0 ) {\n" 1009 ts = ts + " "*20 + "propertySet[i].value = props[i].value;\n" 1010 ts = ts + " "*20 + "break;\n" 1011 ts = ts + " "*16 + "}\n" 1012 ts = ts + " "*12 + "}\n" 984 1013 ts = ts + " "*8 + "}\n\n" 985 1014 output.write(ts) … … 1182 1211 inCount = 0; 1183 1212 outCount = 0; 1184 ts = " "*4 + "while( 1)\n" + " "*4 + "{\n";1213 ts = " "*4 + "while(continue_processing())\n" + " "*4 + "{\n"; 1185 1214 output.write(ts) 1186 1215 … … 1331 1360 continue 1332 1361 #declare input values short, shortsequence, float, floatSequence, unsupported 1333 #close the infinatewhile loop1362 #close while loop 1334 1363 1335 1364 ts = " "*4 + "}\n"; output.write(ts) -
ossiedev/branches/deepanns/tools/WaveDev/wavedev/generate/templates/basic_ports/sampleComp.cpp
r5961 r9605 10 10 11 11 //Create the thread for the writer's processing function 12 processing_thread = new omni_thread(Run, (void *) this);12 //processing_thread = new omni_thread(Run, (void *) this); 13 13 14 14 //Start the thread containing the writer's processing function 15 processing_thread->start();15 //processing_thread->start(); 16 16 17 17 } … … 43 43 { 44 44 DEBUG(3, __IncludeFile__, "start() invoked") 45 omni_mutex_lock l(processing_mutex); 46 if( false == thread_started ) 47 { 48 thread_started = true; 49 // Create the thread for the writer's processing function 50 processing_thread = new omni_thread(Run, (void *) this); 51 52 // Start the thread containing the writer's processing function 53 processing_thread->start(); 54 } 45 55 } 46 56 … … 48 58 { 49 59 DEBUG(3, __IncludeFile__, "stop() invoked") 60 omni_mutex_lock l(processing_mutex); 61 thread_started = false; 50 62 } 51 63 … … 62 74 { 63 75 DEBUG(3, __IncludeFile__, "initialize() invoked") 76 } 77 78 void __Class_name__::query( CF::Properties & configProperties ) throw (CORBA::SystemException, CF::UnknownProperties) 79 { 80 if( configProperties.length() == 0 ) 81 { 82 configProperties.length( propertySet.length() ); 83 for( int i = 0; i < propertySet.length(); i++ ) 84 { 85 configProperties[i].id = CORBA::string_dup( propertySet[i].id ); 86 configProperties[i].value = propertySet[i].value; 87 } 88 return; 89 } else { 90 for( int i = 0; i < configProperties.length(); i++ ) { 91 for( int j = 0; j < propertySet.length(); j++ ) { 92 if( strcmp(configProperties[i].id, propertySet[i].id) == 0 ) { 93 configProperties[i].value = propertySet[i].value; 94 } 95 } 96 } 97 } // end if-else 64 98 } 65 99 … … 83 117 } 84 118 119 bool __Class_name__::continue_processing() 120 { 121 omni_mutex_lock l(processing_mutex); 122 return thread_started; 123 } 124 85 125 __ACE_SVC_DEF__ 86 126 -
ossiedev/branches/deepanns/tools/WaveDev/wavedev/generate/templates/basic_ports/sampleComp.h
r3319 r9605 47 47 void initialize() throw (CF::LifeCycle::InitializeError, CORBA::SystemException); 48 48 49 /// Query properties from .prf.xml 50 void query(CF::Properties&) 51 throw (CORBA::SystemException, 52 CF::UnknownProperties); 53 49 54 /// Configures properties read from .prf.xml 50 55 void configure(const CF::Properties&) … … 64 69 /// Main signal processing method 65 70 void ProcessData(); 71 bool continue_processing(); 72 volatile bool thread_started; 73 omni_mutex processing_mutex; 66 74 67 75 omni_condition *component_running; ///< for component shutdown -
ossiedev/branches/deepanns/tools/WaveDev/wavedev/importNode.py
r8046 r9605 93 93 del localfileNodeList 94 94 break 95 pathSPD = parent.installPath + local_SPD95 pathSPD = parent.installPath + "dev/" + local_SPD 96 96 97 97 if not os.path.exists(pathSPD): … … 104 104 #pathSCD = "/sdr/sca/xml/"+newComp.baseName+"/"+doc_spd.softpkg.descriptor.localfile.name 105 105 localfileNode = softpkgNode.getElementsByTagName("localfile")[0] 106 pathSCD = parent.installPath + " /" + localfileNode.getAttribute("name")106 pathSCD = parent.installPath + "dev" + localfileNode.getAttribute("name") 107 107 108 108 doc_scd = xml.dom.minidom.parse(pathSCD) … … 119 119 tmpInt = getInterface( node.getAttribute("repid"), tmpName ) 120 120 if tmpInt == None: 121 errorMsg(parent, "No repid found in ProvidesPort") 121 122 return None 122 123 portTypeNodeList = node.getElementsByTagName("porttype") … … 130 131 tmpInt = getInterface( node.getAttribute("repid"), tmpName ) 131 132 if tmpInt == None: 133 errorMsg(parent, "No repid fond in UsesPort") 132 134 return None 133 135 portTypeNodeList = node.getElementsByTagName("porttype") -
ossiedev/branches/deepanns/tools/alf/ALF.py
r9541 r9605 54 54 55 55 import connectTool 56 from namingserviceDialog import NamingserviceDialog 56 57 import compform 57 58 import shutil … … 63 64 # events with a particular action 64 65 [wxID_TOOLBAR_TIMING_TOOL, wxID_TOOLBAR_REFRESH_TOOL, 65 wxID_TOOLBAR_TIMING_DISPLAY_TOOL, wxID_TOOLBAR_CONNECT_TOOL ] = [66 wx.NewId() for x in range(4)]66 wxID_TOOLBAR_TIMING_DISPLAY_TOOL, wxID_TOOLBAR_CONNECT_TOOL, 67 wxID_TOOLBAR_NAMINGSERVICE_DIALOG] = [wx.NewId() for x in range(5)] 67 68 68 69 [wxID_NSBOX_POPUP_DISPLAY, wxID_NSBOX_POPUP_START, … … 140 141 self.timing_display = None 141 142 self.tools = None 143 self.connect_frame = None 142 144 self.waveform_displays = {} 143 145 146 # WARNING: if alf is restarted and waveforms are left running 147 # counters will overlap and cause a crash :/ 144 148 self.compform_counter = 0 145 149 … … 148 152 self.rootContext = None 149 153 self.domMgr = None 154 155 self.namingservice = ['127.0.0.1', ''] 150 156 self.init_CORBA() 151 157 … … 158 164 self.availableWaveforms = {} 159 165 self.availableComponents = {} 166 self.connections = {'127.0.0.1': []} 160 167 161 168 if self.rootContext != None: … … 167 174 """Initialize an orb and try to connect to the DomainManager""" 168 175 169 orb = CORBA.ORB_init(sys.argv, CORBA.ORB_ID)170 obj = orb.resolve_initial_references("NameService")171 176 try: 172 self.rootContext = obj._narrow(CosNaming.NamingContext) 177 sys.argv.index('-ORBInitRef') 178 except ValueError: 179 sys.argv.append('-ORBInitRef') 180 sys.argv.append('NameService=corbaname::'+self.namingservice[0]) 181 182 try: 183 self.orb.destroy() 173 184 except: 174 ts = "Failed to narrow the root naming context.\n" 175 ts += "Are the Naming Service and nodeBooter running?" 176 errorMsg(self, ts) 177 self.rootContext = None 178 self.domMgr = None 185 pass 186 187 self.orb = CORBA.ORB_init(sys.argv, CORBA.ORB_ID) 188 self.obj = self.orb.resolve_initial_references("NameService") 189 try: 190 self.rootContext = self.obj._narrow(CosNaming.NamingContext) 191 except: 192 newNS = False 193 while not newNS: 194 ts = "Failed to narrow the root naming context.\n" 195 ts += "Are the Naming Service and nodeBooter running on "+self.namingservice[0]+"?" 196 errorMsg(self, ts) 197 self.namingservice_dialog = NamingserviceDialog(self) 198 if self.namingservice_dialog.GetReturnCode() == 1: 199 newNS = True 179 200 return 180 201 … … 188 209 189 210 try: 190 obj = self.rootContext.resolve(name)211 self.obj = self.rootContext.resolve(name) 191 212 except: 192 213 errorMsg(self,"DomainManger name not found") … … 194 215 return 195 216 196 self.domMgr = obj._narrow(CF.DomainManager)217 self.domMgr = self.obj._narrow(CF.DomainManager) 197 218 198 219 #--------------------------------------------------------------- … … 334 355 toolbar.AddSimpleTool(wxID_TOOLBAR_CONNECT_TOOL,connect_bmp,shortHelpString="Connect Tool") 335 356 336 357 toolbar.AddSeparator() 358 359 net_img = wx.Image(root + '/images/network.png',type=wx.BITMAP_TYPE_PNG) 360 net_img.Rescale(24,24) 361 net_bmp = wx.BitmapFromImage(net_img) 362 toolbar.AddSimpleTool(wxID_TOOLBAR_NAMINGSERVICE_DIALOG,net_bmp,shortHelpString="Select Naming Service") 337 363 338 364 toolbar.Bind(wx.EVT_TOOL, self.OnToolBarClick) … … 369 395 370 396 elif event.GetId() == wxID_TOOLBAR_CONNECT_TOOL: 371 self.connect_frame = connectTool.create(self) 397 if self.connect_frame: 398 self.connect_frame.Raise() 399 else: 400 self.connect_frame = connectTool.create(self) 401 402 elif event.GetId() == wxID_TOOLBAR_NAMINGSERVICE_DIALOG: 403 self.namingservice_dialog = NamingserviceDialog(self) 372 404 373 405 # Refresh the display: Naming Service, Waveform List, and Canvas … … 484 516 return 485 517 518 # NOTE: use CF::FileManager list to find SAD file 486 519 sadfile = app._get_profile() 487 520 sadfile = sadfile.replace('//','') 488 521 wav_name = sadfile.replace('.sad.xml','') 489 sadpath = '/sdr/' + sadfile 522 # NOTE: this is not a good idea 523 sadpath = '/sdr/dom/' + sadfile 490 524 491 525 self.active_wave = importWaveform.getWaveform(sadpath, self, self.Available_Ints) … … 510 544 return 511 545 512 appSeq = self.domMgr._get_applications() 546 try: 547 appSeq = self.domMgr._get_applications() 548 except: 549 newNS = False 550 while not newNS: 551 ts = 'Could not got a list of applications from the domain manager. Is nodeBooter running on this system?' 552 errorMsg(self, ts) 553 self.namingservice_dialog = NamingserviceDialog(self) 554 if self.namingservice_dialog.GetReturnCode() == 1: 555 newNS = True 556 return 557 558 513 559 members = dom_context.list(1000) 514 560 for m in members[0]: … … 697 743 available_dev_seq.append(curr_dev._get_identifier()) 698 744 #print curr_dev._get_identifier() 699 700 clean_SAD = absolute_name_SAD.split("/sdr ")745 # NOTE: use CF::FileManager to obtain file location 746 clean_SAD = absolute_name_SAD.split("/sdr/dom") 701 747 name_SAD = clean_SAD[1] 702 748 self.domMgr.installApplication(name_SAD) … … 760 806 # self.refreshDisplay() 761 807 self.DisplayInstalledWaveforms() 808 if self.connect_frame: 809 self.connect_frame.refreshDisplay() 762 810 763 811 return app … … 778 826 self.compform_counter = self.compform_counter + 1 779 827 780 tmp_dir_name = "/sdr/ _tmp_alf_waveforms/" # this is where I put my temporary828 tmp_dir_name = "/sdr/dom/_tmp_alf_waveforms/" # this is where I put my temporary 781 829 # xml files 782 830 tmp_wave_name = "_" + compName + str(self.compform_counter) … … 788 836 os.mkdir(tmp_dir_name) 789 837 except: 790 errorMsg(self,"Cannot create temporary directory in the waveform directory.\n" + 791 "You may need to change the temporary directory to one that you have write permissions to") 792 793 #Ticket#272: loop into /sdr/_tmp_alf_waveforms/ directory and see if tmp waveforms exists already 794 #with the same name. If found, increment the counter and form a new name for the temp 795 #waveform. Repeat this until you find a new name. 796 while (os.path.exists(tmp_dir_name + tmp_wave_name) == True ): 797 print tmp_wave_name + " exists already...Regenerating new name " 798 self.compform_counter = self.compform_counter + 1 799 tmp_wave_name = "_" + compName + str(self.compform_counter) 800 838 errorMsg(self,"Cannot create temporary directory in the waveform directory. You may need to change the temporary directory to one that you have write permissions to") 801 839 802 840 if os.path.exists(tmp_dir_name + tmp_wave_name) == False: … … 804 842 os.mkdir(tmp_dir_name + tmp_wave_name) 805 843 except: 806 errorMsg(self,"Cannot create temporary directory in the waveform directory.\n" 807 "You may need to change the temporary directory to one that you have write permissions to") 844 errorMsg(self,"Cannot create temporary directory in the waveform directory. You may need to change the temporary directory to one that you have write permissions to") 808 845 return 809 846 … … 818 855 819 856 tmp_dir_name = tmp_dir_name + tmp_wave_name + "/" 857 self.DisplayAvailableWaveforms() 820 858 self.InstallWaveform(tmp_wave_name + ".sad.xml", 821 859 tmp_dir_name + tmp_wave_name + ".sad.xml", … … 852 890 app_ref = self.nsBox.GetPyData(selection) 853 891 # self.domMgr.uninstallApplication(app_ref._get_identifier()) # not sure if we need this or not 892 893 # Remove any connections we made with the connect tool to/from this waveform 894 for connection in reversed(self.connections[self.namingservice[0]]): 895 if waveform_name in connection['appNames']: 896 try: 897 resourceRef = self.rootContext.resolve(connection['name']) 898 resourceHandle = resourceRef._narrow(CF.Resource) 899 portReference = resourceHandle.getPort(connection['port']) 900 portHandle = portReference._narrow(CF.Port) 901 portHandle.disconnectPort(connection['id']) 902 self.connections[self.namingservice[0]].remove(connection) 903 except e: 904 print e 905 dial = wx.MessageDialog(self, 'Disconnect failed.', 'Failed', wx.OK) 906 dial.ShowModal() 907 908 854 909 app_ref.releaseObject() 855 910 # self.refreshDisplay() 856 911 self.DisplayInstalledWaveforms() 857 912 913 if self.connect_frame: 914 self.connect_frame.refreshDisplay() 915 858 916 859 917 def BuildDevSeq(self, dasXML): … … 938 996 ogl.ShapeCanvas.__init__(self, parent) 939 997 940 maxWidth = 2100941 maxHeight = 1 000998 maxWidth = 3000 999 maxHeight = 1500 942 1000 self.SetScrollbars(20, 20, maxWidth/20, maxHeight/20) 943 1001 … … 967 1025 shape.SetCanvas(None) 968 1026 shape.Destroy() 969 self.diagram.Destroy() 970 971 1027 self.diagram.Destroyparent 972 1028 #---------------------------------------------------------------------- 973 1029 -
ossiedev/branches/deepanns/tools/alf/compform.py
r8264 r9605 21 21 '''generates a waveform out of a single component 22 22 command line inputs: 23 1. component name (in /sdr/ xml)23 1. component name (in /sdr/dom/xml) 24 24 2. directory to put the waveform source code 25 25 3. waveform name (optional). if you do not specify waveform name, … … 116 116 os.mkdir(genPath+'/'+waveName) 117 117 118 comp_in = "/sdr/xml/" + comp_in 118 # NOTE: use CF::FileManager to obtain file location 119 comp_in = "/sdr/dom/xml/" + comp_in 119 120 120 121 my_compform = compform(comp_in, genPath, waveName) -
ossiedev/branches/deepanns/tools/alf/config/alf.cfg
r8158 r9605 2 2 <alfconfiguration> 3 3 <version>Version 0.5.0</version> 4 <installpath>/sdr </installpath>4 <installpath>/sdr/dom</installpath> 5 5 <stdidlpath></stdidlpath> 6 6 <ossieincludepath></ossieincludepath> -
ossiedev/branches/deepanns/tools/alf/connectTool.py
r8264 r9605 19 19 import wx 20 20 21 from omniORB import CORBA # use this for the CORBA orb stuff 22 # (pushing packets) 21 import re 23 22 import sys # for system commands (e.g., argv and argc stuff) 24 23 import CosNaming # narrowing naming context stuff 24 import random # for generating random connection id 25 25 26 26 try: #mac / older OSSIE versions … … 35 35 36 36 import loadAutomationFile 37 import importWaveform 37 38 38 39 def create(parent): 39 40 ''' returns a wx frame representing the connect tool''' 40 return MainFrame(parent, -1) 41 win = MainFrame(parent, -1) 42 win.CenterOnParent() 43 return win 41 44 42 45 … … 59 62 self.alfFrameRef = parent 60 63 61 self._init_CORBA() # will get me an orb and a reference to the Domain Manager62 63 64 self._init_ctrls(self.alfFrameRef) # initialize the wx stuff 64 65 … … 66 67 # as a standalone without OSSIE to do 67 68 # design work 68 self.getAvailableConnections() 69 self.setAvailableApplications() 70 71 self.uPortNameEditor.write('(uses port name)') 72 self.pPortNameEditor.write('(provides port name)') 69 self.refreshDisplay() 73 70 74 71 # This argument sets a default value for the automations file … … 99 96 self.Show(True) 100 97 101 102 def _init_CORBA(self):103 """Initialize an orb and try to connect to the DomainManager"""104 105 self.orb = CORBA.ORB_init(sys.argv, CORBA.ORB_ID)106 self.obj = self.orb.resolve_initial_references("NameService")107 try:108 self.rootContext = self.obj._narrow(CosNaming.NamingContext)109 except:110 ts = "Failed to narrow the root naming context.\n"111 ts += "Are the Naming Service and nodeBooter running?"112 print ts113 self.rootContext = None114 self.domMgr = None115 return116 117 if self.rootContext is None:118 print "Failed to narrow the root naming context"119 self.domMgr = None120 return121 122 name = [CosNaming.NameComponent("DomainName1",""),123 CosNaming.NameComponent("DomainManager","")]124 125 try:126 self.obj = self.rootContext.resolve(name)127 except:128 print "DomainManger name not found"129 self.domMgr = None130 return131 132 self.domMgr = self.obj._narrow(CF.DomainManager)133 134 self.domain = "DomainName1"135 136 137 138 98 def _init_ctrls(self, prnt): 139 99 ''' Initialize the wx controls''' … … 152 112 # -------------------------------------------------------------------- 153 113 # create the top sizer 154 # Uses editors:155 self.uPortNameEditor = wx.TextCtrl(id=-1,156 name=u'uPortNameEditor',157 size=wx.Size(250, 30),158 parent=panel,159 style=0, value=u'')160 self.pPortNameEditor = wx.TextCtrl(id=-1,161 name=u'pPortNameEditor',162 parent=panel,163 size=wx.Size(250, 30),164 style=0, value=u'')165 114 166 115 … … 213 162 parent=panel, 214 163 size=wx.Size(250, 30), style=0) 164 self.uCompChoice.Bind(wx.EVT_CHOICE, self.OnUCompSelection, id =-1) 215 165 self.pCompChoice = wx.Choice(choices=[' '], id=-1, 216 166 name=u'pCompChoice', 217 167 parent=panel, 218 168 size=wx.Size(250, 30), style=0) 219 220 221 # port choices 222 # self.uPortChoice = wx.Choice(choices=[' '], id=-1,223 # name=u'uPortChoice',224 # parent=panel,225 # size=wx.Size(250, 30), style=0)226 #self.pPortChoice = wx.Choice(choices=[' '], id=-1,227 # name=u'pPortChoice',228 # parent=panel,229 # size=wx.Size(250, 30), style=0)230 169 self.pCompChoice.Bind(wx.EVT_CHOICE, self.OnPCompSelection, id =-1) 170 171 172 # port choices 173 self.uPortChoice = wx.Choice(choices=[' '], id=-1, 174 name=u'uPortChoice', 175 parent=panel, 176 size=wx.Size(250, 30), style=0) 177 self.pPortChoice = wx.Choice(choices=[' '], id=-1, 178 name=u'pPortChoice', 179 parent=panel, 180 size=wx.Size(250, 30), style=0) 231 181 232 182 # connect button 233 183 self.ConnectBtn = wx.Button(id = -1, label='Connect', 234 parent=panel, 235 size=wx.Size(145, 50)) 184 parent=panel) 236 185 self.ConnectBtn.Bind(wx.EVT_BUTTON, self.OnConnectBtn, id=-1) 237 186 blankLabel3 = wx.StaticText(label = '', parent = panel) … … 243 192 self.appLabel, self.uAppChoice, self.pAppChoice, 244 193 self.compLabel, self.uCompChoice, self.pCompChoice, 245 # self.portLabel, self.uPortChoice, self.pPortChoice, 246 self.portLabel, self.uPortNameEditor, self.pPortNameEditor, 194 self.portLabel, self.uPortChoice, self.pPortChoice, 247 195 blankLabel3, self.ConnectBtn, blankLabel4]) 248 196 # -------------------------------------------------------------------- … … 251 199 # -------------------------------------------------------------------- 252 200 # second sizer 201 vSizer1 = wx.BoxSizer(wx.VERTICAL) 202 self.connectionsLabel = wx.StaticText(parent = panel, 203 label = "Connections:") 204 self.connectionsListBox = wx.ListBox(parent=panel, 205 size=wx.Size(700,150), 206 style=wx.LB_MULTIPLE, 207 ) 208 self.DisconnectBtn = wx.Button(parent=panel, 209 label='Disconnect') 210 self.DisconnectBtn.Bind(wx.EVT_BUTTON, self.OnDisconnectBtn) 211 vSizer1.Add(self.connectionsLabel, 0, wx.ALL, 5) 212 vSizer1.Add(self.connectionsListBox, 0, wx.ALL, 5) 213 vSizer1.Add(self.DisconnectBtn, 0, wx.ALL, 5) 214 # -------------------------------------------------------------------- 215 216 217 # -------------------------------------------------------------------- 218 # third sizer 253 219 hSizer1 = wx.BoxSizer(wx.HORIZONTAL) 254 220 self.automationFileEditor = wx.TextCtrl(id=-1, 255 221 name=u'automationFileEditor', 256 222 parent=panel, 257 size=wx.Size( 250, 30),223 size=wx.Size(350, 30), 258 224 style=0, value=u'') 225 self.browseAutomationBtn = wx.Button(id = -1, 226 label='Browse', 227 parent=panel, 228 size=wx.Size(80, 30)) 229 self.browseAutomationBtn.Bind(wx.EVT_BUTTON, 230 self.onBrowseAutomationButton, 231 id=-1) 259 232 self.loadAutomationBtn = wx.Button(id = -1, 260 233 label='Load Automation File', 261 234 parent=panel, 262 size=wx.Size( 210, 50))235 size=wx.Size(180, 30)) 263 236 self.loadAutomationBtn.Bind(wx.EVT_BUTTON, 264 237 self.onLoadAutomationFileButton, 265 238 id=-1) 266 239 hSizer1.Add(self.automationFileEditor, 0, wx.ALL, 5) 240 hSizer1.Add(self.browseAutomationBtn, 0, wx.ALL, 5) 267 241 hSizer1.Add(self.loadAutomationBtn, 0, wx.ALL, 5) 268 242 # -------------------------------------------------------------------- … … 281 255 282 256 mainSizer.Add(flexSizer1, 0 , wx.EXPAND|wx.ALL, 10) 283 284 257 mainSizer.Add(wx.StaticLine(panel), 0 , wx.EXPAND|wx.TOP|wx.BOTTOM, 5) 285 258 mainSizer.Add(vSizer1, 0, wx.EXPAND|wx.ALL, 10) 259 mainSizer.Add(wx.StaticLine(panel), 0 , wx.EXPAND|wx.TOP|wx.BOTTOM, 5) 286 260 mainSizer.Add(hSizer1, 0, wx.EXPAND|wx.ALL, 10) 287 261 … … 291 265 292 266 267 def refreshDisplay(self): 268 self.getAvailableConnections() 269 self.setAvailableApplications() 270 self.connectionsListBox.SetItems([x['display'] for x in self.alfFrameRef.connections[self.alfFrameRef.namingservice[0]]]) 271 293 272 294 273 def getAvailableConnections(self): 295 274 ''' Get a list of objects I can potentially connect to''' 296 275 297 # Set the application selection to an instruction:298 #self.uAppChoice.Clear()299 #self.uAppChoice.Append('(Select Uese Waveform)')300 #self.pAppChoice.Clear()301 #self.pAppChoice.Append('(Select Provides Waveform)')302 303 276 # Initialize my dictionary 304 277 self.avail_connects = {} 305 278 306 279 dom_obj = self.alfFrameRef.rootContext.resolve( 307 [CosNaming.NameComponent("DomainName1","")])280 [CosNaming.NameComponent("DomainName1","")]) 308 281 dom_context = dom_obj._narrow(CosNaming.NamingContext) 309 282 if dom_context is None: … … 312 285 # get a list of applications running in the domain 313 286 appSeq = self.alfFrameRef.domMgr._get_applications() 314 members = dom_context.list(1000) 287 apps = {} 288 for app in appSeq: 289 sadfile = app._get_profile() 290 sadfile = sadfile.replace('//','') 291 # NOTE: Use CF::FileManager to obtain location 292 sadpath = '/sdr/dom/' + sadfile 293 294 waveform = importWaveform.getWaveform(sadpath, self.alfFrameRef, self.alfFrameRef.Available_Ints) 295 for comp in waveform.components: 296 for port in comp.ports: 297 if apps.has_key(waveform.name): 298 if apps[waveform.name].has_key(comp.name): 299 apps[waveform.name][comp.name][port.name] = port.type 300 else: 301 apps[waveform.name][comp.name] = {port.name: port.type} 302 else: 303 apps[waveform.name] = {comp.name: {port.name: port.type}} 304 305 p = re.compile("^(OSSIE::.+)_\d+$") 306 members = dom_context.list(1000) 315 307 for m in members[0]: 316 308 wav_name = str(m.binding_name[0].id) 309 317 310 wav_obj = dom_context.resolve( 318 311 [CosNaming.NameComponent(wav_name,"")]) … … 321 314 continue 322 315 323 contextApp = None 324 foundApp = False 325 for app in appSeq: 326 compNameCon = app._get_componentNamingContexts() 327 328 329 for compElementType in compNameCon: 330 if wav_name in compElementType.elementId: 331 comp_name = compElementType.elementId.split("/") 332 comp_name = comp_name[2] 333 334 if self.avail_connects.has_key(wav_name): 335 self.avail_connects[wav_name].append(comp_name) 336 else: 337 self.avail_connects[wav_name] = [comp_name] 338 waveformApp = app 339 foundApp = True 340 341 if not foundApp: 342 print "Could not find associated application for: " + wav_name 343 continue 344 316 m = p.match(wav_name) 317 if m: 318 if apps[m.group(1)]: 319 self.avail_connects[wav_name] = apps[m.group(1)] 320 else: 321 print "Could not find associated application for: " + wav_name 322 continue 345 323 346 324 def setAvailableApplications(self): … … 362 340 self.pAppChoice.SetSelection(0) 363 341 342 self.uCompChoice.Clear(); 343 self.pCompChoice.Clear(); 344 self.uPortChoice.Clear(); 345 self.pPortChoice.Clear(); 346 347 364 348 def OnPAppSelection(self, event): 365 349 ''' Should occur when the user has selected a provides application. … … 369 353 choice = str(self.pAppChoice.GetStringSelection()) 370 354 self.pCompChoice.Clear() 371 self.pCompChoice.Append('(Choose Component)') 372 for c in self.avail_connects[choice]: 373 self.pCompChoice.Append(c) 374 self.pCompChoice.SetSelection(0) 355 self.pPortChoice.Clear() 356 if choice != '(Choose Application)': 357 self.pCompChoice.Append('(Choose Component)') 358 for c in self.avail_connects[choice].keys(): 359 self.pCompChoice.Append(c) 360 self.pCompChoice.SetSelection(0) 361 375 362 event.Skip() 376 363 … … 382 369 choice = str(self.uAppChoice.GetStringSelection()) 383 370 self.uCompChoice.Clear() 384 self.uCompChoice.Append('(Choose Component)') 385 for c in self.avail_connects[choice]: 386 self.uCompChoice.Append(c) 387 self.uCompChoice.SetSelection(0) 371 self.uPortChoice.Clear() 372 if choice != '(Choose Application)': 373 self.uCompChoice.Append('(Choose Component)') 374 for c in self.avail_connects[choice].keys(): 375 self.uCompChoice.Append(c) 376 self.uCompChoice.SetSelection(0) 377 388 378 event.Skip() 389 379 390 380 def OnPCompSelection(self, event): 381 ''' Should occur when the user has selected a provides component. 382 Adds a list of the available ports in the selected proviedes 383 component to the wx.choice for provides ports.''' 384 385 app_choice = str(self.pAppChoice.GetStringSelection()) 386 comp_choice = str(self.pCompChoice.GetStringSelection()) 387 self.pPortChoice.Clear() 388 if comp_choice != '(Choose Component)': 389 self.pPortChoice.Append('(Choose Port)') 390 for p,type in self.avail_connects[app_choice][comp_choice].iteritems(): 391 if type == "Provides": 392 self.pPortChoice.Append(p) 393 self.pPortChoice.SetSelection(0) 394 395 event.Skip() 396 397 def OnUCompSelection(self, event): 398 ''' Should occur when the user has selected a uses component. 399 Adds a list of the usesavailable ports in the selected 400 component to the wx.choice for uses ports.''' 401 402 app_choice = str(self.uAppChoice.GetStringSelection()) 403 comp_choice = str(self.uCompChoice.GetStringSelection()) 404 self.uPortChoice.Clear() 405 if comp_choice != '(Choose Component)': 406 self.uPortChoice.Append('(Choose Port)') 407 for p,type in self.avail_connects[app_choice][comp_choice].iteritems(): 408 if type == "Uses": 409 self.uPortChoice.Append(p) 410 self.uPortChoice.SetSelection(0) 411 412 event.Skip() 391 413 392 414 def OnConnectBtn(self,event): … … 395 417 Then calls connect method.''' 396 418 397 pPortName = str(self.pPortNameEditor.GetLineText(0)) 398 uPortName = str(self.uPortNameEditor.GetLineText(0)) 399 419 uPortName = str(self.uPortChoice.GetStringSelection()) 420 pPortName = str(self.pPortChoice.GetStringSelection()) 400 421 uAppInstName = str(self.uAppChoice.GetStringSelection()) 401 422 pAppInstName = str(self.pAppChoice.GetStringSelection()) … … 403 424 pCompInstName = str(self.pCompChoice.GetStringSelection()) 404 425 405 self.Connect( uAppInstName, uCompInstName, uPortName, 406 pAppInstName, pCompInstName, pPortName) 407 426 if not uPortName or not pPortName: 427 dial = wx.MessageDialog(self, 'Please select both a uses port and provides port to make a connection.', 'Ports Not Selected', wx.OK) 428 dial.ShowModal() 429 else: 430 self.Connect( uAppInstName, uCompInstName, uPortName, 431 pAppInstName, pCompInstName, pPortName) 432 408 433 event.Skip() 409 434 … … 412 437 pAppInstName, pCompInstName, pPortName): 413 438 414 415 if self.rootContext is None:439 rootContext = self.GetParent().rootContext 440 if rootContext is None: 416 441 print "Failed to narrow the root naming context" 417 442 sys.exit(1) … … 419 444 # get a reference to the provides port: 420 445 # don't forget OSSIE:: in waveform name 421 pname = [CosNaming.NameComponent( self.domain,''),446 pname = [CosNaming.NameComponent('DomainName1',''), 422 447 CosNaming.NameComponent(pAppInstName,''), 423 448 CosNaming.NameComponent(pCompInstName,'')] 424 449 425 450 try: 426 pResourceRef = self.rootContext.resolve(pname)451 pResourceRef = rootContext.resolve(pname) 427 452 except: 428 453 print "provides resource not found" … … 435 460 # get a reference to the uses port: 436 461 # don't forget OSSIE:: in waveform name 437 uname = [CosNaming.NameComponent( self.domain,''),462 uname = [CosNaming.NameComponent('DomainName1',''), 438 463 CosNaming.NameComponent(uAppInstName,''), 439 464 CosNaming.NameComponent(uCompInstName,'')] 440 465 try: 441 uResourceRef = self.rootContext.resolve(uname)466 uResourceRef = rootContext.resolve(uname) 442 467 443 468 except: … … 458 483 # make up some arbitrary connectionid that will be used for 459 484 # disconnectPort later 460 uPortHandle.connectPort(pPortReference, 461 "thisismyconnectionid_" + uPortName) 462 463 # It is important to the the user know that the connection is made 464 # otherwise it looks like the connect button is not responding 465 print "Connection made successfully." 466 485 try: 486 connection_id = str(random.randint(100000,999999)) + "_" + uPortName 487 uPortHandle.connectPort(pPortReference, connection_id) 488 489 connection_display = uAppInstName + ":" + uCompInstName + ":" + uPortName + "-->" + pAppInstName + ":" + pCompInstName + ":" + pPortName 490 connection = { 491 'name': uname, 492 'port': uPortName, 493 'id': connection_id, 494 'appNames': [uAppInstName, pAppInstName], 495 'display': connection_display, 496 } 497 self.alfFrameRef.connections[self.alfFrameRef.namingservice[0]].append(connection) 498 self.connectionsListBox.Append(connection['display']) 499 except e: 500 print e 501 dial = wx.MessageDialog(self, 'Connection failed.', 'Failed', wx.OK) 502 dial.ShowModal() 503 504 def OnDisconnectBtn(self,event): 505 for x in reversed(self.connectionsListBox.GetSelections()): 506 connection = self.alfFrameRef.connections[self.alfFrameRef.namingservice[0]][x] 507 try: 508 rootContext = self.GetParent().rootContext 509 resourceRef = rootContext.resolve(connection['name']) 510 resourceHandle = resourceRef._narrow(CF.Resource) 511 portReference = resourceHandle.getPort(connection['port']) 512 if portReference is None: 513 print "Failed to get port reference for disconnect." 514 return 515 portHandle = portReference._narrow(CF.Port) 516 portHandle.disconnectPort(connection['id']) 517 del self.alfFrameRef.connections[self.alfFrameRef.namingservice[0]][x] 518 self.connectionsListBox.Delete(x) 519 except e: 520 print e 521 dial = wx.MessageDialog(self, 'Disconnect failed.', 'Failed', wx.OK) 522 dial.ShowModal() 523 524 def onBrowseAutomationButton(self,event): 525 ''' This is what happens when the Browse button is pressed. 526 Will load a file dialog and allow the user to browse for an 527 automation file.''' 528 dlg = wx.FileDialog(self, "Choose automation file", "", "", "XML Files (*.xml)|*.xml|All Files|*", wx.FD_OPEN) 529 if dlg.ShowModal() == wx.ID_OK: 530 filename = dlg.GetFilename() 531 directory = dlg.GetDirectory() 532 self.automationFileEditor.Clear() 533 self.automationFileEditor.write(directory + filename) 534 dlg.Destroy() 467 535 468 536 def onLoadAutomationFileButton(self,event): -
ossiedev/branches/deepanns/tools/alf/importWaveform.py
r8264 r9605 74 74 localfilename = componentfileNode.getElementsByTagName("localfile")[0].getAttribute("name") 75 75 #tmps = cf.localfile.name.replace('../..', '/sdr') # get absolute path 76 tmps = "/sdr/" + localfilename 76 # NOTE: use CF::FileManager to list to find SPD file 77 tmps = "/sdr/dom" + localfilename 77 78 base_name = getBaseName(tmps) 78 79 # TODO: this next line is a dirty hack: use the python os module to strip name from path -
ossiedev/branches/deepanns/tools/alf/loadAutomationFile.py
r8264 r9605 51 51 self._init_ORB() # gives me self.orb and self.rootContext 52 52 53 self.waveform_XML_dir = '/sdr/waveforms/' 54 self.comp_XML_dir = '/sdr/xml/' 53 # NOTE: use CF::FileManager to obtain file locations 54 self.waveform_XML_dir = '/sdr/dom/waveforms/' 55 self.comp_XML_dir = '/sdr/dom/xml/' 55 56 56 57 self.header_len = 1 … … 213 214 self.alfFrameRef.compform_counter = self.alfFrameRef.compform_counter + 1 214 215 215 tmp_dir_name = "/sdr/ _tmp_alf_waveforms/" # this is where I put my temporary216 tmp_dir_name = "/sdr/dom/_tmp_alf_waveforms/" # this is where I put my temporary 216 217 # xml files 217 218 tmp_wave_name = "_" + compName + str(self.alfFrameRef.compform_counter) -
ossiedev/branches/deepanns/tools/wavedash/src/WavedashController.py
r9570 r9605 30 30 import WavedashUtils as utils 31 31 32 SDR_DIR = '/sdr/ '32 SDR_DIR = '/sdr/dom/' 33 33 SDR_WAVEFORMS_DIR = SDR_DIR + 'waveforms/' 34 34 COMP_WAVEFORMS_DIR = SDR_DIR + '_tmp_alf_waveforms' -
ossiedev/branches/deepanns/tools/wavedash/src/WavedashUtils.py
r9540 r9605 247 247 #print curr_dev._get_identifier() 248 248 249 clean_SAD = wformSAD.split("/sdr ")249 clean_SAD = wformSAD.split("/sdr/dom") 250 250 rel_wformSAD = clean_SAD[1] 251 251 self.domMgr.installApplication(rel_wformSAD) -
ossiedev/branches/deepanns/tools/wavedash/src/WavedashView.py
r9572 r9605 75 75 76 76 self.SetSize(OSSIE_WAVEAPP_DIMENSION) 77 #self.SetMaxSize((800,800))77 self.Center() 78 78 79 79