read the elements and index of a table

Hello

I use the function buildArray to build a table 1 d of 1024 items.

Aferwards I want to extract all items + index of all the elements in another goal.

I mean if e.g. the 1st element of my table is 10, the second is 45, the third is 65 and I want to have (0.10), (1: 45), (2, 65).

Can you please help me.

Use a loop FOR.  AutoIndex your table.  Use the table to build inside the loop TO create a table of the index (starting from the terminal i) and your indexed element.  Connect the new array to the output of the loop FOR (again, use autoindexing) to create a 2D array.

Tags: NI Software

Similar Questions

  • Read the BLOB and insert data into a table

    Hi all

    Let us examine below on Oracle DB 12 c:

    create table xx_test3 (c blob);
    
    insert into xx_test3 (c) values (utl_raw.cast_to_raw(
    'azertyuiop,qsdfghjklm,wxcvbn'));
    
    
    create table xx_target (col1 varchar2(50));
    
    
    
    

    Can someone guide me how to read the data and insert it into the xx_target table?

    Necessary result is:

    
    select * from xx_target;
    
    
    COL1                                              
    
    --------------------------------------------------
    azertyuiop                                        
    qsdfghjklm                                        
    wxcvbn                                            
    
    3 rows selected.
    
    
    
    
    

    Thanks in advance,

    Stoyanov.

    insert into xx_target (col1)

    with the data as)

    Select utl_raw.cast_to_varchar2 (dbms_lob.substr (c, 32000, 1)) CBC

    of xx_test3

    )

    Select regexp_substr (CBC, ' [^,] +', 1, level)

    from the data

    connect by level<= regexp_count(src,="" ',')="" +="">

  • Is it possible with the serial number of an Xserve to read the configuration and the year of production?

    Is it possible with the serial number of an Xserve to read the configuration and the year of production?

    This will show you the model and year: https://checkcoverage.apple.com/

    If a specific configuration (like the 1 TB disk instead of 500 GB for ex) will not be determined. You can only learn by starting the Xserve (or open and look into it.)

  • How to read the date and time of a file by labview information

    How to read the date and time of a file by labview information? for example, time created and updated time.

    The similar question had already spoken here (this is the old thread but still seems topical):

    http://forums.NI.com/T5/LabVIEW/file-date-created/TD-p/109836

  • I have a cd and dvd ROM on my computer but it will not read the discs and is not recognized on my computer

    Original title: no dvd

    I have a cd and dvd ROM on my computer but it will not read the discs and is not recognized on my computer

    Hi Lesliestones,

    ·         Did you do any change on the computer before the show?

    Follow the suggestions below for a possible solution:

    Method 1: I suggest refer you to the article in the Microsoft Knowledge Base and check if it helps.

    Your CD or DVD drive is missing or is not recognized by Windows or other programs

    http://support.Microsoft.com/kb/982116

    Method 2: You can run the fixit and check if it works.

    Your CD or DVD drive cannot read or write media

    http://support.Microsoft.com/mats/cd_dvd_drive_problems/en-us

    I hope this helps.

  • In OutLook Express... I can receive messages. I can very well read the mail and I can delete mail very well. I can't...

    In OutLook Express... I can receive messages. I can very well read the mail and I can delete mail very well. I can't create mail. I can't answer the mail. I can't transfer the mail. I can't open my address book. Can someone help me to fix and solve this problem?

    Problem of Outlook Express...

    In Outlook Express with the help of windows XP, home edition and Explorer... I can't create mail. I can't answer the mail. I can't mail before , and I can't open my address book. I peut receive mail. I can open and read the mail. I can delete mail.

    Here are the error messages I receive:

    AddressBook:

    In the pop-up window, a triangle orange samll with exclamation point inside. The text reads...

    "Unable to open the address book. The AddressBook is may not be installed correctly. »

    Create a Mail:

    It has a similar error with the same triangle window, but the text reads,

    "There was an error opening this message. An error has occurred. »

    Answer:

    The same error as box create a message.

    Before:

    The same error as box create a message and the reply.

    Also:

    Right-click to highlight an error window or page does not work, then make a left click to copy does not work...

    Try to go to file | Identities and setup a new identity.  Then, add your account and see if it works then.  If they do, use the file | Import | Messages to bring them from the old identity.

    Steve

  • Tool to read the response and request ksoap?

    Hello

    Does anyone know of a 3rd third party tool that can be used to read the request and response using ksoap2.

    I am aware of httptransport, .requestdump and responsedump. But these do not work in all scenarios.

    What I want is something that will trace the whole process and give me the details of the calls made in preference to the xml format.

    Thanks in advance!

    Saket

    I use tcpmon for this.

    can be downloaded for free and is also part of soapUI I recommend for webservice tests as well.

    Another tip:

    ksoap2 httptransportSE to test your webservices with JUnit (in java desktop). If your Web service is wrapped properly you should not use any bb specific code and can run all your webservices in JUnit (I do).

  • Is it possible to create a shuttle component in Oracle ADF, where the available and selected lists are tables of the adf?

    Hi all


    We use JDeveloper Studio Edition Version 12.1.3.0.0 and deployed on GlassFish Server Open Source Edition 3.1.2.2 (build 5) and connect to the SQLServer database.


    Is it possible to create a shuttle component in Oracle ADF, where the available and selected lists are tables of the adf?



    I did a POC sample on it. I can share with you. I can't put in my dropbox because dropbox is blocked in my network. Share your email. I'll send the POC through

  • I read the TOU and legal; But I'm still not clear: if I purchase an image, may I use it in products for sale on Zazzle (POD)? Thank you.

    I read the TOU and legal; But I'm still not clear: if I purchase an image, may I use it in products for sale on Zazzle (POD)? Thank you.

    I really doubt that you would be able to take one of the images and add them to a shirt or mug etc and sell it unless you bought the extended license.

    This would fall under article 2.2

    http://wwwimages.Adobe.com/content/dam/Adobe/en/legal/servicetou/Adobe_Stock_Terms_en_US-2 0150313_hpc.pdf

  • Hi all, impossible to download the photos out of Lightroom 5 - I get a ' cannot read the message ' and 496 of the code ".". "  Help, please!

    Hi all, impossible to download the photos out of Lightroom 5 - I get a ' cannot read the message ' and 496 of the code ".". "  I previously used the crd of memory and it works ok.  It also displays images must be downloaded but just let me download them.  This is the message I received:

    The following files were not imported because they could not be read. (496)

    So what I did is launching a new catalog that then wiped out all the records and traces of my previous photos!

    You talk of out of the frying pan and into the fire!  Can someone help me with this?  I have an important project to present - I'm Freelancer and looking quite the fool.

    E.

    Your old catalog is still there, use the file-> open the recent item

    The error "cannot be read" indicates that the folder where your photos are to be copied in has no WRITE permission. Change your permissions on this folder.

  • CD/dvd opens and closes and towers cd/DVD but unable to read the disc and is not recognized by pc

    No icon in my computer and the drivers does not work

    Hello

    Step 1: Please do all the same underneath if you did some before as is often total
    a process that solves the problem.

    Try this - Panel - Device Manager - CD/DVD - double click on the device - driver tab.
    Click on update drivers (this will probably do nothing) - RIGHT click ON the drive - uninstall.
    RESTART this will refresh the default driver stack. Even if the reader does not appear to continue
    below.

    Then, work your way through these - don't forget the drive might be bad, could be a coward
    cable or slight corrosion on the contacts (usually for a laptop) and other issues.

    Your CD or DVD drive is missing or is not recognized by Windows or other programs
    http://support.microsoft.com/kb/314060 - a Mr Fixit

    Try this fix manually if the Fixit 314060 does not work
    http://www.pchell.com/hardware/cd_drive_error_code_39.shtml

    Your CD or DVD drive is missing or is not recognized by Windows or other programs-
    a Mr Fixit
    http://support.Microsoft.com/kb/982116

    The CD drive or the DVD drive does not work as expected on a computer that you upgraded to
    for Windows Vista
    http://support.Microsoft.com/kb/929461

    When you insert a CD or a DVD, Windows Vista may not recognize the disc
    http://support.Microsoft.com/kb/939052

    Your CD or DVD drive cannot read or write media - A Mr Fixit
    http://support.Microsoft.com/GP/cd_dvd_drive_problems

    CD/DVD drive does not appear in Windows Vista, or you receive this error in Windows
    Vista installation after booting from the DVD (AHCI)
    http://support.Microsoft.com/kb/952951
    Drive CD - R or CD - RW Drive is not recognized as a recordable device
    http://support.Microsoft.com/kb/316529/

    Hardware devices not detected or not working - A Mr Fixit
    http://support.Microsoft.com/GP/hardware_device_problems

    Another possibility is that the cables are loose. Remove ALL power, then make sure that the cables in both
    ends. Remove and replace, do not just tight. For laptops, you can often clean power and
    contacts data with a pencil eraser.

    Some DVD players do not use the Windows default drivers so check with the manufacturer of system and
    manufacturer of device to see if there is a firmware or drivers for your drive if necessary.

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

    Step 2: You have disc problems as the CD/DVD is actually 4 discs in 1 case (CD & DVD
    Burn and CD and DVD read). So it is not unusual for 1 or 2 operational so that other parts
    do it right.

    Did you follow the Troubleshooting Guide for the reader who still does not work? There are
    the entries in registry that the troubleshooter does not solve and those who "might" be the cause.

    Check with your Maker system and a device for the two possible firmware updates and
    the correct registry entries for your car.

    Here are the keys that I of course are those in question - for the subkeys of the CD/DVD drive
    as there will be other subkeys in these keys. Do not forget to ask specific keys involved as well as
    the parameters.

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\IDE

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\Enum\IDE

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\ {4D36E965-E325-11CE-BFC1-08002BE10318}

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

    You can probably find more info here and maybe even the exact registry for your CD/DVD settings
    drive from someone with the same model.

    Forums - a lot of expert real help
    http://Club.myce.com/

    CD/DVD units
    http://www.myce.com/storage/

    Use DevManView to locate the CD/DVD in the registry (be careful and do a prior Restore Point)
    nothing change) - find the DevManView device and then make a right click on it free in RegEdit.

    DevManView - free - an alternative to the standard Windows Device Manager, which displays all the
    devices and their properties in flat table, instead of the tree viewer
    http://www.NirSoft.NET/utils/device_manager_view.html

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • Size of the partition and Index Local

    
    

    Hi all

    Database information: 11.2.0.3 64-bit Linux. It is a 3 RAC Cluster node.

    I recently partitioned a Parent and child tables as PARTITION of REFERENCE set. The parent table has been RANGE - partitioned. The first partition is on an integer column and the beaches are 0-1000, 10001-2000, 20001-30000 and so on. The secondary partition is on a date and it is partitioned for each quarter.

    I created a local index as follows (faullt2vehicle, offboard_load_date, record_type, Column_Y).

    Here's an example query I will carry out, where the date is covering 2 secondary partitions

    select  * from gets_tool_Fault t where fault2vehicle                                      = 12195
    and offboard_load_date                                 BETWEEN TO_DATE('2015-04-01 00:00:00', 'yyyy-mm-dd hh24:mi:ss')
    AND TO_DATE('2015-07-01 00:00:00', 'yyyy-mm-dd hh24:mi:ss')
    AND record_type                                        IN('FLT','STP','HC','EGU','EOAEQP','CEL')
    

    When I generate the plan explain below is the output

    Plan hash value: 2702285198
    
    --------------------------------------------------------------------------------------------------------------------------
    | Id  | Operation                           | Name               | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |
    --------------------------------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT                    |                    |   386 | 76428 |   244   (0)| 00:00:03 |       |       |
    |   1 |  PARTITION RANGE SINGLE             |                    |   386 | 76428 |   244   (0)| 00:00:03 |     2 |     2 |
    |   2 |   PARTITION RANGE ITERATOR          |                    |   386 | 76428 |   244   (0)| 00:00:03 |     7 |     8 |
    |   3 |    TABLE ACCESS BY LOCAL INDEX ROWID| GETS_TOOL_FAULT    |   386 | 76428 |   244   (0)| 00:00:03 |    10 |    18 |
    |*  4 |     INDEX RANGE SCAN                | GETS_TOOL_FAULT_C7 |   386 |       |     7   (0)| 00:00:01 |    10 |    18 |
    --------------------------------------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       4 - access("FAULT2VEHICLE"=12195 AND "OFFBOARD_LOAD_DATE">=TO_DATE(' 2015-04-01 00:00:00', 'syyyy-mm-dd 
                  hh24:mi:ss') AND "OFFBOARD_LOAD_DATE"<=TO_DATE(' 2015-07-01 00:00:00', 'syyyy-mm-dd hh24:mi:ss'))
           filter("RECORD_TYPE"='CEL' OR "RECORD_TYPE"='EGU' OR "RECORD_TYPE"='EOAEQP' OR "RECORD_TYPE"='FLT' OR 
                  "RECORD_TYPE"='HC' OR "RECORD_TYPE"='STP')
    
    

    If you observe the optimizer is currently to identify the partition, and then the secondary partition, but what is confusing to me, this is why the restricted PREMISES index scan scans all secondary partitions for a given partition. The partition should be not even as a value from PARTITION RANGE ITERATOR of 7 and 8.

    Interestingly, when I provide a date range which is in single partition the pruning is happening correctly
    
    Plan hash value: 3457799067
    
    --------------------------------------------------------------------------------------------------------------------------
    | Id  | Operation                           | Name               | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |
    --------------------------------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT                    |                    |     1 |   197 |     4   (0)| 00:00:01 |       |       |
    |   1 |  PARTITION RANGE SINGLE             |                    |     1 |   197 |     4   (0)| 00:00:01 |     2 |     2 |
    |   2 |   PARTITION RANGE SINGLE            |                    |     1 |   197 |     4   (0)| 00:00:01 |     7 |     7 |
    |*  3 |    TABLE ACCESS BY LOCAL INDEX ROWID| GETS_TOOL_FAULT    |     1 |   197 |     4   (0)| 00:00:01 |    16 |    16 |
    |*  4 |     INDEX RANGE SCAN                | GETS_TOOL_FAULT_N1 |     1 |       |     3   (0)| 00:00:01 |    16 |    16 |
    --------------------------------------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       3 - filter("RECORD_TYPE"='CEL' OR "RECORD_TYPE"='EGU' OR "RECORD_TYPE"='EOAEQP' OR "RECORD_TYPE"='FLT' OR 
                  "RECORD_TYPE"='HC' OR "RECORD_TYPE"='STP')
       4 - access("FAULT2VEHICLE"=12195 AND "OFFBOARD_LOAD_DATE">=TO_DATE(' 2015-04-01 00:00:00', 'syyyy-mm-dd 
                  hh24:mi:ss') AND "OFFBOARD_LOAD_DATE"<=TO_DATE(' 2015-06-01 00:00:00', 'syyyy-mm-dd hh24:mi:ss'))
    

    Thank you

    Jayadeep

    1. your index (faullt2vehicle, offboard_load_date, record_type, Column_Y), your query has a predicate based on a beach on the second column in this index, which means that the order of the index that must be examined is dictated by this predicate and each row in the range must be considered (filtered) to check the third predicate.  Basic guideline on the column in the index you are ordering for more effective use: If you have columns where predicates are always equal put these columns at the beginning of the index, the columns where predicates are usually based on a beach go towards the end. You seem to have been misled by reviews 'the prefix local index' stick to your two columns of partitioning at the front of your index - which should NOT be an automatic choice for the local index: see this note ( https://jonathanlewis.wordpress.com/2011/02/28/prefixed/ ) comments that follow and OTN article it is linked to.

    2 since you have two indexes that start the same way (this goes with the local prefix again) you made easy for the optimizer to choose the index (for you) is clearly evil. That's why behind the choice of the optimizer is probably another example of an issue that I spoke a few days ago: Re: Composite index + map selection N1 your index is probably greater than the index of C7, and the order of the entries in the C7 index probably makes the data much more dispersed that it really is (i.e. high clustering_factor).

    Concerning

    Jonathan Lewis

    PS (update):

    If there are many rows for each fault_id, then you must create an index from fault_id with 'compress 1' (or compress N if the first columns of the index N are repetitive).

    When dealing with range partitions do not forget that the high value partition is never reached in the document, do so based in the form "date_col BETWEEN date1 and date2", use the form "date_col > = dateX and date_col»< datey"="" or="" you="" may="" find="" that="" you="" are="" accessing="" one="" more="" partition="" than="" you="" hope="" to,="" and="" in="" some="" cases="" that="" may="" mean="" "multiple"="" (i.e.="" 2)="" when="" you="" were="" expecting="" 1="" (and="" the="" optimizer="" is="" much="" better="" at="" estimating="" costs="" for="" a="" single="">

  • What is the order to turn off the constraints and index

    Hi, I need to make some out of constraints and indexes on tables to load quite a date in them. I know that I can just drop them and recreate later. But is it feasible to figure who forced and in what order must be do disable or unusable before a load and after the load that is to say. without dropping to preserve? R before P data loading, and then P before R like I think that controls can jump in evertytime and are quite safe to deal with. But I did not carefully think about more, maybe you have some scripts that say exactly what should be the order to turn off the coast and later on this subject.

    Thank you!

    Hello

    946279 wrote:

    Hi, I need to make some out of constraints and indexes on tables to load quite a date in them. I know that I can just drop them and recreate later. But is it feasible to figure who forced and in what order must be do disable or unusable before a load and after the load that is to say. without dropping to preserve? R before P data loading, and then P before R like I think that controls can jump in evertytime and are quite safe to deal with. But I did not carefully think about more, maybe you have some scripts that say exactly what should be the order to turn off the coast and later on this subject.

    Thank you!

    That's right: disable foreign key constraints before disabling the primary (or Unique) key constraint correspondent.  When you reactivate them, re - enable the constraint of primary (or Unique) key before the corresponding foreign key constraints.

    Aside from that, the order should not issue.

  • Best practices for handling the elements and symbols (including preloading)

    I'm learning to animate edges and I've not seen enough animations of how this is handled in general and I searched the forum and have not found answer either.

    If you have many different elements and symbols for a project, what is the best practice to have appear them, disappear, etc. on the timeline? I ask this not only from a point of view based on performance, but also keeping in mind the idea of prestressing. This is a 2 part question:

    Part 1: Using elements and symbols later in the timeline:

    Given that the work is always imported directly to step in a status of "always you", should we place visibility TURNED off on each element until we need?

    or must they be opacity 0 until I need them?

    or should they be on visibility hidden until I need them?

    Which one is the best option if you want only the element / visible until at the latest symbol in the timeline? Is how important it?

    Part 2: Effect when the page is loaded

    The question above have an impact on page loading speed

    or is it something called a preload?

    or do you need to make a special preloader?

    Thanks for the help.

    Hey, snail-

    Good questions!

    Part 1: Using elements and symbols later in the timeline:

    Given that the work is always imported directly to step in a status of "always you", should we place visibility TURNED off on each element until we need?

    or must they be opacity 0 until I need them?

    or should they be on visibility hidden until I need them?

    Which one is the best option if you want only the element / visible until at the latest symbol in the timeline? Is how important it?

    I would recommend that you set your visibility on 'off' instead of simply change the opacity.  I suggest this is that when your visibility is set to off, the points of the object disappear.  If you have any type of interactivity, with the always visible object with an opacity of 0 will interfere with what whether you down in the display order.

    Part 2: Effect when the page is loaded

    The question above have an impact on page loading speed

    or is it something called a preload?

    or do you need to make a special preloader?

    Thanks for the help.

    No, none of this has any impact on the loading of the page.  As you already noticed, all the assets of your project will be load before displaying.  If you don't want a part of your composition to load, you can do what we call a multi-composition project.  There is a sample of the said in the API to animate Edge in the Advanced section and lots of messages in the forums (and the other in the team blog) explaining how to do this.

    http://www.Adobe.com/devnet-docs/edgeanimate/API/current/index.html

    https://blogs.Adobe.com/edge/

    Hope that helps!

    -Elaine

  • 10.1.3: how the client ID of the elements in a specified af:table?

    Hi all

    I have an af:table (let's say the departments) with some columns (say DeptName) is one of them and (say) a range of 15 ranks. Normally, modulo naming containers, the clientId of the field DeptName is of the form:

    Departments: 0_indexed_row_in_af_table:DeptName

    So, for example, DeptName field in the third row of the table will be

    Departments: 2:DeptName

    The problem occurs when, due to, say, a data change and refresh, a partially separate set of lines appears in the table when updating. Then, all the old lines reappear will keep their old , but News clientIds lines will get new numbers, from 15. So, if the update the first and third rows in the first and fourth, retains, and retrieves new lines for the second and third position the client ID for the first fields in four departments such as they appear in the table will be:


    Departments: 0:DeptName

    Departments: 15:DeptName

    Departments: 16:DeptName

    Departments: 2:DeptName

    If new data completely , the table will be rendered starting with departments: 15:DeptName.

    My question: is there a way to understand, by program, what the customer for a particular area of DeptName ID will be, assuming that the table could have been refreshed with partially or completely new data in an arbitrary number of times?

    Thanks much for any help.
    Avrom

    Hello

    Try something like the following:

    RichTable table = // Get the table component instance somehow;
    int rowIndex = // Find the right row and get its INDEX in the ResultSet and/or data, not the row key
    
    // Save row state
    Object oldRowKey = table.getRowKey();
    try
    {
        table.setRowIndex(index);
        UIComponent field = table.getChildren().get(columnIndex).getChildren().get(0); // Get the field from column columnIndex
        field.getClientId(FacesContext.getCurrentInstance()); // Since setRowIndex was called, the id should be correct
    }
    finally
    {
        // Restore state
        table.setRowKey(oldRowKey);
    }
    

    The idea of rowKey vs rowIndex is rowKey is stable to ensure that a key to the given line is always the same line (very useful to avoid a strange problem with sorting), while the line index change with the position of the line.

    Kind regards

    ~ Simon

Maybe you are looking for