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

Similar Messages

  • Can Finder windows Always preview images? Can the Preview size be changed?

    I would like to have my Finder windows always open so that when viewing a list of images and clicking on one, the preview is displayed as if the arrow has been clicked to open the preview.
    How is that controlled?
    Also, I was wondering if that preview size can change. I thought that if I increases the size of that 'cell' in the wondow that the preview would grow but that's not the case. Can I change the preview size?

    It's not altogether clear to me exactly what you want, but if you open a folder of images and put the window into column view, you can drag the last preview column until it displays the maximum size preview of 255 pixels in width or height. However, not all thumbs are created equal, and not all will display at that maximum size, some are limited to the usual icon maximum of 128 pixels. Thus the jpegs I download from my camera will have a max of 128, but if I have opened and saved the image as a Photoshop file the max will be 255. Screenshots in png format also have the 255 maximum. Large jpegs I download (which do not have a custom thumb) will also display at the 255 max in Column view. Just depends on the file.
    Francine
    Francine
    Schwieder

  • Can the lvsound.dll input change from mic to aux?

    I need to hear stereo and the mic is built for mono

    On Mon, 10 Dec 2001 16:25:20 -0800 (PST), apprentice wrote:
    >I need to hear stereo and the mic is built for mono
    Sometimes ago I wrote an application playing back the LINE-IN signal
    over the network (with at least 1 second delay from a file-ringbuffer).
    The recorded signal always was the result of which was adjusted by the
    recording-faders of the MIXER-tool (Creative PCI Sound Card)
    hth, Peter

  • 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

  • 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)

  • Want to know the buffer size on the 5SD mk3...

    ... and/or the number of full res raw files it can hold. Wondering if I usually shoot a max of six shot bursts, does the card write speed even matter?
    Solved!
    Go to Solution.

    dbltapp wrote:
    ... and/or the number of full res raw files it can hold. Wondering if I usually shoot a max of six shot bursts, does the card write speed even matter?
    At 6 shots it doesn't matter.
    See:  http://www.learn.usa.canon.com/resources/articles/2012/eos_understanding_burst_rates.htmlp
    The conservative estimate for the buffer size (in RAW mode) is that the buffer will hold about 13 shots before the camera has to wait for data to write out in order to clear enough buffer space for another shot.   I've actually tested this with my 5D III and have found that in practice the number is a bit higher -- having about 18 shots before it slowed down due to buffer limits.
    Tim Campbell
    5D II, 5D III, 60Da

  • 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 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

  • 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

  • Setting the buffer size centrally

              Is there a way to set the buffer size to a specific value for
              multiple JSPs without having to use the @page buffer...
              directive on every page?
              I have a JSP/EJB application with many JSPs and want to allow
              for an easy update of the buffer size in the future.
              Placing <@page buffer... in a separate file and using the
              @include directive or <jsp:include... action doesn't work.
              

    I had the same problem, and that's a great solution. Anyone know how to set
              the autoFlush property in an included file?
              "Gary Keim" <[email protected]> wrote in message
              news:3a96c2d8$[email protected]..
              > % cat Test.jsp
              > <%@ include file="SetBuffer.jsp" %>
              >
              > <html>
              > <body>
              > BufferSize is <%response.getBufferSize()%>
              > </body>
              > </html>
              > % cat SetBuffer.jsp
              > <%response.setBufferSize(16000);%>
              > --
              > Gary
              >
              > "Padraig O Broin" <[email protected]> wrote in message
              > news:3a969809$[email protected]..
              > >
              > > Is there a way to set the buffer size to a specific value for
              > > multiple JSPs without having to use the @page buffer...
              > > directive on every page?
              > >
              > > I have a JSP/EJB application with many JSPs and want to allow
              > > for an easy update of the buffer size in the future.
              > >
              > > Placing <@page buffer... in a separate file and using the
              > > @include directive or <jsp:include... action doesn't work.
              >
              >
              

  • How can I keep tabs on the file size when importing from the Event Library into a Project? I want to ensure the movie will fit onto a 4.7Gb disc?

    How can I keep tabs on the file size when importing from the Event Library into a Project? I want to ensure the movie will fit onto a 4.7Gb disc?

    iDVD does not care about file sizes, as it compresses the file to the standard DVD format of mpeg2.
    It only cares about length i.e. max 2 hours including titles etc.
    iDVD encoding settings:
    http://docs.info.apple.com/article.html?path=iDVD/7.0/en/11417.html
    Short version:
    Best Performance is for videos of up to 60 minutes
    Best Quality is for videos of up to 120 minutes
    Professional Quality is also for up to 120 minutes but even higher quality (and takes much longer)
    Professional Quality: The Professional Quality option uses advanced technology to encode your video, resulting in the best quality of video possible on your burned DVD. You can select this option regardless of your project’s duration (up to 2 hours of video for a single-layer disc and 4 hours for a double-layer disc). Because Professional Quality encoding is time-consuming (requiring about twice as much time to encode a project as the High Quality option, for example) choose it only if you are not concerned abo
    In both cases the maximum length includes titles, transitions and effects etc. Allow about 15 minutes for these.
    You can use the amount of video in your project as a rough determination of which method to choose. If your project has an hour or less of video (for a single-layer disc), choose Best Performance. If it has between 1 and 2 hours of video (for a single-layer disc), choose High Quality. If you want the best possible encoding quality for projects that are up to 2 hours (for a single-layer disc), choose Professional Quality. This option takes about twice as long as the High Quality option, so select it only if time is not an issue for you.
    Use the Capacity meter in the Project Info window (choose Project > Project Info) to determine how many minutes of video your project contains.
    NOTE: With the Best Performance setting, you can turn background encoding off by choosing Advanced > “Encode in Background.” The checkmark is removed to show it’s no longer selected. Turning off background encoding can help performance if your system seems sluggish.
    And whilst checking these settings in iDVD Preferences, make sure that the settings for NTSC/PAL and DV/DV Widescreen are also what you want.
    http://support.apple.com/kb/HT1502?viewlocale=en_US

  • Can the file size be reduced?  Large presentations cannot be emailed due to size.

    Can the file size be reduced.  Many power point presentations cannot be mailed as attachements

    Hello,
    The size of created PDFs cannot be reduced in the current version. If you are referring to large presentations before converting them to PDFs, you can try  accessing them on your iDevice via applications such as DropBox.
    Thanks.

  • I have Premier Elements 8.  I recorded some 45 minute lectures on a Sony Camcorder at 17 Mbps.  The resulting, edited file size is about 6.3 GB -- too big to record on a 4.7 GB DVD-R disc.  Using Adobe PE 8, can the file size be reduced in some way to end

    I have Premier Elements 8.  I recorded some 45 minute lectures on a Sony Camcorder at 17 Mbps.  The resulting, edited file size is about 6.3 GB -- too big to record on a 4.7 GB DVD-R disc.  Using Adobe PE 8, can the file size be reduced in some way to end up less than 4.7 GB (I realize image quality may be less htan the original)?

    pault
    What are you going for....DVD-VIDEO Widescreen on DVD disc or AVCHD format on DVD disc?
    Are you doing your burn to disc with a check mark next to "Fit Content To Available Space" in the burn dialog?
    When you have the DVD 4.7 GB/120 min in the burner tray and are in the burn dialog ready to hit Burn, what does the burn dialog quality area show for Space Require and Bitrate with and without the check mark next to "Fit Content To Available Space"?
    Just in case mention....the DVD disc with the 4.7 GB/120 min in reality is 4.38 GB.
    The goal is to find out if you are overlooking the "Fit Content To Available Space" option in the burn dialog. Depending on the circumstances to be defined, use of that option does not necessarily mean a compromise in the end product quality.
    Let us start here and then move forward based on the details of your reply.
    Thank you.
    ATR

  • Can the SidHistory attribute be moved from one User account to a different User account in the same Forest/Domain?

    Hello,
    Can the SidHistory attribute be moved from one User account to a different User account in the same Forest/Domain manually with  Active Directory Users and Computers or with something like Powershell?  it would seem to me this is a safe operation.
    Thanks for your help! SdeDot

    Hi,
    In addition, please also take a look at the below thread:
    copy SIDHistory from one account to another in the same domain
    http://social.technet.microsoft.com/Forums/en-US/2ca8727c-b3fd-4ef8-9747-99295f0cd61c/copy-sidhistory-from-one-account-to-another-in-the-same-domain?forum=winserverDS
    Hope this helps
    Best regards
    Michael
    If you have any feedback on our support, please click
    here.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Can the cell lines be removed from a table inserted in a Pages document?

    Can the cell lines be removed from a table inserted in a Pages document?

    Inspector > Table > Table > Cell Borders
    The buttons immediately below "Cell Borders" allow you to choose left, right, inside, outside etc.
    Choose None from the border style Pop-up.
    Download the Number'09UserGuide from the Help menu in Pages. Search for borders.
    Regards,
    Ian.

Maybe you are looking for

  • Running flash objects in forms 6i

    Dear all, I am trying to run a flash object (.swf) file in my forms. My version of oracle forms 6i is Forms [32 Bit] Version 6.0.8.11.3 (Production) I created a new forms then placed an active X control Then by selecting its properties i select Shock

  • Need Material on Seeburger Adapters.

    Hi I needed some material Seeburger Adapters (EDI X12) that can give me head start on sample scenarios etc. icluding Designtime and configuration time steps. Thanks. -Adrean Hart.

  • PDF export issue

    Have a problem in exporting crystal report to pdf format. I am using Crytal 2008+ VS 2008 dev env. I am trying to export to PDF in .net code, It throws "Failed to retrieve the data from database, Vendor code : 6550". However I do not face this proble

  • CCM TREX indexing error

    To CCM gurus, Once in a while, I'd get indexing errors while trying to publish a procurement catalog. The errors would say something like: 1. Error when deleting TREX metadata for catalog ABC... 2. Error when creating the index for catalog XYZ... 3.

  • Using multiple tracks or layers?

    Is there a way to place videos and audio files on separate tracks? OR does everything in iMovie take place on a single track/layer? Thanks.