Sampling increase buffer size

hello, I'm trying to sample my scxi module (SCXI-1100 32Ch analog input module) at 10Hz... so I'm taking my samples in a timed while loop... I was wondering if I had this wired correctly... I'm sampling 16 inputs of the scxi-1100... inside my timed while loop I have set up "NChan 1Samp"..... I keep getting the increase buffer size error.... but I'm only taking 1 sample.... I'm not sure where I've gone wrong... I'm including a picture.... much thanks.
Attachments:
sampling.PNG ‏27 KB

Hi Fibo,
Thanks for the post!
If you require to do continous aquisation you need to read Nsamples.. i.e. to pull all the samples collected out of the buffer when you loop re-iterates.
I would recommend looking in the example finder (Help>>Find Examples...Hardware Input/Output>>DAQmx>>Analog..
Im pretty sure this would explain the buffer zier error.
** Its fine to have two create channels, if you want to change the settings relating to each channel. You just cant have mutiple Analog Tasks.
Let me know what you think,
Kind Regards, 
Message Edited by Hillman on 10-15-2008 09:14 PM
Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help!

Similar Messages

  • Need some Idea for my final year project to increase buffer size

    hi...i need some idea from someone to give some idea, advice or some excersice/toturial about " how to increase buffer size" on my final year project, i have try find the solution..but it's still have problem on my oscilloscope.VI. I was design my final year project using LabVIEW 8.6 and now i state my design for someone to refer my project.
    Thank You  
    Attachments:
    Oscilloscope A.llb ‏166 KB

    Don't know if this is what you're searching for, and I don't know if there is such a function in LV 8.6, but I'm using LV 2010 and under DAQmx Pallete, you go to "Advanced Task Options", there is a function "Configure Output Buffer", in which you can configure the buffer size you want.

  • "Streaming Buffer Size" pop-up menu does not exist under Advanced when I use iTunes - Preferences - Advanced. How can I increase buffer size?

    How can I change buffer size in iTunes 10? "Streaming Buffer Size" pop-up menu does not exist under Preferences--Advanced.

    Hi all, iTunes streaming victims.
    I struggled long with the streaming buffer problem of iTunes and indeed could solve it with increasing the buffer size, which features has been removed in iTunes 10. And this without updating the instructions by Apple!
    Here is my solutions:
    http://www.rogueamoeba.com/airfoil/
    perfect for all wireless audio streaming not only for itunes, but any source on the Mac.
    solved the problem completely for my 3 MacBooks, 2 airports, iphones etc.
    it is not for free but a very good value for money.
    cheers, Wil

  • I need to increase my FMS buffer size for display video smoothly

    I need to increase my buffer size in FMS.
    Please let me know form where i would be increase my FMS buffer size.
    My video is running from RTMP and i faces the problem to load. video stalled between the running. so i need to increase buffer size for running video smoothly.
    Please reply me as soon as possible so i can resoled my problem.
    Thanks in advance.....

    Hi,
    You can increase the buffer size by using the property bufferTime of NetStream Object you are using. For eg: if ns is your NetStream Object then it can be done by ns.bufferTime=<desired value>.
    Also you can go through this
    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/NetStream.html#bufferT ime.

  • How to increase the buffer size for Oracle?

    After I installed the patch 9.2.0.4, I kept getting 'ORA-03113: end-of-file on communication channel' error. According to the metalink, increasing the buffer size may solve this problem. I found when I set the trace on, this problem was gone, and after I set the trace off, it came back again. I am not sure if setting the trace on increases buffer size automatically or not, but I want to start from here.
    No matter how easy it is, I really didn't change buffer size before, can anyone show me how to do that?
    Thanks a lot.

    Hi,
    I think they asked to increase the db buffer cache size. You may try this
    alter system set db_cache_size=<new size in bytes> scope=both;
    Cheers
    Muneer

  • Buffer size

    My system is composed of : Dell Dimension 4600 with 512 Mb RAM, NI PCI 6250 serie M, LabVIEW 7.1., NiDaq 7.4., ApplicationBuilder 7.1.
    I am acquiring at 10000 samples per second with with a buffer size of 40000 samples and 200 samples average and the program blocks. If I reduce the size of the buffer the program runs OK. How large should the buffer siez be ?

    Hello Simbani
    Memory allocation is typically handled automatically for you if you use the DAQmx Timing.vi: 
    If the acquisition is finite (sample mode on the DAQmx Timing.vi is set to Finite Samples), NI-DAQmx allocates a buffer equal in size to the value of samples per channel.
    If the acquisition is continuous (sample mode on the DAQmx Timing.vi is set to Continuous Samples), NI-DAQmx will allocate a buffer according to the following table:
    Sample Rate
    Buffer Size
    0 - 100 S/s
    1 kS
    100 - 10,000 S/s
    10 kS
    10,000 - 1,000,000 S/s
    100 kS
    > 1,000,000 S/s
    1 MS
    You can override these values calling  DAQmx Configure Input buffer.vi, but in general with the automatic values the system woks OK. You can find this information into NI-Daqmx help>>Key NI-DAQmx concepts>>Reading and writing data>>buffering.
    Hope this helps
    Belens

  • Onboard buffer size

    Hi, can anyone tell me the difference between the "buffer size" and "onboard buffer size" under the DAQmx buffer>>output property?
    Thanks,
    David
    www.controlsoftwaresolutions.com
    Solved!
    Go to Solution.

    OnbrdBufSize - is the fast memory every DAQ card has to store the acquired data. It's like RAM in the PC. For example here you find that the NI PCI 6120 has 128MB of this memory which will equal to some amount of samples the buffer can store (this number you will read). This said it also explains why you can read and not set this property.
    Output.BufSize - Before you start data acquisition software buffer is defined based on the task you perform. I think it just allocates part of the fast memory of the DAQ card. The reason why the buffer is set (either by the user or automatically) is to have defined memory space for each task. Imagine you have more tasks using the card and each of them needs some memory of the card - if I am wrong correct me somebody.
    If your acquisition is finite (sample mode on the Timing function/VI set to Finite Samples), NI-DAQmx allocates a buffer equal in size to the value of the samples per channel attribute/property. For example, if you specify samples per channel of 1,000 samples and your application uses two channels, the buffer size would be 2,000 samples. Thus, the buffer is exactly big enough to hold all the samples you want to acquire.
    If the acquisition is continuous (sample mode on the Timing function/VI set to Continuous Samples), NI-DAQmx allocates a buffer equal in size to the value of the samples per channel attribute/property, unless that value is less than the value listed in the following table. If the value of the samples per channel attribute/property is less than the value in the table, NI-DAQmx uses the value in the table.
    Sample Rate Buffer Size
    No rate specified 10 kS
    0–100 S/s 1 kS
    100–10,000 S/s 10 kS
    10,000–1,000,000 S/s 100 kS
    >1,000,000 S/s 1 MS
    LV 2011, Win7

  • How to increase the buffer size ?

    Our BI system displays the following message when I execute a query on the web : buffer too small
    How to increase the buffer size ?
    Thanks in advance

    Indeed, we are using  Bex Web 7.0
    The query uses a big structure and when I execute it on the web, it takes a long time (> 5 min) and I receive folowing message on  top of the result page : " could not buffer query structures. Buffer too small "
    When I execute the query in Bex analyzer, it takes a long time too but we dont get the message
    I have checked the cache size:
          -  Local cache : 100 MB
          - Global cache : 200 MB
    Please let me know any solution as there is no BASIS  TEAM. The guy who installed the soft was a consultant and is no more reachable.
    Thanks in adavnce

  • How do you increase the Streaming buffer size in iTunes 10

    When I try to listen to the radio in ITunes it plays for 30 seconds then says rebuffering stream.
    I just upgraded to an iMac and my old dinasaur G4 does not have this problem.
    I've read things saying to increase the Streaming buffer size but I don't see how to do this anywhere.
    J

    I don't think that is possible with newer iTunes versions.

  • Increasing usb buffer size on HP Pavilion g6 / Windows 8

    I have recently loaded Traktor Audio 2 DJ software and have run diagnostics on the system because of sound drag and distortion. The error message suggested increasing the USB buffer size to solve the problem. How do I do that - and do any forum members who use Traktor reckon that will solve the problem?

    Thanks for the information, Here is a link to the keyboard troubleshooting steps for your computer. Click on the link and select the option for wrong character appear when typing. This should allow you to change the keyboard layout. What keyboard language do you have selected? What country was the computer purchased in?

  • PLEASE can a AE from NI take a look at my problem. Sound input read behave in strange manner then the buffer size is larger than 2X number of samples to read.

    On my computer I have discovered some strange behavior then reading data from the sound card. Then the buffer size is 2x samples to read everything is as expected. But since I read the sound card 10 times pr second I feel a .2 second buffer is to small. I am using XP, and XP is not a RTOS so with a buffer set to 0.2 seconds I may lose data. Therefore I set the buffer size (number samples/ch on Sound Input Configure.vi) to be in range of 2 seconds. The result then is that then reading from Sound input.vi, a reading often take more than 0.1 second. On my computer it is often 500mSec. Then the next 5 read follows with almost zero interval. I do not loose data. But on my front panel the graphs looks like an very early silent movie. This error was introduced in Labview 8.x. To be honest I think the labview 7.x sound system was much better in many ways.
    But before I point any finger NI. Other people has to verify the behavior I experience. I have made an example showing this error. It is a modified version  of the "Continuous Sound Input.vi" example. Then the "buffer in seconds" control is set to 0.2 every thing works OK. Changer this to a larger number will produce the mentioned above hiccup. The larger number in this control the larger hiccup. Is it any way to fix this? My solution up to now has to use a free 3. part software(http://www.zeitnitz.de/Christian/index.php?sel=wav​eio) But I guess it soon will be outdated. It may not work with newer windows versions.
    Any help at all will be appreciated 
    And yes I have the most updated version fo DirectX. Also I se this in Labview 2009 which I have trail version of. The VI I have made is in 8.6
    Message Edited by Coq Rouge on 09-07-2009 10:54 AM
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)
    Attachments:
    Continuous Sound Input with timing.vi ‏23 KB

    macaba wrote:
    If you take a moving average of the 0.2s buffer vs. 3s buffer at an update rate of 10, then they are the same (just under 100ms), so the average refresh rate is the same. I agree that is odd behaviour that the time between sound reads go to zero quite a lot then take a long time once in a while (presumably to fill the buffer
    I guess it goes to zero because it is reading data from the buffer it do not has to wait for data from the sound card. The mysterious thing is the periodic delay. You are also correct then saying that average timing is correct. And in my application I have no data loss.
    If you search for sound in this forum you will find out that many people has reported trouble with the sound system.
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Will increasing the buffer size make flash streaming video stop stalling?

    I have surmised all this on my own so it could be just a fantasy, but:
    I am often the victim of slow internet connections. This means that when I try and watch streaming video it constantly pauses. It's my understanding that increasing the buffer size of flash would help prevent this but I can't figure out how to do that.
    Thanks

    You can pause the video just long enough for the player to load enough content. Most Flash player show a loading bar if you hover the player. For short pieces you can load the entire content before starting the play.

  • How to increase the size of keyboard buffer?

    Hi all,
    How can we increase the size of keyboard buffer? normally after getting OS prompt, the screen will allow you to type the characters/commands at one stretch to a limit of max 257 characters to my understanding. How do we increase this limit?
    OS is Solaris 9. OS session is taken through putty.
    Thanks
    Prasad.K

    Are you sure that it is not 255?
    There are two backgrounds to this number:
    1) There is a fixed-size buffer in the OS that has 257 (258) bytes length.
    2) The termios ioctls that can change the keyboard buffer size use an 8-bit value to indicate the new size (-> Limit is 255).
    If you write a C program you may try to get the "raw" keyboard data (possible in telnet/ssh connections, too) instead of using "gets()" and implement your own version of "gets()" that allows longer lines.
    Martin

  • Buffer size and samples per channel

    I have a question regarding the allocation of the output buffer. I have
    a digital I/O card PCI-6534 and I use the driver NI-DAQmx 7.4.0f0. I
    would like to generate a digital output using different clock rates.
    For example, I need to write 500 samples at 1000 samples per second and
    other 500 samples at a rate of 10000 samples per second. the simplest
    solution is to prepare two different waveforms, write the first one on
    the buffer and generate the output. Then I can load the second waveform
    on the buffer and generate the second output. In order to minimize the
    delay between the two output sequences, I would like instead to write
    the buffer once. I tried to set the buffer size to 1000, and the number
    of samples per second to 500, but it doesn't work. There is a way to
    set independently the buffer dimension and the number of samples which
    have to be generated?

    I can post the whole thing but I'll talk a little about it. It's a producer consumer loop with a continuous analog input sample from external clock program in the producer loop. Right now the consumer loop has a simple write to spreadsheet VI in it but eventually I want to average each revolution (well, two since it's a four stroke but that's neither here nor there) of pressure traces and spit out a single curve.
    The wiring is simple. I have a voltage supply feeding the encoder and the quadrature A input on PFI 8 of the 6212 DAQ. I also have the Z index plugged in but nothing else to it. The analog input is a BNC right to AI 0. I can make a diagram if you want one. I've scoped the rotary encoder output and it looks great, very square with small relative rise times.
    Attachments:
    Yanmar Program V2.vi ‏46 KB

  • Increase stream buffer size

    Hello everyone,
    my internet radio streams often stop or have to buffer although I have a bandwidth > 14.000 kBit/s. I read on forums that I should increase the stream buffer through the iTunes preferences. But I learned that the newer versions of iTunes don't have these preferences. Is there an alternative way? Maybe via terminal?
    Thank you in advance for your help!
    Greetings
    Danny

    Hi all, iTunes streaming victims.
    I struggled long with the streaming buffer problem of iTunes and indeed could solve it with increasing the buffer size, which features has been removed in iTunes 10. And this without updating the instructions by Apple!
    Here is my solutions:
    http://www.rogueamoeba.com/airfoil/
    perfect for all wireless audio streaming not only for itunes, but any source on the Mac.
    solved the problem completely for my 3 MacBooks, 2 airports, iphones etc.
    it is not for free but a very good value for money.
    cheers, Wil

Maybe you are looking for

  • Posting Error In F-53

    Dear All, When i do outgoing payment in F-53 Forgien currency  USD the system is showing following errors Posting is only possible with a zero balance; correct document & Incorrect automatic postings are cancelled. And i have checked OBA1 - Forgien c

  • Can't move messages in Mail Inbox to Trash

    When I try to empty my unwanted Inbox messages into Trash I get the following window opening in Apple Mail: "6593.emlx" couldn't be copied to "Messages" because an item with the same name already exists. The same applies whether I go for Select All o

  • Filmstrip Navigation - How to GoTo 1st or Last entry

    This maybe a very simple thing but I can not find it. When in Library mode I want to move around the filmstrip (at the bottom) when in Loupe View.  The same can be said about being in Grid View.  I am able to go to the next or previous slides with th

  • AS3 comboBox problem.

    Ok, I have a simple ComboBox with instance name of dragonCombo A Lable with an instance name of dragonLabel Using a an AS3 called Dragon.as When the ComboBox is clicked, a picture should pull up.   The problem is, there are no errors, but The ComboBo

  • Which vpn is safe to download on my mac?

    I often travel to the far east where many sites are blocked so I'd like to use a Virtual Private Network. any suggestion?