OLED display & signal sampling rate

Dear Ni technicians
I am new to LabVIEW Embedded module. I use LabVIEW 2009 and Luminary LM3S8962 evaluation board. Recently my project need to use this board for data acquisition and display the input the waveform on the OLED display. However I find that the sampling rate is as low as around 10Hz, hence I can only get the waveform below 2Hz without aliasing. While the datasheet claim that the sampling frequency is about 16MHz. Is it because the display rate "drag" the "sampling rate"? if so, how could I improve it?
Here I attach the code and the actual result in the ppt file.
Many thanks!
Best regards,
Haiwen
Attachments:
testing.ppt ‏4333 KB

Hi, I'm working on it, I wonder if at this time if you manage to increase the sampling rate?
Atom
Certified LabVIEW Associate Developer

Similar Messages

  • Display file type, bit rate, sample rate in 12.0.1?

    I just upgraded to 12.0.1 running on an old dual quad core running OS10.7.5
    I used to be able to customize the ID3 tag fields when displaying my music library.
    One important aspect was to view the file type, bit rate, and sample rate as I'm a band/audio producer.
    I can now only view those things when I "get info" on each song.  This is really painful as I'd like to see a list of all my songs and be able to easily see those 3 fields and sort by them.
    Is there a way or did Apple remove this ability therefore making my experience of using iTunes be pretty much ruined?
    any help would be much appreciated!  thanks...
    .k.

    One important aspect was to view the file type, bit rate, and sample rate as I'm a band/audio producer.
    I can now only view those things when I "get info" on each song.  This is really painful as I'd like to see a list of all my songs and be able to easily see those 3 fields and sort by them.
    Is there a way or did Apple remove this ability therefore making my experience of using iTunes be pretty much ruined?
    Symbion,
    The ability is still there, but it is enabled differently.
    In Songs view, click the drop-down at the upper right  Then click the next drop-down called "Show Columns," as shown below.  There, you can pick the columns you want to display, including sample rate, etc.

  • Acquire 2 signals with different sampling rate?

    Hello,
    i am using first time labview signal express together with a NI pci 6251 & NI Scc 68 device.
    There are 2 signals I wish to acquire over a 2 week time period. They should be saved in several tdms files. One is a dc Voltage.(sampling rate 100Hz) The second is voltage given by an acceleration Sensor. (sampling rate 4kHz)
    When I try to acquire them I couldn't figure out how to set the sampling rate for each signal, only for all signals.
    When I created two DAQmx assistant acquire tabs. An error occurs always: "the specified resource is reserved".
    So my question is is it possible to do this?

    hello markus_umd,
    no, it is not possible to create different samplingrates for individual channels on one daq device.
    if you want to record one channel slower, you must reduce the samples for that channel in your program.
    if the channels have a common divisor, you could implement your task. you find more information here:
    Sampling Different Channels at Different Rates with NI-DAQmx
    kind regards,
    robert h
    NI germany

  • Old Sample Rate Display Bug Rears Ugly Head in Logic 7

    This bug has been around since Logic 4. I see it now in 7.1.1... (RANT: This drives me absolutely nuts, especially when trying to troubleshoot clocking problems.)
    OK, my system = Logic 7, MOTU 424 PCI card connected to old MOTU 2408
    1) Boot Logic (autoload song is saved at 48 KHz sampling rate)
    2) Select File/Song Settings/Syncronization, then select the Audio tab
    3) The sampling rate shown in this window is 44.1 (should say 48, yes?)
    4) With that window still visible, change the sample rate to 44.1 (via Audio/Sample Rate menu item). Sample rate display doesn't change (appears correctly).
    5) Now change the sample rate back to 48K. Sample rate display now shows 48K, but with about an -8% deviation.
    Basically, Logic never shows the 48K sampling rate correctly in this window -- it always displays this deviation.
    I can confirm this is a display bug, since a 44.1 file and a 48K file loaded into the same session will play back correctly at their respective sample rates.
    Has anyone else seen this?

    bump...
    Would like to know if anyone else sees the above-described behavior. Cheers!

  • 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

  • How to sync. 50Hz sample rate with 5Hz external digital trigger signal?

    Hello there,
    I want to sample an analog input at 50Hz, where I further want to use
    the 5Hz PPS signal of a GPS receiver as an external trigger/clock
    signal for the NI DAQ USB-6008 device. However, I do not want to read
    10 samples every 200ms (= 50Hz avg. sample rate), but I want to read 1
    sample every 20ms, i.e. with "real" 50Hz.
    The "natural" way, it seems would be to use a task that waits for a
    rising edge on the ext. trigger input, then reads 10 samples, then
    waits for the next trigger edge, and so on.
    However, it seems that with this approach I cannot read the data from
    the DAQ with real 50Hz, further it seems that every 10 samples the task
    needs to be restarted, which takes longer than the 20ms (corresponding
    to the 50Hz target sample rate).
    I hope the problem description is clear enough....
    Thank you in advance for any advice.
    Regards,
    Oliver

    You have to use the counter together with the analog input to achive this. You could configure the counter to generate 10 pulses with 50 Hz whenever the counter sees a rising edge on the inpput of the counter. The output of the counter would be used as the external clock for the analog input.

  • Parallel acquire 2 signals with different sampling rate on 2 cards

    Hi NI,
    I have cDAQ-9178 and NI 9221, where sample rate is 10kHz and NI 9219, where I need sample rate about 10Hz, it's possible this confiruration for parallel acquire?
    Thank you.
    Neolker

    Hi Neolker,
    Do the tasks need to be synchronized or are totally independent tasks?
    If the tasks are independent, than you basically have to create two different tasks, even in two different loops that will run with different sampling rate.
    You can have them in the same loop the reading if you assure that the data are transfered in chunks to application memory according to tha sampling rate (Ex. for 10kS/s rate you can transfer data with 1kS chunks and for 10S/s rate with 1S chunk).
    If  you want to synchronize them, you will need a counter that will divde the sample clock from 9221 and route it to 9219.
    Let me know if you need more help.
    Best regards,
    IR

  • NI USB 6211 : sample rate and sample read

    Bonjour,
    je viens vers vous car je souhaite faire une acquisition continu d'un signal d'une entrée analogique. Sur cette entrée analogique est branchée un accéléromètre et un transducteur qui me renvoie donc une tension (120Mv/g) . J'ai donc réalisé à l'aide d'un exemple labview un programe. Cependant, celui-ci est très très long .. Lorsque je varie la tension d'entrée, cela prend plusieurs secondes avant d'afficher la valeur exact. Une erreur 200279 s'affiche lrosque les paramètres de sample read et sample rate ne correspondent pas... j'ai été voir sur le net sur ce lien :
    http://digital.ni.com/public.nsf/allkb/AB7D4CA8596​7804586257380006F0E62
    Mais rien n'y change. je vous laisse mon Vi en pièce jointe... cordialement
    Attachments:
    Pièces jointes :
    Test 1.vi ‏28 KB

    Doublon et résolu ici
    Valentin
    Certified TestStand Architect
    Certified LabVIEW Developer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Travaux Pratiques d'initiation à LabVIEW et à la mesure
    Du 2 au 23 octobre, partout en France

  • Graph data at a certain sampling rate

    I am acquiring data at a sampling rate of 50kHz and I want to plot it on a graph or a chart continuously. The data is in an array which is connected to the graph/chart. I can see the signal (sine wave) but the time scales are not right. I have set "multiplier" field to 0.00002 to reflect my sampling rate but the start and end of the graph are not correct. They usually have a width of about 25 ms. How can I change it to 30 seconds? The graph should always be showing 30 seconds of data at any given moment. 

    Do you want it to be a graph or a chart?  They are 2 fundamentally different things.  A chart maintains a history of previous points and you can add to it a point or several points at a time.  A graph has no history and it only shows what you send to it at a given point of time.
    One problem you'll have with a 50kHz sample rate and 30 seconds worth of data is that is 1.5 million samples.  That is way too many to truly be able to see on a graph or chart at one time where even a large display might only be 1000 pixels wide.
    If you are using a waveform chart, you are probably seeing a limit on the chart history length which by default is 1024 data points.  At a 50kHz data rate, that would be about 20 ms worth of data.  Set the chart properties to have a larger history length.
    Message Edited by Ravens Fan on 10-03-2008 11:52 AM

  • Problème NI usb 6211, sample rate et sample to read

    Bonjour,
    je viens vers vous car je souhaite faire une acquisition continu d'un signal d'une entrée analogique. Sur cette entrée analogique est branchée un accéléromètre et un transducteur qui me renvoie donc une tension (120Mv/g) . J'ai donc réalisé à l'aide d'un exemple labview un programe. Cependant, celui-ci est très très long .. Lorsque je varie la tension d'entrée, cela prend plusieurs secondes avant d'afficher la valeur exact. Une erreur 200279 s'affiche lrosque les paramètres de sample read et sample rate ne correspondent pas... j'ai été voir sur le net sur ce lien :
    http://digital.ni.com/public.nsf/allkb/AB7D4CA85967804586257380006F0E62
    Mais rien n'y change. je vous laisse mon Vi en pièce jointe... cordialement
    Attachments:
    Test 1.vi ‏28 KB

    Bonjour Geoff54,
    Tu es sur le forum international donc si tu veux que quelqu'un te reponde tu devrais poser ta question en anglais.
    Sinon il éxiste un forum francophone : French Forums
    L'erreur que tu rencontres vient du fait que le buffer du PC se remplit avec les données que tu acquiers mais tu ne le vide pas assez vite et lorsque le buffer est complet il te renvoie l'erreur -200279.
    Pour solutionner celà, il faut que tu viennes vider le buffer plus rapidement.
    Tu peux faire celà en augmentant le "sample to read" à plus que 1000 ou bien en laissant la valeur par défaut qui est -1.
    Bonne journée,
    Valentin
    Certified TestStand Architect
    Certified LabVIEW Developer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Travaux Pratiques d'initiation à LabVIEW et à la mesure
    Du 2 au 23 octobre, partout en France

  • Minimum sample rate for 10KHz square wave with MIO

    Need to display a 10KHz square wave input to a 16E MIO. Presently sampling 1 channel at 400KS/s. Gives me 2.5uS/sample. Even at 800KS/s-same thing. How come I can't get a decent picture of the waveform. Presently I see a ramp up-down akin to an RC time constant. At 1KHz I get a decent waveform. I'm wondering if I have something set wrong in my program. Did I miss something in determining the proper sample rate?

    Hi Steve,
    Are you sure you are sampling at 400 and 800 KS/s?
    I thought those boards only go up to about 100KS/s.
    (show your point on your plot. Are you getting 40 samples per period?)
    If you really are sampling that fast, then you have partially answered your own question. There is a small capacitance at teh input to the board. A high impeadance source will combine the input capacitance of the board to give you the charge ramp you mentioned. Only solution to this situation is ussing a low impeadance output buffer between your signal source and the AI.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • IIR Filtering and response .vi: Butterwort​h filter magnitude response depends on sampling rate -why?

    Hi folks,
    I am not expert in filter design, only someone applying them, so please can someone help me with an explanation?
    I need to filter very low-frequent signals using a buttherwoth filter 2. or 3. order as bandpass 0.1 to 10 Hz .
    Very relevant amplitudes are BELOW 1 Hz, often below 0.5 Hz but there will be as well relevant amplitudes above 5 Hz to be observed.
    This is fixed and prescribed for the application.
    However, the sampling rate of the measurement system is not prescribed. It may be between say between 30 and 2000 Hz. This will depend on whether the same data set is used for analysing higher frequencies up to 1000 Hz of the same measurement or this is not done by the user and he chooses a lower sampling rate to reduce the file sizes, especially when measuring for longer periods of several weeks.
    To compare the 2nd and 3rd order's magnitude response of the filter I used the example IIR Filtering and response .vi:
    I was very astonished when I the found that the magnitude response is significantly influenced by the SAMPLING RATE I tell the signal generator in this example vi.
    Can you please tell me why - and especially why the 3rd order filter will be worse for the low frequency parts below 1 Hz of the signal. I was told by people experienced with filters that the 3rd oder will distort less the amplitudes which is not at all true for my relevant frequencies below 1 Hz.  
    In the attached png you see 4 screenshots for 2 or 3 order and sampling rate 300 or 1000 Hz to show you the varying magnitude responses without opening labview.
    THANK YOU for your ANSWERS!!!
    chris
    Solved!
    Go to Solution.
    Attachments:
    butterworth-filter-differences.png ‏285 KB

    Hello Lynn,
    thanks for the answer. You are right that there are few points "behind" the curve in the graph, see png.
    However, this is the filter response which Labview (2009) provides to me directly out of the "IIR Filter for 1 Channel. vi" in the "filter information" output cluster. Where up to now I do not know how to influence it - apart from adjusting the input parameters "IIR filter specifications". OK, I assume I have to gain more knowledge of this. The curve of the magnitude resonse dies not change when I change the number of samples of the input signal of the signal generator, only wehn I change the sampling rate.
    I used directly the example vi from Labview with the name indicated in my first post "IIR Filtering and Response.vi".
    So I assumed that everybody has it in his/her examples shipped with LV and it is not necessary to post it.
    I just adjusted the size of the diagram of magnitude response to see the curves better as you see in the attached vi.
    So I did no changes to the vital parts of signal generation and filter of the example. The screenshots are like they come from the example when using the option "one waveform" where I as user assume that this which is behind is quality-controlled by NI.
    I was also astonished that the filter magnitude response is different to the one I copied out of graphs 1 year ago - but I unfortunately cannot reconstruct which example I used there...
    Thanks for any further comments
    chris
    Attachments:
    IIR Filtering and Response_CH.vi ‏55 KB
    butterworth2nd_order_bandpass_0p1to10Hz_mag_response.PNG ‏18 KB

  • Can I mix down to 32 bit at a higher sample rate than 44.1 kHz ?

    When I use Ableton Live, it lets me choose 16, 24, or 32 bit, and then I can choose a sample rate all the way up to 192000.  Is this possible in Audition ?  I have been going through all the preferences and all the tabs and I can't find this option.  All I find is a convert option, or the adjust option.  But that's not what I want.  I want to mix down this way.
    The closest thing I found is when I go to "Export Audio Mix Down", I can select 32 bit.  Then there is a box for sample rate, with all the different values.  But it won't allow me to change it from 44100.

    JimMcMahon85 wrote:
    Can someone explain this process in laymens terms:
    http://www.izotope.com/products/audio/ozone/OzoneDitheringGuide.pdf ---> specifically Section: VIII "Don't believe the hype"
    I don't read graphs well, can someone put in laymens terms how to do this test, step by step, and where do i get a pure sinewave to import into audition in the first place??
    UNbelievable: So I have to first run visual tests using a sinewave to make sure dither is working properly, then do listening tests with different types of dither to hear which I like best on my source material, and then for different source material it's best to use different types of dither techniques???... Am I getting this right???...
    Hmm... you only need to run tests and do all that crap if you are completely paranoid. Visual tests prove nothing in terms of what you want to put on a CD - unless it's test tones, of course. For the vast majority of use, any form of dither at all is so much better than no dither that it simply doesn't matter. At the extreme risk of upsetting the vast majority of users, I'd say that dither is more critical if you are reproducing wide dynamic range acoustic material than anything produced synthetically in a studio - simply because the extremely compressed nature of most commercial music means that even the reverb tails drop off into noise before you get to the dither level. And that's one of the main points really - if the noise floor of your recording is at, say, -80dB then you simply won't be hearing the effects of dither, whatever form it takes - because that noise is doing the dithering for you. So you'd only ever hear the effect of LSB dither (what MBIT+, etc. does) when you do a fade to the 16-bit absolute zero at the end of your track.
    Second point: you cannot dither a 32-bit Floating Point recording, under any circumstances at all. You can only dither a recording if it's stored in an integer-based format - like the 16-bit files that go on a CD. Technically then, you can dither a 24-bit recording - although there wouldn't be any point, because the dither would be at a level which was impossible to reproduce on real-world electronics - which would promptly swamp the entire effect you were listening for with its own noise anyway. Bottom line - the only signals you need to dither are the 16-bit ones on the file you use for creating CD copies. And you should only dither once - hence the seemingly strange instructions in the Ozone guide about turning off the Audition dither when you save the converted copy. The basic idea is that you apply the dither to the 32-bit file during the truncation process - and that's dithered the file (albeit 'virtually') just the once. Now if you do the final file conversion in Audition, you need to make sure the dithering is turned off during the process, otherwise all the good work that Ozone did is undone. What you need to do is to transfer the Ozone dithering at the 16-bit level directly to a 16-bit file proper, without anything else interfering with it at all. So what you do with Ozone is to do the dithering to your master file, and save that as something else - don't leave the master file like that at all. After saving it, undo the changes to the original, in fact - otherwise it's effectively not a file you could use to generate a master with a greater-than-16-bit depth from any more, because it will all have been truncated. Small point, but easy to overlook!
    just what's the easiest way to test if a simple dithering setting is
    working for 32-bit down to 16-bit in Audition?...  Why is there no info
    about dithering from 32 bit to 16 bit (which is better then dithering
    from 24-bit isn't it)?
    I hope that the answers to at least some of this are clearer now, but just to reiterate: The easiest way to test if its working is to burn a CD with your material on it, and at the end of a track, turn the volume right up. If it fades away smoothly to absolute zero on a system with lower noise than the CD produces then the dither has worked. If you hear a strange sort-of 'crunchy' noise at the final point, then it hasn't. There is info about the 32 to 16-bit dithering process in the Ozone manual, but you probably didn't understand it, and the reason that there's nothing worth talking about in the Audition manual is because it's pretty useless. Earlier versions of it were better, but Adobe didn't seem to like that too much, so it's been systematically denuded of useful information over the releases. Don't ask me why; I don't know what the official answer to the manual situation is at all, except that manuals are expensive to print, and have also to be compatible with the file format for the help files - which are essentially identical to it.
    Part of the answer will undoubtedly be that Audition is a 'professional' product, and that 'professionals' should know all this stuff already, therefore the manual only really has to be a list of available functions, and not how to use them. I don't like that approach very much - there's no baseline definition of what a 'professional' should know (or even how they should behave...), and it's an unrealistic view of the people that use Audition anyway. Many of them would regard themselves as professional journalists, or whatever, but they still have to use the software, despite knowing very little about it technically. For these people, and probably a lot of others, the manual sucks big time.
    It's all about educating people in the end - and as you are in the process of discovering, all education causes brain damage - otherwise it hasn't worked.

  • Maximum audio sample rate and bit depth question

    Anyone worked out what the maximum sample rates and bit depths AppleTV can output are?
    I'm digitising some old LPs and while I suspect I can get away with 48kHz sample rate and 16 bit depth, I'm not sure about 96kHz sample rate or 24bit resolution.
    If I import recordings as AIFFs or WAVs to iTunes it shows the recording parameters in iTunes, but my old Yamaha processor which accepts PCM doesn't show the source data values, though I know it can handle 96kHz 24bit from DVD audio.
    It takes no more time recording at any available sample rates or bit depths, so I might as well maximise an album's recording quality for archiving to DVD/posterity as I only want to do each LP once!
    If AppleTV downsamples however there wouldn't be much point streaming higher rates.
    I wonder how many people out there stream uncompressed audio to AppleTV? With external drives which will hold several hundred uncompressed CD albums is there any good reason not to these days when you are playing back via your hi-fi? (I confess most of my music is in MP3 format just because i haven't got round to ripping again uncompressed for AppleTV).
    No doubt there'll be a deluge of comments saying that recording LPs at high quality settings is a waste of time, but some of us still prefer the sound of vinyl over CD...
    AC

    I guess the answer to this question relies on someone having an external digital amp/decoder/processor that can display the source sample rate and bit depth during playback, together with some suitable 'demo' files.
    AC

  • Can't change sample rate for digital input on Mac Pro

    Hello all,
    on my Mac Pro with 10.4.10 I can't change the sample rate for the digital input. Whenever I choose 48000 or 96000 Hz it returns to 44100 Hz after a few seconds. Feeding a 24 bit/96000 Hz signal from an external ADC into the optical input doesn't help. No input signal is available for digital recording software such as Sound Studio or Cubase. After changing the sample rate in audio midi configuration to 96000 Hz the sound can be heard for a few seconds but when the setup returns to 44100 automatically the signal is, of course, lost.
    I've deleted all relevant preferences and restarted with resetting paramter RAM. Still the same. With external hardware such as M-Audio Firewire equipment setting the sample rates works properly.
    Thanks to all for helpful clues.

    Hi,
    when E&M signaling is configured on digital interface like the VWIC is, 2 or 4 wires operation is not applicable because there are no wires at all, and reported only for compatibility with the analog E&M card.
    Consequently, you cannot configure that and it will not make any difference to effect of the connection.
    Please rate post if it helps!

Maybe you are looking for

  • I can't open a video in cs5.

    I have cs5 and also cs4 and a codec, a quick time player. when I try to open a video file through import video frames to layers this comes up. I tried so many things, but nothing works, does anyone know any resolutions that actually WORK?

  • SX20 with Third Party Camera

    Hi Team, Can we Connect Cisco SX20 with 3rd Party Camera??? Since SX20 12X Comes with a Breakout Cable of HDMI + Power & Control. Only Requirement is for Video. Third party Camera has HDMI Output. Camera Control & Device Control will be Done by Crest

  • Building Dynamic web sites... where do you start these days?

    OK... first off, I'm no coding expert but I have used Dreamweaver for many years to build web sites using a pretty basic ms access databases to generate a few dynamic web pages in .asp. My question is, since the changes following Adobe Dreamwever CS5

  • Unit of Order Exception

    Hi, I have distributed Queue(Q1) which sends message to another distributed Queue(Q2).Before sending messages to Q2,I set unitofOrder property to my wlMessageProducer and send the message. Everthing works in a single managed server.But when It is dep

  • Will the new Macbook run WoW on full settings?

    Will it run it perfectly, or will it be too frustrating on full settings? I don't see any point of getting a Macbook Pro (base model) right now just for the graphics card... Thanks.