Integrating Microprocessor SDK code with existing VxWorks project

Our company has some custom hardware running VxWorks on PPC processors. It is kind of analogus to the single board RIOs. There is a standard application 'framework' written in C++ by our C++ guys. The hardware can take on different tasks by programming some state machine code to integrate into the framework.
1) Would it be possible to you the Microprocessor SDK to create those state machines?
2) Would I use the code generation option and hand the C code the the C++ guys to compile with the framework?
3) Is the code created by the  Code Generation Only target too generic, i.e. would it need to be massaged before integrating with the other VxWorks code?
4) Would it be possible to take one of the supplied VxWorks targets and modify it to only spit out the VxWorks optimized C code without trying to call the VxWorks toolchain?
Sorry for all the questions. I'm not familiar with doing embedded stuff. It would just be a real advantage for us if we could use LabVIEW and the Statechart Module to start customizing our hardware.
Thanks,
Pat

Hi Pat,
1. If your top level application is a C++ application, it would make more sense for you to use the C Code Generation only target and plug the C code it into the  main app.
2. The C code that you generate using the C code gen target can be generic but if it has any labVIEW specific datatypes/structures, you will need to compile the runtime library for your target as well. You should be able to use the example targets in the Micrprocessor SDK to do this.
3. When you use the C code generation only target, set "Generate Library Interface" option to create a C library like interface to your VI. This lets you build it into a shared object like a library.
Let me know have any more questions,
Thank you,
Jaidev 
National Instruments
LabVIEW Embedded Product Support Engineer

Similar Messages

  • Integrating External JQUERY code with Edge Animate

    Hi all...
    There are two ways i can see of integrating Edge Animate With External JQuery
    Something happens within Adobe edge and triggers something to happen externally or vice versa.....
    1: When an action is performed (mouseUp MouseOver... etc...) we can initiate some external Jquery
    For example
    When I "mouseUp" my play button i run the function  "playPause()" and my audio starts to play
    function playPause(){
        if( $("#liveStream").data("jPlayer").status.paused ) {
            $("#liveStream").jPlayer("play");
        else {
            $("#liveStream").jPlayer("pause");
    So this is fine... i perform an action in Adobe Edge and something external to the composition occurs, in this case it connects to a live stream of audio and the user gets the desired result.
    2:When an event occurs in external Jquery (playing, connection lost, audio not ready... etc...) we can perform an action within Adobe Edge
    For example
    When the audio stream is playing and the user is definatly hearing music i need to perform an action within Adobe Edge like "sym.$("playButton").hide();" which hides the play button because obviously there is no need to click play anymore when the music is already playing..
    This is were my Jquery understanding ends..
    Questions:
    1: Where do i put global code within my Adobe Edge composition that triggers actions when external jQuery returns an event
    2: How do i go about coding this...
    Below is my best attempt
    function playStatus(){
         $("#liveStream").bind($.jPlayer.event.playing, function (event) {
              sym.$("playButton").hide();
    Now my attempt is probably way off the truth but im hoping you understand what i am trying to achieve..
    Thank you for reading this through
    Any advice would be greatly appreciated.....
    Justin..

    Hi, thanks for the assistance....
    I have tried to integrate the following code into the "creationComplete event"
    //Initiate JPlayer
    $(document).ready(function(){
        var stream = {
            mp3: "http://streaming.radionomy.com/ABC-Jazz"
        ready = false;
        $("#liveStream").jPlayer({
            ready: function (event) {
                ready = true;
                $(this).jPlayer("setMedia", stream);
            pause: function() {
                $(this).jPlayer("clearMedia");
            error: function(event) {
                if(ready && event.jPlayer.error.type === $.jPlayer.error.URL_NOT_SET) {
                    // Setup the media stream again and play it.
                    $(this).jPlayer("setMedia", stream).jPlayer("play");
            swfPath: "js",
            supplied: "mp3",
            preload: "none",
            wmode: "window",
            keyEnabled: true
    //Create function for Play & Pause
    function playPause(){
        if( $("#liveStream").data("jPlayer").status.paused ) {
            $("#liveStream").jPlayer("play");
        else {
            $("#liveStream").jPlayer("pause");
    The above code used to be within a player.js file that i called into edge, As you have recomended to me i have moved this code to within edge...
    When i try to play the stream i get the following error from the console "Javascript error in event handler! Event Type = element"
    It is refering to edge.3.0.0.min.js
    In a bit stuck now as to why it is not working....
    This error is usually generated when the scripts are not talking to each other so im guessing it should be an easy one for you guys as my knowledge of jquery is not great!

  • WLPI: integrating organizations and roles with existing application

    Hi,
    how do I integrate WLPI's organizations and roles with an existing application's
    data structure? It looks like WLPI expects organizations and roles to be groups
    with a particular naming convention (i.e. an org is defined by a group 'WLPIOrg@MyOrg'
    and a null member). If I am integrating with an application that stores organizations
    and roles in (for example) separate database tables, how do I get WLPI to recognize
    these? Or do I have to maintain the organizations and roles in 2 places, one for
    the application and one for WLPI in the format described above?
    THanks,
    Martin

    Hi Martin,
    We're in the middle of a prototyping exercise of getting WLS, JMS,
    WLP, WLPI integrated accross one security realm. What its looking like
    is this (bear in mind I think this hasn't been tried before judging by
    newsgroups + BEA Docs)
    1)WLP has a bug that you cannot get user details from LDAP(exception
    is thrown)
    2)WLPI does need a certain structure -
    http://e-docs.bea.com/wlpi/wlpi121/install/cfigrun.htm#1246656
    and
    http://developer.bea.com/ftp_bin/Using_LDAP_with_WLPI.zip
    A) To solve your problem maybe you could write a custom realm to
    translate the roles + orgs back (no writing from WLPI ie read only )
    to WLPI.
    B) Maybe you caould have a META-DIRECTORY set up that synchronises the
    RDBMSRealm with something else maybe LDAP or another RDBMSRealm
    We are also looking into a unified security solution by Netegrity
    called siteminder. They are about to release a version for WLS 6 but
    they seem to be laggin behind. This provides a single signon over and
    enterprise system.
    This is a bit vague Martin, I will hopefully have more concrete info
    in a week or 2. If you have any other info you can mail me on -
    [email protected]
    BTW this wouldn't be Martin Van Vilet from the Netherlands that worked
    on the Intelligent Finance Product?
    "Martin van Vliet" <[email protected]> wrote in message news:<3b17ece8$[email protected]>...
    Hi,
    how do I integrate WLPI's organizations and roles with an existing application's
    data structure? It looks like WLPI expects organizations and roles to be groups
    with a particular naming convention (i.e. an org is defined by a group 'WLPIOrg@MyOrg'
    and a null member). If I am integrating with an application that stores organizations
    and roles in (for example) separate database tables, how do I get WLPI to recognize
    these? Or do I have to maintain the organizations and roles in 2 places, one for
    the application and one for WLPI in the format described above?
    THanks,
    Martin

  • Getting an strange error in "PluginPrefix.pch" while compiling a plugin code with InDesign CS4 SDK.

    Hi everybody,
    Currently trying to compile/build the existing Plugin code (C++) with InDesign CS4 SDK on my Mac OS X 10.5 machine but getting following strange errors.
      /Volumes/MAC Extended/Inbetween Extended/Visual Studio/Adobe InDesign CS4 SDK/source/precomp/gcc/PluginPrefix.pch:26:27: error: MemoryStatics.h: No such file or directory
      /Volumes/MAC Extended/Inbetween Extended/Visual Studio/Adobe InDesign CS4 SDK/source/precomp/gcc/PluginPrefix.pch:39:30: error: PluginBuildFlags.h: No such file or directory
      /Volumes/MAC Extended/Inbetween Extended/Visual Studio/Adobe InDesign CS4 SDK/source/precomp/gcc/PluginPrefix.pch:40:28: error: AnsiBasedTypes.h: No such file or directory
      /Volumes/MAC Extended/Inbetween Extended/Visual Studio/Adobe InDesign CS4 SDK/source/precomp/gcc/PluginPrefix.pch:41:26: error: ShukHeaders.cp: No such file or directory
    Though above mentioned files are present at the following directory
    /Volumes/../../../Adobe InDesign CS4 SDK/source/precomp/common/
    Note : However initially I did not find “MemoryStatics.h” and “AnsiBasedTypes.h” files in the installed SDK directory. I have downloaded them from the net and copied those into the above mentioned directory.
    I am not much familiar with Mac OS environment and compiling/building C++ code with Xcode. Can anyone help me to resolve this issue (might be very trivial and related to Xcode project configuration) ?

    Thanks for the quick response,
    Yes, current build settings include path shortcuts as mentioned below and it also contains “$(CS_SDK_PATH)/source/public/includes” path in HEADER_SEARCH_PATHS settings.  But still I am getting the same error: MemoryStatics.h: No such file or directory
    CS_SDK_PATH= /Volumes/MAC Extended/Inbetween Extended/Visual Studio/Adobe InDesign CS4 SDK
    CS_SDK_PRJ_PATH=/Volumes/MAC Extended/Inbetween Extended/Visual Studio/InBetweenDev/Projects/InBetweenCS/IBClientPluginCS3/prjCS4/mac
    Just for clarification : my Plugin code /project files are not inside the InDesign SDK (build/mac/prj). All the plugin project is outside of the InDesign SDK directory. Thus above mentioned CS_SDK_PATH and CS_SDK_PRJ_PATH are completely different.
    Is it expected that the plugin code/project files should be inside the InDesign SDK/build/mac/prj  directory only ? or is it okay if we put it in the completely another directory structure and modify the  SDK_PRJ_PATH accordingly (as in my case) ?
    Please let me know if you want me to elaborate the situation further.

  • Using the Netbeans GUI within a Project with existing Ant Script

    I cannot seem to figure out how to use the Netbeans GUI in my Project with existing Ant Script. Is this possible? I have no problem creating GUI interfaces in a java Application, but attempting to make a new JFrame Form gives the error: package org.jdesktop.layout does not exist, and I have not been able to find a way around this. Any suggestions? Thanks in advance.
    Chris Coulon

    OK, I think I am on the right track, but I don't understand why I am still getting this error:
    clean:
    compile:
    Copying 1 file to /Users/chris/**JavaProjects/Netbeans_ImageJ
    Created dir: /Users/chris/**JavaProjects/Netbeans_ImageJ/source/build
    Compiling 292 source files to /Users/chris/**JavaProjects/Netbeans_ImageJ/source/build
    /Users/chris/**JavaProjects/Netbeans_ImageJ/source/plugins/Kline_Frame.java:31: package org.jdesktop.layout does not exist
    org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
    /Users/chris/**JavaProjects/Netbeans_ImageJ/source/plugins/Kline_Frame.java:31: package org.jdesktop.layout does not exist
    org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
    /Users/chris/**JavaProjects/Netbeans_ImageJ/source/plugins/Kline_Frame.java:34: package org.jdesktop.layout does not exist
    layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    /Users/chris/**JavaProjects/Netbeans_ImageJ/source/plugins/Kline_Frame.java:38: package org.jdesktop.layout does not exist
    layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    4 errors
    /Users/chris/**JavaProjects/Netbeans_ImageJ/source/build.xml:11: Compile failed; see the compiler error output for details.
    BUILD FAILED (total time: 6 seconds)
    I no longer have the error in my java code in the Projects list, but I still cannot build the project. This is my current build.xml file:
    <!-- Ant makefile for ImageJ -->
    <project name="ImageJ" default="run">
      <target name="compile" description="Compile everything.">
          <!-- Copy the swing layout library into dist.lib -->
        <copy file="dist/lib/swing-layout-1.0.3.jar" todir=".." />
        <!-- First, ensure the build directory exists. -->
        <mkdir dir="build" />
        <!-- Build everything; add debug="on" to debug -->
        <javac srcdir="." destdir="build" optimize="on" source="1.4" target="1.4" debug="on">
          <!-- The plugins directory only needs to be
                 present at runtime, not at build time. -->
          <!-- exclude name="plugins/**"/-->
        </javac>
      </target>
      <target name="build" depends="compile" description="Build ij.jar.">
        <!-- Copy needed files into the build directory. -->
        <copy file="IJ_Props.txt" todir="build" />
        <copy file="images/microscope.gif" tofile="build/microscope.gif" />
        <copy file="images/about.jpg" tofile="build/about.jpg" />
         <copy file="plugins/MacAdapter.class" tofile="build/MacAdapter.class" />
        <copy todir="build/macros"><fileset dir="macros"/></copy>
        <!-- Build ij.jar. -->
        <jar jarfile="ij.jar" basedir="build"
             manifest="MANIFEST.MF" />
      </target>
      <target name="clean" description="Delete the build files.">
        <delete dir="build" />
        <delete file="ij.jar" />
      </target>
      <target name="run" depends="build" description="Build and run ImageJ.">
        <copy file="ij.jar" toDir=".." />
        <java maxmemory="640m" jar="ij.jar" fork="yes" />
      </target>
      <target name="run2" depends="build" description="Build and run ImageJ.">
        <!-- Run in ImageJ directory -->
        <copy file="ij.jar" toDir=".." />
        <java maxmemory="640m" dir=".." jar="ij.jar" fork="yes" />
      </target>
      <target name="zip" depends="clean" description="Build zrc.zip.">
        <zip zipfile="../src.zip"
           basedir=".."
           includes="source/**"
        />
      </target>
      <target name="javadocs" description="Build the JavaDocs.">
        <delete dir="../api" />
        <mkdir dir="../api" />
        <javadoc
               sourcepath="."
               packagenames="ij.*"
               destdir="../api"
               author="true"
               version="true"
               use="true"
               windowtitle="ImageJ API">
        </javadoc>
      </target>
       </project>notice I added this line: <copy file="dist/lib/swing-layout-1.0.3.jar" todir=".." />
    because the dir ".." is where the other jar files are placed, i.e.:
    [GAIAG:~/**JavaProjects/Netbeans_ImageJ/source] chris% ls ..
    PolarDisplay          ij.jar               swing-layout-1.0.3.jar
    TestFrames          myApp
    api               source
    So why is the build not able to see the package org.jdesktop.layout in the jar file?
    Chris

  • I try to export my Imovie and I always get the error code"Unable to prepare project for publishing...File already open with write permission"  it even does it when I am just trying to export to my external hard drive to save the file

    I try to export my Imovie and I always get the error code"Unable to prepare project for publishing...File already open with write permission"  it even does it when I am just trying to export to my external hard drive to save the file

    Thanks!!! I had same error (with -49) and the mac had an external hard drive attached.. and it was doing a backup.  Stopped, disconnected and the project exported!

  • Communication Channel - Integrating with existing iMS52 and iDS52

    Hi,
    Any one tried integrating Portal Server JES2004Q2 channels with existing iMS52 and iDS52?
    How about schema? Did you use the existing Dir for configuration? Please share, as at the moment we are encountering problems even installing it. Anyway that's a different story.
    Regards,

    Use Runtime Workbench -> Component Monitoring -> Communication channel monitoring
    U could not start or stop individual communication channel through Visual Admin. U can start or stop whole adapter through it.
    Regards,
    Prateek

  • Create a New Comp code with a bit similar to the existing ones

    Hello Friends,
    My client requires a new comp code 3015 which is going to have only some functionalities of the existing comp code 3000.
    The functionalities are all customised. After copying the comp code 3000 , how can I supress the customised functionalities which are not required in the comp code 3015.
    Also please kindly give me the tips for copying the comp code
    Awaiting your response.
    Thanks,
    Krishna

    Hi,
    You can copy company codes with EC01 transaction.
    Regards,
    Eli

  • NetBeans 4.1 and projects with existing sources: NoSuchMethodError

    I'm running NetBeans 4.1 with JDK 1.4.2_06 and I have a project that I've created with existing sources. I can compile everything without issues, however, when I try to run my file within the project for testing purposes, NetBeans recognizes that a main method exists, but I get the following error message:
    java.lang.NoSuchMethodError: main
    Exception in thread "main"
    Java Result: 1
    At this point, my class is just:
    package nites.mda.configproperties;
    public class Debuggable {
    public static void main(String[] args) {
    System.err.println("Main");
    However, when I create a brand new Java project without existing sources, it will run perfectly fine. The class in this project is:
    package test;
    public class testClass {
    public static void main(String[] args) {
    System.err.println("Main");
    Anyone ever come across this issue before?

    The default project run settings in NB 4.1 use the "compile-time libraries" before they check recently compiled sources. If you have an old version of the file you are trying to run in a .jar file somewhere in your compile-time libraries NetBeans will use that file. If that old file does not have a main method you will get the error you mentioned.
    You will be able to compile your class because when compiling NetBeans will work on changed files and only access the compile-time libraries when needed.
    The new project will have no old .jars in its path so you will not run into this conflict.
    I would first try to remove the old copy of your file from the compiling sources path.
    If you can't remove the file try reordering the project�s libraries listed under project properties -> libraries-> �run� tab so that your �compiling sources� are listed before your "classpath for compiling sources"
    -Mark

  • Has any SAP project integrated an EFTPOS device with ABAP Gui using an ActiveX controller?

    Dear Friends, I would like to know, Has any SAP Project integrated an EFTPOS Devise with ABAP Gui using ActiveX Controller? If used could you please share the Technicalities involved in them as we have a suggestion to have the same used in our Project.

    Dear Friends, I would like to know, Has any SAP Project integrated an EFTPOS Devise with ABAP Gui using ActiveX Controller? If used could you please share the Technicalities involved in them as we have a suggestion to have the same used in our Project.

  • Calling an existing C code with JNI under linux.

    Hi all,
    I am trying to use an exsiting c code with jni but I am keep getting
    java.lang.UnsatisfiedLinkError, I am working under linux.
    This is what I have done so far:
    1.export LD_LIBRARY_PATH='pwd'/lib
    2. created HspellNative.java with the static System.loadLibrary("HspellNative") and native function called hspellInit
    3. compiled the java class
    4. javah -jni HspellNative
    5. HspellNative.c:
    #include <jni.h>
    #include <stdio.h>
    #include "HspellNative.h"
    #include "hspell.h"
    JNIEXPORT jint JNICALL
    Java_HspellNative_hspellInit ( JNIEnv* env, jobject obj )
         struct dict_radix **dict;
         return ( (jint) (hspell_init(dict,0) ) );
    6. could be the problematic one:
    gcc -o lib/libHspellNative.so -shared -I/opt/bea/jdk142_05/include -I/opt/bea/jdk142_05/include/linux hspell.c HspellNative.c
    7. java HspellNative
    8. getting the following error:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/haim/Hspell/hspell-0.9/lib/libHspellNative.so: /opt/haim/Hspell/hspell-0.9/lib/libHspellNative.so: undefined symbol: hspell_debug
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1511)
    at java.lang.Runtime.loadLibrary0(Runtime.java:788)
    at java.lang.System.loadLibrary(System.java:834)
    at HspellNative.<clinit>(HspellNative.java:18)
    My problem is that I don't know how to combine my HspellNative.c to the existing hspell.c, I know I should put them together in the shared library somehow, but how ?
    Please advice.
    Thanks in advance,
    Haim.

    I know there is something wrong with the .so, the question is: what ? and how do I fix it ?
    This is the ldd ldd libHspellNative.so output:
    /etc/libcwait.so => /etc/libcwait.so (0x0060b000)
    libc.so.6 => /lib/tls/libc.so.6 (0x00111000)
    /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00359000)
    I have no idea what it means...
    I think I will try the SWIG.
    Thanks any way.

  • Integrating with existing DB

    Hi,
    I'm investigating Kodo, and how easy it would be to integrate with
    existing tables (relational obviously). I didn't find reference to this
    in the documentation.
    Specifically, I want some tables to have BLOB/CLOB columns, but I don't
    want KODO to touch/manage/even think about them. Is this possible? Can
    I have control over the field name/column name mapping, and the DB table
    name mappings?
    I also have a requirement of having a composite primary key for just
    about everything. (The first part of the key indicates the company
    using the database, and provides extra protection against invalid access
    of data in a multi-customer setup). I have read all sorts of nasty
    things about having to map my keys to Strings and back again. Is this
    going to be an issue/performance issue?
    Thanks
    Q

    I have an existing application that I'm trying to switch from Poet to Kodo.
    class A {
         private int a;
    class B extends A {
         private int b;
    TABLE A (int A_OID, int a);
    TABLE B (int B_OID, int a, int b);
    Object identifiers (IODs) are globally unique (actually intercorporate
    for us).
    If one object of A and one object of B exist, then there will be one row
    in each table.
    Is it possible to map Kodo like that? It appears that attribute a must
    be stored in the table A.
    Thanks,
    Joe Batt
    Abe White wrote:
    Kodo lets you completely control the mapping process if you want to. Given
    that you have an existing schema, you might want to try our reverse
    mapping tool, discussed here:
    http://www.solarmetric.com/Software/Documentation/latest/docs/ref_guide_pc_reverse.html
    That can give you a good starting point. If you already have your
    classes, though, then see the metadata section for how to control how
    those classes map to tables via metadata extensions:
    http://www.solarmetric.com/Software/Documentation/latest/docs/ref_guide_meta.html
    The end of that chapter includes examples for mapping some classes to some
    tables. If you don't want Kodo to touch some columns, then just don't map
    them to any fields.
    As far as transferring values to/from strings, Kodo includes the built-in
    StringificationMapping (see the "factory" and "externalizer" metadata
    extensions), or you can manage that process yourself. Kodo handles
    compound primary keys without any problems or performance penalties.

  • Targeting LabVIEW to MCB2140 board using Microprocessor SDK problem

    Good day,
    I am trying to port an ARM target to LabVIEW. The target is a 32bit uC LPC2148, more exactly a MCB2140 board. I have followed the "LabVIEW Embedded for ARM Porting Guide - Chapter 2: Integration of LabVIEW and Keil Toolchains" and I have a problem with building the library from the "LVAnalysis.Uv2" project. I mention that I have used the "lpc3180solutions" folder from which I have modified the files from Chapter3 as mentioned. The problem is the builder cannot find the "memory.h" file. I am using Keil uVision v4.03 and LabVIEW 2009.
    Thank you! 

    Hello ClaireR,
    I only had Microprocessor SDK module installed, after installing the ARM module I've managed to build the library and create a project for the MCB2140 target. However I have problems with running even the simplest code.
    I had to modify the "STARTUP.S: Startup file for Philips LPC2000" with:
    IMPORT  Undef_Handler
                    IMPORT  SWI_Handler
                    IMPORT  PAbt_Handler
    ;Undef_Handler   B       Undef_Handler
    ;SWI_Handler     B       SWI_Handler
    ;PAbt_Handler    B       PAbt_Handler
     so I could build the project.
    Secondly in the Options for target "LabVIEW" panel, I don't know if I should use as in the LPC3180 example, the following:
    1. RAM_INTVEC, REMAP options in the ASM tab
    2. Ext_RAM.ini and Clock.ini, as they do not exist for the MCB2140, in Keil folder
    When I Run the Main.VI the target is started, the code is running just for a couple of seconds, but the Numeric Indicator doesn't increment.
    uVision reports an error :
    *** error 57: illegal address (0x00000024)
    BS 0x23E8, 1
    0x0000040C  2AFFFFFE  BCS       0x0000040CC - dissasembly
    The code I am running is the one from the Chapter 2: Integration of LabVIEW and Keil Toolchains
    I also mention the debugger that I'm using is a KEIL ULINK.
    Thank you! 

  • 4.1.1 SDK Problems with missing xpacket tags in sidecar XMP files

    The current 4.1.1 SDK has problems with sidecar XMP files that don't have the xpacket headers and trailers, i.e:
    <?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
    <?xpacket end='w'?>
    is missing. Now, unfortunately Adobe Bridge CS2/CS3 does not export these xpackets in sidecar XMP files.
    The standard, http://www.aiim.org/documents/standards/xmpspecification.pdf, is also very vague about it all:
    ● Write external metadata as though it were embedded and then had the XMP Packets
    extracted and catenated by a postprocessor.
    The grammar is strange(past tense had) and the spec implies that the xpacket should be extracted and again catenated... Someone should review this document and clearly state if xpacket statements should be in sidecar files or not. I suspect myself that they should be there, but the standard is very vague.
    Anyway, there are two places in the SDK code where changes might be needed:
    XMPFiles::Initialize has XMP_Asserts in case the xpacket header/trailer is missing, but the underlying assert is only active in debug builds.
    XMPScanner::PacketMachine::FindNextPacket () also has in its truth table the assumption that the xpackets exist.
    There could be even other places in the code that assumes that the xpacket tags are present in all files, which includes text XMP sidecar files.
    Anyway.
    a) Shouldn't bridge export the xpacket tags? Same with any other application?
    b) If the spec is vague, then the SDK should not assume that the xpacket tags are present.
    Any comments? Has someone already fixed this issue as I suspect a lot of apps using the the XMP SDK would break concerning reading XMP sidecar files? Thx, Kent

    I was able to work around the problem by creating a mapped view of the .xmp file (this creates an array in memory backed by the file on disk, so there's no need to read the file into a separate internal buffer), and constructing the SXMPMeta object directly from the buffer. (The ctor for that class calls ParseFromBuffer, so this is the same thing as was suggested by other messages in this thread.)
    It seems that Adobe needs to do one of these things:
    (1) say that Bridge CS3 has a bug, and agree that Bridge CS3 should include a proper xpacket header when writing xmp sidecar files
    (2) say that the XMP Toolkit has a bug, and that the SDK should be able to parse sidecar files without an xpacket header, and agree to fix the toolkit
    (3) say that Bridge CS3 and the XMP Toolkit behave as expected, but then provide a sequence of steps by which users of the XMP Toolkit are expected to read xmp sidecar files written by Bridge CS3
    Does Bridge CS4 write an xpacket header to the xmp sidecar files?
    Maybe what I could do is create a custom file handler for .xmp sidecar files, so I could use the SXMPFiles for everything, instead of having to special-case .xmp files.
    My needs are pretty modest though, and it might be just as simple to use the MS DOM-based XML parser for load the xmp sidecar file. I bet I could get the data I need (only the "Rating" for now) using a simple XPath expression.
    -Matt

  • Integration of Oracle Apex with EBS R12.1.1

    Dear All,
    We are in process of integrating Oracle Apex 4.0.2 with EBS R12.1.1 with the help of http://www.oracle.com/technetwork/developer-tools/apex/apex-ebs-wp-cabot-consulting-169064.pdf.
    After doing all the steps, the moment when we navigate from EBS application to Apex application by clicking on the EBS menu link it ends up with below error
    "404 Not Found
    Resource /OA_HTML/null/pls/apex/f not found on this server"
    After some analysis i found the below code in "LaunchApex.jsp" for getting the profile value (supposed to be 'http://myserver:port') from custom system profile "APEX_HTTP_SERVER" and prefixing to "/apex/f?p=applicationid:page::APPS:::" is not happening properly
    String l_launcher = ctx.getProfileStore().getProfile("APEX_HTTP_SERVER");
    l_launcher = l_launcher + "/apex/f?p=" + p_application + ":" + p_page;
    l_launcher = l_launcher + "::APPS:::" + p_item_names + ":" + p_item_values;
    as we found that the custom system profile "APEX_HTTP_SERVER" not exist in EBS system. But it works without any page error if we hard code the entire apex application URL in l_launcher variable, but this takes us to EBS login page instead of Apex application page.
    So i feel we can't bypass using profile value from "APEX_HTTP_SERVER" as it has some relation with EBS application session.
    So could anyone please help me how we could create custom system profile "APEX_HTTP_SERVER" or any other options to make the seamless integration of Oracle apex with EBS works without any second login page
    Thanks in advance
    Edited by: 805196 on Aug 25, 2011 12:23 AM

    Hi,
    Create a profile under Application Developer Responsibility as follow:
    Name OAE_LAUNCHER
    Application <whatever>
    User Profile Name Oracle Application Express Launcher
    Description Oracle Application Express Launcher
    2. Set above profile value under System Administrator Responsibility -> Profile -> System, and search for the ‘OAE_LAUNCHER’.
    Set the value at Site Level as:
    http://<hostname>:<Apex port>/pls/apex
    Then instead of hardcoding the URL in the jsp, just give the profile name OAE_LAUNCHER that you have just created in the jsp.
    Hope this helps you
    Brgds,
    Mini
    If this is helpful or correct, assign points promptly.

Maybe you are looking for

  • Using STORED PROCEDURE IN ORACLE FOR LOGIN AND UPDATES

    HI, I am trying to use oracle stored procedure to use it for LOGIN[AUTHENTICATION] purpose and also to update table values in the database. anyone has and idea as to how i can accomplish this . Please send in your replies. Thank you.

  • Range valuses in Select statment.

    Hi experts, i am retriving the data from the data base table and in where cluse im using the RANGE tables i difiened and appending the values of sign option low ,high to it. i have defined as: ranges:post for bsak-budat. post-sign   = post_dat-sign .

  • JNDI Lookup for EJB3 (Bean to Bean)

    Hi Forum, i've search the whole internet and two books but I could not find an answer that pleased me. I want to get a reference to an EJB3 by JNDI Lookup. With container managed dependency injection everything works fine but I have to do a little mo

  • Adding spaces between words

    I currently have a navigation menu with 5 words, each of which are also a link. I want each of the words to be spaces about 30 pixels from one another. I don't want to use a table to separate them. I can copy " " seven times between each word in the

  • Exporting/Importing Batch Process

    Hello, I've created a very lengthy batch process and I would like to use it on other computers.  Is it possible to export and import batch processes, or do I have to create them from scratch every time? Thanks