ViScanf invalid format string due to #sample size data1, data2,... response

I'm writing a program which will utilize the internal memeory of the Agilent 34410A DMM for making fast measurements (10K/s).  In order to do this, I need to setup a test, have the data stored to the internal memory, then read and delete it, while other measurements are still happening.  The best command for the read/delete function is the R? command, but it returns the data in a strange format which breaks the ViScanf format string.  
an example of the R? reading in below:
R? 2
#231+2.87536000E-04,+3.18131400E-03
Is there a way to setup the ViScanf format string to handle this?
Thanks
Ryan

Yes, I am using CVI
If it was just returning one value I would use a simple viScanf function like this:
viScanf (vi, "%f", fbuf);
If you do a READ from in the instrument, it returns an array of floats so you need to adjust you viScan fuction parse the string into an array of floats like this (array of 500 for this example):
viScanf(vi, "%,500f", fbuf);
The problem is the data response to the R? command starts with the array size and is then followed by the data (#231+2.87536000E-04,+3.18131400E-03).  In the previous example, I need to delete the #, and parse the 231 into an array size variable and then fill an array (fbuf in this case) with the data.

Similar Messages

  • Premiere sends EDL with 'invalid timecode format string'

    Following the suggestions in this thread, I am attempting to send an EDL of a Premiere sequence to Speedgrade.
    When I attempt to import the EDL into Speedgrade I get this error message:
    ERROR
    In point timecode is invalid. Invalid timecode format string(hours): '23813+20'
    in edit 1
    File: 001 LR001 V C 2813+20 23815+17 0:00 1+37
    Line: 2
    I've worked very rarely with EDLs but have read the Speedgrade and Premiere guides. I must be missing something but can't tell what.  Here's the details from my project:
    I'm editing in 24fps. The video files are generated in After Effects from DPX files. The timecode is based on the DPX file names, with the hour matching the Lab Roll number (so 11:00:00 for Roll 11)
    I export an EDL in CMX3600 format. I've tried both default settings and without audio. Same results. I even get the same result if I make a sequence from a single clip and try exporting that EDL.
    I don't think this is a Speedgrade issue, because if I try re-importing the EDL into Premiere, it seems like all the clips are only one frame long.
    Any suggestions about what I might be doing incorrectly would be greatly appreciated.
    Thanks,
    Lev         

    Are you wanting to just simply go from Premiere to Speedgrade? If so why not just use the "send to speedgrade" choice. Also I wanted to point out in the original thread you actually said you didn't want to use speedgrade, I've never used a EDL with speedgrade so I have 0 ideas there, but have you tried just using Premiere's built in send to speedgrade function?

  • Plugin Register Error - Assembly file name is in invalid format. Only file name is allowed.

    Hi,
    when I add a step in a plugin registered in disk using the 2013 or 2011 tool for CRM 2013. it got a error as below.
    Assembly file name is in invalid format. Only file name is allowed.
    Anyone know this? thank you.
    Detailed log as below
    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Assembly file name (LoyaltyEngine.CRM.Main.Plugin.dll) is in invalid
    format. Only file name is allowed.
    Detail: <OrganizationServiceFault xmlns="http://schemas.microsoft.com/xrm/2011/Contracts" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <ErrorCode>-2147204719</ErrorCode>
      <ErrorDetails xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
      <Message>Assembly file name (LoyaltyEngine.CRM.Main.Plugin.dll) is in invalid format. Only file name is allowed.</Message>
      <Timestamp>2014-12-31T05:16:55.9984484Z</Timestamp>
      <InnerFault>
        <ErrorCode>-2147204719</ErrorCode>
        <ErrorDetails xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
        <Message>Assembly file name (LoyaltyEngine.CRM.Main.Plugin.dll) is in invalid format. Only file name is allowed.</Message>
        <Timestamp>2014-12-31T05:16:55.9994483Z</Timestamp>
        <InnerFault i:nil="true" />
        <TraceText i:nil="true" />
      </InnerFault>
      <TraceText i:nil="true" />
    </OrganizationServiceFault>
    Server stack trace:
       at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]:
       at Microsoft.Crm.Tools.Libraries.RegistrationHelper.RegisterStep(CrmOrganization org, CrmPluginStep step)
       at Microsoft.Crm.Tools.PluginRegistration.StepRegistrationViewModel.btnRegister_Click(Object sender, EventArgs e)
    Dynamics CRM Consulting

    Hi,
    Have you checked the below links.
    http://mscrmdeveloper.wordpress.com/2014/09/04/problems-adding-step-to-disc-based-plugin-assembly/
    http://gustafwesterlund.blogspot.com/2014/05/issues-with-new-plugin-registration-tool.html
    Hope this Helps!!!
    Thanks,
    Prasad
    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

  • External Monitor on MBP (Invalid format error)

    I searched the forums and couldn't find a similar issue so here goes. I have a late 2008 MBP with Snow Leopard connected to a Vizio(MODEL#VM230XVT)LCD 1080P HDTV. I'm trying to use this in "closed lid" mode and using Apple Bluetooth mouse/KB. Because, I didn't want to buy another HDMI cable I currently have it connected via VGA with Apple adapter (DVI>VGA) and a separate audio cable running to TV I have the Bluetooth settings set to wake the device. when I shut the lid the screen goes black either states "No Signal" or "Invalid Format". I have to disconnect the external monitor in order to see the MBP screen again I have tried using several different types of Resolution without success. I notice under the resolution settings it has a "useable screen size underneath it with certain dimensions" so if I set my MBP to max resolution I believe 1400x900 (guesstimate) and set my HDTV to 1920x1080 I think underneath the resolution box I get the "useable screen dimensions which are usually the laptops screen dimension" not sure if this plays apart in anything just wanted to mention it. The TV will display if I leave the lid open on the MBP and have a resolution that exceeds 1024x768 so I'm not sure why it won't display with lid closed as well. Any suggestions would be appreciated.

    Then I'd…
    1) Try reinstalling WoW and try to keep as few preference/game files as you can. Granted you need to keep your character and game play files etc etc so just backup the lot and restore as required.
    2) Contact Blizzard and check their forums and see if they know anything about this.

  • Missing Invalid Format option with Spry TextField

    I am inserting a Spry Validation Text Field into a form for an email address. The only options I have from the preview states menu in the property inspector are these: Initial, Required and Valid. There is no option for Invalid Format.
    I am following along with an exercise in Dreamweaver CS5 Classroom In a Book Lesson 13.
    I have worked back through the lesson in case I had missed something but nothing leaps out at me.
    I would appreciate any assistance in tracking down the issue.

    Hi,
    I've checked the samples.
    The standard submit example validates the fields the XHR example does not.
    I added the following code from the XHR sample
    if (Spry.Widget.Form.validate('register') == true)
                Spry.Utils.submitForm('register', registerResponse);
    However Spry.Widget.Form.validate('register') always returns true regardless of the state of the Spry validation
    Any more ideas to get the XHR submit to recognise the state of the Spry validation for the form
    Cheers
    Phil

  • SQL LOADER and ORA-01861: literal does not match format string

    Hi,
    I've to load data through control_file(.ctl) into oracle table through sqlldr. Oracle 11g, win xp.
    as soon as I use - sqlldr dss/dss control=orders.ctl I get error or nothing.
    Text file that is generated after loading fails has the following error.
    Record 1: Rejected - Error on table ORDERS, column O_ORDERDATE.
    ORA-01861: literal does not match format string
    I have checked the format of data to be loaded into Orders table is like this : *1996-01-02.*
    I checked the format of data in my database by querying sysdate from dual i.e. 10-JAN-10
    I thought that changing its format might solve my problem so i tried this:
    SQL> alter session set nls_date_format='YYYY-MM-DD';
    Session altered.
    SQL> select sysdate from dual;
    SYSDATE
    2010-01-10but still i'm getting the same error. I've to load millions of data. how I can solve this issue.
    Please suggest.
    Thanks alot.
    Best Regads,
    Kam

    Hi,
    It's strange ....nobody knew it?. I think this type of load problem will be very common isn't it.... where date column data is in a different format than in the db i.e.
    How to change *1996-01-02* in the Control_file to make it able to load in the table where sysdate is like this: *11-JAN-10*
    Sample data to be loaded is :
    1|36901|O|173665.47|1996-01-02|5-LOW|Clerk#000000951|0|nstructions sleep furiously among |
    Desc Orders
    O_ORDERDATE NOT NULL DATEI have tested this by creating a test table and a test control file by omitting this O_ORDERDATE and then everything was fine, data was inserted but don't know how to load this DATE also.
    Also not able to understand about POSITION in the control file...?
    Regards,
    Kam

  • Error: java.sql.SQLException: Internal Error   Invalid Connect String

    hi,
    facing errror while deploying the process
    A problem occured while connecting to server "sfhyd1.softforce.com" using port "8888": bpel_getCustomerAccounts_1.0.jar failed to deploy. Exception message is: java.sql.SQLException: Internal Error:Invalid Connect String
    at com.collaxa.cube.engine.util.DBUtils.checkIfFatalConnectionError(DBUtils.java:920)
    at com.collaxa.cube.ejb.impl.BaseCubeSessionBean.checkIfFatalConnectionError(BaseCubeSessionBean.java:153)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:462)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:693)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:319)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:341)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.sql.SQLException: Internal Error:Invalid Connect String
    at oracle.lite.poljdbc.POLJDBCErrMsg.throwSQLException(Unknown Source)
    at oracle.lite.poljdbc.LiteThinJDBCConnection.<init>(Unknown Source)
    at oracle.lite.poljdbc.LiteThinJDBCFactory.createConnection(Unknown Source)
    at oracle.lite.poljdbc.POLJDBCConnection.<init>(Unknown Source)
    at oracle.lite.poljdbc.OracleConnection.<init>(Unknown Source)
    at oracle.lite.poljdbc.POLJDBCDriver.connect(Unknown Source)
    at oracle.oc4j.sql.DriverDataSource.getConnection(DriverDataSource.java:116)
    at oracle.oc4j.sql.DriverDataSource.getConnection(DriverDataSource.java:75)
    at oracle.oc4j.sql.DataSourceConnectionPoolDataSource.getPooledConnection(DataSourceConnectionPoolDataSource.java:57)
    at oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADataSource.java:92)
    at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(ManagedConnectionFactoryImpl.java:211)
    at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:170)
    at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1398)
    at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromFactory(ConnectionPoolImpl.java:327)
    at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImpl.java:98)
    at oracle.j2ee.connector.ConnectionPoolImpl$FixedWaitPoolingScheme.getManagedConnection(ConnectionPoolImpl.java:1455)
    at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:785)
    at oracle.oc4j.sql.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:45)
    at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1596)
    at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1541)
    at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1486)
    at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
    at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
    at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:272)
    at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:200)
    at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:142)
    at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:127)
    at com.collaxa.cube.engine.data.ConnectionFactory$ConnectionFactoryImpl.getConnection(ConnectionFactory.java:336)
    at com.collaxa.cube.engine.data.ConnectionFactory.getConnection(ConnectionFactory.java:140)
    at com.collaxa.cube.engine.adaptors.common.BaseProcessPersistenceAdaptor.storeProcess(BaseProcessPersistenceAdaptor.java:361)
    at com.collaxa.cube.engine.adaptors.olite.ProcessPersistenceAdaptor.storeProcess(ProcessPersistenceAdaptor.java:52)
    at com.collaxa.cube.engine.data.ProcessPersistenceMgr.storeProcess(ProcessPersistenceMgr.java:76)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:937)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:792)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:455)
    ... 45 more

    You may possibly modified the oc4j-ra.xml file in the stand-alone directory instead of the file under the OC4J_BPEL directory in midtier.
    Currently, we are seeing some issues with the sample in midtier. So you may like to wait for the GA release [ mid May] for trying out this sample.
    Otherwise please send a mail to [email protected], you need any early drop of this sample.
    HTH.
    Thanks,
    Rakesh

  • Problem after upgrade 11.1.1.6 - "Invalid JSON String"

    Dear All,
    after upgrade OBIEE to 11.1.1.6 I'm receiving an error message: "Invalid JSON string: 0 {t:1}:" when I'm trying to populate Dashboards, Catalog or even Help option.
    I've check with firebug that POST data are send and in fact I'm getting all data in a background - server response is correct,
    but instead of getting a correct view I have "Invalid JSON string :0 {t:1}:" message. Message comes from res/b_mozilla/common.js file.
    Cache has been also cleared.
    Any ideas what went wrong?
    Thanks'
    Regards.
    Edited by: user623575 on Mar 29, 2012 1:13 AM

    Hi,
    The error message "Invalid JSON string: 0 {t:4}" due to your Analytics Application was not re-deployed properly and also sometimes your javascript is still 11.1.1.5 version catched.
    1) to resolve this issues can you please Clear the browser cache and re-load the page or log in to OBIEE.
    2)if its not working then try to Re-deploy the Analytics Application, using the file $Middleware_Home\Oracle_BI1\bifoundation\jee\analytics.ear
    know Bug Ref:
    This is a known bug in OBIEE 11.1.1.6.0
    BUG:13845528 - UPGRADING TO 11.1.1.6, ANALYTICS DOES NOT WORK IN FIREFOX 10.0.2 ON WINDOWS 7 PC
    Please refer the below doc
    OBIEE 11g: Error: "Invalid JSON string: 0 {t:4}" Logging into OBIEE 11.1.1.6.0 after Upgrade [ID 1439063.1]
    Thanks
    Deva

  • SimpleDateFormat.parse accepts invalid date string

    SimpleDateFormat("dd/MM/yyyy").parse(...) accepts invalid input strings (e.g. "1.1.2gsd001") without raising an exception.
    Where I do a mistake?
    Example:
    import java.text.*;
    import java.util.*;
    public class Test {
    public static void main(String[] args) throws ParseException {
    String s = "1.1.2gsd001";
    SimpleDateFormat sdf = new SimpleDateFormat("d.M.yyyy");
    sdf.setLenient(false);
    Date d = sdf.parse(s);
    System.out.println(d);
    GregorianCalendar gc = new GregorianCalendar();
    gc.setTime(d);
    The result is: Sun Jan 01 00:00:00 CET 2
    Thanks for your help.

    Tahnks s lot.
    Final code is (and it workes well):
    import java.text.*;
    import java.util.*;
    public class Test {
      public static void main(String[] args) throws ParseException {
        ParsePosition pp = new ParsePosition(0);
        String s = "1.1.2001";
        SimpleDateFormat sdf = new SimpleDateFormat("d.M.yyyy");
        sdf.setLenient(false);
        Date d = sdf.parse(s, pp);
        if (pp.getIndex() != s.length())
          throw new ParseException(String.format("Unparseable date: %s", s), pp.getIndex());
        GregorianCalendar gc = new GregorianCalendar();
        gc.setTime(d);
    }

  • ORA-01861: literal does not match format string

    Hi Experts,
    Whenever i am running the my procedure in oracle appliactions i am getting this error.
    ORA-01861: literal does not match format string .
    pkg is below:--->
    CREATE OR REPLACE PACKAGE Arc0471_Pending_Crc_Prc_Pkg IS
      --Insert into Custom Table
        PROCEDURE Arc_Insert_Data(P_ORG_ID VARCHAR2, P_BC_CODE VARCHAR2, P_GL_DATE VARCHAR2, P_DB_LINK VARCHAR2);
    END Arc0471_Pending_Crc_Prc_Pkg;
    CREATE OR REPLACE PACKAGE BODY Arc0471_Pending_Crc_Prc_Pkg IS
            PROCEDURE Arc_Insert_Data(P_ORG_ID VARCHAR2, P_BC_CODE VARCHAR2, P_GL_DATE VARCHAR2, P_DB_LINK VARCHAR2)
            IS
              v_val         varchar2(32000);          
              v_cursor1     integer;
              v_cursor2     integer;
              v_returncode  integer;
            BEGIN
           v_val   := ' ';
            v_val :=' INSERT INTO ARC.ARC_CRC_PRC_INVC ';
              v_val := v_val||' (CTA_TRX_NUMBER ,CTA_TRX_DATE ,DUE_DATE ,';
              v_val := v_val||' BILL_TO_CUSTOMER_NO,     BILL_TO_CUSTOMER_NAME ,     BILL_TO_LOCATION ,';
              v_val := v_val||' BILL_TO_ADDRESS ,ORIGINAL_AMOUNT ,APPLIED_AMOUNT , EXCHANGE_RATE     ,';
              v_val := v_val||' INVOICE_CURRENCY_CODE , ACCOUNT_CLASS , GL_DATE  , CTA_CUSTOMER_TRX_ID ,';
              v_val := v_val||' ORG_ID , CREATED_BY , CREATION_DATE ,LAST_UPDATE_BY , LAST_UPDATE_DATE , LAST_UPDATE_LOGIN )';
            v_val := v_val||' SELECT  CTA.TRX_NUMBER ,     CTA.TRX_DATE , APS.DUE_DATE ,';
              v_val := v_val||' HCA.ACCOUNT_NUMBER ,     HP.PARTY_NAME ,     HCSUA.LOCATION ,';
              v_val := v_val||' SUBSTR(HL.ADDRESS1 ||'||''' '''||'|| HL.ADDRESS2 ||'||'''  '''|| '||HL.ADDRESS3||'||'''  '''|| '||HL.ADDRESS4|| '||'''  ''' ||'||HL.PROVINCE||'||'''  '''||'|| HL.CITY ||'||'''  '''||'|| HL.STATE ||'||'''  '''||'|| HL.POSTAL_CODE ||'||'''  '''||'||FTL.TERRITORY_SHORT_NAME,0,1500),';
              v_val := v_val||' APS.AMOUNT_DUE_ORIGINAL , APS.AMOUNT_APPLIED,APS.EXCHANGE_RATE, APS.INVOICE_CURRENCY_CODE, CTLA.ACCOUNT_CLASS,';
              v_val := v_val||' APS.GL_DATE , CTA.CUSTOMER_TRX_ID , CTA.ORG_ID ,FND_GLOBAL.USER_ID ,';
              v_val := v_val||' SYSDATE , FND_GLOBAL.USER_ID , SYSDATE , FND_GLOBAL.LOGIN_ID '  ;  
             v_val := v_val||' FROM ' ;
             v_val := v_val||' AR.RA_CUSTOMER_TRX_ALL CTA,';
              v_val := v_val||' AR.RA_CUST_TRX_TYPES_ALL CTTA,';
              v_val := v_val||' AR.RA_CUST_TRX_LINE_GL_DIST_ALL CTLA,';
              v_val := v_val||' AR.HZ_PARTIES HP,';
              v_val := v_val||' AR.HZ_CUST_ACCOUNTS HCA,';
              v_val := v_val||' AR.HZ_CUST_SITE_USES_ALL HCSUA,';
              v_val := v_val||' AR.HZ_LOCATIONS HL,';
              v_val := v_val||' AR.HZ_PARTY_SITES HPS,';
              v_val := v_val||' AR.AR_PAYMENT_SCHEDULES_ALL APS,';
              v_val := v_val||' AR.HZ_CUST_ACCT_SITES_ALL HCASA,';
              v_val := v_val||' GL.GL_CODE_COMBINATIONS GCC,';
              v_val := v_val||' AR.AR_RECEIVABLE_APPLICATIONS_ALL ARAA,';
              v_val := v_val||' APPLSYS.FND_TERRITORIES_TL FTL ,';
              v_val := v_val||' ONT.OE_TRANSACTION_TYPES_TL'|| P_DB_LINK ||' IND_OTT, ' ;
              v_val := v_val||' ONT.OE_ORDER_HEADERS_ALL'||P_DB_LINK ||'  IND_OH, ';
              v_val := v_val||' AR.RA_CUSTOMER_TRX_ALL'||P_DB_LINK ||' IND_RCTA   ';
             v_val := v_val||' WHERE   CTA.ORG_ID = '||''''|| P_ORG_ID||'''';
             v_val := v_val||' AND   CTTA.ORG_ID = '||''''|| P_ORG_ID||'''' ;
             v_val := v_val||' AND   CTLA.ORG_ID = '||''''|| P_ORG_ID||'''' ;
             v_val := v_val||' AND   HCSUA.ORG_ID = '||''''|| P_ORG_ID||'''' ;
             v_val := v_val||' AND   APS.ORG_ID =  '||''''||P_ORG_ID||'''';
             v_val := v_val||' AND   HCASA.ORG_ID = '||''''|| P_ORG_ID||'''' ;
             v_val := v_val||' AND   CTLA.ACCOUNT_CLASS     =     '||'''REC''';
              v_val := v_val||' AND   CTLA.GL_DATE <= TRUNC(TO_DATE( '||''''||P_GL_DATE||''''||','||'''DD/MM/RRRR HH24:MI:SS'''||'))';
             v_val := v_val||' AND   NVL(ARAA.APPLY_DATE,TO_DATE( '||''''||P_GL_DATE||''''||','||'''DD/MM/RRRR HH24:MI:SS'''||')) <= TRUNC(TO_DATE ('||''''||P_GL_DATE||''''||','||'''DD/MM/RRRR HH24:MI:SS'''||'))';
             v_val := v_val||' AND   TO_DATE(APS.TRX_DATE,'||'''DD-MON-RRRR'''||') >'|| '''02-SEP-2007''' ;
             v_val := v_val||' AND     CTA.CUST_TRX_TYPE_ID    =     CTTA.CUST_TRX_TYPE_ID';
             v_val := v_val||' AND     CTLA.CUSTOMER_TRX_ID     =     CTA.CUSTOMER_TRX_ID';
             v_val := v_val||' AND     HCA.CUST_ACCOUNT_ID     =     CTA.BILL_TO_CUSTOMER_ID';
             v_val := v_val||' AND     HCA.PARTY_ID          =     HP.PARTY_ID';
             v_val := v_val||' AND     HCSUA.SITE_USE_ID     =     CTA.BILL_TO_SITE_USE_ID';
             v_val := v_val||' AND     HL.LOCATION_ID          =     HPS.LOCATION_ID';
             v_val := v_val||' AND     HPS.PARTY_ID          =     HCA.PARTY_ID';
               v_val := v_val||' AND     APS.CUSTOMER_TRX_ID     =     CTLA.CUSTOMER_TRX_ID';
             v_val := v_val||' AND     HCASA.CUST_ACCOUNT_ID     =     HCA.CUST_ACCOUNT_ID';
             v_val := v_val||' AND   HCASA.CUST_ACCT_SITE_ID =HCSUA.CUST_ACCT_SITE_ID';
             v_val := v_val||' AND   HCASA.PARTY_SITE_ID=HPS.PARTY_SITE_ID';
             v_val := v_val||' AND     ARAA.APPLIED_CUSTOMER_TRX_ID(+) = CTA.CUSTOMER_TRX_ID';
             v_val := v_val||' AND   IND_RCTA.TRX_NUMBER = CTA.TRX_NUMBER';
             v_val := v_val||' AND     TO_CHAR(IND_OH.ORDER_NUMBER) = IND_RCTA.CT_REFERENCE';
             v_val := v_val||' AND     IND_OTT.TRANSACTION_TYPE_ID = IND_OH.ORDER_TYPE_ID';
              --v_val := v_val||' AND   ARC.Arc0463_Get_Remng_Amt(APS.TRX_NUMBER,'||''''|| P_GL_DATE||''''||','||'APS.INVOICE_CURRENCY_CODE) <> 0';
             v_val := v_val||' AND   IND_OTT.NAME IN ('||'''D0M RC Imported Sale'''||','||'''D0M RC Indigenous Sale'''||')';
             v_val := v_val||' AND   GCC.CODE_COMBINATION_ID = CTLA.CODE_COMBINATION_ID';
             v_val := v_val||' AND   GCC.SEGMENT1 = '|| ''''||P_BC_CODE||'''';
             v_val := v_val||' AND   HL.COUNTRY = FTL.TERRITORY_CODE';
             v_val := v_val||' AND   FTL.LANGUAGE = USERENV('||'''LANG'''||')';          
                v_cursor1 := dbms_sql.open_cursor;
              dbms_sql.parse(v_cursor1,v_val,DBMS_SQL.NATIVE);
              v_returncode := dbms_sql.execute(v_cursor1);
              dbms_sql.close_cursor(v_cursor1);
         COMMIT;
         EXCEPTION     
                    WHEN DUP_VAL_ON_INDEX THEN
                                    NULL;
                   WHEN OTHERS THEN
                        COMMIT;
                   FND_FILE.PUT_LINE(FND_FILE.OUTPUT, 'IN WHEN OTHERS THEN OF INSERT INTO ARC.ARC_CRC_PRC_INVC'||SQLCODE || ' - ' || SQLERRM);
                -- dbms_output.put_line(sqlcode||sqlerrm);
            END Arc_Insert_Data;
    END Arc0471_Pending_Crc_Prc_Pkg;in above procdure APS.TRX_DATE having the format like this..23/3/2006. in Backend this procedure is working fine ..in toad(version 8.0.0.47). database is 9.0.
    but in oracle apps it is giving error like "literal does not match format string".
    please give me the solution...
    Thanks in ADv...

    Hi,
    It is the Date Data type...There's your problem then; NEVER, EVER, EVER to_date a date!! As you have discovered, it leads to problems when your code is run on different clients due to the different NLS settings they may have. You've been lucky, in other words, that your code has been working at all!
    What to_dating a date does is this:
    to_date(to_char(date_value, <format in NLS_DATE_FORMAT parameter>), <format in NLS_DATE_FORMAT parameter>) You've been lucky because your NLS_DATE_FORMAT has the same format as the data, on your client. On the database, however, it is clearly different.
    Simply remove the to_date from your already-a-date value, and you should find that it works fine.

  • Sample size does'not appear in QA02 of created Inspection lot Number.

    Hi Experts,
    I have created a production order of a material and its Inspection lot is automatically created but the inspection lot created does'not have sample size from the stock as a result I am unable to perform result recording of a inspection lot.
    Please correct me if i am wrong.
    Thanks
    Saurabh

    Dear Saurabh Mishra.
    Kumar & Barjatya's said is right. and more you can consider for solve this problem as below step;
    - You must change the sampling procedure in the inspection plan. After you have reset the sample
      in QAC3
        1. First you must change the sampling procedure to fixed sample (assuming  you have 100%
            inspection at present) in QDV2 or 
            create a new sampling procedure (as Naik remarked) with fixed sample in QDV1
        2. Then assign the changed sampling procedure in the inspection plan through QP02
        3. Then assign a sample quantity in the inspection plan in the same transaction (QP02) for the
            inspection characteristic to be inspected
        4. Save the inspection plan, and run QA02 where you re-assign the updated inspection plan and
           re-do sample calculation.
           For GR based lot i have already stated what has to be done. In case of an inspection lot caused
           due to the GR from a process or purchase order, cancel the GR. The inspection lot is also
           cancelled. Then follow steps 1 to 3. In the 4th step after saving the inspection plan, simply do the
           GR again, It should work out.
    Regards,
    Jeong, Yeong-Chul

  • I was trying to send a video via iMessage over wifi, but was only allowed to send a fraction due to the size limit. Does anyone know what exactly the limit is? Thanks!!

    I was trying to send a video via iMessage over wifi, but was only allowed to send a fraction of the video due to the size limit. Does anyone know what exactly the limit is? Thanks!!

    You said:  "I've never tried the restore function in disk utility. Would that be the same as cloning the drive?
    YES!  See the my old instructions below.  What you might try after step 5 is to restart you MBP holding down the Option key.  Select the new HDD icon and see if it boots.  This way you will know that the new HDD is operable.
    Ciao.
    INSTALLING A NEW HDD IN A MB
    1. Make certain that you have backed up all of your important data.
    2. You will need a HDD enclosure.  One with a USB connection will do.  A 9 pin Firewire is better.
    3. Install your new drive in the enclosure and connect it to your MBP.
    4. Open DISK UTILITY>ERASE.  From the left hand column drag the new drive into the 'Name' field.  Make sure that the format is 'Mac OS Extended (Journaled)'.  Click on the 'Erase' button.
    5. Click on the 'Restore' button (on top).  Drag the old drive into the 'Source' field and the new drive into the 'Destination'  field.  Click on the 'Restore' button on the bottom right hand corner.
      Depending upon the amount of data you are transferring, this may take a couple hours or more.  A Firewire will speed up the transfer.  This will result in both drives having identical information on them.
    6. After the data transfer has completed, you may swap the drives.  Start the MBP and you have finished the installation.  The initial boot may take a bit longer than you are accustomed to, but that is normal.
    7. When you are satisfied that the new hard drive if functioning properly, you can erase the old drive and use it for any needs that you may have.

  • [SOLVED] openssh 6.7p1 warning "key_load_public: invalid format"

    I would like to share solution for a problem with openssh in [testing].
    After updating openssh to 6.7p1 I've got a scary warning "key_load_public: invalid format" for my ECDSA plublic key when try to connect to a server. I looked at openssh code and found that it does not like "-----BEGIN" string in the public key (see function sshkey_try_load_public). And it what I had in my public key file - I think previous version of openssh generated it.
    I removed "-----BEGIN/END EC PUBLIC KEY-----" lines and now openssh seems happy.

    graysky wrote:
    anatolik wrote:At the time of positing it openssh 6.7p1 was in [testing]. I've decided to share my finding to make other people's life a bit easier.
    My comment was direct at jskier.  Not too sure why he/she posted to be honest.  Might serve to confuse some folks.
    Yes, I stated this was out of testing right away, but was reporting another issue with the new version. Sorry for the confusion, I'll start another thread later.
    Last edited by jskier (2014-10-27 23:44:18)

  • Reduce sample size Signal Express

    I need to reduce the sample size from 3 thermistors over a period of about 1 hour.
    I'm reading the voltage differential from 3 analoge inputs with a USB-6343 multifunctional DAQ.
    I've tried to reduce the sample rate but this gave me an error, so I went back to the default settings of 1kHz for sampling rate.
    Is there a way I can reduce the sample size from withing Signal Express (demo version)? I need to be able to output to excel so that I can share results.

    Hello REDS,
    Thanks for the response. Been out for a couple of days. I'll take a look again Monday.
    I'm limited to the LE version of Signal Express 2012, so I believe the "Processing" steps will end up being disabled after the eval period, so I'll be stuck after that. I was looking for a quick off-the-shelf solution when I spent all my money on the DAQ and was hoping that the LE version would have been sufficient to perform simple acquisition and logging functions with the DAQ. Chicken and Egg: couldn't eval SW w/o the HW.
    I know some DAQs are limited due to the A/D HW, but the datasheet for the 6210 doesn't specify a minimum sample rate. Would you know of other tricks with the LE version of Signal Express 2012?
    Thanks again!

  • Format strings / typed measures / mdxformat()

    Hi all,
    what is the 'secret' of format strings? I read the manual but I don't understand the clear difference to 'typed measures'. According to dbag format strings need a MDX Format directive.
    MDX Format Directive
    A format string is defined by the following syntax:
    format_string_expression = MdxFormat ( string_value_expression ) where string_value_expression is a valid MDX string value expression as described in the MDX specification documented in theOracle Essbase Technical Reference.
    I don't find any documentation about a MDX Format directive. Does anybody have 'speaking sample'...I just want to get the idea...
    And again, what is the clear difference to typed measures?
    Thanks
    Robert

    Farmat strings are part of typed measures. they allow you to use MDX to set up different ways of looking at data. With a text list you are limited to integer values for data with a format string you could use a case statement to define ranges like case when [sales] < 100 then "bad" else "good"

Maybe you are looking for

  • Error in importing multiple excel sheets to SQL Server

    I have a package which imports multiple excel sheets to SQL server using a For each Container. However I am getting the following error message "Excel Source failed validation and returns validation status "VS-NEEDSNEWMETADATA". Can you please advise

  • From Photoshop 2 Motion

    Could someone tell my the correct aspct ratio from still pictures being cropped from Adobe PSCS2 to Apple Motion 2. I had heard 720X480 and 720X554, i want the best picture on my TV, no pixeling just smooth picture. In Motion i am making a slideshow

  • Number range object creation

    Hi, I've created my number range object in client 100.When I test it in client 100 it works fine.I'm using FM NUMBER_GET_NEXT.When I try to test in a test client 200 it gives me an error message 'ZBATCH_CLT, number range interval 01 does not exist'.W

  • No static methods for Interfaces ?

    Hi, I was going though some documentation about the interfaces and it says that, an interface methods must not be static. Can someone please explain or direct me in the direction which tell me why the internet methods cannot be static. Thanx. Mel

  • I made a apple ID but I can't log into iMessage

    I made a a apple ID but I can't Log into IMessage ..