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)

Similar Messages

  • 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

  • Can't print from Adobe Acrobat 11.0.07 on my MAC OS 10.6 to HP PSC 1350.  Error: PSTOPDFFILTER/PSTOCUPSRASTER FAILED WITH ERR NUMBER 13.  How do I fix it so I can print?

    Can't print from Adobe Acrobat 11.0.07 on my MAC OS 10.6 to HP PSC 1350.  Error: PSTOPDFFILTER/PSTOCUPSRASTER FAILED WITH ERR NUMBER 13.  How do I fix it so I can print?

    i am getting the same error, suddenly, on 10.9.5

  • Why can I print from my iPhone and not my iPad? I have been able to do it in the past and have tried a hard reset but it can no longer find the printer.

    Why can I print from my iPhone and not my iPad? I have been able to do it in the past. I have tried a hard reset but it still cannot find the printer.

    In addition to rebooting the router and the iPad, I would reset the printer as well. Unplug the printer from power and do the same with the router. Leave the router unplugged for about 30 seconds. Plug the router in first and let it totally start up, plug the printer in again, and then reboot/reset the iPad.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    If that doesn't work, you can try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your device settings again.... All of the settings in the settings app will have to be re-entered. Your WiFi passwords, location services, device preferences all have to be re-entered. You will not lose any data or media whatsoever.

  • Having trouble with Yahoo email.  Will read a few emails and then the infamous spinning colored wheel appears and takes forever.  Have to shut down and go through the whole cycle again.  Please help.

    Sorry first post in this forum.   I can log on to Yahoo email, read a few emails and then the infamous multi-colored spinning wheel appears and I end up having to shut down and cycle back in again.  I have a 2011 MacBookPro 17 not quite a year and it just started acting up this way.  Any suggestions.  Thanx.

    here are some ways to troubleshoot the spinning beach ball: http://www.macworld.com/article/151583/2010/05/spinningbeachballofdeath.html  Hope you find this useful.

  • 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

  • Working with my 2 FireWire HD i had a crash. the only way to start was a safe start. then id maged to start from a DVD and install a MAC OS 10.3 wich ran 4 some time then the same problem only safeMode. kernel panic inserted the tech tool DVD

    working with my 2 FireWire HD i had a crash. the only way to start was a safe start. then id maged to start from a DVD and install a MAC OS 10.3 wich ran 4 some time then the same problem only safeMode. kernel panic by inserting the tech tool DVD, wich produces the following highligted text:
    panic(cpu 0 caller =xffff0003): 0x300 - Data access
    latest stack backtrace for CPU 0:
    Backtrace:
    0x0009CC88 0x00D63C 0x00029DAO  0x000BOA10 0x000B4270
    proceeding back via exception chain:
    Exception state (sv=0x26acd700)
    PC=0x2717E900; MSR=0x00009030; DAR=0x00000000; DSISR=0x40000000; LR=0x2717EBE4; R1=0x26AD3AE0; XCP=0x0000000C (0x300 - Data access)
    Backtrace:
    0x27178B0 0x00344ACB 0x00345970 0x2717EC08 0x2718458 0x00340590
    0x003496EC 0x0034B59C 0x0034A6BC 0x000B1DD4
    Kernel Loadable modules in backtrace (with dependencies):
    com.apple.driver.AppleFWDHC1(3.9.5)00x2717c000->0x271aafff
    dependency: com.apple.iokit.10PCIFamily(2.6)00x1e840000
    dependency: com.apple.iokit.I0FireWireFamily(3.4.7)00x270dd000
    Exception state (sv=0x26abd280)
    PC=0x00000000; MSR=0x0000D030; DAR=0x00000000; DSISR=0x00000000; LR=0x00000000;R1=0x00000000; XCP=0x00000000 (unknown)
    BSD process name corresponding to current thread: kernel_task
    so what
    greetings from berlin

    Greetings,
    It appears to be a FW problem, possibly flaky case, or drive problem.
    One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for problem in Safe Mode...
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive
    Reboot, test again.
    If it only does it in Regular Boot, then it could be some hardware problem like Video card, (Quartz is turned off in Safe Mode), or Airport, or some USB or Firewire device, or 3rd party add-on, Check System Preferences>Accounts (Users & Groups in later OSX versions)>Login Items window to see if it or something relevant is listed.
    Check the System Preferences>Other Row, for 3rd party Pref Panes.
    Also look in these if they exist, some are invisible...
    /private/var/run/StartupItems
    /Library/StartupItems
    /System/Library/StartupItems
    /System/Library/LaunchDaemons
    /Library/LaunchDaemons

  • All of a sudden I can't change my Photoshop CS4 Font size any larger than 18px.  What did I do?

    Hi
    I was working on a logo today in Photoshop.  I clicked on the font size to increase the text size from 18px to 30px.  I got a message that I couldn't go any larger than 18 px.  Any idea how to fix this???
    Thanks
    Sarahb

    Please note that your post is already buried in the old pages of the forum.
    Due to the current unavailability of clairvoyants and mind-readers in the forum, we respectfully request you supply sensible, complete details.
    BOILERPLATE TEXT:
    Note that because this is boilerplate text, not all points may apply to any given, specific poster.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Exporting from InDesign to PDF, and the updated PDF is larger than a month ago and not printing easily on letter paper, it is PDF presets?

    Hello,
    I am exporting from InDesign to a PDF and the page is larger in the PDF then others I have exported. Is this because of the PDF presents? One of the project managers is not able to print it out on 8.5 x 11 paper, but the document presets for InDesign are the same as before. I wish I could upload the PDFs to show, but the newly exported PDF is larger than the version I created a month ago. I created a PDF binder and the newly updated PDF is almost a .5 inch wider with the same export presets. Any thoughts?

    Sadira00123456789 wrote:
    One of the project managers is not able to print it out on 8.5 x 11 paper, but the document presets for InDesign are the same as before.
    I suspect the project manager simply has his/her copy of Reader/Acrobat set to print at actual size, rather than "Fit" (assuming the InDesign page size is truly 8.5 x 11).
    ..the newly updated PDF is almost a .5 inch wider with the same export presets.
    It would have nothing to do with export presets. How are you determining that half-inch difference?

  • Can anyone help, when I test my movie and when it is uploaded it comes out about 60% of the original size. how can I stop this?

    When I test the movie or upload it to the server i comes out about 60% of the full size. I do not have it scaled with the window size and I have tried everything I can think of to get it to 100%. Why should it come out smaller? I am using an iMac and CS4 professional.

    thank you for asking for more info.
    The file I am loading is the SWF file plus the index.HTML file, but the problem still happens when I test the movie before uploading it.
    I have not modified the HTML file.
    shall I send you the file?

  • With Soundtrack Pro how, please, can I audio from a phone call sound better?

    How can I make audio recorded over a telephone sound better... removed hum and clips but it still sounds, well awful. Is there anyway to make it sound, you know, better?

    11.1.5
    I definitely do not have an unsubscribe button - I've repeatedly tried different variations of Delete, Shift-Delete, Option-Delete, Control-Delete and Command-Delete, have also tried highlighting the individual podcasts and the "parent" podcast.
    I must be doing something wrong, but for the life of me I can't see what. It should be a simple procedure.

  • How can you detect (from a script file) that javac found problems?

    The subject line says it all, but the background is:
    I have a script file (.bat, since am stuck on windoze for the moment) which is doing some compilation using javac.
    I would like to skip all subsequent activities in the script file after the call to javac if any file failed to compile.
    So, what can I use as a signal from javac that it found a problem?
    I initially tried detecting an exit code from javac that was non zero, but javac does not seem to emit such an exit coe when it objects to a file (it still returns with 0 as an exit code).
    The only remaining strategy that I can think of is to pipe javac's output to a file, and if there is any content in it then assume that it indicates an error and use that as a signal.
    This is suboptimal because it will give false signals for mere warnings, so if anyone has a better suggestion, please post

    You are right: it appears that javac does exit with an exit code of 1 if an error is detected in one of the files being compiled, at least on the windows jdk.
    To prove this, create an arbitrary java source file called HelloWorld.java, and create a msdos .bat file in the same directory that looks like
    @echo on
    javac  -Xlint:deprecation  HelloWorld.java
    :handleError
    @if not errorlevel 1 goto finalActions
    @echo ERROR DETECTED: compile.bat will TERMINATE PREMATURELY
    :finalActions
    @echo compile.bat now terminatedBy playing around with what you put in the source file (totally clean code, stuff that should compile but issue a warning, and garbage that should not compile) as well as with the exit code value detected by the .bat file, for instance trying
    @if not errorlevel 2 goto finalActions(see http://www.robvanderwoude.com/errorlevel.html if you need some documentation on error codes in dos bat files), I have determined the following as javac's behavior on windows:
    If code is pristine, exit code = 0.
    If code causes javac to emit a warning but is compilable, exit code = 0.
    If code cannot be compiled, exit code = 1.

  • HT2518 How can I Syncitems from my MAC laptop to my home PC so changes on either will be updated on the other

    How can I sync my home PC (Windows 7) with my MAC laptop so that changes on either will be updated?
    I take my MACBook Pro on the road and I want any changes to be updated on my home PC when I get back home so that both have the same information.
    Is there a way to do this?

    I would like to sync items like Word docs, Excel docs and changes to PDF files as well as mail, file folders, calendars.
    I would like any changes that were made on the MacBook while I'm away from home to be mirrored or syced and updated to my PC when I arrive back home.
    Likewise, before I leave home again, I would like any changes that I made at homeon my PC to be updated back to my MacBook before I leave again.
    Microsoft had a program called "Sync Toy" that performed this task flawlessly when working between two PC's....but now I am working with a MACBook and PC.  Is there a similar program that will work between MAC and PC?
    Thanks!

  • Could a Mod take a look at this problem please - f...

    Hi,
    We've had infinity for just over a month, had several problems (see other posts) but eventually last week the broadband connection settled down nicely to a downstream of 18.5 and a line snr of 7 or so which seemed to make it stable.  Over the last two or three days the connection has gone mad again - the router keeps disconnected every few hours (sometimes less than an hour) and the maximum data range has gone between 23 and 35 downstream and now this morning to 20 downstream.  The SNR keeps fluctuating between 6.2 and 5.5 and its getting beyond a joke.  Also please see the results from the BT checker below - the first one is the usual result and the second is this mornings result - what on earth is going on.  When the infinity cabinet first went in and we were connected there were problems and three engineers said the DSLAM card had got to be replaced - bt claim no knowledge of this so has the work been done or not?  I have the phone numbers of the engineers who came (I wouldn't ring them but at least I have some proof that I'm not an out and out liar like the help desk seemed to suggest!)

    This may seem a strange question but how do I report it - last time I tried they sent a boost engineer, he knew nothing about the line card issue, wasn't interested in finding out and just said that the speed we had was what we could get (the speed wasn't an issue, its the frequent drops along with the fluctuating snr and the oddly changing max data rate none of which he was interested in answering.
    I was threatened with charges last time so how do you suggest I word the problem - its difficult explaining a complex problem to people who are very pleasant but don't really understand what you are saying.
    These are the router stats over the last 24 hours - you can see how the max data rate changes.  When the router is stable the snr is around 7 and the max data rate around 24 with the actual download of about 18 (which is fine - I'm not after super speeds just to keep that chugging along would be fine!)
    1. Product name:
    BT Home Hub
    2. Serial number:
    +068343+NQ43007883
    3. Firmware version:
    Software version 4.7.5.1.83.8.173.1.6 (Type A) Last updated Unknown
    4. Board version:
    BT Hub 5A
    5. VDSL uptime:
    0 days, 00:49:08
    6. Data rate:
    2383 / 18537
    7. Maximum data rate:
    2743 / 31705
    8. Noise margin:
    5.3 / 5.8
    9. Line attenuation:
    0.0 / 30.9
    10. Signal attenuation:
    0.0 / 25.4
    1. Product name:
    BT Home Hub
    2. Serial number:
    +068343+NQ43007883
    3. Firmware version:
    Software version 4.7.5.1.83.8.173.1.6 (Type A) Last updated Unknown
    4. Board version:
    BT Hub 5A
    5. VDSL uptime:
    0 days, 00:45:29
    6. Data rate:
    2383 / 18537
    7. Maximum data rate:
    2743 / 31813
    8. Noise margin:
    5.3 / 5.9
    9. Line attenuation:
    0.0 / 30.9
    10. Signal attenuation:
    0.0 / 25.4
    11. Data sent/received:
    4.3 GB / 84.1 MB
    12. Broadband username:
    [email protected]
    1. Product name:
    BT Home Hub
    2. Serial number:
    +068343+NQ43007883
    3. Firmware version:
    Software version 4.7.5.1.83.8.173.1.6 (Type A) Last updated Unknown
    4. Board version:
    BT Hub 5A
    5. VDSL uptime:
    0 days, 06:32:03
    6. Data rate:
    2383 / 18537
    7. Maximum data rate:
    2673 / 30689
    8. Noise margin:
    5.1 / 6.0
    9. Line attenuation:
    0.0 / 30.9
    10. Signal attenuation:
    0.0 / 25.4
    Product name: BT Home Hub
    2. Serial number: +068343+NQ43007883
    3. Firmware version: Software version 4.7.5.1.83.8.173.1.6 (Type A) Last updated Unknown
    4. Board version: BT Hub 5A
    VDSL uptime: 0 days, 07:34:30
    Data rate: 2383 / 18537
    Maximum data rate: 2717 / 33725
    Noise margin: 5.2 / 5.9
    9. Line attenuation: 0.0 / 30.9
    10. Signal attenuation: 0.0 / 25.4
    Product name: BT Home Hub
    2. Serial number: +068343+NQ43007883
    3. Firmware version: Software version 4.7.5.1.83.8.173.1.6 (Type A) Last updated Unknown 4. Board version: BT Hub 5A
    VDSL uptime: 0 days, 00:03:22
    Data rate: 2349 / 16721
    Maximum data rate: 2783 / 21126
    Noise margin: 5.6 / 6.2
    9. Line attenuation: 0.0 / 30.9
    10. Signal attenuation: 0.0 / 25.4
    . Product name:
    BT Home Hub
    2. Serial number:
    +068343+NQ43007883
    3. Firmware version:
    Software version 4.7.5.1.83.8.173.1.6 (Type A) Last updated Unknown
    4. Board version:
    BT Hub 5A
    VDSL uptime:
    0 days, 00:23:14
    Data rate:
    2383 / 18537
    Maximum data rate:
    2735 / 31506
    Noise margin:
    3 / 5.7
    9. Line attenuation:
    0.0 / 30.9
    10. Signal attenuation:
    0.0 / 25.4
    1. Product name:
    BT Home Hub
    2. Serial number:
    +068343+NQ43007883
    3. Firmware version:
    Software version 4.7.5.1.83.8.173.1.6 (Type A) Last updated Unknown
    4. Board version:
    BT Hub 5A
    VDSL uptime:
    0 days, 00:17:01
    Data rate:
    2306 / 16583
    Maximum data rate:
    2756 / 20731
    Noise margin:
    6 / 6.1
    9. Line attenuation:
    0.0 / 31.0
    10. Signal attenuation:
    0.0 / 25.5

  • I can only print from one USB port - is this a problem

    Hi
    I am a recent convert from PC to Mac, with a new Intel-based MacBook. I have installed my Epson Stylus D68 Photo and have been successfully printing (eventually!). However, after recently unplugging the printer to move the laptop and then reconnecting the printer I get "communication error" messages and no print. I found that the printer only works when connected to one of the USB ports (even after full reboot etc). Other devices work in the other USB port...
    Is there something wrong with the machine or me?
    Stu
    MacBook (Intel)   Mac OS X (10.4.7)  

    PSE is a one-off purchase. You can buy a retail DVD in an electronics store or as a download from Adobe. You have 2 activations for non-concurrent use and the license is croos-platform for Windows and OSX if you so desire.
    Mylenium

Maybe you are looking for