Changing input buffer size slows down simulated device?!?

hi,
my basic problem is having a 200279 buffer overflow.
for a quick fix I increased the buffer size using DAQmxSetBufInputBufSize, but now the signal coming from the simulated device is much slower.
how can it be?
thanx!

Hi,
Buffer overflow errors occur when data is written to the buffer faster than it is being read off of it. Buffer underflow errors occur when data is being read off the buffer faster than new data is being added. In order to avoid either of these, a general rule of thumb for NI devices is to acquire around 1/10th of a second of data. For example, for a sample rate of 100 Hz, set samples to read at 10 samples.
Is it possible for you to decrease the sample rate?

Similar Messages

  • Where can I change the buffer size for LKM File to Oracle (EXTRENAL TABLE)?

    Hi all,
    I'd a problem on the buffer size the "LKM File to Oracle (EXTRENAL TABLE)" as follow:
    2801 : 72000 : java.sql.SQLException: ORA-12801: error signaled in parallel query server P000
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-29400: data cartridge error
    KUP-04020: found record longer than buffer size supported, 524288, in D:\OraHome_1\oracledi\demo\file\PARTIAL_SHPT_FIXED_NHF.dat
    Do you know where can I change the buffer size?
    Remarks: The size of the file is ~2Mb.
    Tao

    Hi,
    The behavior is explained in Bug 4304609 .
    You will encounter ORA-29400 & KUP-04020 errors if the RECORDSIZE clause in the access parameters for the ORACLE_LOADER access driver is larger than 10MB and you are loading records larger than 10MB. Which means their is a another limitation on read size of a record which is termed as granule size. If the default granule size is less then RECORDSIZE it limits the size of the read buffer to granule size.
    Use the pxxtgranule_size parameter to change the size of the granule to a number larger than the size specified for the read buffer.You can use below query to determine the current size of the granule.
    SELECT KSPFTCTXPN PARAMETER_NUMBER,
    KSPPINM PARAMETER_NAME,
    KSPPITY PARAMETER_TYPE,
    KSPFTCTXVL PARAMETER_VALUE,
    KSPFTCTXDF IS_DEFAULT,
    KSPPIFLG MODIFICATION_FLAG,
    KSPFTCTXVF VALUE_FLAG
    FROM X$KSPPI X, X$KSPPCV2 Y
    WHERE (X.INDX+1) = KSPFTCTXPN AND
    KSPPINM LIKE '%_px_xtgranule_size%';
    There is no 'ideal' or recommended value for pxxtgranule_size parameter, it is safe to increase it to work around this particular problem. You can set this parameter using ALTER SESSION/SYSTEM command.
    SQL> alter system set "_px_xtgranule_size"=10000;
    Thanks,
    Sutirtha

  • Sudden latency! No change of buffer size or hardware. What give?

    I'm trying to record a song and there's latency. I was recording two nights ago and everything was fine. The only thing that's happened between now and then is I unplugged my gear and replugged it today. The buffer size is set to 256 (and always has been as far as I know). Is it possible that the latency is due to a faulty hardware connection? I don't understand how it could be software related. Also, if the solution is to change my buffer size (which I tried and it does reduce the latency at 32) does that affect the sound quality? I find this all quite mysterious... and infuriating.

    Reducing latency does not affect soundquality, but computer performance.
    Buffer 256 induces pretty much latency. On my system, RME Babyface, 14.8 ms roundtrip.
    And I find it quite useless to record with. So I go for buffer 64/32, or simply mute the channel I'm recording to.
    And monitoring through my interface........But you didn't explain if your problem is MIdi or audio related.
    With first version of LPX (10.0) I experienced som strange behaviour, too. It seems to have gone now.

  • Effect of Changing Stream Buffer Size

    What is the downside (if any) of changing the Stream Buffer Size from Medium to Large when playing music files?

    Streaming Buffer Size
    Change how much audio or video is downloaded before it starts to play. Choosing a larger buffer can help video play more smoothly. If you have a fast Internet connection, a smaller buffer can help the movie start playing more quickly.

  • Is your ios 8 slowing down your device a lot and make it unusable?Read this !

    So lot of people told me that their ios 8 is slowing down their performance...Well im happy to tell you that this monday will be released the IOS 8.1 with a lot of bug fixes.So just wait for this monday

    I already watched the ENTIRE Keynote.
    The only mention was improvements in iOS 8.1 and additions like iCloud Photo Library.
    There was no mention of what these "improvements" are going to be and whether or not this is good news for lPad 2 or 3 owners.
    So, again, like I stated,we'll have to wait until Monday and see.
    Still a a big question mark to what iOS 8.1 will or will not correct.

  • Can I change the maximum size of the primary device?

    First of all, I love the new Captivate 8 and the new responsive features. I have found designing for the devices to be less complicated then I imagined.   I understand how to adjust the sizes of the three different devices. The primary device has a maximum width of 1280px and a minimum of 813px. Plus, I see I can adjust the tablet and mobile as well. My issue is the previous captivate 7 course that my company designed has course dimensions for 1900x600. I would like to re-make this previous course into a responsive course but how can I design the primary device to have a width of 1900px instead of the 1280px that is allowed.

    I'm assuming there is not an answer for my previous question. Can anyone share with me a little insight on UI for Captivate 8. Why is there a width limit of 1280 pixels for the desktop view?

  • Linux Serial NI-VISA - Can the buffer size be changed from 4096?

    I am communicating with a serial device on Linux, using LV 7.0 and NI-VISA. About a year and a half ago I had asked customer support if it was possible to change the buffer size for serial communication. At that time I was using NI-VISA 3.0. In my program the VISA function for setting the buffer size would send back an error of 1073676424, and the buffer would always remain at 4096, no matter what value was input into the buffer size control. The answer to this problem was that the error code was just a warning, letting you know that you could not change the buffer size on a Linux machine, and 4096 bytes was the pre-set buffer size (unchangeable). According to the person who was helping me: "The reason that it doesn't work on those platforms (Linux, Solaris, Mac OSX) is that is it simply unavailable in the POSIX serial API that VISA uses on these operating systems."
    Now I have upgraded to NI-VISA 3.4 and I am asking the same question. I notice that an error code is no longer sent when I input different values for the buffer size. However, in my program, the bytes returned from the device max out at 4096, no matter what value I input into the buffer size control. So, has VISA changed, and it is now possible to change the buffer size, but I am setting it up wrong? Or, have the error codes changed, but it is still not possible to change the buffer size on a Linux machine with NI-VISA?
    Thanks,
    Sam

    The buffer size still can't be set, but it seems that we are no longer returning the warning. We'll see if we can get the warning back for the next version of VISA.
    Thanks,
    Josh

  • Changing Buffer Size - Logic Tweaks Out

    I find that I'm unable to change the buffer size (for instance, after I record and want to play back without any glitches) without having to quit Logic and reload the file. I usually get a message that "some plug-ins have been disabled."
    Everything is usually fine after I quit the file and reload. But I'm wondering if anyone else has this issue and if it can be avoided. It's mostly just a time-waster.
    Thanks.

    Nevermind. Thanks.

  • Random wallpaper change greatly slows down my compoter?

    Hey everyone I'm using the random wallpaper changer built into the Mac 10.5 operating system. But the problem seems that it's taking a LOT of the computer power/resources to change the wallpaper. So if it's changing while I'm in the process of watching a youtube video, or typing, everything seems to pause and just REALLY slows down. I have it set to change 1 per min, so the only "solution" is to make it move farther back to like 1 an hour or something like that, but still it'd still slow down when it goes to change. So it's a big annoyance! I really like this application because I can never settle on one wallpaper, but I wish there was a way to change wallpapers without it slowing down my computer.
    Are there any "3rd party" applications? Thanks everyone!

    I have a MBP that sounds like your problem.
    If I ran a heavy video with the desktop change going everything would slow down. It was especially noticeable with the keyboard.
    I have been working with AppleCare and they decided that the MBP was a lemon. I just got another MBP and it seems to be working fine.
    I would suggest that you contact AppleCare and let them know the issues you are having.
    good luck

  • Changing Buffer Size

    Every time I change the buffer size in audio preferences, Logic tells me that my memory is getting too low and then diagonal black lines appear across all my plug-ins. When I quit and reload, it usually works fine. Sometimes I have to quit Logic entirely and reload the project.
    Not sure what's going on.

    freeschaboy1 wrote:
    Logic 9.1.1 with 4 GB of RAM.
    I'm mostly using Miroslav Philharmonik - surprise, surprise!
    I have about 10 instruments loaded, with an average of 5 channels per instrument. I suppose that's a lot.
    Thanks.
    There's your answer then You are likely to be running out of memory (as Logic warned you).
    Some solutions that may help:
    Get more memory (may not be possible for your particular Mac)
    Use less/fewer memory intensive plugins.
    Possibly, Miroslav P has a disk streaming option, that might at least allow you to run with less samples actually in memory.
    Bounce some of the tracks to audio and remove the Instrument plugins to free up some memory.
    and on...
    CCT

  • VISA Set I/O Buffer Size fails with all but one value on Linux RT

    I was unable to initialize a serial port on a cRIO-9030 using a code that works fine on VxWorks and Windows, when I tracked it down to this somewhat strange behaviour;
    If you call VISA Set I/O Buffer Size on Linux RT (at least on the 9030 device) you will get error code 1073676424 for all size values other than 0.
    That is a bit strange (what will the buffer size be then I might add...), but something even uglier is that if you leave the function's buffer size unwire,  you will also get the error (because the function's default is 4096). 
    MTO

    Under the hood VISA is using the POSIX serial interface for Mac OS X (same as for Linux and Solaris). This interface does not support changing the buffer size. Hence, the buffer size is fixed to the internal OS buffer size. The only thing that changing the buffer size will do (for the out buffer) is to have VISA not flush the data after every write. This is a limitation in the serial API for Mac OS X. Therefore, VISA reports a warning.

  • SQL *Plus input buffer

    I have a large script that works fine on my oracle server. When I bring it to my clients, it gets truncated after around 60 lines. I know how to increase the output buffer (EXEC DBS_Output.Enable(10000) for 10000 lines) but I can't seem to find the equivalent for the input buffer. Please help.

    Are you using SQL Plus client, then you need to change the buffer size on the menu of the SQL Plus window.

  • ErrorMsg[1024]: Getting buffer size programmatically

    I am using TestStand 3.5 and LabWindows/CVI 8. The prototypes for my functions callled from TestStand look like this:
    "void __declspec(dllexport) __stdcall myFunc (short *errorOccurred, long *errorCode, char errorMsg[1024])"
    It is nice to be able to pass errorMsg as a fixed size array, as opposed to just a pointer, so the burden or allocating/deallocating memory is removed from me.  The size of the buffer (1024) is defined in the sequence editor and I can generate the prototype and code for my function, but it seems that the two are somewhat seperate. By that I mean that I can change the literal number in either place and get them not to agree (accidently).
    It would be nice if could specify the 1024 buffer size in the TestStand sequence editor (as I am doing now), and then have this buffer and the buffer size passed down to my function.  So, I'd like to have my  function  read  "... char errorMsg[], int  errorMsgBuflen ... ". Or , alternatively, is there some property/function call that I can make to get the size of the errorMsg Buffer?
    While I have your "ears", is there anything magical about 1024 for the buffer size? That seems to be the number I've seen used in all of the examples.
    Thanks
    Don Frevele

    Hi Don,
    I've attached an example of passing in the array length of errorMsg from TestStand into a CVI dll.  There is nothing magical about the size of 1024.  It sets the maximum length of the error message. 
    Cheers,
    David Goldberg
    National Instruments
    Software R&D
    Attachments:
    myFunc.zip ‏720 KB

  • Warning 1073676424 from VISA Set I/O Buffer Size.vi on a serial port

    I am porting an application from LabVIEW 6.1 on Windows to LabVIEW 7 on OS X (Mac). It was very painless except some GUI modifications.
    The application involves 30 KB data from a instrument through a RS232 serial port. I found the application misses data whenever the computer is busy. The problem came down to the unchanged buffer size.
    Attempt to change the buffer size of a serial port with "VISA Set I/O Buffer Size.vi" fails with a warning of 1073676424 (The specified I/O buffer is not supported). Even the example vi from NI web site "Advanced _Serial_Write_and_Read.vi" has the same warning.
    I wonder what I am missing.

    Under the hood VISA is using the POSIX serial interface for Mac OS X (same as for Linux and Solaris). This interface does not support changing the buffer size. Hence, the buffer size is fixed to the internal OS buffer size. The only thing that changing the buffer size will do (for the out buffer) is to have VISA not flush the data after every write. This is a limitation in the serial API for Mac OS X. Therefore, VISA reports a warning.

  • Does an Ipad slow down as you use up its storage capacity

    I am thinking about getting the ipad 3 that's coming up on march. I will get a 64 gb Ipad and will put a lot of music, movies and apps

    There has been no confirmation that there will be an iPad 3 in March.
    In general, filling up the storage capacity will not slow down the device by a noticeable amount. I speak from experience

Maybe you are looking for

  • How to extract data from structures or create a datasource using structures

    Hello Friends , I have a requirement to extract data from ECC fields, but when i go look the table i found only "structures" REBD_CONTRACT_REL_L and i confirmed with ecc team that there are no table available with these fields so how do i now extract

  • SORT KEY- Create a new one

    I have to create 2 new account sort keys KNB1-ZUAWA. One would be for Customer Purchase Order # (VBKD-BSTKD) and another one would be fore the sales order # (VBAK-VBELN). Please give suggestions how to do the same. Thanks

  • Mac OS X-10.3.7-Questions about upgrading?

    I am running mac os x-10.3.7 which came with my computer. I have had my computer for a few months now and I'm still learning new stuff everday and need help. I checked my updates and noticed updates for Java 1.4.2, Mac OS X Update Combined-10.3.9, Se

  • Will Nodeapps register the listener service of RAC database?

    Hi Friends, In 10g RAC will Nodeapps register the listener service of RAC database? because if i bring down nodeapps the listenener is also going down ora....C1.lsnr application OFFLINE OFFLINE ora.rac1.gsd application OFFLINE OFFLINE ora.rac1.ons ap

  • Elements 11. Can open Editor but no organiser

    Have unistalled and reistalled  Elementes 11 but can still not open organiser??? PLS Help