Tasks of DAQmx Digital i/o-error-200170

I'm working on a project to use DAQmx for write and read digital channels, as well as monitor the thermocouples.  There are already source code that initializes the tasks of channels HAVE thermocouples.  I tried to imitate (to some extent) that was task initlization HAVE it, except that I read that there is a VI DAQmx flatten that allows me to send a picture and the channels I want and then create tasks and virtual channels.  I posted a picture of my code.  The error I get is-200170 for the DI and the DO.  Can someone please explain what I'm doing wrong and what it is that I do not understand about tasks?  Please and thank you.

My guess is that the values of "ports" are disabled.  I do not know what DAQ you, but in my experience, usually you have/port0/$line0, line1/port0 /... / port0/line6, line7/port0 /, then you start the next with $line0/port1 port /, / port1/line1, etc..

Basically grouping them 8 lines / port.

Now you try/$line0/port0, port1/line1 /... / port31/line31.

Tags: NI Software

Similar Questions

  • Daq stop task VI back to the State of the task was really forward the DAQmx Start Task or DAQmx writing?

    Hello

    I use DAQmx and DAQ Assistant and try to get the details on the following questions.

    1 does Daq stop task VI really return to the State of the task is in front the DAQmx Start Task or DAQmx writing? Digital Input taking as an example, I don't think that the status of the task means that input data because I tried and I can't really back to the entry level it was.

    Maybe more experienced people can help to share their expertise.

    2. the information in help indicates "virtual channels created with the function/VI DAQmx create Virtual Channel are called virtual channels the and cannot be used in the task." But I don't know what "in his work" means.

    3. could I get some guidelines or expertise on the Labview programmers when use virtual channels the and when, to the more global?

    Thank you!

    Best regards

    Allen

    If you create a channel of the task, or scale just usuing the screw to create or Assistant session wire io is the only way to pass the info autour.  It is not saved anywhere on the disc.  A channel of the task or the scale in a project can be used by anything in this project.  A channel of the task or the scale recorded in MAX can be used by anything on this machine.  Its an extended thing.

    And Yes, the DAQ Assistant fresh extra performance overhead and the poor than the DAQmx API.  Often, it won't have the impact of a little experiment.  Large applications should avoid the express Visa.

  • When I open the Task Scheduler, I get a message error «an error has occurred for task realupgradelogontasks...» »

    When I open the Task Scheduler, I get the following error message:

    an error has occurred for the realupgradelogontasks-1-5-21-2172834406-3963835389-1001 task. error message: the specified account name is not valid. What this means and how do I get rid of the error message?

    Windows 7 Home Edition Premium does not the local security policy. I didn't know that you have the version of the operating system.

    However, the error you get for realupgradelogontasks is RealPlayer. You can uninstall RealPlayer and reinstall to see if that will remove from TaskScheduler option to update.

    If this isn't the case, then check with RealPlayer for the taking in charge of this issue.

    Thank you

    Marilyn

  • ORA-06502: PL/SQL: digital or value error: character string buffer too small

    Hello

    I am facing infinity listagg that 4000 bytes in listagg issue, so I created a defined user aggregate function suggested by asking tom team,

    https://asktom.Oracle.com/pls/Apex/f?p=100:11:0% 3A % 3A % 3A % 3aP11_QUESTION_ID: 2196162600402

    But I am facing the error as "digital or value error: character string buffer too small" in the Type on line 27 when questioning this way

    Select stragg (val) in the dummy_tab;

    My table has a column and the data type is varchar2 (50) and he has more than 300 documents,.

    can someone here help me to solve this problem.

    Thanks and greetings

    Guru

    Now if you followed this link, so I hope that you:

    (a) set the attribute of the object type to be a CLOB

    (b) sets the return value of your Mapper function to be a CLOB

    and not as in the example (which is the time before the existence of LISTAGG) as a Varchar2...

    HTH

  • not able to seeds and release - error report: 06502: PL/SQL: digital or value error: character string buffer too small.

    Hello

    After an upgrade of 4.2.4 5.0.0 we aren't able to seeds and publish the translation.

    There is report error: ORA-06502: PL/SQL: digital or value error: character string buffer too small.

    DB version is 11.2.0.3.0.

    Main language 'fr', translation 'sk '.

    APEX day language is "en".

    Any thoughts?

    Hello

    Fortunately, we have solved the problem.

    After upgrading a default sort to the report was to 'language '.

    If report error, that is fair enough to click on a prompt different orders of the report to change the sorting of the report.

    (the blank report is displayed at the bottom of the page, and you can see the guests)

    After the click the report updates and looks OK.

    Good day.

  • PL/SQL error: digital or value error: character string buffer too small

    HI gurus of the oracle,.

    I'm new to PL/SQL,

    my version of oracle's oracle 11g.

    I create a procedure to insert data from flat file to a table using UTL_FILE.

    The table is

    CREATE TABLE EXT_PERSON_INFO

    (

    ID_PERSON NUMBER (38),

    ID_BATCH NUMBER (38),

    ID_PERSON_NBR VARCHAR2 (3 BYTE),

    ID_AREA VARCHAR2 (5 BYTE),

    NM_FINAL VARCHAR2 (20 BYTE),

    NM_START VARCHAR2 (20 BYTE),

    DATE OF DT_DOB,

    ID_SERIAL VARCHAR2 (BYTE 9),

    DATE OF DT_RESPONSE,

    TRANS_TYPE VARCHAR2 (2 BYTE),

    REG_RESPONSE VARCHAR2 (1 BYTE),

    TM_RX TIMESTAMP (6)

    )

    My procedure is

    CREATE OR REPLACE PROCEDURE PROC_PERSON

    IS

    f_line VARCHAR2 (2000);

    f utl_file.file_type;

    f_dir VARCHAR2 (250);

    fname VARCHAR2 (50);

    F_ID_PERSON EXT_PERSON_INFO.ID_PERSON%type: = 1;

    F_ID_BATCH EXT_PERSON_INFO.ID_BATCH%type: = 1;

    F_ID_PERSON_NBR EXT_PERSON_INFO.ID_PERSON_NBR%type;

    F_ID_AREA EXT_PERSON_INFO.ID_AREA%type;

    F_NM_FINAL EXT_PERSON_INFO. Type of NM_FINAL %;

    F_NM_START EXT_PERSON_INFO. Type of NM_START %;

    F_DT_DOB EXT_PERSON_INFO. Type of DT_DOB %;

    F_ID_SERIAL EXT_PERSON_INFO.ID_SERIAL%type;

    F_DT_RESPONSE EXT_PERSON_INFO. Type of DT_RESPONSE %;

    F_TRANS_TYPE EXT_PERSON_INFO. Type of TRANS_TYPE %;

    F_REG_RESPONSE EXT_PERSON_INFO. Type of REG_RESPONSE %;

    BEGIN

    fname: = "D:\raj\raj.txt";

    f: = utl_file.fopen('RAJ',fname,'r');

    loop

    Start

    UTL_FILE.get_line (f, f_line);

    exception

    When no_data_found then

    "exit";

    end;

    F_ID_PERSON: = 1;

    F_ID_BATCH: = 1;

    F_ID_PERSON_NBR: = substr (f_line, 1, 3);

    F_NM_FINAL: = substr (f_line, 4, 22);

    F_NM_START: = substr (f_line, 23, 34);

    F_DT_DOB: = substr (f_line, 35, 44);

    F_ID_SERIAL: = substr (f_line, 45, 48);

    F_DT_RESPONSE: = substr (f_line, 49, 58);

    F_TRANS_TYPE: = substr (f_line, 59, 60);

    F_REG_RESPONSE: = substr (f_line, 61, 61);

    F_ID_AREA: = substr (f_line, 62, 64);

    insert into EXT_PERSON_INFO VALUES (F_ID_PERSON, F_ID_BATCH, F_ID_PERSON_NBR, F_ID_AREA, F_NM_FINAL, F_NM_START, F_DT_DOB, F_ID_SERIAL, F_DT_RESPONSE, F_TRANS_TYPE, F_REG_RESPONSE);

    end loop;

    UTL_FILE.fclose (f);

    commit;

    end;

    /

    am getting error

    ORA-06502: PL/SQL: digital or value error: character string buffer too small

    Please help me in this regard. Impossible to trace the issue.

    Thanks in advance

    Kind regards

    REDA

    The error message should include a line number to reference your code to see what line the error occurred on.

    That said, look at the documentation for SUBSTR as you incorrectly use the third parm.  It's length, no end of race.  That's your problem.

  • ORA-06502: PL/SQL: digital or value error: character string buffer too small in the functions

    Hi all

    FUNCTION to CREATE or REPLACE fnc_two (p_in_job IN VARCHAR2)

    RETURN VARCHAR2

    AS

    CUR CURSOR

    IS

    SELECT ename

    WCP

    WHERE job = p_in_job;

    v_first_name emp.ename%TYPE;

    BEGIN

    FOR my heart IN rec

    LOOP

    IF v_first_name IS NULL

    THEN

    v_first_name: = rec.ename;

    ON THE OTHER

    v_first_name: = v_first_name | ',' || Rec.Ename;

    END IF;

    END LOOP;

    RETURN v_first_name;

    END;

    SQL > SELECT fnc_two ('CLERK')

    2 FROM dual;

    SELECT fnc_two ('CLERK')

    *

    ERROR on line 1:

    ORA-06502: PL/SQL: digital or value error: character string buffer too small

    ORA-06512: at the 'APPS '. FNC_TWO', line 17

    SQL > select distinct work of emp

    2.

    JOB

    ---------

    CLERK

    SELLER

    PRESIDENT

    MANAGER

    ANALYST

    v_first_name: = v_first_name | ',' || Rec.Ename;

    The above statement is the original error. The value has been assinged to v_first_name is larger than the computer can handle.

    Increase the size of the variable v_first_name to avoid the error example

    v_first_name varchar2 (100);

  • Text editor enriched ORA-06502: PL/SQL: digital or value error: character string buffer too small

    Hello

    I have apex user 4.2.3 with enterprise database edition 11, I page include RICH TEXT EDITOR, when I add data to this text and save it will record successfully and when I try to view this information in another page I see all the data, as expected, the problem when I try to go to the same page as RICH TEXT EDITOR error message apper ORA-06502 : PL/SQL: digital or value error: buffer string too small, I see this link https://forums.oracle.com/thread/2461151?tstart=0 but I don't know how it solve it, the problem is made data at the point of the rich text editor.


    Any suggestion?


    Thank you

    Thanks for the reply,

    Its standard form with text rich field, my question she same as link above I added before

  • ORA-06502: PL/SQL: digital or value error: character string buffer too smal

    Hi experts,


    Please check my query

    DECLARE
    f utl_file.file_type;
    s NVARCHAR2 (32000);
    VARCHAR2 (10) F1;
    F2 char (1);
    F3 VARCHAR2 (100);
    F4 VARCHAR2 (100);
    F5 VARCHAR2 (100);
    F6 DATE;
    F7 DATE;
    F8 DATE;
    F9 DATE;
    F10 DATE;
    F11 char (1);
    BEGIN
    DBMS_OUTPUT. ENABLE (100000);
    f: = utl_file.fopen ('MID5010_DOC1TP', 'OPT_CM_BASE.txt', 'R');

    LOOP
    BEGIN
    UTL_FILE. GET_LINE (f, s);

    F1: = REGEXP_SUBSTR (s, "[^ |]") +', 1, 1);
    F2: = REGEXP_SUBSTR (s, "[^ |]") +', 1, 2);
    F3: = REGEXP_SUBSTR (S, "[^ |]") +', 1, 3);
    F4: = REGEXP_SUBSTR (S, "[^ |]") +', 1, 4);
    F5: = REGEXP_SUBSTR (S, "[^ |]") +', 1, 5);
    F6: = REGEXP_SUBSTR (S, "[^ |]") +', 1, 6);
    F7: = REGEXP_SUBSTR (S, "[^ |]") +', 1, 7);
    F8: = REGEXP_SUBSTR (S, "[^ |]") +', 1, 8);
    F9: = REGEXP_SUBSTR (S, "[^ |]") +', 1, 9);
    F10: = REGEXP_SUBSTR (S, "[^ |]") +' 1, 10);
    F11: = REGEXP_SUBSTR (s, "[^ |]") +', 1.11);

    insert into OPTUM_ICD10CM_BASE
    (OF THE CODE
    STATUS,
    SHORT_DESCRIPTION,
    LONG_DESCRIPTION,
    FULL_DESCRIPTION,
    CODE_EFFECTIVE_DATE,
    CHANGE_EFFECTIVE_DATE,
    TERMINATION_DATE,
    RELEASE_DATE,
    CREATION_DATE,
    VALIDITY)
    VALUES (F1,
    F2,
    F3,
    F4,
    F5,
    F6,
    F7,
    F8,
    F9,
    F10,
    F11);
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    EXIT;
    END;
    END LOOP;

    UTL_FILE. FCLOSE (F);
    END;
    ------------

    and format text as below


    A50.0 | Short | Long | Full | 01/01/2009 | / 01/2009 | 01/01/2013. 18/09/2012 | C |
    A50.1 | Short | Long | Full | 01/01/2009 | 01/01/2009 | 001-2013 | 18/09/2012 | C |
    A50.2 | Short | Long | Full|01-01-2009|01-01-2009|67|01-01-2013|09-18-2012| C |
    A50.3 | Short | Long | Full | 011-2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A50.4 | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | 5.
    A50.5 | R | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A50.6 | Short | Long | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A50.7 | Short | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    2345. Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A60.0 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A60.1 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A60.2 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A60.3 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A60.4 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A60.5 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A60.6 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A60.7 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A60.8 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A60.9 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A70.0 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A70.1 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A70.2 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A70.3 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A70.4 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    B222 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A4.1 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A4.2. N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A4.3 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A4.4 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A4.5 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A4.6 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A4.7 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A4.8 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A4.9 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A5.0 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A5.1. N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A5.2. B: Short | Long | Full|01-01-2009|01-01-2009|01-10-2013|01-01-2013|09-18-2012| C |
    A5.3 | B: Short | Long | Full|01-01-2009|01-01-2009|01-10-2013|01-01-2013|09-18-2012| C |
    D642 | B: Short | Long | Full|01-01-2009|01-01-2009|01-10-2013|01-01-2013|09-18-2012| C |
    A5.5 | B: Short | Long | Full|01-01-2009|01-01-2009|01-10-2013|01-01-2013|09-18-2012| C |
    A5.6 | B: Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A5.7 | C | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A001 | C | Short update | Long update | Full update | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A009 | C | Short update | Long update | Full update | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A5.10. C | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A0109 | C | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    F10.0 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    F10.1 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    F10.2 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    F10.3 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    F10.4 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    F10.5 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    F10.6 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    F10.7 | N | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A30 | C | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A316 | C | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |
    A317 | C | Short | Long | Full | 01/01/2009 | 01/01/2009 | 01/01/2013. 18/09/2012 | C |


    but I make an error such as ORA-06502: PL/SQL: digital or value error: character string buffer too small

    Please help me

    See now, you really have to think carefully, the code of operation step by step. Then you could help you.

    I told you to use a when others share to block emergency inside the LOOP and you that has changed in the external main block! Why?

    Simply change and recheck.

  • ORA-06502: PL/SQL: digital or value error: character string too small buffer

    Dear gurus, I'm generation mail format html from oracle 10 g database.

    Display the data in html format message body are superior to more than 32 k.

    can you please guide me how to handle this error?

    ORA-06502: PL/SQL: digital or value error: character string too small buffer


    I use the long data type for message body data.

    http://asktom.Oracle.com/pls/asktom/f?p=100:11:4325516854017254:P11_QUESTION_ID:1739411218448

    see you soon

  • Unexpected ' digital or the error value "when you use CAST COLLECT

    I have a problem with string using CAST aggregation / COLLECT and function to_string described on various sites around the net, including AskTom and http://www.oracle-developer.net/display.php?id=306.

    I get "digital or value error: character string buffer too small", but cannot see what limit I'm exceeding.

    I implemented a simple test case to highlight this problem I pasted below.

    The error does not come from the function to_string itself (otherwise, I expect that we would see "TO_STRING threw an exception" in the error message that is returned).

    Popular thoughts,

    Thank you, Andy

    SQL*Plus: Release 10.1.0.4.2 - Production on Tue Jun 15 09:56:53 2010
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> CREATE TYPE table_of_varchar2 AS TABLE OF VARCHAR2(32000);
      2  /
    
    Type created.
    
    SQL> CREATE OR REPLACE FUNCTION to_string (
      2              nt_in IN   table_of_varchar2
      3      ,       delimiter_in    IN VARCHAR2 DEFAULT ',')
      4      RETURN VARCHAR2
      5      IS
      6          l_idx   PLS_INTEGER;
      7          l_str   VARCHAR2(32767);
      8          l_dlm   VARCHAR2(10);
      9
     10      BEGIN
     11
     12          l_idx := nt_in.FIRST;
     13          WHILE l_idx IS NOT NULL LOOP
     14              l_str := l_str || l_dlm || nt_in(l_idx);
     15              l_dlm := delimiter_in;
     16              l_idx := nt_in.NEXT(l_idx);
     17          END LOOP;
     18
     19          RETURN l_str;
     20      EXCEPTION
     21          WHEN OTHERS THEN
     22              raise_application_error(-20000
     23                                  ,   'TO_STRING raised an exception. '||
     24                                      'The reported error was: '||sqlerrm);
     25     END to_string;
     26  /
    
    Function created.
    
    SQL> DECLARE
      2      l_longstring varchar2(32000);
      3  BEGIN
      4      SELECT  to_string(CAST( COLLECT( substr(object_name,1,1) ) AS table_of_varchar2 ) )
      5      INTO    l_longstring
      6      FROM    all_objects
      7      WHERE   rownum < 2001;
      8
      9  EXCEPTION
     10      WHEN OTHERS THEN
     11          raise_application_error(-20001
     12                ,   'The anonymous block raised an exception: '||
     13                    sqlerrm||'. '||DBMS_UTILITY.format_error_backtrace);
     14  END;
     15  /
    
    PL/SQL procedure successfully completed.
    
    SQL> DECLARE
      2      l_longstring varchar2(32000);
      3  BEGIN
      4      SELECT  to_string(CAST( COLLECT( substr(object_name,1,1) ) AS table_of_varchar2 ) )
      5      INTO    l_longstring
      6      FROM    all_objects
      7      WHERE   rownum < 2002;
      8
      9  EXCEPTION
     10      WHEN OTHERS THEN
     11          raise_application_error(-20001
     12                ,   'The anonymous block raised an exception: '||
     13                    sqlerrm||'. '||DBMS_UTILITY.format_error_backtrace);
     14  END;
     15  /
    DECLARE
    *
    ERROR at line 1:
    ORA-20001: The anonymous block raised an exception: ORA-06502: PL/SQL: numeric
    or value error: character string buffer too small
    ORA-06512: at line 1. ORA-06512: at line 1
    ORA-06512: at line 4
    ORA-06512: at line 11

    Hi André,.

    You have reached the limit of VARCHAR2 in SQL, which is 4000. The concatenated string is much longer. You get an even more informative error message if you deposit 20 to 24 lines in the to_string function.

    Kind regards
    Rob.

  • ORA-06502: PL/SQL: digital or value error: character of error number

    Hello gurus,

    I get the following error:
    ORA-06502: PL/SQL: digital or value error: character of number conversion error

    It happens on wizard generated in a table.
    DECLARE
    v_venue_prsntd_qtr varchar2(3);
    v_venue_prsntd_fy  number;
    
    BEGIN
    FOR i IN 1 .. apex_application.g_f02.COUNT
      LOOP
        IF apex_application.g_f05 (i) IS NOT NULL THEN 
            v_venue_prsntd_qtr := 
             Case WHEN TO_CHAR(apex_application.g_f05 (i), 'MON') IN ('OCT','NOV','DEC') THEN '1'
                  WHEN TO_CHAR(apex_application.g_f05 (i), 'MON') IN ('JAN','FEB','MAR') THEN '2'
                  WHEN TO_CHAR(apex_application.g_f05 (i), 'MON') IN ('APR','MAY','JUN') THEN '3'
                  ELSE '4'
                  END;
      -- INTO v_venue_prsntd_qtr
      -- FROM venue_prsntd
      -- WHERE venue_prsntd_seqno = apex_application.g_f02 (i) 
      -- AND dfcy_seqno = apex_application.g_f03 (i)
      -- AND apex_application.g_f05 (i) IS NOT NULL; 
    ----fiscal year
     --    v_venue_prsntd_fy := 
     --       CASE WHEN TO_CHAR(TO_NUMBER(TO_CHAR(apex_application.g_f05(i), 'MMDD'))) < 1001 THEN --------TO_CHAR(apex_application.g_f05 (i),'YYYY')
    --        ELSE TO_CHAR(TO_NUMBER(TO_CHAR(apex_application.g_f05 (i),'YYYY')) + 1) 
    --      END;
    
       --  INTO v_venue_prsntd_fy
       --  FROM venue_prsntd
       --  WHERE venue_prsntd_seqno = apex_application.g_f02 (i) 
       --  AND dfcy_seqno = apex_application.g_f03 (i) 
       --  AND apex_application.g_f05 (i) IS NOT NULL; 
       --  
    ---END IF;
      --- IF apex_application.g_f02 (i) IS NULL AND apex_application.g_f05 (i) IS NOT NULL Then 
              -- INSERT INTO venue_prsntd(venue_prsntd_qtr, venue_prsntd_fy)
              --                   VALUES(v_venue_prsntd_qtr, v_venue_prsntd_fy);
                 UPDATE VENUE_PRSNTD
                      SET VENUE_PRSNTD_QTR = to_number(v_venue_prsntd_qtr)
                         -- VENUE_PRSNTD_FY = v_venue_prsntd_fy
                 WHERE VENUE_PRSNTD_SEQNO = APEX_APPLICATION.G_F03(i);
    END IF;
    END LOOP;
    END;
    I'm trying to update venue_prsntd_qtr. I commented all the rest to see if I can limit the error is coming from.

    QTR is a numeric field in the database. I have gone back and forth with the variable type in the code and still get the same error.

    I use oracle db 10g, apex 3.2.1

    Thank you
    Mary

    Hi, I don't think it's possible to integrate with the routine auto mru. What you can do is to use a trigger to insert database after the cessation of the to do.

    Otherwise, you will still need a separate process Apex which runs after the SRM process.

    Luis

  • ORA-06502: PL/SQL: digital or value error: character buffer t string

    I understand the error, but I don't know where is the case,
    The error
    Exception: ORA-06502: PL/SQL: digital or value error: character buffer t string
    Little OO

    I know that to be here: but it makes no sense I got anought space, I got same increse VARCHAR2 (42); for VARCHAR2 (100);
    I guess my question is is there a way to debug, so I can see exactly which variable creates the problem.
    There is a lot of code, I hate to put all the code here, please help I'm stuck!
     PROCEDURE process2 (
          v_aidy_code   IN   faismgr.rorstat.rorstat_aidy_code%TYPE
       )
       IS
          v_filename1          VARCHAR2 (42);
          v_filename2          VARCHAR2 (42);
          v_path               VARCHAR2 (26);
          v_file_out1          UTL_FILE.file_type;
          v_file_out2          UTL_FILE.file_type;
          w_pidm               faismgr.rorstat.rorstat_pidm%TYPE;
          w_match1_no          NUMBER;
          w_match2_no          NUMBER;
          w_match3_no          NUMBER;
          w_match4_no          NUMBER;
          w_match5_no          NUMBER;
          w_match6_no          NUMBER;
          w_match7_no          NUMBER;
          w_match8_no          NUMBER;
          w_pidm_check         faismgr.rorstat.rorstat_pidm%TYPE;
          w_ssn_check          saturn.spbpers.spbpers_ssn%TYPE;
          w_idoc_id_no_check   NUMBER;
          w_pidm_no            NUMBER;
          w_comment            ryridoc_cover.nomatch_comment%TYPE;
          w_ryridoc_insert     VARCHAR2 (1);
          w_tgrp_code          faismgr.rorstat.rorstat_tgrp_code%TYPE;
          w_ntf                VARCHAR2 (1);
          d_space5             VARCHAR2 (5);
          w_no_recs            NUMBER;
          w_no_1recs           NUMBER;
          w_no_2recs           NUMBER;
          w_no_notprocessed    NUMBER;
          w_no_questionable    NUMBER;
          w_no_subsequent      VARCHAR2 (1);  
    
    BEGIN
               --v_path := '/' || SUBSTR (database_name, 1, 4)
          ----          || '/u02/sct/banner/bandev2/middlebury/dat_files';
           v_path     :=        'MIDD_DATA' ;
          v_filename1 :=
                  'idoc_nomatch' || TO_CHAR (SYSDATE, 'yyyymonddhhmiss')
                  || '.lis';
          v_filename2 :=
                    'idoc_error' || TO_CHAR (SYSDATE, 'yyyymonddhhmiss')
                    || '.lis';
          v_file_out1 := UTL_FILE.fopen (v_path, v_filename1, 'w');
          v_file_out2 := UTL_FILE.fopen (v_path, v_filename2, 'w');
          d_space5 := '     ';
          w_no_recs := 0;
          w_no_1recs := 0;
          w_no_2recs := 0;
          w_no_notprocessed := 0;
          w_no_questionable := 0;
          w_match1_no := 0;
          w_match2_no := 0;
          w_match3_no := 0;
          w_match4_no := 0;
          w_match5_no := 0;
          w_match6_no := 0;
          w_match7_no := 0;
          w_match8_no := 0;

    Certainly an improvement, you are now thank yourself.

    You are welcome, regardless of the problem.

    Concerning
    Peter

  • ORA-06502: digital or value error: character of number conversion error

    I met the following error when I ran function to_number_or_null PL/SQL of Donald. Someone here could help me find the solution? Thank you!

    SQL > create or replace FUNCTION to_number_or_null)
    2 aiv_number in varchar2)
    3 return number is
    4 / *
    5 to_number_or_null.fun
    6 by Donald J. Bales on 12/15/2006
    (7. a method of to_number without error)
    8 * /
    9 start
    10 return to_number (aiv_number);
    exception 11
    12 when INVALID_NUMBER then
    13 return NULL;
    14 end to_number_or_null;
    15.

    The function is created.

    SQL > select to_number_or_null('A') from double;
    Select to_number_or_null ('A') of double
    *
    ERROR on line 1:
    ORA-06502: PL/SQL: digital or value error: character of number conversion error
    ORA-06512: at "CAROL. TO_NUMBER_OR_NULL', line 10

    It seems that Donald must have handled VALUE_ERROR instead of INVALID_NUMBER.

    http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14261/errors.htm#LNPLS00703

  • PL/SQL: digital or value error: string buffer too small characters - LOV?

    Environment:

    APEX 3.1.1.00.09 under AIX 5.3 10.2.0.2 in

    Problem sample on apex.oracle.com:

    Workspace: GALWAY
    ID: GWICKE
    Password: GWICKE

    Application ID: 43172 (BUILDERPL) NOTE: there are three 3 applications with the same name, but this one is currently broken

    I get the dreaded "" ORA-06502: PL/SQL: digital or value error: character string buffer too small "when you try to create a new line."

    To reproduce the error:

    1 run page 3
    2 - Select any agency
    3 - Click on the button "create a new contract.
    4 - Select the start and end dates in the DATE picker
    5 - Click on the button "Add contract".

    If the line is added successfully if please go to Indianapolis and run the app for me since you obviously have the 'touch '! ;-) >

    But seriously folks,

    I've read many threads about this error and for the most part, they seem to point to large LOV. I have three 3 LOV on the page but only a 1 is dynamic and display and back elements are the same, a description in this case. There are 400 lines in the LOV table and the description is defined as VARCHAR2 (75), so we're not talking a huge amount of data.

    To further complicate the issue, this application was working just a couple of days. What changes I've made since a few days, you might ask?

    The only thing that comes to mind is I did go through the definitions of element and change the values of maximum size equal to the size of the columns in the target table, using a value of 22 for the NUMBER of columns.

    Since then I went back and changed at a much greater value than their corresponding column definitions, but nothing helped.

    Another interesting fact is that if an existing contract is selected on the page (Page 3 in my case) by selecting an agency that produces values in the second select list (selection of contract) and then clicking on "change this contract." After you change any value or fill in one of the missing values, click "Apply Changes" and he should have success.

    The new contract page and the page of modification of the contract are the same (Page 2) just with different buttons.

    Thanks a lot for any assistance. Indeed, it is greatly appreciated.

    -gary

    PS I also tried to change the LOV both given a popup and a standard text box I typed in, both received the same message.

    Gary - I deleted then recreated your DML process and it seems to have solved the problem. Export page reveals something odd in the process definition:

    declare  p varchar2(32767) := null;  l_clob clob;  l_length number := 1;beginp:=p||'F|#OWNER#:BUILDERPL_CONTRACT:P2_CONTRACT_SEQ:CONTRACT_SEQ|I';
    
    wwv_flow_api.create_page_process( ...
    

    That the assignment statement must not have ' F | "as the first two characters. There must be a bug in one of the wizards who created the process. Have you used a wizard to create the page?

    Scott

Maybe you are looking for

  • Satellite L665D - No POST after LCD cable Strip

    I have a Satellite L655d S5550 and a few months ago, it has no video after a break caused by the process of closing LCD I've ever done. After her, I try:a power drainingturn to the memory of RAM slotTurn on with just a memoryOdd and band and reaset h

  • Problem loading battery Camileo H20

    I bought a charger mobile expensave that plugs into the 12v car power socket to recharge the camcorder while on the move. The charger has a taken USB port that delivers 5V @ 2A of load. No matter how long the camcorder is connected, the battery light

  • Send notifications without ever waiting on them

    In my application, I use tax filers to power state changes to production line controller. Now, I started adding features offline to the show where the end PLC is not present (or not supposed to be listening) and therefore does not need to get notific

  • ESD anti-static bracelet

    I have a laptop Acer Aspire 5738ZG and need to clean the fan. Where I connect the ESD wrist strap to the land of my self and avoid damage to the computer inside.

  • Just improved m tips on best practices for sharing files on a Server 2008 std.

    The field contains about 15 machines with two domain controllers, one's data is the app files / print etc...  I just upgraded from 2003 to 2008 and want to get advice on best practices for the establishment of a group of file sharing. Basically I wan