acquire the pwm on a number line

Hello

Anyone has a suggestion or a start of code that would allow me to gain a cycle on a digital input port? I have 24 (0-5 VDC) pwm signals I need to monitor on a continuous basis during the durability test. Currently, I use counters on a map of series x (6323 PCIe) but my sample size has increased and we prefer not to use the 6 daq cards.

Thank you

Diesel

The precision with which you need to measure the cyclical report, regarding the units of time?  Or, Alternatively, what is the minimum time you need to be able to measure?  I do not have a 6323, but it seems you can do in the buffer for the acquisition of digital signals up to 1 MHz; It is fast enough for your application?  If so, you can calculate the cyclical report by reading a certain number of samples (several periods is probably best), adding the number of real samples and dividing by the total number of samples.  (I do this by using the Boolean value to 0.1 function, cast from a 32-bit value, if necessary, then add the elements of the array and split.)

Tags: NI Software

Similar Questions

  • Database does not start... ALTER database open; change the database open * ERROR at line 1: ORA-03113: end of file on the channel of communication process ID: 10400 Session ID: 418 serial number: 3 -.

    HI during startup of the database of the following errors is. Please help solve the problem.

    SQL > alter database open;

    change the database open * ERROR at line 1: ORA-03113: end of file on the channel of communication process ID: 10400 Session ID: 418 serial number: 3 -.

    ============================================================

    Please see the alerts log entries

    --------------------------------------------------------------------------------------------------------------------------------

    Commissioning:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    With the options of partitioning, OLAP, Data Mining and Real Application Testing.

    Using parameters in spfile D:\APP\ADMINISTRATOR\PRODUCT\11.2.0\DBHOME_1\DATABASE\SPFILEATTNDPRD server-side. ORA

    Parameters of the system with default values:

    process = 400

    sessions = 624

    memory_target = 4G

    control_files = 'D:\ORACLE\ORADATA\ATTNDPRD\CONTROLFILE\O1_MF_8LRQYB0M_. CTL.

    control_files = 'C:\ORACLE\ORADATA\ATTNDPRD\CONTROLFILE\O1_MF_8LRQYB13_. CTL.

    DB_BLOCK_SIZE = 8192

    compatible = "11.2.0.0.0."

    log_archive_format = "ARC%S_%R.%T."

    db_create_file_dest = 'D:\oracle\oradata. '

    db_create_online_log_dest_1 = "D:\oracle\oradata".

    db_create_online_log_dest_2 = "C:\oracle\oradata".

    db_recovery_file_dest = 'C:\oracle\oradata\flash_area. '

    db_recovery_file_dest_size = 8G

    undo_tablespace = 'UNDOTBS1.

    Remote_login_passwordfile = "EXCLUSIVE."

    db_domain = «»

    dispatchers = "(PROTOCOL=TCP) (SERVICE = ATTNDPRDXDB)" "

    audit_file_dest = "D:\APP\ADMINISTRATOR\ADMIN\ATTNDPRD\ADUMP".

    AUDIT_TRAIL = 'DB '.

    db_name = "ATTNDPRD".

    open_cursors = 300

    diagnostic_dest = "D:\APP\ADMINISTRATOR".

    Sun 24 May 13:43:09 2015

    PMON started with pid = 2, OS id = 5792

    Sun 24 May 13:43:09 2015

    VKTM started with pid = 3, OS id = 6500 high priority

    VKTM clocked at (10) precision of milliseconds with DBRM quantum (100) ms

    Sun 24 May 13:43:09 2015

    GEN0 started with pid = 4, OS id = 13072

    Sun 24 May 13:43:09 2015

    DIAG started with pid = 5, OS id = 1424

    Sun 24 May 13:43:09 2015

    DBRM started with pid = 6, OS id = 8240

    Sun 24 May 13:43:09 2015

    PSP0 started with pid = 7, OS id = 2980

    Sun 24 May 13:43:09 2015

    DIA0 started with pid = 8, OS id = 12956

    Sun 24 May 13:43:09 2015

    MA started with pid = 9, OS id = 13356

    Sun 24 May 13:43:09 2015

    DBW0 started with pid = 10, OS id = 14248

    Sun 24 May 13:43:09 2015

    DBW1 started with pid = 11, OS id = 17900

    Sun 24 May 13:43:09 2015

    LGWR started with pid = 12, OS id = 5564

    Sun 24 May 13:43:09 2015

    CKPT started with pid = 13, OS id = 16736

    Sun 24 May 13:43:09 2015

    SMON started with pid = 14, OS id = 14068

    Sun 24 May 13:43:09 2015

    RECCE has started with pid = 15, OS id = 16288

    Sun 24 May 13:43:09 2015

    MMON started with pid = 16, OS id = 10884

    commissioning 1 dispatcher (s) for '(ADDRESS =(PARTIAL=YES) (PROTOCOL = TCP))' network address...

    commissioning or shared server 1...

    Environment ORACLE_BASE = D:\app\Administrator

    Sun 24 May 13:43:09 2015

    ALTER DATABASE MOUNT

    Sun 24 May 13:43:09 2015

    MMNL started with pid = 17, OS id = 16128

    Mount of redo thread 1, with mount id 3325657453

    Database mounted in exclusive Mode

    Disabled lost write protect

    Completed: ALTER DATABASE MOUNT

    Sun 24 May 13:43:23 2015

    change the database open

    Sun 24 May 13:43:23 2015

    LGWR: FROM PROCESS ARCH

    Sun 24 May 13:43:23 2015

    Arc0 started with pid = 21, OS id = 10084

    Arc0: Started archiving

    LGWR: FROM PROCESS ARCH COMPLETE

    ARC0: FROM PROCESS ARCH

    Sun 24 May 13:43:24 2015

    Arc1 started with pid = 22, OS id = 18400

    Sun 24 May 13:43:24 2015

    ARC2 started with pid = 23, OS id = 17280

    Arc1: Started archiving

    ARC2: Started archiving

    Arc1: become the "no FAL' ARCH

    Arc1: become the "no SRL" ARCH

    ARC2: Become the heartbeat ARCH

    Errors in the d:\app\administrator\diag\rdbms\attndprd\attndprd\trace\attndprd_ora_10400.trc file:

    ORA-19815: WARNING: db_recovery_file_dest_size 8589934592 bytes is 100.00% used and has 0 bytes remaining available.

    ************************************************************************

    You have choice to free up space in the recovery area:

    1 consider changing STRATEGY OF RETENTION of RMAN. If you are using Data Guard

    then consider changing POLICY of DELETE ARCHIVELOG RMAN.

    2 back up files on a tertiary device such as a tape with RMAN

    SAFEGUARDING RECOVERY AREA command.

    3. Add space drive and increase the db_recovery_file_dest_size setting to

    reflect the new space.

    4 remove the unnecessary files using the RMAN DELETE command. If a service

    the system control has been used to remove the files, and then use the RMAN DUPLICATION and

    Commands DELETE has EXPIRED.

    ************************************************************************

    Errors in the d:\app\administrator\diag\rdbms\attndprd\attndprd\trace\attndprd_ora_10400.trc file:

    ORA-19809: limit exceeded for file recovery

    ORA-19804: cannot recover disk 44571136 bytes limit 8589934592 space

    ARCH: 19809 error creating archive log file to ' C:\ORACLE\ORADATA\FLASH_AREA\ATTNDPRD\ARCHIVELOG\2015_05_24\O1_MF_1_10343_%U_. ARC'

    Errors in the d:\app\administrator\diag\rdbms\attndprd\attndprd\trace\attndprd_ora_10400.trc file:

    ORA-16038: log 2 # 10343 sequence can be archived

    ORA-19809: limit exceeded for file recovery

    ORA-00312: wire 2 1 online journal: ' D:\ORACLE\ORADATA\ATTNDPRD\ONLINELOG\O1_MF_2_8LRQYD8B_. JOURNAL"

    ORA-00312: wire 2 1 online journal: ' C:\ORACLE\ORADATA\ATTNDPRD\ONLINELOG\O1_MF_2_8LRQYDF6_. JOURNAL"

    USER (ospid: 10400): put an end to litigation because of the error 16038

    Sun 24 May 13:43:24 2015

    ARC3 started with pid = 24, OS id = 2188

    Errors in the d:\app\administrator\diag\rdbms\attndprd\attndprd\trace\attndprd_arc2_17280.trc file:

    ORA-19815: WARNING: db_recovery_file_dest_size 8589934592 bytes is 100.00% used and has 0 bytes remaining available.

    ************************************************************************

    You have choice to free up space in the recovery area:

    1 consider changing STRATEGY OF RETENTION of RMAN. If you are using Data Guard

    then consider changing POLICY of DELETE ARCHIVELOG RMAN.

    2 back up files on a tertiary device such as a tape with RMAN

    SAFEGUARDING RECOVERY AREA command.

    3. Add space drive and increase the db_recovery_file_dest_size setting to

    reflect the new space.

    4 remove the unnecessary files using the RMAN DELETE command. If a service

    the system control has been used to remove the files, and then use the RMAN DUPLICATION and

    Commands DELETE has EXPIRED.

    ************************************************************************

    Instance of stopped by USER, pid = 10400

    --------------------------------------------------------------------------------------------------------------------------

    Regarding

    Ngoyi

    Hello

    Now it works very well... with following

    --------------------------------------------------

    using sqlplus

    • Startup mount
    • ALTER database noarchivelog;
    • ALTER database open;

    -------------------------------------------------------------------------------

    Concerning

    Ngoyi

    -------------------------------------------------

  • When I use a Web browser, the number line doesent work,

    When I use a Web browser, the row, knit doesent number, he repeated that the last letter typed as I type k and press any number and slap k again, that has started after a windows update, how to fix?

    If you are a customer of Comcast and constant guard is installed, see this discussion: http://forums.comcast.com/t5/Security-and-Anti-Virus/Constant-Guard-Numeric-Keyboard-Problem/td-p/926185

    If this is not the case, is installed GuardedID?
    http://www.GuardedID.com

    Partners:

    Constant guard (Comcast)
    http://security.Comcast.NET/constantguard

    Keep constant - keypad problem? (May 02-11 & ff)
    http://forums.Comcast.com/T5/security-and-anti-virus/constant-guard-numeric-keyboard-problem/TD-p/926185

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    You will find support for Internet Explorer in this forum: http://answers.microsoft.com/en-us/ie

  • Separate the phone numbers on several lines

    Hello

    I have a list of phone numbers in a single column. Some cells have 1 phone number, some have 2, and some have 0. Cells with 2 phone numbers are separated by semicolons.

    I need all the phone numbers in a single column with 1 phone number in each row. The order does not matter, so I'll "Sort Ascending" once completed to get rid of the empty cells with no phone number.

    I need a function that takes the numbers after the comma and puts them on their own line in the same column.

    Note that the numbers are in the format: + 1-xxx-xxx-xxxx so if please be aware formatting as text and not as a mathematical equation.

    Thank you in advance.

    Hi B,

    Easy enough, as long as all entries are accurate according to the format you described. Here are two examples, all tous deux two on the same table. The selected cells are part of the first example and are not used in the second.

    End of flag: The two examples use the flag to end on the A11 to indicate when the formulas have reached the end of the list. As entered flag consists of eight occurrences of the text "end" (including the trailing space), with the final space deleted. This will be assimilated by the formula two phone numbers, provide an indicator of the end of each list.


    Example 1:

    Separates the first phone number in column B using this formula in B2, filled up to the last line containing a phone number in column A (or the line beyond if you want that the flag of the 'end').

    B2: = IF (LEN (A) < 1", LEFT(A,15))

    Len (A) checks no entry in its ranks. If that is found, IF put a string NULL. If there is an entry, LEFT out the first 15 characters.

    The second n phone number each line is copied into column C with this similar formula in C2 and filled up to the last line containing an entry in column A.

    C2: is equal to IF (LEN (A) < 16", RIGHT(A,15))

    If there are two numbers in this line from A cell, the semi colon will be the 16th character.

    After having extracted the numbers in two columns:

    Select all the cells in column B of B2 on the last containing a B10 number in this example). Copy.

    Go menu Edition > paste formula results

    Select all the cells in column C of C2 on the last containing a number C10). Copy.

    Click once on the empty cell in column B, following the list of the "first numbers" (B11 in this example).

    Go to edit > paste the results of the formulas.

    You can now sort the table according to the values (telephone numbers) in column B.

    Example 2:

    Separates the first phone number in column B using this formula in B2, filled up to the last line containing a phone number in column A (or the line beyond if you want that the flag of the 'end').

    B2: = IF (LEN (A) < 1", LEFT(A,15))

    Len (A) checks no entry in its ranks. If that is found, IF put a string NULL. If there is an entry, LEFT out the first 15 characters.

    The second phone number n that each line is copied into column B, starting after the cell containing the flag of the 'end '.

    Enter the following formula in the marketing of cells (B12 in the example) and fill down until the formula produces another flag to end.

    B12: = IF (LEN (A2) < 16", RIGHT(A2,15))

    Note that because this version of the formula is not on the same line as the EMF of the cell that is copied the phone number, it must the line included in the references.

    When the terminator is reached:

    Click on each of the cells that contain the end flags, and then press DELETE to remove the flags from the list.

    Select all THE cells B2 at the end of the list of telephone numbers. Copy.

    Go menu Edition > paste formula results

    With replaced by their latest results calculated formulas, you can now sort the table on column B.

    Kind regards

    Barry

  • Replace the string on a specific line

    Hi everyone thanks in advance for your time.

    I have almost finished a project, (a software to manage the booking of hotel rooms and a database of passengers).

    I made a function that writes a .txt file a cluster with some personal information string type fields, each field is separated by tabs, and each client separated by a line news.

    Example: name address phone etc.

    Robert xxxxxx yyyyyyy

    Patrick xxxxxx yyyyyyy

    Mila xxxxxx yyyyyyy

    Now I don't know how I can do to perform a search by name and to be able to change each field.

    Example:

    If I search for Patrick, I want to be able to change the address or phone number or any other field.

    I know how to search in a text file, until I reach the word, but I don't find a way to change the field and write once again the information in the same file in the same line of origin.

    Any contribution will be great! Thanks again.


  • generate the signal of decimal number

    Hello

    I have a program that calculate the heart rate from the ECG signal. I want to show the beats per minute on a graph with 60 s of the plot of the story.

    Since the vi who calculate the heartbeat I get output the string with the number, only when the wave of the tip, then I convert it to a number and then I place the offset of a simulated DC signal.

    (In the table below the beats per minute are always 60 because I'm simulating a sinusoidal signal with 1 Hz).

    ------>

    It works fine, but I'd like to see not the summits but a continuous line from one point to another, such as interpolation.

    in this case, it would have been a horizontal line to 60 BPM.

    I thought to store the last value of the chain and keep it frozen until the next update of value.

    Do you have suggestions on how to do it?

    Concerning

    Not clear what you get in the form of numbers, seems that you get too many zeros, and you get a decimal number or another 'dynamic '? value?

    You pulse-rate information could be ~ 45 to > 180 values per minute!

    You display the exact story of a minute?  Maybe (keep the last ~ 300 values with timestamps and use an XY diagram) a graphic story can be configured to display

    wait... Here's one way:

    I fed a chart (with 256 points in history), with a waveform. the wfrm has only a single value in the array of values and a t0. The chart is configured to display the 60 sec.  Seems to work

    My simulation will display a min rate of ~ 45 BPM, but you can beat him

  • Acquire the values only when the digital output is high.

    Hello

    I work with test of transistor, whose door is controlled by the digital release of USB6289, related to BNC2120.

    Test plan:

    Door 1.transistor is enabled for 5seconds, with P0.0 for example

    2. then, everything remains off for 1secondes.

    3.p0.1 is used as digital output to activate the circuit passing him curent through in the opposite direction, P0.1 goes high for 3 seconds, PS: Gate is off.

    4. the same cycle repeats again.

    My question is to store values to the output of the transistor when P0.0 and P0.1 goes high, and these values should not change until my digital outputs respective again go high.

    I can access transistor by continiously read out my power supply values.

    and in the State off I want to read AI0 because at that time, my power supply is off, so that I can activate the circuit to pass the current in the opposite direction.

    Again, my question is to gain the output through power value when P0.0 is high and store them until the transistor turns on.

    and even for P0.1, acquire the value of output through AI0, when P0.1 is high and store it until it goes high again.

    Hopefully, I'm able to explain my problem clearly.

    Please help me.

    Concerning

    Anurag

    Think about what States (object:statemachine and determine when to use sequence Structures) do you want from t0... t(n-1), IF DAQmx generates outputs and/or inputs are absorbed and what needs to happen (event timed out), before move you on to the next 'State '.

    type def 'enum' with your different States:

    • initialize
    • wait (the user initializes times (sec) set for States, or whatever and presses button 'Start')
    • T0 (generate DigOutputs, store acquired data AnalogOutput (string output number) the register shift, before moving to the next State > user 'set time' must elapse (Note: the wait function allows you to control the rate of execution of loop and allow the CPU to respond to external events and system tasks and avoid using wait functions at the same time an operation of software...))
    • ...
    • t(n-1) if ' end (made requirement) "> goto 'stop', ' another (not requirement not)" > goto regardless of 'State '.
    • stop
    • write a text file of data (string).
  • With the help of a number variable in a SQL statement

    Hello

    I am trying to use a variable in a sql statement, and I ran into problems when the variable is a number. The following line of code works if the variable is a string, but not if it is a number.

    "SELECT PAGE 1 UUT_STATUS OF UNIT_UUT_RESULT WHERE UnitID = '" + Locals.LocalUnitID + "' ORDER BY DESC START_DATE_TIME.

    Is there a difference in the use of single and double quotes and the sign for numbers variables +?

    Thank you

    Stuart

    Jervin is almost correct in the post above.

    While it is correct that numbers in SQL are not enclosed in single quotes ('), we still need the entire expression to a string.  If Locals.LocalUnitID is stored as a number to TestStand, you will need to cast to a string so that the string concatination works properly.

    I believe that the correct form is as follows:

    "SELECT PAGE 1 UUT_STATUS OF UNIT_UUT_RESULT WHERE UnitID ="+ Str (Locals.LocalUnitID) + 'ORDER BY DESC START_DATE_TIME'

  • Problem when the PWM signal combinning and analog signal TOGETHER!

    Hello everyone,

    first I DAQmx 6212, and I need to run the water pump small (9V - 16V) that should be driven by a PWM signal; I also have a motor (5V - 13V) for a water supply which must be controlled by an analog signal and it has built in a force feedback potentiometer, I logged onto this potentiometer correction + 5V the DAQmx and used the output voltage of the third extremety as a value to diagnose to know the position of the engine.

    My VI shows:

    1 is a normal meter production to create my PWMout signal.

    2 is an analog input, I use it as a PWMin to the LabVIEW to diagnose what is happenning in my pump water through the cycle and frequency.

    3 is an entry of the third extremety of the analog potentiometer.

    4 is an analog output that I used as power supply of the motor valve and I used an AC/DC amplifier for aplify signal the DAQmx and the motor road, between the two (3. 4.) I made a comeback with a few calculations, I had a P-controller to know the real position of the engine valve.

    My problem:

    When setting to 1. and 2. in the same VI only, I get an own PWM output with no problem.

    also with 3. and 4. in the same VI only i can control the motor valve without any problem.

    but when I put all these 4 set found in the attached VI, I have a problem as the engine valve turn continuously without stopping even if I change the position of the valve between 0 and 100%, I should mention that I see a PWM normal outside a signal on my oscilloscope, another thing to delete one of (1 or 2)  and run the engine valve VI works fine without any problems.

    so this my problem, if you can think of any solution please let me know.

    Thanks in advance for your help.

    Kind regards

    Caliente

    Here's your VI, slightly modified so the two analog inputs belong to the same task.  This if only for purposes of illustration, I him have not tested.  You will still need to do some debugging.

    While changing your VI, I noticed another potential problem with your original configuration.  You have configured the two tasks of AI for the same frequency, but read you 10000 samples of one of them and only 100 samples from the other (and throw it most of it).  Data acquisition data are buffered, and if you read as fast as you acquire, the buffer fills eventually.  If you read 10,000 samples of a channel, and the other channel acquires at the same rate, then when you read from the second channel you will get old stale data or an error full buffer.

  • Result of the calculation were separated to the whole and decimal, number not rounding correctly

    I have 2 fields as a result of sharing: the whole and decimal number (1 decimal place). I Math.floor the result to get the whole number and everything is fine until I hit a case where the result is 92,97.

    This should give "93" in the whole of the field and '0' in the decimal field, instead it gives me '92' and '10' (even though I'm only hosting 1 character in the field).

    How can I get the '93' and '0' in the following code?

    fieldLVEDV = this.getField("LVEDV").value;

    fieldBSA = this.getField("BSA").value;

    If (fieldLVEDV! = "" & & fieldBSA! = "") {}

    totalLVEDV = this.getField("LVEDV").value + ((this.getField("LVEDVDec").value)/10);

    calculation = (totalLVEDV / fieldBSA);

    calculationDecimal = calculation;

    partWhole = Math.floor (calculation);

    if(partWhole <0) {partWhole =' ' ;}}

    this.getField("Index").value = partWhole;

    this.getField("IndexDecimal").value = Math.round (10 *(calculationDecimal-partWhole));

    {If (this.getField("IndexDecimal").value = '10')

    {

    this.getField("Index").value = partWhole + 1;

    this.getField("IndexDecimal").value = "0".

    }}

    } else {}

    this.getField("Index").value = "";

    this.getField("IndexDecimal").value = "";

    }

    I thought I'd add the blue part would do the job, but obviously it did not work.

    Ah, your problem is that you do not use the correct comparison operator. To check if two values are equal, the operator is "==" not not "=". Using "=", you assign the value 10 to the field which you then pass in 0 a few lines down. Use 'is' and things should work correctly.

  • I have a request for a phone number in my HTML code in my database which is automatically filled with the correct sales phone number when sending emails. I create HTML code in dreamweaver and then put the code in my e-mail program. I need to do the ph

    I have a request for a phone number in my HTML code in my database which is automatically filled with the correct sales phone number when sending emails. I create HTML code in dreamweaver and then put the code in my e-mail program. I need to make the phone number in the clickable query. I know the code to do it well not in a query. What is the code?

    As far as I saw, most of the smartphones will automatically recognize it these days, as long as the number is written in a format of regular phone number. This format also allows to make images or text other than a telephone number in a tap to call the link.

    Looking at what you have presented I guess it would be something along the lines of...

    urmcell>>">urmcell >

    When the location of the link and the link text would be the same variable.

    I've never worked with Intelliclick so above is a wild guess. They would be those who need to ask themselves if there is a way to fill in the address of a link like that.

  • Run the procedure by table number

    Hello

    Oracle 11.2.0.1
    Windows

    Create the np_type type is varray (3) of the number
    /

    Create the cn_type type is varray (3) the number;
    /

    Create the cxn_type type is varray (3) of varchar2 (2000)
    /

    I created the TEST table by pl/sql block below:

    declare
    execstr varchar2 (2000): =' create table test(';)
    Start
    because me in 1.80 loop
    execstr: = execstr | 'col ' | TO_CHAR (i) | 'number,';
    end loop;
    execstr: = substr (execstr, 1, length (execstr)-1);
    execstr: = execstr | ')';
    dbms_output.put_line (execstr);
    run immediately execstr;
    end;
    /

    create the table sp_table (Splitid number, Delimiterlength number);
    insert into sp_table values (1.4);
    insert into sp_table values (2.7);
    insert into sp_table values (3.9);
    insert into sp_table values (4.1);
    insert into sp_table values (5.2);
    insert into sp_table values (6,6);


    create or replace procedure myproc1
    (
    STRX in varchar2, delarray in np_type)
    as
    execstr varchar2 (2000);
    CN cn_type.
    CXN cxn_type;
    XPos number: = 1;
    Start
    execstr: = ' insert into test values(';)
    because loop me in 1.3
    Select Delimiterlength in the sp_table (i) cn where Splitid = delarray (i);
    CXN (i):=substr(STRX,XPos,CN(i));
    execstr: = execstr | CXN (i) | ',';
    XPos: = (i) cn + xpos;
    end loop;
    execstr: = RTRIM (execstr, ','). ')';
    dbms_output.put_line (execstr);
    -execution immediate execstr;
    end;
    /

    SQL> declare
      2    v np_type:=np_type(4,4,4);
      3    begin
      4    --dbms_output.put_line(v(3));
      5    exec myproc1('111',v);
      6    end;
      7  /
      exec myproc1('111',v);
           *
    ERROR at line 5:
    ORA-06550: line 5, column 8:
    PLS-00103: Encountered the symbol "MYPROC1" when expecting one of the
    following:
    := . ( @ % ;
    The symbol ":=" was substituted for "MYPROC1" to continue.
    
    SQL>
    The procedure above will insert the numbered string supplied in the test table that splits the chain numbered inspires provided splitids of sp_table.

    In fact, I tried to help a member of the forum for his question, but I'm not get where I get the above error. Of course, there is little that miss me, but not that. This thread is running too in this forum.

    Please help me.

    Concerning
    Girish Sharma
    create or replace procedure myproc1
    (
    strx in varchar2, delarray in np_type)
    as
    execstr varchar2(2000);
    cn cn_type := cn_type(null, null, null);
    cxn cxn_type := cxn_type(null, null, null);
    xpos number:=1;
    begin
    execstr := 'insert into test values(';
    for i in 1..3 loop
    select Delimiterlength into cn(i) from sp_table where Splitid = delarray(i);
    cxn(i):=substr(strx,xpos,cn(i));
    execstr :=execstr || cxn(i) || ',';
    xpos :=cn(i) + xpos;
    end loop;
    execstr := RTRIM(execstr,',')|| ')';
    
    dbms_output.put_line(execstr);
    --execute immediate execstr;
    end;
    /
    

    and

    declare
        a1 number :=4; a2 number :=4; a3 number :=4;
        v np_type:=np_type(a1,a2,a3);
        begin
        for i in 1..3 loop
        dbms_output.put_line('v(' || i || ') = ' || v(i));
        end loop;
        myproc1('111',v);
        end;
    /
    

    Your varrays are null or empty in myproc1

  • Number line [99999] exceeded maxium. Contact analytic provider Services

    Hello
    I'm trying to update a large recovery (400 lines). The data source is Essbase. And I'm using SmartView Addin.

    I get an error message:
    Number line [99999] exceeded maxium. Contact the administrator of analytic provider Services

    I try to update Smart View > Options > maximum number of rows, but I always get the error message.

    the solution is to split the file into a smaller file... not very effective! You have a solution (server by setting for example)?

    Rgds

    Xavier

    Increase the parameters of lines Max as follows:

    1. open the \APS\bin\essbase.properties file.
    2. find the parameter:
    service.olap.dataQuery.grid.maxRows = 5000.
    3 increase the setting. Please keep in mind the limits specified below Excel.
    4 save the file and restart the server Analytic Provider Services.

    Reference: SmartView error ' 1020011: maximum number of outdated lines ' when retrieving data (Doc ID 827919.1) MOS

    HTH-
    Jasmine.

  • How to apply the created style as a number of list twice but the new paragraph begins number 1?

    Hi all

    I work in design and I created a style sheet that applies the list of numbers in the paragraph highlighted.

    NOOW I am facing a problem. If the same style on the same page but for another paragraph he continues with the next number in the first list of numbers, as it actually should start with number 1.

    Does anyone know how to start the next list of numbers with number 1 again even if I apply the same style of number again to a different point on the same page?

    Please let me know.

    Thanks in advance for your help.

    Quick fix:

    Right-click / CTRL-click (to get the context menu) on the first line of the second number list and select Restart numbering from the list of options.

    Repeat as needed for the following lists.

  • Pivot number lines number Variable fixed columns

    Hello world

    Here is my desired result.

    Consolidation of less than 18 years 18-25 26-35 36-45 46-55 of 55
    Unit 0 32 57 12 15 86
    Unit 1 85 14 0 32 66 B
    Unit 77 69 91 33 7 C 0
    54 17 8 2 51 61 D unit

    Where do you see zeros in the age categories that no line is to provide information.

    Here is my entry.

    WITH my_categories AS (SELECT 1 AS 'ID', "less than 18 years of age" AS "CATEGORY")
    OF THE DOUBLE
    UNION ALL
    SELECT 2, 18-25'
    OF THE DOUBLE
    UNION ALL
    SELECT 3, 26-35'
    OF THE DOUBLE
    UNION ALL
    SELECT OPTION 4, 36-45'
    OF THE DOUBLE
    UNION ALL
    SELECT 5, 46 - 55'
    OF THE DOUBLE
    UNION ALL
    SELECT 6, 'more than 55'
    THE DOUBLE).
    AS my_table
    (SELECT ' unit has "AS"UNIT", 2 AS 'Stuff', AS 'COUNT' 32)
    OF THE DOUBLE
    UNION ALL
    SELECT 'Unit A', 3, 57
    OF THE DOUBLE
    UNION ALL
    SELECT "Unit A", 4, 12
    OF THE DOUBLE
    UNION ALL
    SELECT "Unit A", 5, 15
    OF THE DOUBLE
    UNION ALL
    SELECT 'Unit A', 6, 86
    OF THE DOUBLE
    UNION ALL
    SELECT 'Unit B', 1, 1
    OF THE DOUBLE
    UNION ALL
    SELECT 'Unit B', 2, 85
    OF THE DOUBLE
    UNION ALL
    SELECT 'Unit B', 3, 14
    OF THE DOUBLE
    UNION ALL
    SELECT 'Unit B', 5: 32
    OF THE DOUBLE
    UNION ALL
    SELECT 'Unit B', 6, 66
    OF THE DOUBLE
    UNION ALL
    SELECT 'Unit C', 1, 77
    OF THE DOUBLE
    UNION ALL
    SELECT 'Unit C', 2, 69
    OF THE DOUBLE
    UNION ALL
    SELECT 'Unit C', 3, 91
    OF THE DOUBLE
    UNION ALL
    SELECT "Unit C," 4: 33
    OF THE DOUBLE
    UNION ALL
    SELECT 'Unit C', 5, 7
    OF THE DOUBLE
    UNION ALL
    SELECT "unit D ' 1, 54
    OF THE DOUBLE
    UNION ALL
    SELECT "unit D", 2, 17
    OF THE DOUBLE
    UNION ALL
    SELECT "unit D", 3, 8
    OF THE DOUBLE
    UNION ALL
    SELECT "unit D", 4, 2
    OF THE DOUBLE
    UNION ALL
    SELECT "unit D", 5, 51
    OF THE DOUBLE
    UNION ALL
    SELECT "unit D ', 6, 61
    THE DOUBLE)
    -SELECT * FROM MY_CATEGORIES
    -SELECT * FROM MY_TABLE
    SELECT *.
    FROM my_table
    JOIN THE
    my_categories
    ON my_categories.id = my_table.category_id
    ORDER BY my_table.unit, my_table.category_id

    Any suggestions?

    Thanks in advance for your help,

    Lou

    Hey, Lou,

    See [this thread | http://forums.oracle.com/forums/message.jspa?messageID=3227388#3227388] to find out how the pivots.
    This example uses COUNT; in this issue, you will want to use MIN or MAX instead.

    If the number of columns is fixed and that you can hard-code the column headings in the query, then you won't need to use dynamic SQL statements.

    Published by: Frank Kulash, June 17, 2009 16:50

Maybe you are looking for

  • I'm looking for a file that was left after an uninstall

    I recently downloaded a program with a crack file, figure I would try to get something for nothing. A message came on a serial number fake identity card, and the program stops. So I uninstalled the program and downloaded the legitimate program, this

  • XBOX 360 emaill address correctly entered

    Hello Micrcosoft community: My son typed the wrong e-mail address in its XBOX 360 console, where it adds a letter that is not part of my email address.  This incorrect spelling of the address of electronic mail on the XBOX 360 console has created a s

  • Gaming device

    I'm having a problem and can not find an answer.I have a Thrustmaster Top Gun Afterburner 2 and can not make it work with windows 7so when I look at Device Manager I see this HID-compliant game controller (Windows cannot load the driver for this hard

  • You have an example of flip 3D using Adobe Edge effect.  I was able to do with Flash but do not border

    HelloCould you give me an example of something staggering like on this page...Stunning 3D map | CSS, CSS transforms and animations CSS transitionsbut created in Adobe Edge.Any ideas? There are a few examples online, but they didn't work.Would appreci

  • What is your process for creating web site

    Hello worldI'm a bit confused as the correct workflow for the creation of a sensitive site. That's what I'm trying right now.1. optimisation of the Photoshop image2 creation of vector illustrator work3 XD page layout and workflow demo4 Dreamweaver fi