Is there a quick and easy way to rearrange the data off interlaced?

I collect 5 channels of data through a FIFO DMA by interlacing, then save them in a PDM file. When I check it, it is in good condition for the most part, but there are some points where the channels get switched. For example, channel order when I open the file is 1 2 3 4 5, as expected, for the thousands of several elements. But at some point, he gets 4 5 1 2 3 and later 2 3 4 5 1. Left to right, they are always classified correctly, so it is easy to rearrange them, but very painful along with millions of elements. I have attached some examples of data. I'm looking for A) a way to prevent this or B) some kind of sorting tool or script in DIAdem or LabVIEW can sort for me. I'll work on a scenario of sorting in the meantime.

I use 2011 LabVIEW Real-time and FPGA 2011 and the standard open and write TDMS functions. I also have access to tiara.

Seems to me that the problem is that you do not remove the elements of the FIFO in multiples of your number of channels.  Array decimate returns always arrays of equal length.  If the size of the input array is not a multiple of the number of tables of output, it falls out of the elements, and that's where you lose data.  You must round down the number of elements to read to the nearest multiple of the number of channels - I would insert a "Quotient and remainder" function with the divisor as the number of channels and subtract the rest by the number of items.

Tags: NI Software

Similar Questions

  • Is there a quick and easy way to the entrance of calendar days in a day / diary of the page, instead of setting each page?

    Is there a quick and easy way to the entrance of calendar days in a day / diary of the page, instead of setting each page?

    If you make a text for the day of the page master frame, you can put on a single story that contains every day across all pages of the document. If you separate the days with a paragraph return, you can set the keep Options to start each paragraph in a new frame, and they will all go one-to-a-page.

  • Quick and easy way to change the SID of ORACLE EBS

    Hello

    I was wondering if it is somehow fast and quick change SID of Oracle EBS databases and Application layer?

    9i database
    EBS 11.5.x
    OS = Unix flavor (Redhat Linux / AIX)

    Thank you

    981553 wrote:
    Hello

    I was wondering if there anyway quick and fast change SID of Oracle EBS on two layer of database & Application?

    9i database
    EBS 11.5.x
    OS = Unix flavor (Redhat Linux / AIX)

    Thank you

    The way simplest would be using quick Clone - run preclone on the database/application, stop the application/database, run post clone on demand database and change the SID.

    Documentation fund quick Clone version 11i and 12 [799735.1 ID]
    Cloning Oracle Applications Release 11i with rapid Clone [ID 230672.1]

    Thank you
    Hussein

  • Is there a quick and easy ways to precisely align text on a circular path?

    I create a model of roller coaster of drinks and I have to make sure that the text moves around the outside edge of the coaster is properly spaced, symmetrical and well aligned. Are there tools that I can use to simplify this process, because at the moment I use the very long and very imprecise method of using the SPACEBAR and counting the spaces between words and turning arc text manually. There must be an automatic method that is much more accurate?

    Thank you very much. TW

    Another method: start by placing a space between each of the sentences. Use the method justified that Peter suggested.

    Then replace the spaces between sentences with a hunting space (Type > Insert space > Flush space).

    To the passage of the alignment with the selection tool. Check that the proxy of transformation is set to centered. Use the rotation tool and turn until the text that you want at the top of the circle.

  • Is there a need or a way to turn the pencil off the power when you do not use?

    Is there a need or a way to turn the pencil off the power when you do not use?

    Unfortunately not. The best thing is to turn off bluetooth. However, you will need to re - pair the iPad and the pencil again by plugging in the port of lightning. When not used the pencil of apple do not lose a lot of power.

  • Is a quick and simple way to reduce the highlights?

    This has long been a frustration for me. If there are clear areas in my image I want to calm down, the only ways I know to do this is with the dodge tool, or by choosing carefully all and then adjusting the brightness. Both these methods are inconvenient and time-consuming, I want a simple action can I register or assign to a key so that it can be automated.

    Curves works to some extent, but has too much effect on other areas that I do not want to change.

    The shadows and midtones adjustment is as easy as clicking on levels and by dragging the sliders accordingly. But the highlights can only be increased in this way, not been reduced.

    Is there something that I am missing?

    See you soon.

    Is the closest a solution with one click in photoshop cs - cs5

    Image > adjustments > shadow / highlight or opening the

    image in camera raw and using the recovery slider.

    http://help.Adobe.com/en_US/Photoshop/CS/using/WSfd1234e1c4b69f30ea53e41001031ab64-765da.h tml

    MTSTUNER

  • Is there an easy way to identify the type of disk required by the optical drive in my computer? How to identify DVD + compared to a DVD player?

    At home, my wife and I have two computers four desktop computers and laptops.  I often bring the laptop I got from my employer to use when I travel or work at home. Is there an easy way to identify the type of optical drive required by the optical drive in a computer?  How to identify DVD + compared to a DVD player?  I have never the disk right when I need to burn something.  Thank you.

    http://Windows.Microsoft.com/en-us/Windows-Vista/which-CD-or-DVD-format-should-I-use

    Should which CD or DVD format I use

    The above should help you.

    http://Windows.Microsoft.com/en-us/Windows-Vista/burn-a-CD-or-DVD

    General information on CD burning.

    See you soon.

    Mick Murphy - Microsoft partner

  • Is there an easy way to merge the two databases?

    I would like to know if there is an easy way to merge two data from a single database?

    The two databases are generated on different machines with different data (no duplicates).


    Thank you!



    Mark

    It is possible that the db_dump and db_load utilities can be used here.   They are documented in the BDB C API reference manual.      Basic process would be to empty the database on a system, move the files to the other system can use db_load and load it into the existing db.    Since there is no duplicate, this process should work for you.

    Thank you

    Mike

  • Template file - y at - it an easy way to update the files related to a model, and download them (put) at the same time?

    First of all, I am a user of Adobe software for 20 years now.  I love the adobe range. I want to just clarify.

    Question... Template Files - y at - it an easy way to update the files related to a model, and download them (put) at the same time?

    Its been bothering me since I started using Dreamwever 10 years now, when you use template files to create small, who later turn wholesale websites. Whenever I update a template file I have to find each file in the files Panel, then download them. When I navigate through a lot of directories to find it can get a lot of time and boring.  Whey cant be just a button that does it? See the attached file.

    Is there a way to do this?  Any help would be appreciated.

    Thank you very much

    Andy

    Dreamweaver-Updated-Template-File.jpg

    The sync tool should do what you want (second "circular arrows" icon in the files window).

    Who checks your files against the files of the current server and download all that is changed. By default, is also download any file from the server which is more recent than your local files at the same time, but you can set it to 'Put the latest files remotely' rather than 'get and put newer files' and you should be good to go.

  • Is there an easy way to create the breadcrumbs in Muse?

    I create a new site and I would like to add a few links of breadcrumb navigation, in addition to using the widget menu bar.

    Is there an easy way to build the navigation bar links? Or I just create it manually?

    No, right now it is not a widget that creates links from the navigation bar.

    For now, you will need to manually create text links on each page to create the navigation bar navigation.

  • There must be an easier way!

    Maybe it's the lack of good sleep in recent weeks, or simply to watch the long code, but it seems that there should be an easier way to do it, but it escapes me. Here is the code example. I have 48 initial statements of the YEW, with nested IF statements. The first outter, IF the declaration has 47 IF statements nested, the second statement IF outter has 46 IF statements nested, etc.. I have shortened the code for readability.

    If (thisItem.p0 == true) {}
    P00. AddItem (thisItem);

    If (thisItem.ItemSlots > = 1) {}
    thisItem.p1 = true;
    P01. AddItem (thisItem);

    If (thisItem.ItemSlots > = 2) {}
    thisItem.p2 = true;
    P02. AddItem (thisItem);

    If (thisItem.ItemSlots > = 3) {}
    thisItem.p3 = true;
    P03. AddItem (thisItem);

    If (thisItem.ItemSlots > = 4) {}
    thisItem.p4 = true;
    P04. AddItem (thisItem);

    If (thisItem.ItemSlots > = 5) {}
    thisItem.p5 = true;
    P05. AddItem (thisItem);
    }
    }
    }
    }
    }
    }
    If (thisItem.p1 == true) {}
    P01. AddItem (thisItem);

    If (thisItem.ItemSlots > = 1) {}
    thisItem.p2 = true;
    P02. AddItem (thisItem);

    If (thisItem.ItemSlots > = 2) {}
    thisItem.p3 = true;
    P03. AddItem (thisItem);

    If (thisItem.ItemSlots > = 3) {}
    thisItem.p4 = true;
    P04. AddItem (thisItem);

    If (thisItem.ItemSlots > = 4) {}
    thisItem.p5 = true;
    P05. AddItem (thisItem);
    }
    }
    }
    }
    }

    This--->

    If (thisItem.ItemSlots > = 1) {}
    thisItem.p1 = true;
    P01. AddItem (thisItem);

    If (thisItem.ItemSlots > = 2) {}
    thisItem.p2 = true;
    P02. AddItem (thisItem);

    If (thisItem.ItemSlots > = 3) {}
    thisItem.p3 = true;
    P03. AddItem (thisItem);

    If (thisItem.ItemSlots > = 4) {}
    thisItem.p4 = true;
    P04. AddItem (thisItem);

    If (thisItem.ItemSlots > = 5) {}
    thisItem.p5 = true;
    P05. AddItem (thisItem);

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

    and this--->

    for (var i: int = 0; i<>
    thisItem [("p" + i)] = true;
    This [("P0" + i)]. AddItem (thisItem);
    }

    must be the same, (I have not tested the syntaxt throughoutly, but it should work)

  • Is there an easy way to create "the mouse on the text, to display the image" without coding it? I want an image to appear only when you move to a line of text. I found the code for it but I want to find an easier way. Thank you!

    Is there an easy way to create "the mouse on the text, to display the image" without coding it? I want an image to appear only when you move to a line of text. I found the code for it but I want to find an easier way. I'm creating a home page with a list of text links. I want to design as well as in the overview of one of the text links, a corresponding image is displayed to the right of the page. I also need a default image to rest all the time unless one of the other links text is hovered over. Thank you!

    Try to use a Widget for Composition in the Adobe Muse Widgets Panel.

    I would like to start with a blank publication.

    Place your text in the button area.

    Place your image in the display area.

  • is there an easy way to get the number of months in a year in a date range?

    Hi, experts, I am a newbie.

    are there any easy ways to get the number of months in a year in a date range?

    I would like to write a user-defined function.

    the input parameters are startdate, enddate, year

    the output is a number, not a month.

    for example, case 1

    StartDate = 01032009 (DDMMYYYY)
    end date = 28022010 (DDMMYYYY)
    If the year 2009, the output is 10
    If the year = 2010, the output is 2

    case 2:

    StartDate = 10032009 (DDMMYYYY)
    end date = 15032010 (DDMMYYYY)
    If the year 2009, the output is 10
    If the year = 2010, the output is 3

    Thank you very much!

    Hello

    You can (also) try this:

    SQL> with s as (
      2  ------------ Sample data -------------
      3  select to_date('01032009','ddmmyyyy') startdt, to_date('28022010','ddmmyyyy') enddt, 2009 yr from dual
      4  union all
      5  select to_date('01032009','ddmmyyyy') startdt, to_date('28022010','ddmmyyyy') enddt, 2010 yr from dual
      6  union all
      7  select to_date('10032009','ddmmyyyy') startdt, to_date('15032010','ddmmyyyy') enddt, 2009 yr from dual
      8  union all
      9  select to_date('10032009','ddmmyyyy') startdt, to_date('15032010','ddmmyyyy') enddt, 2010 yr from dual
     10  ------------ Sample data -------------
     11  )
     12  select startdt, enddt, yr,
     13  months_between(
     14          least(trunc(to_date(yr+1,'yyyy'),'year') , add_months(trunc(enddt,'month'),1))
     15          , greatest(trunc(to_date(yr,'yyyy'),'year') , trunc(startdt,'month'))
     16  ) nbmonths
     17  from s;
    
    STARTDT    ENDDT              YR   NBMONTHS
    ---------- ---------- ---------- ----------
    01/03/2009 28/02/2010       2009         10
    01/03/2009 28/02/2010       2010          2
    10/03/2009 15/03/2010       2009         10
    10/03/2009 15/03/2010       2010          3
    

    It's pretty simple. (no connection with, without functions SQL only integrated multicast, etc...)

  • Easy way to locate the function used on the diagram by name?

    Is there an easy way to locate the functions used in the diagram under the name of the generic function?

    I have user appears somewhat to the user on my diagram functions to help me debug a difficult sequence of agross events live multiple now that it works, I want to go back and disable most of these postings. Most of them went up to now within the layers a little structure and is not easy to find.

    So is there an easy way to get a list of where these functions are used so that I can quickly go and edit them?

    I find the function is with the display hierarchy that does just what I need.

    Thank you.

  • Y at - it an easy way to remove the green reflection off the coast of the chrominance, or a CC photoshop tutorial

    Y at - it an easy way to remove the green reflection off the coast of the chrominance, or a CC photoshop tutorial.

    I use the key chroma green for the photo. The photos are for example a table with high gloss, in the high gloss, you see the reflection of the green screen.

    Maybe there's a special tutorial to make disappear?

    It is purely for stills?  If so, why are you using a green screen?  It is asking for trouble and is not suitable for still images when you need to cut the subject from the background.  What makes a bad situation is even worse that the box seems to be dark green color.

    But since that's what you have done with, we must target the color of green screen with a Hue/Saturation layer.  Click on the little hand icon, then on the green screen and drag all the way to the left.  You can also lighten the tones by dragging the brightness slider to the right.  The two bars of color at the bottom of the properties panel show what colors are targeted, and you can refine that by dragging the in or out indicator bars.  ID would be still inclined to use the quick selection on the box and fill the selection with black in the hue/Sat layer mask.

    But next time use a white background for still images.

Maybe you are looking for