What is the effect of output signal with the same sampling frequency but different number of samples?

Hi,
I'm using PXI4461 for audio measurement and there is a question about analog output. I'm using the Basic Multitone vi for generating multitone signal. The sampling rate is 200k and my question is how to determine the number of samples. I used an audio analyzer to measure the distortion of the output signal with 200k and 1k points and there are no different except the update rate. What number of samples is suitable for 200k sampling rate?
Thanks,
Bill

The Sampling Rate determines the maximum frequency that you can see (the rate/2 according to Nyquist).
The number of samples divided by the rate determines how long you will sample. This sample time can only be determined by you. Do you need .1 seconds worth of data, or 1 second? But note that the MINIMUM frequency that you can detect is 1/(Sample Time) or the Sampling Rate/Number of Samples. So if your system has a minimum and maximum frequency specification use that as your guild.
[email protected]

Similar Messages

  • 2 iphones 1 computer. updated my wifes phone to ios 5 her phone got wiped of all apps and all my contacts are on her phone. we had been using the same apple id but different user accounts on our laptop. How do i get her phone back to normal?

    2 iphone 4, 1 computer. i upgraded to ios 5 and just updated my wifes phone as well. her phone got wiped of all apps and all my contacts were put on her phone. we had been using the same apple id but different user acct on our laptop. How do i get her phone back to normal??

    Have your wife log in to her user account on the laptop. Launch iTunes, then connect her phone to the computer with the USB cable. Sync. That should put back all apps and media. Since you already upgraded her to iOS 5 she'll have to manually enter all her settings and preferences, and organize her home screens.

  • Using the same script twice but different options on a single page

    having a hard time figuring out how to run the cycle script which is in use on one portion of my webpage as a slider gallery under my header, but i'd also like to use it in  a small are in the upper right of the same page but with a different transition, to showcase specific products in a gallery.
    how do i accomplish this? I've been to the cycle plugin page http://malsup.com/jquery/cycle/begin.html but am having trouble interpreting their page source syntax
    in my head section i have the following declared:
    <script type="text/javascript" src="../js/jquery.cycle.all.latest.js"></script>
    <script type="text/javascript">
    $(document).ready(function() {
        $('.slideshow').cycle({
            fx: 'shuffle' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
    </script>
    and in my body its invoked simply by:
    <div class="slideshow">
                <img src="../images/splash1.jpg" width="761" height="210" />
                <img src="../images/splash2.jpg" width="761" height="210" />
                <img src="../images/splash3.jpg" width="761" height="210" />
                <img src="../images/splash4.jpg" width="761" height="210" />
                <img src="../images/splash5.jpg" width="761" height="210" />
    </div>
    now should i change the head function to
    <script type="text/javascript" src="../js/jquery.cycle.all.latest.js"></script>
    <script type="text/javascript">
    $(function() {
        // run the code in the markup!
        $('td pre code').each(function() {
            eval($(this).text());
    </script>
    and how would i later invoke this the body here?
    <div class="slideshow">
                <img src="../images/splash1.jpg" width="761" height="210" />
                <img src="../images/splash2.jpg" width="761" height="210" />
                <img src="../images/splash3.jpg" width="761" height="210" />
                <img src="../images/splash4.jpg" width="761" height="210" />
                <img src="../images/splash5.jpg" width="761" height="210" />
    </div>
    <pre><code class="mix">$('#s1').cycle('fade');</code></pre> - this is what they do on their wepage but i dont understand what this <pre><code class="mix"... is all about.
    can someone please explain
    thanks

    I recommend using Cycle2 instead of the old Cycle Plugin.  Out of the box, Cycle2 is better and has more features.  Just copy & paste the following code into a new document. 
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 Document with Cycle2</title>
    <!--HTML5 help for older IE browsers-->
    <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
    <!--Latest jQuery Core Library-->
    <script src="http://code.jquery.com/jquery-latest.min.js">
    </script>
    <!--Cycle2 Slideshow-->
    <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery.cycle2/20130409/jquery.cycle2.min.js"></script>
    <style>
    body {width: 900px;margin: 0 auto}
    /**Slideshow**/
    .cycle-slideshow {
    margin: 0;
    padding: 0;
    width:500px;
    border: 1px solid silver;
    margin: 0 auto;
    .cycle-slideshow img  {
    width: 500px;
    margin: 0 auto
    .center { text-align: center }
    </style>
    </head>
    <body>
    <!--begin 1st slideshow-->
    <div class="cycle-slideshow"
    data-cycle-fx="swipe"
    data-cycle-pause-on-hover="true"
    data-cycle-speed="2200"
    >
    <img src="http://malsup.github.com/images/p1.jpg" alt="">
    <img src="http://malsup.github.com/images/p2.jpg" alt="">
    <img src="http://malsup.github.com/images/p3.jpg" alt="">
    <img src="http://malsup.github.com/images/p4.jpg" alt="">
    <!--end 1st slideshow--></div>
    <p> </p>
    <p> </p>
    <!--begin 2nd slideshow-->
    <div class="center">
    <a href=# id=next>Next</a>
    </div>
    <div class="cycle-slideshow"
        data-cycle-fx="fadeout"
        data-cycle-timeout="3000"
        data-cycle-next="#next"
        data-cycle-manual-fx="scrollHorz"
        data-cycle-manual-speed="300"
        >
    <img src="http://malsup.github.com/images/p1.jpg" alt="">
    <img src="http://malsup.github.com/images/p2.jpg" alt="">
    <img src="http://malsup.github.com/images/p3.jpg" alt="">
    <img src="http://malsup.github.com/images/p4.jpg" alt="">
    <!--end 2nd slideshow--></div>
    </body>
    </html>
    Use whichever effects you prefer:
    http://www.malsup.com/jquery/cycle2/demo/shuffle.php
    Nancy O.

  • E51: The same software version, but different lang...

    I bought Nokia E51 in Syria. The software in phone let me work only in: Syrian, English, French, German and Spanish language. The software version is 200.34.36.
    I downloaded software with POLISH language, but the version of software is the same - 200.34.36.
    It is possible to change the software ver. 200.34.36. (with Syrian, English, French, German and Spanish language) to version 200.34.36. (with Polish language)?
    Thx,
    Demonides

    Well. there is no harm trying your local Nokia Care Point and see if you can convince them to do it for you free of charge. They can only say no.
    You can find your nearest Nokia Care Point at:
    For UK
    http://www.nokia.co.uk/A4228006
    For Europe:
    http://europe.nokia.com/A4388379
    For Asia-Pacific
    http://www.nokia-asia.com/A4416070
    Elsewhere:
    http://www.nokia.com select your country, go to the support section, then select repair.

  • How do you use family share when we all currently use the same Apple ID but different iCloud accounts?

    our family is currently using all the same Apple ID so we don't have to purchase thing twice, but now I want to set up the family share. Do we all have to have our own Apple ID to set up the family share? We do all have separate iCloud's accounts, I'm not sure if that even makes a difference.

    Hello me1002,
    That is a good question. Everyone will need their own Apple ID that is signed into iCloud and iTunes. When setting this up, someone will need to be the Organizer so whom ever it is will champion this. Then everyone else will need to sign in to each respective accounts and then the organizer will need to send out invites to join Family Sharing. If you get that all setup, remember that when making purchases from those Apple ID will belong to that specific Apple ID so if anyone leaves, others will not have access to that purchased content. 
    Start or join a family group using Family Sharing
    http://support.apple.com/en-us/HT201088
    Regards,
    -Norm G. 

  • How do I use the same css style but different attributes, Without affecting another page.

    Hey everyone,
    I am using the "NivoSlider", for my dreamweaver page but I am not sure how to tell styles that one page has one attribute and the other one will have a different attribute.
    For example: in my "about us" I have a small slideshow with its own pictures. I then put  a gallery page with its own pictures, yet, I want to make that slideshow box larger without affecting the other small slideshow.
    I am using just one Style.CSS for the slideshow.
    Anyways, is their a way to tell tell the code that one page is going to be a different width then the other?
    Thank you!

    Embedded CSS rules take priority over styles in external style sheets.   So you can add page specific rules between your document's <head> tags and after all other links to external CSS files.
    <style>
         page specific rules here....
    </style>
    Nancy O.

  • HT5624 My husband, myself & our 2 daughters all use the same Apple ID but w different user names. Is this a potential problem?

    4 members of my family use the same Apple ID but different user names
    Is this a potential problem w privacy etc?

    Since the Apple ID does not have a username, I suppose you mean different e-mail-adresses?
    In theory, this is not a problem, but of course it can be difficult if you want to keep things separated. For example, logging in with you Apple ID will automatically set up iCloud and sync your calendar, reminder, notes, mails etc. You can disable this syncing on your daughter's devices, but then they won't be able to use functionalities unless they create their own accounts (for example set up another email account). I think (but I am not 100% on this) they will be able to create reminders/notes etc. locally on the iphone.
    If you mean app-wise or legal-wise: No, this is not an issue. You can use your Apple ID and the apps you bought on up to five different devices. Still, for simplicities sake and to give everyone their share of privacy I personally would suggest different IDs for everyone.

  • HT1689 me and my husband both have iphones 4 on the same itunes account but he cannot purchase anything cuz it keeps sayin its a new device and he needs to answer security questions.the questions are not what we set up the acct with. help!

    My husband and I both have i phone 4 on the same itune acct but his phone is saying its a new device and will not let him buy anything off of our acct without answering security questions.  these questions are not the ones we set up the acct with. my iphone device is not having this problem. Help!

    I don't know if I'm asking this all in a way that can be understood? Thanks ED3K, however that part I do understand (in the link you provided!)
    What I need to know is "how" I can separate or rather create another Apple ID for my son-who is currently using "my Apple ID?" If there is a way to let him keep "all" his info on his phone (eg-contacts, music, app's, etc.) without doing a "reset?') Somehow I need to go into his phone's setting-create a new Apple ID and possibly a new password so he can still use our combined iCloud & Itunes account?
    Also then letting me take back my Apple ID & password, but again allowing us (my son and I) to use the same iCloud & Itunes account? Does that make more sense??? I'm sincerely trying to get this cleared up once and for all----just need guidance from someone who has a true understanding of the whole Apple iCloud/Itunes system!
    Thanks again for "anyone" that can help me!!!

  • Synchronize input and output tasks to start at the same sample point [C++ NI_DAQmx Base]

    I'm trying to initiate the analog input and output streams to start reliably at the same sample. I've tried triggering the output from the start of the input using the following code [NI-DAQmx Base 2.1 under Mac OS X with an M-Series multifunction board]. It compiles and runs, but gives an error message at the call to "DAQmxBaseCfgDigEdgeStartTrig". Any suggestions about synchronized I/O on this platform?
    #include "NIDAQmxBase.h"
    #include
    #include
    #include
    #define DAQmxErrorCheck( functionCall ) { if ( DAQmxFailed( error=( functionCall ) ) ) { goto Error; } }
    int main( int argc, char *argv[] )
    // Task parameters
    int32 error = 0;
    TaskHandle inputTaskHandle = 0;
    TaskHandle outputTaskHandle = 0;
    char errorString[ 2048 ] = {'\0'};
    int32 i;
    time_t startTime;
    // input channel parameters
    char inputChannelList[] = "Dev1/ai0, Dev1/ai1";
    float64 inputVoltageRangeMinimum = -10.0;
    float64 inputVoltageRangeMaximum = 10.0;
    // output channel parameters
    char outputChannelList[] = "Dev1/ao0, Dev1/ao1";
    char outputTrigger[] = "Dev1/ai/StartTrigger";
    float64 outputVoltageRangeMinimum = -10.0;
    float64 outputVoltageRangeMaximum = 10.0;
    // Timing parameters
    char clockSource[] = "OnboardClock";
    uInt64 samplesPerChannel = 100000;
    float64 sampleRate = 10000.0;
    // Input data parameters
    static const uInt32 inputBufferSize = 100;
    int16 inputData[ inputBufferSize * 2 ];
    int32 pointsToRead = inputBufferSize;
    int32 pointsRead;
    float64 timeout = 10.0;
    int32 totalRead = 0;
    // Output data parameters
    static const uInt32 outputBufferSize = 1000;
    float64 outputData[ outputBufferSize * 2 ];
    int32 pointsToWrite = outputBufferSize;
    int32 pointsWritten;
    for( int i = 0; i < outputBufferSize; i++ )
    outputData[ 2 * i ] = 9.95 * sin( 2.0 * 3.14159 * i / outputBufferSize );
    outputData[ 2 * i + 1 ] = -9.95 * sin( 2.0 * 3.14159 * i / outputBufferSize );
    // ------------------- configure input task -----------------------
    DAQmxErrorCheck ( DAQmxBaseCreateTask( "", &inputTaskHandle ) );
    printf( "Created input task\n" );
    DAQmxErrorCheck ( DAQmxBaseCreateAIVoltageChan( inputTaskHandle, inputChannelList, "", DAQmx_Val_RSE, inputVoltageRangeMinimum, inputVoltageRangeMaximum, DAQmx_Val_Volts, NULL ) );
    printf( "Created AI Voltage Chan\n" );
    DAQmxErrorCheck ( DAQmxBaseCfgSampClkTiming( inputTaskHandle, clockSource, sampleRate, DAQmx_Val_Rising, DAQmx_Val_ContSamps, samplesPerChannel ) );
    printf( "Set sample rate\n" );
    // ------------------- configure output task -----------------------
    DAQmxErrorCheck ( DAQmxBaseCreateTask( "", &outputTaskHandle ) );
    printf( "Created output task\n" );
    DAQmxErrorCheck ( DAQmxBaseCreateAOVoltageChan( outputTaskHandle, outputChannelList, "", outputVoltageRangeMinimum, outputVoltageRangeMaximum, DAQmx_Val_Volts, NULL ) );
    printf( "Created AO Voltage Chan OK\n" );
    DAQmxErrorCheck ( DAQmxBaseCfgSampClkTiming( outputTaskHandle, clockSource, sampleRate, DAQmx_Val_Rising, DAQmx_Val_ContSamps, samplesPerChannel ) );
    printf( "Set sample rate\n" );
    // trigger output when input starts
    DAQmxErrorCheck ( DAQmxBaseCfgDigEdgeStartTrig( outputTaskHandle, outputTrigger, DAQmx_Val_Rising ) );
    printf( "Set output trigger\n" );
    // ------------------- configuration -----------------------
    // write output signal
    DAQmxErrorCheck ( DAQmxBaseWriteAnalogF64( outputTaskHandle, pointsToWrite, 0, timeout, DAQmx_Val_GroupByScanNumber, outputData, &pointsWritten, NULL ) );
    printf( "Write output signal\n" );
    // set up input buffer
    DAQmxErrorCheck ( DAQmxBaseCfgInputBuffer( inputTaskHandle, 200000 ) ); // use a 100,000 sample DMA buffer
    // initiate acquisition - must start output task first
    DAQmxErrorCheck ( DAQmxBaseStartTask( outputTaskHandle ) );
    DAQmxErrorCheck ( DAQmxBaseStartTask( inputTaskHandle ) );
    // The loop will quit after 10 seconds
    Dr John Clements
    Lead Programmer
    AxoGraph Scientific

    Hi Michael,
    First of all, thanks very much for taking the time to investigate this problem! Much appreciated.
    You asked for "an actual error code you got and any description that is given". The full output from the program that I posted earlier in this thread is appended to the end of this message. In summary, following the call to...
    DAQmxErrorCheck ( DAQmxBaseCfgDigEdgeStartTrig( outputTaskHandle, outputTrigger, DAQmx_Val_Rising ) );
    ... with ...
    char outputTrigger[] = "Dev1/ai/StartTrigger";
    ...the error message is ...
    DAQmxBase Error: Specified route cannot be satisfied, because the hardware does not support it.
    You asked "specifically which M series device you are using"? It is the PCIe 6251 (with BNC 2111 connector block). I'm testing and developing on an Intel Mac Pro (dual boot OS X and Windows XP).
    You asked for "the location you pulled the code from". Here it is...
    http://zone.ni.com/devzone/cda/epd/p/id/879
    ...specifically from the file "Multi-Function-Synch AI-AO_Fn.c".
    I adapted the NI-DAQmx calls to their NI-DAQmx Base equivalents.
    Finally, you asked "Is the trigger necessary, or do you just need to know that the measurements are running on the same clock?". I believe that some kind of sychronized trigger is necessary in my situation (correct me if I'm wrong). Timing is crucial. Say I initiate an analog output stream that delivers a voltage command step 5 ms from the onset. I need to record the response (analog input stream) so that its onset is accurately aligned (synchronized) at 5 ms. A typical recording situation would stimulate and record a short data 'sweep', then wait for the (biological) system to recover, then stimulate and record another short sweep, and repeat. I need all the recorded sweeps to align accurately so that they can be averaged and analyzed conveniently.
    I definitely do not want my customers to rely on an expensive external TTL pulse generator to initiate and synchronize each 'sweep'. That would effectively eliminate the cost advantage of an NI board, as well as adding unnecessary complexity in setup and use. It would be a show-stopper for me.
    It seems perverse, but would it be possible to use a digital output channel connected directly to a digital input chanel to trigger the input and output streams?
    Regards,
    John.
    Full output from test program. Compiled with gcc 4 under OS X...
    [Session started at 2007-05-23 14:17:01 +1000.]
    LoadRuntime: MainBundle
    CFBundle 0x303cc0 (executable, loaded)
    _CompatibleWithLabVIEWVersion: linkedAgainst: 08208002
    _CompatibleWithLabVIEWVersion: result= false, mgErr= 1, theActualVersion= 00000000
    _CompatibleWithLabVIEWVersion: linkedAgainst: deadbeef
    _CompatibleWithLabVIEWVersion: Reseting Linked Against
    _CompatibleWithLabVIEWVersion: linkedAgainst: 08208002
    _CompatibleWithLabVIEWVersion: result= true, mgErr= 0, theActualVersion= 00000000
    _CompatibleWithLabVIEWVersion: linkedAgainst: 08208002
    _CompatibleWithLabVIEWVersion: result= true, mgErr= 0, theActualVersion= 00000000
    com.ni.LabVIEW.dll.nidaqmxbaselv
    CFBundle 0x313760 (framework, loaded)
    {type = 15, string = file://localhost/Library/Frameworks/nidaqmxbaselv.framework/, base = (null)}
    Amethyst:Library:Frameworks:nidaqmxbaselv.framework
    2007-05-23 14:17:02.248 test-ni[4445] CFLog (21): Error loading /Library/Frameworks/LabVIEW 8.2 Runtime.framework/resource/nitaglv.framework/nitaglv: error code 4, error number 0 (no suitable image found. Did find:
    /Library/Frameworks/LabVIEW 8.2 Runtime.framework/resource/nitaglv.framework/nitaglv: mach-o, but wrong architecture)
    CFBundle 0x1751fdc0 (framework, not loaded)
    Created input task
    Created AI Voltage Chan
    Set sample rate
    Created output task
    Created AO Voltage Chan OK
    Set sample rate
    DAQmxBase Error: Specified route cannot be satisfied, because the hardware does not support it.
    test-ni has exited with status 0.
    Dr John Clements
    Lead Programmer
    AxoGraph Scientific

  • Is it possible to detect low frequency signals with a high sampling rate?

    Hello everyone,
    I'm having an issue detecting low frequency signals with a high sampling rate.  Shouldn't I be able to detect the frequencies as long as the sampling rate is at least 2 times the highest frequency I will measure?  The frequency range I am measuring is 5-25 Hz, and I use Extract Single Tone.vi to measure the frequency.  The sampling setting I am using is 2 samples at 10 kHz.  Is there a method I can use to make this work?
    Attached is the vi.
    Attachments:
    frequencytest.vi ‏21 KB

    You are sampling at 10Ks/S, but only taking two samples. What do you expect to see? If your signals are binary (On or Off) you would only see either an on or an off, or if the rise/fall time was fast and you were Extremely lucky, one of each. If you want to see a waveform you have to sample for at least the period of a waveform. So you should take samples for at least 0.2 seconds to capture an entire waveform at 5Hz, ideally longer.   Think of looking at a tide change at a dock. If you want to see the entire tide change you will probably have to measure repeatedly over 24 hours, not just run out on the dock, measure the height twice and leave. That wouldn't tell you anything other than at that precise moment the tide height was X, but not that it was at high tide, low tide, in between, etc.
    I type too slowly, I see that a more technical answer has been given, so mine will be the philosophical one!
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • HT1535 I own an iPhone4, an iPod 3rd generation and an iPad 2. I use the same iTunes library but unfortunately synced iPad with a different computer before syncing to my own. Do I risk losing the films/apps I've downloaded onto my iPad if I sync with my i

    I don't want to sync what is on my iPod to my iPad. (I have a 32gb iPod but only 16gb on iPad. The iPod I use mostly for music.) I can't seem to add the films I have downloaded onto iPad to iTunes. If I could do that, I could erase them from iPad to create more storage.
    This is intensely confusing, sorry.

    Question.....
    "I own an iPhone4, an iPod 3rd generation and an iPad 2. I use the same iTunes library but unfortunately synced iPad with a different computer before syncing to my own. Do I risk losing the films/apps I've downloaded onto my iPad if I sync with my iPod?"
    Answer.....
    Yes you will lose the films that you downloaded to the iPad when you sync with your own iTunes unless you transfer the purchases into your own iTunes library. Were these movies that you purchased? If so, you might be able to download them again for free. Do you have multiple computers that you sync from or is this someone else's purchased content?
    You can select whatever you want to sync to all of your devices in iTunes, you do not have to sync the same content to all device.
    iTunes 11 for Windows: Set up syncing for iPod, iPhone, or iPad
    iOS: Syncing with iTunes - Support - Apple

  • I bought an iPad and want to make sure it's on the same apple account but my phone always come up with a different apple Id?

    I bought an iPad and want to make sure it's on the same apple account but my phone always come up with a different apple Id?

    Remember - if you bought any apps with another ID you cannot update them with a different ID.
    Try changing the ID in the App Store. Tap on Featured - swipe to the bottom of the screen - tap on the ID in the bottom left corner - and see if you can change it that way.
    If that doesn't work, sign out of your account altogether, restart the iPad and then sign in again.
    I guess I should ask - what ID is it coming up with and why is it coming up with that ID?
    Message was edited by: Demo

  • HT4528 Can I put the same information on two different i-phones with different numbers and different ID's?

    Can I put the same information on two different i-phones with different numbers and different ID's?

    Yes and no it really depends on what information you are putting on the devices.

  • HT2693 what is the garmin iphone application customer service number?

    what is the garmin iphone application customer service number?
    My GPS that I bought for 60 dollars got erased after i changed my apple id.  I would like a refund or the app back.  Please help
    [email protected]

    Laxman25 wrote:
    Yea because any apps with your "old" id are attached to that Id only. You can log into the iPhone settings, store, and change the apple I'd back to your old one. Redownload it and it will work. It will only work if you are logged in with that I'd. I'm not sure you will get much of an outcome with trying to get a refund. Go to the garmin website and pull support from there.
    It is not correct that it will only work if you are logged in with the original ID. You must sign into the store with your original ID and then redownload the app from the Purchased tab. Once it's downloaded, however, you do not need to remain logged into that account. However, you'll need to enter your password for that account anytime you try to update the app.

  • What does the error message "Sorry, but we couldn't create a repair because of the business repair mapping." mean?

    What does the error message "Sorry, but we couldn't create a repair because of the business repair mapping." mean?
    Trying to send it to Apple to get the battery replaced. iPhone 5S iOS 8.0

        StephAnnDLC, thanks for posting. Are you still having issues with the videos? How about the battery issue? Have you tried this http://bit.ly/102vuCF and retested?^SP

Maybe you are looking for