NiDAQmx limits the maximum number of analog samples which can be read / buffer?

I try all the time on a USB-6363 to 1000 Hz 2 channels analog samples.  Everything works until I have started to increase the number of samples to read only once in DAQmxReadAnalogF64().

I have set up the buffer in DAQmxCfgSampClkTiming() like twice the amount of samples, I want to read at some point.

Up to about 8000 samples (128 000 bytes: sizeof (double) x 8000 x 2ch) it works and read call returns without delay once all about 8 seconds.  Increasing the number of samples other than that, I can no longer read the data (the DAQmxReadAnalogF64() always holler times).

Question: am I running in a limit on the maximum number of samples that can be read or buffered... maybe a DMA limit any?  What determines how big you can make the buffer in DAQmxCfgSampClkTiming()?

Maybe it's not obvious, according to the documentation, but if you look at the output value of the parameter samples per channel function DAQmxReadAnalogF64 reading, you'll see that when it times out, he reads what was available when it has expired. So if you're always calling this function, and your timeout value is too short, then you'll always be timeout, but you will always catch all samples. You can view this as the function will return when the buffer is full, or the timeout is reached. That's why we have provided an exit indicating the number of samples read.

As a general rule, ask not read like this with DAQmx. I would recommend registering a callback for EveryNSamples (there is an example that's bundled with the CVI on how to do this), or by specifying a longer period than what it will take to gather real that many samples (in your case, 8000 samples at 1 kHz would be > 8 seconds). The main problem with the polling stations with a short time-out is that you should ignore errors that is not recommended.

Tags: NI Software

Similar Questions

  • What is the maximum number of carrots that I can attribute to a RHEL guest?

    What is the maximum number of carrots that I can attribute to a RHEL guest? We have a data center by telling us that they can not affect more than 4 cores in the guest OS, even if the guest OS is reliever of suposto the entire physical host (IE, it's the only host on the ESX node).

    We have 16 cores on the physical machine, and they tell us, that we can not have more than 4 in total in a single instance of comments.

    4vCPU per guest is max

    http://www.VMware.com/PDF/vi3_35/esx_3/r35u2/vi3_35_25_u2_config_max.PDF

  • What is the maximum size of hard drive, which can be installed in a pavilion d4790y desktop computer?

    What is the maximum size of hard drive, which can be installed in a desktop pavilion d4790y?

    It would be a secondary drive, not the boot drive.

    The operating system is Vista Home Premium, 32-bit.  The version of the BIOS is 5.08.

    Are there any changes or upgrades that would allow an internal hard drive 3 TB to install?

    Here are the specifications and configurable options for your desktop HP Pavilion d4790y and here are the specifications of its card mother P5BW - THE (Basswood2). Based on the specifications and the age of the computer, I would expect you to use a hard drive 3 TB as a secondary drive on Windows Vista (DISPLACEMENT SP1 or SP2) and Windows 7. Formatted as MBR would require the drive to use with a minimum of two partitions. Formatted as GPT would require only a single partition. In no case will you be able to use the 3 TB as a boot device drive because your computer does not support a UEFI BIOS that allows booting from a GPT formatted disk. No changes or updated should be held.

  • What is the maximum number of files that I can place in a subfolder in FAT32

    FAT32 maximum number of files in a folder

    The maximum size of a directory of FAT32 is 32-bit 65536 entries. A file it will take at least 2 entries according to the length of the file name. Long filenames are stored in 16-bit UNICODE characters, and only thirteen characters are stored in the directory entry.

    Big directories should be avoided for performance reasons. For example, adding a file requires all existing entries to be analysed in order to avoid duplicates.

    FAT32 specification can be downloaded here:

    http://msdn.Microsoft.com/en-us/Windows/hardware/gg463080.aspx

  • What is the maximum number of contacts that you can add to a mailing list?

    To generate a mailing list, but I've heard that you can get too big? Is there a maximum number of contacts for any 1 list?

    If you use a mailing list that any restrictions would be imposed by your email provider. You should check with them.

  • What is the maximum number of images that you can import as a sequence in first Pro CC

    I do a lot of big engineering according to time is lapses that may include anything between 3 and 12 thousand images. When I import into Premiere Pro CC as a sequence - only about a 1/3 rd seem to be included in the imported sequence.

    Has anyone previously met and is it possible that I can work around the problem.

    Thanks in advance.

    OK... after having looked closely for files that are created by the GOPRO it would seem that the problem all by using the original sequential file names. I found that if I rename the files during import (Lightroom) to something simple like TL1, TL2.jpg etc, then I can import the entire sequence without any problem.

    Thanks to Shooternz and Jim for their suggestions.

  • How to increase the maximum number of TCP connections simultaneously

    Hi all

    I hope some can help; I am trying to use an XP machine to machine IPERF Linux... we tested loads up to 5 (-P5) outgoing connections using XP, but now we want to move to 8... but the connection keeps flat for 3 of them. We tried the 6 and 7, again same problem, anything 5 + said "breaking" we believe that this is a problem in windows limiting the the maximum number of concurrent/simultaneous TCP connections.

    Thanks in advance

    Kind regards

    PJ

    Hi APKJ,.

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please ask your question in the following forum.

    Windows XP IT Pro category

  • What is the maximum number of characters that a 2D barcode can have with the symbology PDF417 Matrix? How to solve the problem of code bar having too much data?

    What is the maximum number of characters that a 2D barcode can have with the symbology PDF417 Matrix? How to solve the problem of code bar having too much data? I'm incorporating data of the bar code under a button field. But when the data is large, the problem occurs.

    Apparently the theoretical capacity of the PDF417 barcode is 1850 characters or numbers in 2710. Of course, the actual capacity depends on the size - more square inches, more data. But before the theoretical limit, that you can reach practical limits in scanning technology so test carefully with all models of planned barcode scanner.

  • I have reached the maximum number of items in my calendar?

    What is the maximum number of items I can have in the timeline? I think I have some 92 items now and when try to add another element appears at the top of Control Panel items, it is not appear at all in the timeline?

    I tried to convert some elements to symbols or grouping elements, but still the new item that I added to the scene does not appear in the timeline panel. I'm not EVEN done the addition of several elements. What to do now?

    I just added 115 icons, as a test, and they appear fine (chronology).

    I'm not aware of any number of limitation, so I hope that a member of the dev can answer that.

    One thing to check, at the bottom left of the Timeline panel are three icons. The first is a toggle option "Filter". Ensure that it is not "deleted" / on as he said once on the timeline only show items that have applied animations/transitions.

    HTH

    Darrell

  • XE has a limit on the maximum number of processes?

    I just got a...

    ORA-00020: maximum number of processes (%s) exceeded

    My XE instance.

    I don't remember any mention of a limit on the number of processes in [the 10g Guide family produces | http://www.oracle.com/technology/products/database/oracle10g/pdf/twp_general_10gdb_product_family.pdf].

    Is limited and if yes what is it?

    Hello

    It is a parameter that defines the maximum number of process 'PROCESS '. This is a global setting for all versions, you will need to change that in order to solve the problem.

    In the case of XE, a restriction on the mind in the process is the maximum amount of RAM that should not exceed 1 gigabyte.

  • IR - CubeQuery - no limit to the maximum number of columns or lines?

    In IR query processing cube, is there a limit to the maximum number of columns or lines? If so, how?

    When downloading of the results, are there limits to the maximum. lol the columns or lines as well?

    All documentation on its limits?

    Please help someone?

    Columns cannot be more than 256 upto Hyperion Interactive Reporting Studio 9.2.

    No, there is no limit to the maximum number of rows. It depends on the memory and available space on your machine.

    Please correct me if I'm wrong.

    I hope this helps.

    Kind regards

    Manmohan Sharma

  • Why my icloud unable to connect, he wrote "the maximum number of free account has been enabled on this phone" why? I already reset my iphone and create a new id

    Why my new id icloud unable to connect? He wrote "the maximum number of free account we enabled on this phone, while I already reset my iphone.

    A device can create only three accounts iCloud, after which still attempts to bring the message you see. This is related to the material and there is no way around it - reset makes no difference. What you can do is to create a new account iCloud on another Mac or iOS (not Windows) device, then you can sign in on your phone.

  • my iphone 5s has reached the maximum number of account creation free icloud. What should do?

    Guyz. Please help me to create an account and not to give bank details...

    my iphone 5s has reached the maximum number of account creation free icloud. What should do?

    Create a new account using your computer or a device different iOS.

    Once created elsewhere, you will be able to use that newly created

    AppleID to your iPhone.

  • Increase the maximum number of query results

    Hello

    I need to increase the maximum search results, when I'm looking for data with data-> ValueMaxCount

    I'd like to 2000

    I tried tho change it with the help of the property page and the example given.

    The result looks like this:

    Define DataFinder = Navigator.ConnectDataFinder (Navigator.Display.CurrDataFinder.Name)
    Set IndexedFileProperties = DataFinder.GetIndexedProperties (eSearchFile)
    Set IndexedProperty = IndexedFileProperties ("fileName")
    Define ValueList = IndexedProperty.GetValueList
    DataFinder.ValueMaxCount = 2000
    Define ValueList = IndexedProperty.GetValueList

    But the quantity of serach result remains at 200

    I am referring to the wrong object or do I need to increase it to a certain point?

    Concerning

    Janick

    Hi Janick,

    your script increases the number of values that are returned if you ask for all values that are indexed to a specific property (in the BROWSER QueryForm you will receive this list by clicking the... button to the right of the line a condition).

    To increase the maximum number of search results, you would use the MaxCount property for the elements of results.

    DataFinder.Results.MaxCount = 2000' in the search without the GUI

    or

    Navigator.Display.CurrDataFinder.ResultsList.Elements.MaxCount ' in the search with the BROWSER GUI

    What version of DIAdem do you use? 2015 tiara, it is also possible to determine the maximum number of search results in the search method:

    DataFinder.SearchElements (Query, 2000)

    I hope this helps.

    Good day

    Eva

  • Sharing the maximum number of folders in windows server 2012

    Hello

    What is the maximum number of shares that can be set in windows server 2012 (or windows server R2 2012)?
    Is there a limit to the number of shares?
    This default can be changed (increased)? If so, how?

    Thank you
    Limor

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *

Maybe you are looking for