How to check out items with an interval sets a 1 d table

I would like to extract elements of a table 1 d with a fixed pitch. For example, I want to extract the elements of this array

[1 2 3 4 5 6 7 8 9 10] with interval starting at 1 and 2, the results should be [1 3 5 7 9].

I know that I can use to "decimate table 1 d" to perform this task. However, my range is determined by something else within my program. I don't know the interval in advance. I can't go on the block diagram each time just to specify the number of output terminals manually. Is there a good way to perform this task?

Thank you very much

Herb


Tags: NI Software

Similar Questions

  • How to check the value of the space of the tablespaces and tables when errors occur?

    Hi Experts,

    For example, lets say we get ORA-01653: unable to extend table of error. How to check the size of the table and a tablespace? And how understanding is full?

    Thanks for your help

    Hello

    Select df.tablespace_name "Tablespace"

    totalusedspace 'Used MB',

    (df.totalspace - tu.totalusedspace) "MB free.

    DF. TotalSpace 'Total MB. "

    round (100 * ((df.totalspace-tu.totalusedspace) / df.totalspace))

    "PCT free."

    Of

    (select nom_tablespace,

    Round (Sum (bytes) / 1048576) TotalSpace

    from dba_data_files

    Group by tablespace_name) df,.

    (select round (sum (bytes) /(1024*1024)) totalusedspace, nom_tablespace)

    from dba_segments

    you group by tablespace_name)

    where df.tablespace_name = tu.tablespace_name

    and df.tablespace_name = "";

    For example, lets say we get ORA-01653: unable to extend table of error. How to check the size of the table and a tablespace? And how understanding is full?

    Is to say clearly to the question (you can let us know what you have understood so we can fix)

    [oracle@machine1 ~] $01653 oerr ora

    01653, 00000, "impossible to extend %s.%s table by %s in %s tablespace»

    * Cause: Failed to allocate a certain measure the required number of blocks for

    a segment of the table in the specified tablespace.

    * Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more

    storage of files indicate.

    -Thank you

    Pavan Kumar N

  • How to check the index, on the number of columns in the table is created

    How to check on the number of columns in the table the index has been created. ??

    OR

    How check index, on the number of columns in the table that it is been created?

    890306 wrote:
    How to check on the number of columns in the table the index has been created. ??

    >

    OR

    How check index, on the number of columns in the table that it is been created?

    query USER_IND_COLUMNS

    SQL> desc user_ind_columns
     Name                            Null?    Type
     ----------------------------------------- -------- ----------------------------
     INDEX_NAME                             VARCHAR2(30)
     TABLE_NAME                             VARCHAR2(30)
     COLUMN_NAME                             VARCHAR2(4000)
     COLUMN_POSITION                        NUMBER
     COLUMN_LENGTH                             NUMBER
     CHAR_LENGTH                             NUMBER
     DESCEND                             VARCHAR2(4)
    

    Handle: 890306
    Status level: Beginner
    Join date: October 8, 2011
    Messages total: 13
    Total Questions: 5 (5 open)

    Why all the question still pending?

    Published by: sb92075 on December 3, 2011 17:21

  • How get/check out the time portion of timestamp with time zone?

    Using Oracle 10 g, I have a timestamp with time zone.

    We have treatment that uses hourly (as a shift of the day of treatment). I want to 'get' the time contained in a timestamp, so that I can compare it to one of our differences for example (pseudocode)

    If the time in the timestamp = 0 then
    treatment of midnight
    on the other
    do other hourly treatment
    FI

    I thought that "extract" was the right way to get the time portion of the time stamp, but it returns an interval based on UTC - so where I could expect

    SELECT extract (time OF THE TIMESTAMP ' 2009-06-08 00:34:56 Europe/London ') FROM dual

    to return to 0, it is actually 23 since it's time for the time zone UTC.

    Then... How should I be getting time in order to have it make 'sense' in the context of its time zone? I simply use to_char and analyze the time part?

    Thoughts?

    --
    Andy

    Not the literal timestamp ' 2009-06-08 00:34:56 Europe/London ' specifies TIMESTAMP (9) WITH ZONE TIME, subsequent DISTRIBUTION converts this TIMESTAMP value (6).

  • BlackBerry Smartphones how often check-in BIS with Exchange?

    Forgive me, I'm sure that this topic has been covered, but I can't find the white paper on it. I have a client who has many employees with blackberries, but they refuse to shell out money for a BES. So unfortunately, I can't support them with BIS. I thought I read somewhere on the check-in process, Exchange and having to re - validate the parameters via the device or the BIS Web site. So to put it simply, is attempts to BIS of consignment with Exchange and find nothing, how long before you have to go through the process of re-validation? Thank you all.

    Hello!

    If I understand correctly, I think you have two subjects involved. My apologies if I get this is bad...

    For all configured BIS email driven (no matter the IMAP, POP, or OWA), BIS controls to new items on the server every 15 minutes. If it finds new elements and pushes them to the HH, it checks then more quickly next time, gradually lengthen the intervals until it reaches the maximum interval of 15 minutes. Somewhere, I saw once. something about these shorter intervals and how they work, but it is safer to just go with the 15 minute interval.

    That said, this has nothing to do with the credentials of OWA... These intervals are under the assumption that the OWA credentials stored within the BIS are valid. As long as the credentials are valid (every 15 minutes), BIS will continue conscientiously check every 15 minutes.

    However, once the OWA credentials will expire, BIS will make its next attempt to connect to OWA and check back for new items. But, given that the OWA credentials have expired, BIS records this fact and flags of the account. See this KB for reference:

    •  KB10870 Not be able to receive e-mail messages from an account in Microsoft Outlook Web Access
    • Cause 2 discusses the OWA account becomes invalid (which is what will happen at the end of the password)

    Thus this KB:

    • KB05255 Associated e-mail account is no longer accessible by your BlackBerry Internet Service account

    Hope that helps!

  • problem checking out items 14

    I am trying to extract items 14 c:\elements14 folder.  Get the message "this is a problem when extracting the files.  Check the available space... and write privileges... '.

    I am the administrator and have a lot of disk space.  I bought this download directly from Adobe, on Sunday, but has not tried to install so far

    You probably have a download incomplete/corrupted.  This should be about 1.4 GB.

    Re-download and try the install again.

    Available downloadable Setup files:

    Download and installation help links Adobe

    Help download and installation to Prodesigntools links can be found on the most linked pages.  They are essential; especially steps 1, 2 and 3.  If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".

  • How to check a page with a gray triangle?

    Often I play a game online through FaceBook, where you can watch videos, etc. to get rewards for you help in the game. Everything was fine until I recently updated my Linux Mint to 17.1 and who came with FireFox 33.0.

    Now when I start the game through FaceBook I get the "grey triangle" and I'm prevented from watching the videos, I am presented with the message "this connection is not approved.

    Is it all still around that? Any help would be greatefully received!

    When you visit the URL of video, you visit https sites?
    In the affirmative, please make sure that your time on the computer is correct and current.

    See also: error "this connection is untrusted" message - what to do

  • How to check multiple values with another column?

    Hi all

    create table xxc_abc (col1 , dept_id number number);

    create the table xxc_bbb (col2 number,sa_dept_id number);

    insert into xxc_abc values (1,10)

    insert into xxc_abc values (2,11)

    insert into xxc_abc values (3,12)

    insert into xxc_bbb values (20.10)

    insert into xxc_bbb values (20,11)

    insert into xxc_bbb values (20,12)

    SELCT

    xxc_abc a.,

    xxc_bbb b

    where a.dept_id = b.sa_dept_id

    Expected results

    a.Col1 b.col2

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

    1 20

    2 20

    3 20

    I need to get several values a.col1 with the same value of the b.col2 column

    a.Col1 b.col2

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

    1 20

    2 20

    3 20

    Thank you

    Post edited by: Rajesh123 added Test cases in the main Thread

    Select the number you want to


    with

    xxc_abc as

    (select 1 col1, 10 dept_id in union double all the)

    Select 2,11 Union double all the

    Select double 3.12

    ),

    xxc_bbb as

    (select col2 20, 10 sa_dept_id union double all the)

    Select 20,11 Union double all the

    Select 20,12 double

    )

    Select col1, col2, cnt_all, cnt_not_null, cnt_unique

    from (select a.col1, b.col2,

    Count (*) on cnt_all (b.col2 partition).

    Count (a.Col1) on cnt_not_null (b.col2 partition),

    Count (distinct a.col1) on cnt_unique (b.col2 score)

    xxc_abc a.,

    xxc_bbb b

    where a.dept_id = b.sa_dept_id

    )

    where least (cnt_all, cnt_not_null, cnt_unique) > 1

    order by col1

    COL1 COL2 CNT_ALL CNT_NOT_NULL CNT_UNIQUE
    1 20 3 3 3
    2 20 3 3 3
    3 20 3 3 3

    Concerning

    Etbin

  • How can I activate items with two copies?

    My laptop is unaccesable.  I brought a new laptop and reinstalled my Photoshop elements.  Because I also had the program on my desktop, the software says I have to disable on copies.  I can not disable the old copy of portable (no access more) and I don't want to disable the copy on the desktop.  Anyone know how to get this resolved?

    Contact Adobe Customer Service.

  • How to check mouse hit with a clip

    I have a group of clips

    I want to know when some movie clip clisked

    Here is my code that does not work properly

    stage.addEventListener (MouseEvent.CLICK, clicked)
    function clicked (e: Event) {}
    {Switch (e.Target)}
    case "myMc":
    trace ("hello world")
    break;
    }

    stage.addEventListener (MouseEvent.CLICK, clicked)
    function clicked (e:MouseEvent) {}
    for (var i: uint = 0; i<>

    {if (getChildAt (i) .hitTestPoint (e.stageX, e.stageY))}

    do I have any child is struck

    }

    }

    }

  • How to make a hyperlink with dynamic data from a php database table?

    Level - the rare user Dreamweaver

    I have a couple of master / detail standard of pages using MySQL and PHP. This feature works correctly. Among the items of data in the Details page contains the name of a PDF file (including the .pdf suffix). PDF files are stored in the library of PDF documents under the root of the Site. I am eager to the ability of the user to the page to watch the associated PDF. Keep it as simple as possible I just put in place a text field "View report" followed dynamic text for the name of the document. I tried to set the properties of the links with the library name PDF files (more the root level) followed by the code, I thought that it was necessary to determine the selected PDF (<? php echo $row_rslivesDetail ['link'];? >). The first part is correct, because when the code does not have I changed it to a PDF fixed and that worked. I have tried various combinations but failed. Can anyone please suggest what I'm doing wrong with the code.

    Concerning

    Cliff

    I think you have your recordset named incorrectly. The image you provided according to me it should be: (see highlighted in RED below)

    ">View the report

  • How to find out based on all INDEXES, VIEWS,... a table?

    How can I find out how much and what objects dependent (index, views...) has a certain myuser444.table123 TABLE?

    Peter

    user559463 wrote:
    How can I find out how much and what objects dependent (index, views...) has a certain myuser444.table123 TABLE?

    Use the DBA_DEPENDENCIES and DBA_INDEXES. For example:

     select  type || ' ' || owner || '.' || name
       from  dba_dependencies
       where referenced_owner = 'SCOTT'
         and referenced_name  = 'EMP'
         and referenced_type  = 'TABLE'
    union all
     select  'INDEX ' || owner || '.' || index_name
       from  dba_indexes
       where owner = 'SCOTT'
         and table_name  = 'EMP'
    /
    
    TYPE||''||OWNER||'.'||NAME
    ----------------------------
    FUNCTION SCOTT.F1
    VIEW SCOTT.EMP_VW
    INDEX SCOTT.PK_EMP
    INDEX SCOTT.EMP_IDX1
    
    SQL> 
    

    SY.

  • How to export a clip with an image set as thumbnail

    Im trying to export a clip to a friend, but they need to have a special sticker from the video. I need to do in PP video during export. How is that possible?

    Alas not this feature. Cannot be done.

    Feature request/Bug Report Form

  • How to get out the mode safe mode with msconfig.

    I'm working on my computer and need to start in safe mode. I ran the msconfig and reboot the laptop. I get to the login screen, but when I get my username and password it tells me that the user name and password is not correct. How to get out the mode safe mode with msconfig.

    When you run msconfig to get set to Safe Mode, you just activate/check the option/SafeBoot at startup. INI tab or did you do something else?

    There is some malware that if you use the/SafeBoot option, you will not be able to use your system again until you remove the switch/SafeBoot the boot.ini for you can boot normally.

    Maybe it's not your exact problem, but I will never suggest to anyone to use the option / SafeBoot never again - too risky when troubleshooting since you can always start new or will never connect again until you remove the switch/SafeBoot.

    Anywho, if that's what you have done, you can start in the XP Recovery Console and then either make a new boot.ini file containing the switch/SafeBoot or simply rename the boot.ini file, you have something like boot.ini.old if you don't have a boot.ini file (I know it seems like a weird idea).

    In a single partition configuration, XP is not even a file boot.ini to boot.  XP will complain if there is no boot.ini file, but will always start very well without one (non-believers - try it!).

    After you get booted up and logged in, you can rename boot.ini.old in boot.ini and run msconfig to remove the option/SafeBoot, and never use it again.

  • Smartphones blackBerry how to stop old items to erase from my Storm after synchronization with outlook

    When I sync my storm with outlook all items older than a week suddenly disappear.  I need old items to stay until I delete them.  Also everyone had their songs music disappear and reappear?  They are stored on the memory card.  Thanks for any input.

    Thank you, don't know how to check the memory leaks.  Anyway, I got my music back by making the battery pull and I got all my info calendar back entering the Office of BB and make a new configuration of the synchronization.  First I had to synchronize in the direction that had most of the data to restore the information that has been deleted (for example my storm had lost a few weeks of the calendar events to I synced ensuring he was leaving office the storm.)  Once it has been restored to the storm, I have synced then two-way and all data are intact.  I hope it stays.  Also, I went in the Outlook Options, preferences, calendar free/busy Options Optiions and changed it be Publixh 12 months of free/busy information of calendar on the server.  I'm not sure it makes a difference, but keep your fingers crossed.  I know that I am.  Hope this helps and thanks again everyone.

Maybe you are looking for