Sampling a long block of data

hello
I would like to do an FFT of 4 seconds. For that, I must do an sampling a long block of data before the FFT. I know do the FFT but not the sampling. Can you help me ?
Thank you.
Sorry if I did mistakes in english

Please provide more details...
Samplerate, if you want to sample 4 seconds at 1kHz, it's only 8k Data (at16bit). Today that's not a big deal ;-)
What hardware are you using? 
Have a look at the DAQ Exsamples. There is at least one where you can choose samplerate and Number of samples and that is ready to run with most (NI) Hardware (Acquire N - Multi-Start.vi ) or with the soundcard    Sound Card Simple Spectrum Analyzer.vi
Greetings from Germany
Henrik
LV since v3.1
“ground” is a convenient fantasy
'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

Similar Messages

  • Navigation within a block of data

    I'm in the process of re-writing my old old Excel Spreadsheet for financials into Numbers.
    The first bit, getting the formulas to survive a sort by date was asked and answered in a thread "Problems sorting after applying a simple formula". I have that working in test and I am happy to observe that when formatted text is sorted in numbers the formatting seems to go with the data - I remember having different outcomes sometime ago in ooo.
    Anyway, the question.
    My Financials (in Excel) are a year a page and will be over 1,000 lines long (all my accounts in one sheet).
    Today (being July of course) will be about 400 lines down and the remaining lines (below TODAY) contain a mixture of budget and forecast items (for example I know I will have a Rates bill to pay in 10 days so it sits in the sheet with the correct date (in the middle of next week) getting closer to TODAY each time I sort.
    To assist me in Navigating to TODAY, that Journal entry is left blank and I can get to it from anyplace in the Journal Column with <end><up> or <end><down> (as appropriate). In fact this is in a little Macro that sorts the data (select all using captured keystrokes, sort, position the cursor with <end><up>).
    I can cope without macros (Numbers does not do macros - Check?) but navigation over so much data without my trusty <end><direction arrow> is too painful to contemplate.
    Keyboard Shortcusts in Numbers Help tells me that <end> is "Scroll to end of sheet".
    Is there some way of navigating through big blocks of data such as this<end><direction arrow> trick?
    I'm thinking some sort of Find but Numbers would need to remember a unique target between sessions for thst to be an easy answer.

    Chipili,
    Here's a completely different method that you may want to consider. In all my Numbers documents that involve dates, I have (strategically located) a 2-Cell table that has a Header cell "Today" and just below it a cell with the formula: =TODAY(). It's handy on several levels. Format your today formula cell with the "1/5/2009" Date option - this format works best (and I don't know why). It doesn't matter how you have formatted the date you want to find, but what you will paste into the Find Window needs to be formatted this way.
    Now, activate the FIND panel with a COMMAND-F and it will open at the bottom of your Numbers window.
    Then to locate the current date you would select your special TODAY cell, COMMAND-C, click in the Find window, COMMAND-V. You will get at least one hit, the cell with the TODAY() expression. If the date appears anywhere else, you will get a line for this in your list of finds and clicking on it will take you there. Often I'm looking for a date a week or 10 days earlier than today's date. It's easy to create an expression for this: =TODAY()-7, for instance.
    Hope this gives you something to think about.
    Jerry

  • DASYLAB QUERIES on Sampling Rate and Block Size

    HELP!!!! I have been dwelling on DASYLAB for a few weeks regarding certain problems faced, yet hasn't come to any conclusion. Hope that someone would be able to help.Lots of thanks!
    1. I need to have more data points, thus I increase the sampling rate(SR). When sampling rate is increased, Block size(BS) will increase correspondingly.
    For low sampling rate (SR<100Hz) and Block size of 1, the recorded time in dasy and the real experimental time is the same. But problem starts when SR>100Hz for BS=1. I realized that the recorded time in dasylab differs from the real time. To solve the time difference problem, I've decided to use "AUTO" block size.
    Qn1: Is there any way to solve the time difference problem for high SR?
    Qn2: For Auto Block Size, Is the recorded result in dasylab at one time moment the actual value or has it been overwritten by the value from the previous block when AUTO BS is chosen.
    2. I've tried getting the result for both BS=1 and when BS is auto. Regardless of the sampling rate, the values gotten when BS=1 is always larger than that of Auto Block size. Qn1: Which is the actual result of the test?
    Qn2: Is there any best combination of the block size and sampling rate that can be used?
    Hope someone is able to help me with the above problem.
    Thanks-a-million!!!!!
    Message Edited by JasTan on 03-24-2008 05:37 AM

    Generally, the DASYLab sampling rate to block size ratio should be between 2:1 and 10:1.
    If your sample rate is 1000, the block size should be 500 to no smaller than 100.
    Very large block sizes that encompass more than 1 second worth of data often cause display delays that frustrate users.
    Very small block sizes that have less than 10 ms of data cause DASYLab to bog down.
    Sample rate of 100 samples / second and a block size of 1 is going to cause DASYLab to bog down.
    There are many factors that contribute to performance, or lack there of - the speed and on-board buffers of the data acquisition device, the speed, memory, and video capabilities of the computer, and the complexity of the worksheet. As a result, we cannot be more specific, other than to provide you with the rule of thumb above, and suggest that you experiment with various settings, as you have done.
    Usually the only reason that you want a small block size is for closed loop control applications. My usual advice is that DASYLab control is around 1 to 10 samples/second. Much faster, and delays start to set in. If you need fast, tight control loops, there are better solutions that don't involve Microsoft Windows and DASYLab.
    Q1 - without knowing more about your hardware, I cannot answer the question, but, see above. Keep the block size ratio between 2:1 and 10:1.
    Q2 - without knowing more about your hardware, and the driver, I'm not sure that I can fully answer the question. In general, the DASYLab driver instructs the DAQ device driver to program the DAQ device to a certain sampling rate and buffer size. The DASYLab driver then retrieves the data from the intermediate buffers, and feeds it to the DASYLab A/D Input module. If the intermediate buffers are too small, or the sample rate exceeds the capability of the built-in buffers on the hardwar, then data might be overwritten. You should have receive warning or error messages from the driver.
    Q3 - See above.
    It may be that your hardware driver is not configured correctly. What DAQ device, driver, DASYLab version, and operating system are you using? How much memory do you have? How complex is your worksheet? Are you doing control?
    Have you contacted your DASYLab reseller for more help? They should know your hardware better than I do.
    - cj
    Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.

  • Sample payload to include multiple Data objects in BAM

    Hi,
    We are using BAM 12c in our project. We have a requirement to insert/update data into multiple data objects as part of an EMS [Enterprise Message Source] request. As part of the request, I have some Dimensions data and Fact data. When I submit the request to server, I need to insert dimensions data when there is no data available for the specific dimension key, otherwise update the dimension meta data. Then I need to insert Fact data in to another data object along with the reference of the dimension data.
    From the Oracle documentation, https://docs.oracle.com/middleware/1213/bam/BAMUG/bam-enterprise-message-src.htm#BAMUG10589 I found sample payload for one data object operations, under the text: Use Self-Described Payload.
    Please share a sample payload to submit it to BAM so that data will be created in multiple configured BAM data objects in one EMS request.
    Thanks in Advance.
    Satya

    Deepan:
    Thank you for the fast response, the xml file you have given below will clear all the DO rows specified in that file.
    +<?xml version="1.0" encoding="utf-8"?>+
    +<OracleBAMCommands>+
    +<Clear name="/folder/do1" />+
    +<Clear name="/folder1/do2" />+
    +</OracleBAMCommands>+
    But in an organization in long run when data objects keep on increasing. should we also keep on adding the "Clear" statement into the xml file.
    i.e. like to ask the developer to create an entry in this xml file each time he creates a data object in BAM console?
    do we have any command like
    <Clear type = "dataobject" all="1" />
    Thanks you very much in advance

  • [svn:fx-4.0.0] 13417: remove references to charts samples since we aren' t using these particular samples any longer.

    Revision: 13417
    Revision: 13417
    Author:   [email protected]
    Date:     2010-01-11 08:50:21 -0800 (Mon, 11 Jan 2010)
    Log Message:
    remove references to charts samples since we aren't using these particular samples any longer.
    QE notes:
    Doc notes:
    Bugs: sdk-24772
    Reviewer: no
    Tests run: CT's, package target
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/sdk-24772
    Modified Paths:
        flex/sdk/branches/4.0.0/build.xml

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • Driver for M9914 for long block caoability

    Hi All,
    I have SCSI 9 tracke reel tape drive (M4/9914) connected to a Sun Ultra 60 and we use it to read seismic data which is recorded in several format.
    For segy data there is no problem.
    We have problem for seg-a, seg-b multiplexed data which is recorded in long block format.
    The tape drive is OK because when we use with different software in PC and the drive connected to the PC we have no problem.
    We cannot use the PC anymore as the license ia already expired, so we have to use the Sun as we still have the license.
    I have modified the /kernel/drv/st.conf as instructed by the software but still have the problem.
    Do I need a special driver to be able to read long block data ?
    I appreciate a lot of any idea to solve my problem.
    Thanks & regards,
    Irwan Lesmana

    What is the problem with a company member asking for configuration support on this forum maal? I don't understand what you are trying to say here? Perhaps this person is working in the services department providing on site support for a customer. This guy may have come to the forum through the " Discussion forum " link in the spectrum handbook. Also the thread was created on the 31st of October, a couple of days ago, sometimes forum users may have resolved their issues and just may not have the time to return and update. I feel that my contributions to the board are voluntary and I am not put out if users don't reply to me. I have people call me every day for quotes on services, systems and parts and sometimes never call back for months.

  • How can I update record in the block that Data Source is PROCEDURE?

    I like use Procedure as the Data Source of block.It's very flexible.
    Usually I do this only query the record,but now I must update record in the block that Data Source is Procedure.
    What next step can I do?Can anyone offer some examples?
    This is example, you goto
    http://www.2shared.com/file/1923834/e0b65fb7/Example.html
    Wait about 30 sec, Click "Save file to your PC: click here",and then you can download it.

    <p>I have written an article about some advanced Forms features.
    Have a look at the 2.3.2 paragraph</p>
    Francois

  • HT201269 Following these steps, has anyone run into the problem of losing the 4s data ability?  My phone no longer acknowledges my data plan.  I have to reset to factory settings to get it back, but then I also lose all the first gen backup transfer info.

    Long story short, I'm trying to progress from my first gen iPhone to my iPhone 4s.  I sync my first gen as directed to create a backup, and then restore my 4s to the first gen backup.  However, once this is done (and it does successfully transfer my first gen phone apps, photos, texts, calendar, etc-etc to my 4s), my 4s phone no longer has 4g data like it did prior to syncing - it doesn't recognize my data plan at all.  The only way I can access the internet is through my wi-fi.  So then I have to reset to factory settings and re-plus my personal settings into the 4s but then I lose everything from the first gen transfer.  Any thoughts and/or recommendations/suggestions?  Many thanks.

    Long story short, I'm trying to progress from my first gen iPhone to my iPhone 4s.  I sync my first gen as directed to create a backup, and then restore my 4s to the first gen backup.  However, once this is done (and it does successfully transfer my first gen phone apps, photos, texts, calendar, etc-etc to my 4s), my 4s phone no longer has 4g data like it did prior to syncing - it doesn't recognize my data plan at all.  The only way I can access the internet is through my wi-fi.  So then I have to reset to factory settings and re-plus my personal settings into the 4s but then I lose everything from the first gen transfer.  Any thoughts and/or recommendations/suggestions?  Many thanks.

  • I am currently volunteering in Uganda, so data is precious. I can no longer afford unlimited data, I pay by MB/GB. All of a sudden Mail has stopped receiving. I wait until about 60meg, but no new mail. Using Gmail. Doctor says connected fine.

    I am currently volunteering in Uganda, so data is precious. I can no longer afford unlimited data, I pay by MB/GB. All of a sudden Mail has stopped receiving. I wait until about 60meg, but no new mail. Using Gmail. Connectivity Doctor says connected fine. No probs there. And weirdly, when I want to send an email. I write it, it takes absolutely ages to try to send but as soon as I click disconnect it sends the email. Very odd. I would just love to be able to write all my emails offline and save to drafts/Outbox and then just connect to send and check emails then disconnect again.

        I can see that this issue has been quite extensive, and frustrating, and I am so sorry for all that has happened societygirl! I would like to help you work this issue out. Please follow & send me a Direct Message, so I can get your account specifics and help finally bring this to a resolution.
    Thank you,
    MichelleH_VZW
    Follow us on Twitter @VZWSupport

  • Help! My Stacks subfolders no longer organize by date

    Hi all,
    Been running Snow Leopard for about 48hrs now and noticed my system has been a little more sluggish. Not too pleased about that, but I have a bigger problem: when I view the contents of a subfolder through Stacks it no longer organizes by date modified!
    In 10.5, I had my Stacks settings to show my items as a list, organized by Date Modified. This ensured that when I looked at the contents of any subfolder in the stack, the contents in the subfolder would all be listed by date (in addition to the main stack list being in date order). Now, when I choose Date Modified, it ONLY shows me the top-level contents of the stack in date order, and NOT the content of subfolders (the subfolder content appears in alphanumeric order). What gives? Apple, why would you remove this logic? Please tell me there is a setting in here somewhere...
    I'm really hoping I'm missing something here because this is a key component to my file organization.
    Thanks all!
    Mike

    This is my biggest issue with Snow Leopard so far. Sorting in subfolders in the Dock worked in Cheetah, Puma, Jaguar, Panther, Tiger, and Leopard (after 10.5.1 brought the feature back). What went wrong in Snow Leopard development to break it so annoyingly?
    Not being able to sort by kind in subfolders makes browsing through list/grid view stacks a real pain – in fact I'd be okay with it if the setting was stuck on 'by kind', so that folders would at least appear together; 'by name', on the other hand, is a very poor choice for almost any situation. Date Modified is of course another no-brainer in this regard.
    I wish I knew enough to have some idea where things might be broken . I really hope this is sorted out for 10.6.2.

  • How to remove a block of data in memory?

    hello:
    there is a block of data in memory, now i should add 4 bytes in them , so i should remove some data behind, i don't know what function i should use?
    i think remove some data from one place to another is copy data from one place to another , is that ok?
    Best regards!
    future

    I have some records in the internal table t_int1. I want to retrieve some set records from that table and put them all in some other table, based on a single field which is not a key. Can i use READ statement to achieve this.
    Could you please let me know any simple way of doin this.
    Answer :
    data:
    itab2 like standard table of  t_int1 with header line.
    Loop at t_int1.
    read table t_int1 with index 1.
    check ur condition----
    check each line and insert it ---work out the syntax for this
    IF t_int1-xyz = data1
    append  line of t_int1 to itab2. or try insert
    cnt = cnt + 1   -
    u will get no. of records added to next itab.
    else.
    cnt1 = cnt1 + 1 -
    u will get no. of records not added to next itab.
    endif.
    end loop.

  • Input Value long enough for date format ,Error in executing parallel query

    Hi,
    My Table: ANML( ID, STATUS,B_DATE,B_MONTH,B_YEAR, DEATH_DATE)
    status 1 for alive and 2 for dead.
    i wrote a view to get age.
    as
    create or relace view view1 as
    select top."ID",top."STATUS",top."DOB",top."DEATH_DATE",top."ANML_AGE",top."DAYSDIFF",
    CASE
    WHEN anml_age < 1
    THEN 'D'
    ELSE 'M'
    END age_unit,
    CASE
    WHEN anml_age < 1
    THEN TO_CHAR (daysdiff || ' Day(s)')
    WHEN anml_age < 12
    THEN TO_CHAR (anml_age || ' Month(s)')
    WHEN MOD (anml_age, 12) = 0
    THEN TO_CHAR (ROUND (anml_age / 12, 0) || ' Year(s) '
    ELSE TO_CHAR ( ROUND (anml_age / 12, 0)
    || ' Year(s) '
    || MOD (anml_age, 12)
    || ' Month(s)'
    END age_string
    from
    (SELECT a.*,
    CASE WHEN status IN ( 1)
    THEN FLOOR(MONTHS_BETWEEN(TRUNC(SYSDATE),dob))
    WHEN death_date IS NOT NULL AND status IN (2)
    THEN FLOOR(MONTHS_BETWEEN(death_date,dob))
    END anml_age,
    CASE WHEN status IN (1)
    THEN FLOOR(TRUNC(SYSDATE)-TRUNC(dob))
    WHEN death_date IS NOT NULL AND status IN (2)
    THEN FLOOR(TRUNC(death_date) - TRUNC(dob))
    END daysdiff
    from (
    SELECTanml.id, status,
    TO_DATE ( DECODE (b_date,
    NULL, 1,
    b_date
    || '-'
    || DECODE (b_month,
    NULL, 1,
    b_month
    || '-'
    || b_year,
    'dd-mm-yyyy'
    ) DOB,
    death_date
    FROM anml
    WHERE b_year IS NOT NULL
    ) a) top
    when i tried to fetch all values from view its working fine.
    But when i tried to fetch values based on condition like as follows,
    select * from view1 where anml_age > 20 and anml_age<30
    I am getting error like:
    Input Value long enough for date format and Error in executing parallel query
    Please tell me wht is wrong.

    Here is your formatted code
    create or relace view view1 as
    select top."ID",top."STATUS",top."DOB",top."DEATH_DATE",top."ANML_AGE",top."DAYSDIFF",
    CASE
    WHEN anml_age < 1
    THEN 'D'
    ELSE 'M'
    END age_unit,
    CASE
    WHEN anml_age < 1
    THEN TO_CHAR (daysdiff || ' Day(s)')
    WHEN anml_age < 12
    THEN TO_CHAR (anml_age || ' Month(s)')
    WHEN MOD (anml_age, 12) = 0
    THEN TO_CHAR (ROUND (anml_age / 12, 0) || ' Year(s) '
    ELSE TO_CHAR ( ROUND (anml_age / 12, 0)
    || ' Year(s) '
    || MOD (anml_age, 12)
    || ' Month(s)'
    END age_string
    from
    (SELECT a.*,
    CASE WHEN status IN ( 1)
    THEN FLOOR(MONTHS_BETWEEN(TRUNC(SYSDATE),dob))
    WHEN death_date IS NOT NULL AND status IN (2)
    THEN FLOOR(MONTHS_BETWEEN(death_date,dob))
    END anml_age,
    CASE WHEN status IN (1)
    THEN FLOOR(TRUNC(SYSDATE)-TRUNC(dob))
    WHEN death_date IS NOT NULL AND status IN (2)
    THEN FLOOR(TRUNC(death_date) - TRUNC(dob))
    END daysdiff
    from (
    SELECTanml.id, status,
    TO_DATE ( DECODE (b_date,
    NULL, 1,
    b_date
    || '-'
    || DECODE (b_month,
    NULL, 1,
    b_month
    || '-'
    || b_year,
    'dd-mm-yyyy'
    ) DOB,
    death_date
    FROM anml
    WHERE b_year IS NOT NULL
    ) a) top

  • Limiting, not blocking, Cellular Data Roaming

    I'm trying to find out a way that allows us to supply our staff with iPhones, but limit liability with regards to overseas data roaming.  The problem is probably quite common-- our staff travel a fair bit, so we have a cellular data plan that gives them a fixed cap of free of world-wide data roaming.  Our Telco isn't great at blocking the data from overrunning, as they say their info only gets updated daily, so overages could happen for an entire day before it was blocked.
    We educate the users about how to avoid going over that limit, and largely that's successful-- but occasionally, as I'm sure everyone has experienced at one point or another, someone forgets to flip the switch, or installs a new app without thinking, and then quickly they can run up a tremendous data bill.
    Is there a way in Apple Configurator, or on the device itself, where I could set up a rule limiting roaming data?  Ideally I just want to tell the Configurator "Please limit these users to 500mb roaming data per month, then turn off and lock roaming data".

    Static Vagabond wrote:
    Is there a way in Apple Configurator, or on the device itself, where I could set up a rule limiting roaming data? 
    No

  • Sample XML request for Parametric Data Collection.

    Hello Experts,
    Can any one please post a Sample XML request for Parametric Data Collection.
    Thanks in advance.
    Rgds
    Nityanand Singh

    Stuart,
    I have dealt with the issue you mentioned as a bug with DcGroupRef. In fact, it is not a bug but a misinterpretation of the WS. Those fields you mentioned are a part of Test Plan measurement collection (MeasureGroup and MeasureName fields in particular). However, if you check the database, Test Plan measurement values are collected to a separate table which is not processed by WS at all, however, the WS pushes the data to the table used by DC500. And within this context, DcGroupRef is the must.
    I have rectified such situation at one customer by manually adding the values to the incomplete records. They used to collect the data in such way as of ME 5.0 or even earlier by means of Prod XML.
    Implementation of WS in 5.2 and 6.0 are completely different, especially taking into account switching to usage of PAPI.
    So, it is not a bug but a feature not implemented yet.
    And with that, I'm taking over the ticket.
    Regards,
    Sergiy

  • Oracle version of the Microsoft Application Blocks for Data Access

    Where can I find an Oracle version of the Microsoft Application Blocks for Data Access? Is it tied to any specific version of the Oracle Client software? I currently have version 8.1.7.3 installed.

    I think that DAAB 3.0 only has support for ODBC and OLEDB, which indeed can be used for Oracle. The Nile 3.0 program has an OracleHelper file, but this one uses the Microsoft Dataprovider for Oracle RDBMS. With some minor changes you can make this version work with the ODP.NET that Oracle provides.
    The issue I'm trying to convey is, that it seems hard to use the Microsoft Application Blocks using ODP.NET. As I described earlier, the LOBs and REF Cursors are reference types that actually point to data in the Database. This means, that the Connection to the database must be open to get to the Data.
    In the DataHelper, you open the Connection and get the data you need. The DataHelper should then clean up and close the Connection. Then you pass the data to the caller. However, since we're dealing with Reference types, a closed connection means no data.
    So I guess the only way to make this easy to use and not having to assume the caller/developer will open and close connections, you must copy the data in an instance of a DataSet, before you close the connection and then pass the Dataset back to the caller.
    I wonder if people have delt with this issue and what their solution looks like.
    thnx

Maybe you are looking for

  • Problem using KeyListener in a JFrame

    Let's see if anyone can help me: I'm programming a Maze game, so I use a JFrame called Window, who extends JFrame and implements ActionListener, KeyListener. Thw thing is that the clase Maze is a JPanel, so I add it to my Frame and add the KeyListene

  • ITunes cannot sync apps to the iPod because the apps installed on the iPod could not be determined error message

    I've been getting the "iTunes cannot sync apps to the iPod because the apps installed on the iPod could not be determined" error message for a while. I have tried restoring my iPod but as soon as I try to sync it again (even with nothing changing in

  • SEGV in proc

    I am using gcc and oracle 10G and when i am running a precompiled c file I am getting this error: (gdb) where #0 0x0000002a95f4d3ba in intmalloc () from /lib64/tls/libc.so.6 #1 0x0000002a95f4c5d2 in malloc () from /lib64/tls/libc.so.6 #2 0x0000002a96

  • SAP WM-Stock Placement Strategy "P"

    Hi Gurus While using stock palcement strategy "P" "by storage  Unit Type" we are dividing bins to  section like Stoarge Type  Section   No of itms  231                 A               3                 1       2     3 is this code need to append to t

  • Invoice for purchased games

    Hi,i need invoice for the purchased games on my PSN Store. How can i do that, after i download a game ? thanks