Dynamic calling of the CChannel from ESR

Hi,
I have a requirement of sender sends a file and depending on a spefic field value the reciever should vary.
Is there any means to route to a specific communication Channel using Java mapping in ESR.
Raghav... Thanks in advance

Hi Raghav,
You can route target system using Receiver determination condition, and the corresponding
agrement will call the specific channel.
Please follow the bellow steps :
If CustNum value =1 then it calls "B" system if CustNum value =2 it calls "C" Syatem.
Thanks,
Durga

Similar Messages

  • Problem with OO4O opendatabase() call, migrating the client from 9i to 10g

    I have the following code:
    VARIANT* pvaparams = new VARIANT[3];
    if (pvaparams == NULL)
    return NULL;
    for (int nIndex = 0; nIndex < 3; nIndex++)
    VariantInit(&pvaparams[nIndex]);
    pvaparams[0].vt = VT_I4;
    pvaparams[0].lVal = ORADB_ORAMODE;
    pvaparams[1].vt = VT_BSTR;
    pvaparams[1].bstrVal = bstrConnect; //user and passwd
    pvaparams[2].vt = VT_BSTR;
    pvaparams[2].bstrVal = bstrDBname; //database name
    VARIANT va_out;
    VariantInit(&va_out);
    va_out.vt = VT_DISPATCH; // expect IDispatch* for database
    DISPPARAMS params = {pvaparams, NULL, 3, 0};
    EXCEPINFO eInfo;
    unsigned int uiArgErr;
    //dispid_OpenDatabase OK, previously obtained
    hRes = m_pIOracleSession->Invoke( dispid_OpenDatabase, IID_NULL,1033,
    DISPATCH_PROPERTYGET , &params , &va_out,
    &eInfo, &uiArgErr );
    if ( FAILED( hRes ) )
    throw new COracleDBXception(eInfo);
    This is from an application developped in VC++ 5 which uses COM and OO40 for connecting to a 9i database; and works fine, with a 9.2.0.1.0 client.
    I have updated the server to 10g and kept the client and it's running OK.
    After that, I have installed the 10.2.0.1.0 client and it's not working anymore; the odd thing is that the call to Invoke() has succeded and hRes is 0, but there is no connection to the database!!!
    I set a breakpoint after Invoke() and, from PL/SQL Developer, the "select OSUSER, PROGRAM, TERMINAL from v$session t where username='NORO';" command reports nothing; with the 9i client, it was reporting 1 connection.
    I would like to add that I had uninstalled completely the 9i client and after that I installed the 10g client.
    Can anyone give me a hint?
    Thank you!

    Hi everyone!
    static const CLSID CLSID_Oracle =
    {0x3893b4a0, 0xffd8, 0x101a, {0xad, 0xf2, 0x04, 0x02, 0x1c, 0x00, 0x70, 0x02}};
    const DWORD ORADB_ORAMODE = 0x1 ;
    STDMETHODIMP Test()
         HRESULT     hr;
         IDispatch* pIDefaultSession;
         hr = ::CoCreateInstance( CLSID_Oracle, NULL, CLSCTX_SERVER, IID_IDispatch, (void**)&pIDefaultSession );
         if (hr != S_OK)
              return S_FALSE;
         // CreateNamedSession - DISPID: 0x6001000B
         // OpenDatabase - DISPID: 0x60010001
         // create unique name
         TCHAR strName[256];
         stprintf( strName, T("Session#%d"), 1);
         // call 'CreateNamedSession' method
         VARIANT vaparam;
         VariantInit(&vaparam);
         vaparam.vt = VT_BSTR;
         vaparam.bstrVal = SysAllocTString(strName);
         VARIANT va_out_3nd;
         VariantInit(&va_out_3nd);
         va_out_3nd.vt = VT_DISPATCH;     // expect IDispatch* for named session
         DISPPARAMS params = {&vaparam, NULL, 1, 0};
         EXCEPINFO excepinfo;
         unsigned int uiArgErr;
         // Invoke CreateNamedSession
         hr = pIDefaultSession->Invoke( 0x6001000B, IID_NULL, 1033, DISPATCH_PROPERTYGET, &params, &va_out_3nd, &excepinfo, &uiArgErr );
         ::SysFreeString(vaparam.bstrVal);
         if ( FAILED(hr) )
              return S_FALSE;
         CComPtr<IDispatch> m_pIOracleSession;      // pointer to the session
         m_pIOracleSession.p = va_out_3nd.pdispVal;
         // call "OpenDatabase" method
         HRESULT hRes;
         CSString m_strDbId = _T("databasename");
         CSString m_strUserName = _T("username");
         CSString m_strPswd = _T("password");
         CComBSTR bstrDBName = SysAllocTString(m_strDbId);
         CComBSTR bstrConnect = SysAllocTString(m_strUserName + T("/") + mstrPswd);
         VARIANT* pvaparams = new VARIANT[3];
         if (pvaparams == NULL)
              return S_FALSE;
         for (int nIndex = 0; nIndex < 3; nIndex++)
              VariantInit(&pvaparams[nIndex]);
         pvaparams[0].vt = VT_I4;
         pvaparams[0].lVal = ORADB_ORAMODE;
         pvaparams[1].vt = VT_BSTR;
         pvaparams[1].bstrVal = bstrConnect;
         pvaparams[2].vt = VT_BSTR;
         pvaparams[2].bstrVal = bstrDBName;
         VARIANT va_out_2nd;
         VariantInit(&va_out_2nd);
         va_out_2nd.vt = VT_DISPATCH;      // expect IDispatch* for database
         DISPPARAMS params_2nd = {pvaparams, NULL, 3, 0};
         EXCEPINFO eInfo;
         unsigned int uiArgErr_2nd;
         // invoke OpenDatabase:
         //here is the problem!!!
         hRes = m_pIOracleSession->Invoke(0x60010001, IID_NULL, 1033, DISPATCH_PROPERTYGET , &params_2nd , &va_out_2nd, &eInfo, &uiArgErr_2nd );
         delete pvaparams;
         if ( FAILED( hRes ) )
              return S_FALSE;
         CComPtr<IDispatch> m_pDatabase;
         m_pDatabase.p = va_out_2nd.pdispVal;
         CreateCustomDynaset - DISPID: 0x6001000C
         ExecuteSQL - DISPID: 0x60010006
         LastServerErrText - DISPID: 0x60010009
         Parameters - DISPID: 0x00000000
         LastServerErrReset - DISPID: 0x6001000B
         TCHAR* pAlterNumeric = T("ALTER SESSION SET NLSNUMERIC_CHARACTERS = \".,\"");
         // call "ExecuteSQL" method
         VARIANT va_params;
         VariantInit(&va_params);
         va_params.vt = VT_BSTR;
         va_params.bstrVal = SysAllocTString(pAlterNumeric);
         DISPPARAMS params_3nd = {&va_params, NULL, 1, 0};
         unsigned int uiArgErr_3nd;
         // Invoke ExecuteSQL:
         hr = m_pDatabase->Invoke( 0x60010006, IID_NULL, 1033, DISPATCH_METHOD, &params_3nd, NULL, &eInfo, &uiArgErr_3nd );
         if (FAILED(hr))
              return S_FALSE;
         return S_OK;
    If this function is called from DllMain(), it works. But if we call this function from another method from our .dll, and that method is called via COM from a client, this function doesn't work anymore! We use VC++ 5 and the 10g Oracle client.
    Can anyone give me a explanation?
    PS: The call to opendatabase() is successfull, but we don't see a connection on the database server and we get a SEGV error: "function not mapped to object".
    Noro

  • Calls the us from london, but us based

    I just purchased a month subscription for US/Canada. We leave in the us. we are going to london. Does this scription i purchased cover calls to the us from the UK during my visit.
    Solved!
    Go to Solution.

    larrya wrote:
    Does this scription i purchased cover calls to the us from the UK during my visit.
    Hello
    Yes it does. Subscriptions work from any and all countries.
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • Dynamic call for records in a table

    hI,
    Im having a ztable, the structure is as follows:
    tabold fldold tabnew fldnew
    The records in this table is are:
    1.yvbap  posnr xvbap posnr
    2.yvbak  auart xvbak auart
    3.yvbak  augru xvbak augru.
    Now, i have to use this table dynamically to check each and every record in the program:mv45afzz.
    So, my problem is that, i have to dynamically pass these records which contains table name and its field name.
    i can write as: xvbap-posnr = yvbap-posnr for all the three records (the values will come from sales order tranx, report: mv45afzz)
    but in future if the records are added then i have to again change the code, so this shouldn't happen.
    It should dynamically call all the records in this table and check the condition.
    Thanx
    Rohith

    Hello Rohith
    What is your question???
    You described a few ingredients of your scenario (not all of them) and do not really explain your requirements.
    Given the descriptions of the Z-table fields I assume you need to check whether OLD values are equal to NEW values.
    If this assumption is correct then the solution is quite simple (except for XVBAP / YVBAP: Does this mean single entries or looping over all entries?)
    DATA:
      lt_ztable     TYPE STANDARD TABLE OF zstructure,
      ls_ztable     TYPE zstructure.
      FIELD-SYMBOLS:
        <lt_tab>     TYPE table,
        <ls_struct_old>    TYPE any,
        <ls_struct_new>   TYPE any,
        <ld_old>    TYPE any,
       <ld_new>    TYPE any.
    " Read entries from z-table
      SELECT * FROM ztable INTO table lt_ztable.
      LOOP AT lt_ztable INTO ls_ztable.
        ASSIGN (ls_ztable-tabold) TO <ls_struct_old>.
        ASSIGN (ls_ztable-tabnew) TO <ls_struct_new>.
        ASSIGN COMPONENT (ls_ztable-fldold) OF STRUCTURE <ls_struct_old> TO <ld_old>.
        ASSIGN COMPONENT (ls_ztable-fldnew) OF STRUCTURE <ls_struct_new> TO <ld_new>.
        IF ( <ld_old> = <ld_new> ).
          " do something...
        ENDIF.
      ENDLOOP.
    For the sake of simplicity I did not add the required statements for checking successful ASSIGN's.
    Regards
      Uwe

  • Dynamic call of a vi with a reference stored in a global variable

    Hello,
    I am trying to program a VI which calls DAQmx functions in some cases, in other cases DAQmx may not even be installed. To prevent a broken arrow on machines where DAQmx is not installed, I want to use a sub-VI containing the DAQmx function calls which is called dynamically by a main VI. For speed I want to prevent continuous opening and closing the VI reference, so I want to store the reference to the sub VI in a global variable. In this variable I also want to store the Analog Input Task. I want to use an initialization VI to write the VI reference of the sub VI and to configure and start the Analog Input Task and write the Task ID to that Global, too. In that way I was hoping to be able to improve the performance of the dynamic calls and the Task calls. BUT - when I write the refererence and task to the Global and read it out from another VI, the reference is not valid anymore and the Analog Input task is also not valid, even if both the initialization VI and the Global are still open (but not running). Does somebody have an idea how to solve that? It is a bit difficult to describe, so here is what I want to do in a shorter description :
    - run a initialization VI which
      defines a reference to a sub VI which will be called dynamically later on
      and a AI task ID definining a DAQmx physical channel configuration to use for subsequent read cycles
      and writes both (VI reference and AI task) to a global variable
    - run another VI which
      reads the VI reference of the VI to call dynamically from that global
      runs the corresponding VI dynamically
      the dynamically called VI performs an AI task corresponding to the DAQmx task ID read from that global (it reads an analog value for instance from the  
      physical channel configured by that AI task) 
    Why all that? To prevent creating and destroying the VI reference for each call of the sub VI for speed. And to use the configured DAQmx channel for subsequent read tasks only if the subVI is called dynamically - if it is not, then the application will not see the DAQmx calls and therefore no broken arrow will occur if no DAQmx is installed on the machine.
    Can somebody help me with this? Why can't I store and read out the reference to the sub VI to/from a global, and why is the AI task not valid when read out from the dynamically called sub VI? I am somewhat lost with all that...
    Thanks in advance,
    Gabs

    Uh - I am almost getting crazy with that
    Kevin, that solution is the right one for programming an application. In that case everything will work fine. But during testing, it is more convenient to call all VIs from their front panels one after another. That's how I'm doing it for everything that needs to be exchanged between such VIs: store them either in a global or in a functional global variable. In that way the user can "play around" with the VIs without wiring them together in a main VI. Therefore, after some thinking I liked Davids idea with that daemon VI (I solved that by adding a boolean in the initialization VI to choose if that daemon is necessary - during testing phase - or not - when using the VIs in a main application). BUT:
    David: It does not work!!! I have exactly done what you proposed and this daemon VI is really running, having a True/False frame with a constant of False wired to the selector and holding both the functional global and the dynamically to call VI in the True frame. In that way, after initialization is finished, both VIs are still running but idle. Anyway, when I read back the value of the reference or the DAQmx task, it is invalid again!
    That really costs just too much time. Does anybody have any idea what to do now? David, I was hoping that your suggestion would solve the problem, because it would be logical that it would - why then is LabVIEW destroying the reference and task anyway even if that daemon VI containing the functional global is still running???
    Regards,
    Gabs

  • Empty Shared Variables & Data Binding not working in dynamically called VI

    Hi,
    I have just upgraded a system from LabVIEW 2011 to 2012 DS2.  I have a real-time PXI system running several shared variables, hosted on the PXI.
    After what appeared to be a succesful upgrade I have a couple of odd issues. 
    1.  The PXI writes test data into a network shared variable, based on a typedef of an array of custom clusters.  The variable is disconnected from the typedef, as RT does not function with shared variables linked to typedefs.  It seems that writing a seingle entry to the array is fine, but writing multiple entries causes the variable to appear empty. 
    I still need to debug this a little more, as while I was station to do so this other issue popped up.
    2.  I have some controls on the Host app with data binding to shared variables.  The host app uses three VIs dynamically called into the wrapper VI.  One of these called VIs is not able to connect to its variable when inserted in to the wrapper, but it can if run independently.  The other two have no such trouble.  Where I see a problem, the indication LED is grey and the mouse-over text reads "no status".  What does this mean?
    Any clues?
    Thanks,
    Ian

    I have changed the Invoke Node to a Run Asynchronous node, and this seems to have fixed the data binding issue. 
    The other issue may be related to a bug fixed in 2012 SP1:
    368648 Network Stream operations return Error 42 when data type contains nested clusters of typedefs
    I am now getting error 42 when reading a particular network shared variable.  This variable contains the results of measurements, in a data type which contains an array of nested clusters of typedefs.  When there is a single entry in the array I can read the variable fine, but when there is more than one entry in the array it does not read and I get error 42.
    I have downloaded 2012 SP1, and will see if this helps. 
    Ian

  • How to debug dynamic calls

    Hi Gurus,
    Can any one tell me how to debug dynamic calls?
    The scenario is:
    I know the message that is getting fired from a message class.
    I didnot find its usage from the where-used list, as it says - possible dynamic calls.
    How do i know, from where this message is getting fired?
    Pls suggest.
    Thanks, Rashmi

    Hi,
    Just try this
    In the new debugger Breakpoints --> Breakpoint at  --> Breakpoint at Statement
    give MESSAGE
    This will set break point at all message statement. Execute till you get the message
    Regards

  • What is the best way to run two programs simulataneously using the output from one to run the other?

    I just kind of wanted to get an opinion from some people on here. I have two main VIs. The first is a DAQ system that reads 99 different sensors and feeds that data into an array. The second is a real-time processing system that is designed to take the array and do numerous calculations. Both VIs output data to the front panel that I want to see, so I don't want to just use one as a SubVI.
    Is there a simple way to run both VIs, using the output from the DAQ system to feed the processor so that you can easily see the front panels of both VIs? I had considered just copying the real-time processor code into the DAQ VI, but I'm worried the resultant VI will be very large and unsightly.
    On a side note, am I over thinking this? Excuse me if this is a rather dumb question, it's been a long week...aaaand it's Wednesday.
    Solved!
    Go to Solution.

    There are a number of ways that you can go about this, but having both front panels open isn't a problem (assuming there is screen space!). Both could be sub-vi's of another "calling" vi, with their front panels set to open when called. The data from the DAQ side can be sent to the other through a number of ways, "producer-consumer" (many threads about this topic, examples in the LabVIEW examples, etc.) is one of the more robust techniques. If created correctly it allows one to run at a different rate than the other, although if the producer is "producing" much faster than the consumer can "consume" it will end up with problems.
    I guess I type too slowly
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • Calling a shell script from a portlet

    Hello,
    I need to execute a unix shell when I click on the submit button from a jsp portlet. Pls. let me know if this is possible.
    thanks!

    Actually I am having 4 Shell Scripts which I want to
    call at a time.
    1)run_graph.sh
    2)run_report.sh
    3)web_report.sh
    4)mktg_report.sh
    Now I want to call all the four from a Java Program at
    the same timeWell... if you truly want to run them at the same time, you'll need to look into multithreading.
    What I suspect you really want is to run them in the above order within the same Java program.
    String pathToScripts = "/etc/path/to/your/scripts/";
    String[] scripts = {"run_graph.sh", "run_report.sh", "web_report.sh", "mktg_report.sh"};
    Process p = null;
    for (int i=0; i<scripts.length; i++){
        p = Runtime.getRuntime().exec(pathToScripts + scripts);
    p.waitFor();
    System.out.println(scripts[i] + " completed with exit code " + p.exitValue());
    If you want to capture output or send input for the above processes, see the java.lang.Process and java.lang.Runtime API docs:
    http://java.sun.com/j2se/1.3/docs/api/java/lang/Runtime.html
    http://java.sun.com/j2se/1.3/docs/api/java/lang/Process.html
    Hope this helps,
    -Scott

  • Calling a shell scipt from proc

    Hi, I have this proc
    #include <stdio.h>
    #include <atmi.h>
    #include "Funciones.h"
    EXEC SQL include sqlca.h;
    EXEC SQL BEGIN DECLARE SECTION;
    varchar connect_string[40];
    varchar MensajeError[500];
    varchar sentenciaSQL[1000];
    varchar IDPeticion[23];
    varchar codServicio[8];
    varchar errorOracle[400];
    varchar errorMadrid[400];
    varchar errorPatron[400];
    int retorno = 0;
    EXEC SQL END DECLARE SECTION;
    int errorSQL;
    ** Procedimiento sqlerror                                   **
    void sqlerror()
         printf("Error SQL: %s\n", sqlca.sqlerrm.sqlerrmc);
         printf("Codigo de error SQL: %d\n", sqlca.sqlcode);
         errorSQL = 1;
         tpterm();
         exit(1);
    ** Procedimiento sqlerror_no_registro                              **
    void sqlerror_no_registro()
         errorSQL = 1;
    ** Procedimiento Catcher                                   **
    void Catcher(int *reglist)
         printf("Capturada la se�al de stop\n");
         EXEC SQL ROLLBACK WORK RELEASE;
         tpterm();
         exit(1);
    ** Programa principal                                        **
    int main(int argc,char *argv[])
         char traza[10];
         signal(SIGTERM, (fptr)Catcher);
         signal(SIGKILL, (fptr)Catcher);
         signal(SIGINT, (fptr)Catcher);
         if (argc < 2)
              printf("ReglasUsuario #Cadena de conexion #S/N(Colocar trazas)\n");
              return 1;
         strcpy(connect_string.arr, argv[1]);
         connect_string.len = (unsigned short)strlen(connect_string.arr);
         strcpy(traza, "N");
         if (argc == 3)
              strcpy(traza, argv[2]);
         if (tpinit((TPINIT *) NULL) == -1)
              tpterm();
              return 1;
         EXEC SQL WHENEVER SQLERROR DO sqlerror();
         EXEC SQL WHENEVER NOT FOUND DO sqlerror_no_registro();
         EXEC SQL CONNECT :connect_string;
    if (traza[0] == 'S')
         EXEC SQL ALTER SESSION SET SQL_TRACE = TRUE;
         strcpy(sentenciaSQL.arr, "select id_peticion, tpe_serv_id, nvl(tpe_error_oracle, ' '), nvl(tpe_error_madrid, ' '), tse_err ");
         strcat(sentenciaSQL.arr, "from ta_tx_ga_peticion, ta_tx_serv_err ");
         strcat(sentenciaSQL.arr, "where tpe_serv_id = tse_codserv ");
         strcat(sentenciaSQL.arr, "and (tpe_error_oracle is not null or tpe_error_madrid is not null) ");
         strcat(sentenciaSQL.arr, "and (tpe_error_oracle like tse_err or tpe_error_madrid like tse_err) ");
    /*     strcat(sentenciaSQL.arr, "and tpe_fecha_solicitud >= tse_fecha ");*/
         strcat(sentenciaSQL.arr, "order by id_peticion");
         sentenciaSQL.len = strlen(sentenciaSQL.arr);
         EXEC SQL PREPARE sentenciaConsulta FROM :sentenciaSQL;
         EXEC SQL DECLARE cursorAlarma CURSOR FOR sentenciaConsulta;
         EXEC SQL OPEN cursorAlarma;
         errorSQL = 0;
         while (errorSQL == 0)
              EXEC SQL FETCH cursorAlarma INTO :IDPeticion, :codServicio, :errorOracle, :errorMadrid, :errorPatron;
              if (errorSQL != 0)
                   break;
              printf("%s %s\n", IDPeticion.arr, codServicio.arr);
    --          /* SE INVOCA AL AVIS.SH */
    EXEC /export/home/operador/alarmas/avis.sh ;
              EXEC SQL EXECUTE
                   BEGIN
                        update ta_tx_serv_err
                        set tse_fecha = sysdate
                        where tse_codserv = :codServicio;
                   END;
              END-EXEC;
              EXEC SQL COMMIT WORK;
         EXEC SQL CLOSE cursorAlarma;
         tpterm();
         exit(0);
    how can I call a shell avis.sh who has 4 parameter?

    Actually I am having 4 Shell Scripts which I want to
    call at a time.
    1)run_graph.sh
    2)run_report.sh
    3)web_report.sh
    4)mktg_report.sh
    Now I want to call all the four from a Java Program at
    the same timeWell... if you truly want to run them at the same time, you'll need to look into multithreading.
    What I suspect you really want is to run them in the above order within the same Java program.
    String pathToScripts = "/etc/path/to/your/scripts/";
    String[] scripts = {"run_graph.sh", "run_report.sh", "web_report.sh", "mktg_report.sh"};
    Process p = null;
    for (int i=0; i<scripts.length; i++){
        p = Runtime.getRuntime().exec(pathToScripts + scripts);
    p.waitFor();
    System.out.println(scripts[i] + " completed with exit code " + p.exitValue());
    If you want to capture output or send input for the above processes, see the java.lang.Process and java.lang.Runtime API docs:
    http://java.sun.com/j2se/1.3/docs/api/java/lang/Runtime.html
    http://java.sun.com/j2se/1.3/docs/api/java/lang/Process.html
    Hope this helps,
    -Scott

  • Unable to get the response from dynamic partnerlink

    Hi
    I used dynamic partnerlink, in this i am able to invoke the services dynamcially but i am unable to get the response from the services which i had invoked dynamically. In my dynamic partnerlink wsdl i had included callback binding and call back service in the wsdl you can see them below
    <binding name="LoanServiceCallbackBinding" type="tns:LoanServiceCallback">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="onResult">
    <soap:operation soapAction="onResult" style="document"/>
    <input>
    <soap:header message="tns:RelatesToHeader" part="RelatesTo" use="literal" required="false"/>
    <soap:body use="literal"/>
    </input>
    </operation>
    </binding>
    <service name="LoanServiceCallbackService">
    <port name="LoanServiceCallbackPort" binding="tns:LoanServiceCallbackBinding">
    <soap:address location="http://openuri.org"/>
    </port>
    </service>
    please help me on this
    thanks
    Srikanth

    Hi, thanks for the input
    Actually My partnerLink had two messageTypes one for Input message request and the other for the Output message request and for the input message i had used the operation as initiate also for the output messsage type operation as result.For both of them binding is defined.
    With these am passing the values from myBPELl to the service which am nvoking dynamically but unable to capture the response the variables are local to myBPEL.

  • Dynamically called VI becomes broken inside an executable. Error 1003 from "Open VI Reference".

    Here's the problem. Dynamically called VI becomes broken inside an executable in debug executable mode Error 1003 is occuring from "Open VI Reference" Block. The computer has all of the necessary drivers, NI-VISA and NI-DAQmx. This executable is a new release of software that currently works on the PC in question. I can using NI-VISA Remote Server control the instruments from my PC using the executable. But when I put the executable on the PC I am getting this error. The only way I have been able to get this to work properly is to build the executable from the console I believe the project was created in, note that the project file has been moved to a network drive and it still works. All of the stations I have opened the project in show the VI that is being called is runnable. I've tried building the executable from the console I am deploying to and the same thing happens.
    I am honestly at a loss for ideas why this is occuring. Is this something about the way LabView works internally that may be causing this problem?
    I have trolled this forum for idea's and none have made sense to me.
    Any input would be greatly appreciated.
    -Nate

    Two ideas:
    Mass compile the project to ensure all linkages are ironed out
    Include the dynamically launched VI's into the "Always Included" section of the build spec
    Report back on if either of these actions solves your problem.
    a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}

  • How to edit a program dynamically called from another program

    Hi all,
    Can anyone help me in coding for a program which call's another
    report dynamically from selection screen(for instance z_dynam_called)
    and retreive the whole content of the dynamically called program(z_dynam_called)
    into an internal table and replace the contents of the internal table  with some new code and put it back in z_dynam_called and save it.
    Thanks in advance.
    Needful will be rewarded with points

    Hi,
    Follow this:
    1) U can pass data from one program to another in a single login using SAP memory......
    2) u can create a DBtable update dat table using ur first pgm and fetch from second program.....
    3) U can pass the report output using EXPORT TO MEMORY addition and get it back using IMPORT FROM MEMORY..........
    Eg:
    Export the selected rows to the next program
    EXPORT final TO MEMORY ID 'ABC'.
    CALL TRANSACTION 'XXX'.
    XXX is the tcode for the other program where u want to import the values.
    In the second program
    INITIALIZATION.
    IMPORT the internal table from the first program
    IMPORT final FROM MEMORY ID 'ABC'.
    Thanks and Regards,
    Reward If Helpful

  • How to retrieve the caller of a dynamically called vi?

    Hi,
    following situation: 
    A vi is loaded dynamically into a subpanel on the panel of the calling vi using the "run vi" property node. The called vi needs to know by what vi it was called. As we can learn from some contributions in the discussion forum or from own experiments, the name of the calling vi is only contained in the array given by the "Callers' Names" property node if the vi is called "by reference". If it is called by the "run vi" property node, then there seems to be no way to find out the identity of the caller from inside the vi that is being called. Is there at least any solution that makes use of the fact that the called vi is running in a subpanel on the panel of the caller? Is there a property to read from inside the called vi the identity of the subpanel the called vi is running in?
    Because my explanation has probably already become rather confusing, I am attaching a simple example.
    Peter
    Solved!
    Go to Solution.
    Attachments:
    caller_vi.vi ‏13 KB
    called_vi.vi ‏7 KB

    I don't think there is a way to do that because as far as the VI in the panel is concerned, it's running as a top-level VI. One workardound is to use a control. When calling the VI use the VI Server to set the value of the control (with the Control Value -> Set method) to the name of the VI that's calling the VI. True, it requires you to use a control, but it's not that bad of a workaround.

  • For existing data in BI, client need to take a call to park the same from s

    hi,
    friends,
    For existing data in BI, client need to take a call to park the same from safety point view by copying the existing ODS  
    is it possible?if it is possible give me details.
    thanks&regurds
    sivaji

    hi,
    well when you copy an ODS only the structure is copied. to load the data you might need to create transformation and DTp to load data in the new ODS.
    You need to load data manually. Copying the ODS will only copy the structure.
    Regds,
    Shashank

Maybe you are looking for