Data rates

Hello world

I recently built a VI that gets the data a DAQmx and stores it in a log file, a long with the duration of the test (where VI time elapsed).

Data records one immediately a file, which can later be analyzed using the same software.

The problem seems to me, is that the data seem to record each 19 msec, yet I need to be pretty much 1msec or faster. Things that I read on the forum, constant saving data directly to a file is slowing down my code, but I can't seem to save the full 30 seconds worth of data in a table, and then export to a file once finished my collection of data.

The maximum length of a sample of data would be dry 120 (IE 120 000 data points).

An excerpt from the part of my code data aquasition.

Any help would be greatly appreciated.

Thank you

Oli

If you can write to the file after the acquisition of data, then that simplifies your solution.

Since you know the number of samples that you expect, you can initialize an array to a size slightly larger than the size to accommodate all your data and then write (insert) in this table.  You would spend the table around the loop using the registers at offset.  After the While loop, you will write the table in its entirety to the file.

Place a 1ms period in the While loop.  If your loop actually takes 1ms to get (DAQmx read), then a little thing would be to set the value of the delay to 0ms.  Yes zero.  0MS will always allow the processor to deal with other tasks, although the CPU will show high % useage.  It is different from not having a delay at all the...

And get rid of the elapsed time...

Tags: NI Software

Similar Questions

  • Updated Lenovo Extractor cannot download driver Bluetooth Enhanced Data Rate?

    I tried several times with Lenovo Retriever update to download the Bluetooth with Enhanced Data rate software II for Windows 7 (32 bit, 64 bit), but it is said that he has failed every time. Other drivers are no problem, just this one and I need to install multiple machines as soon as possible.

    Can someone from the team of Lenovo correct this please?

    The downloadlink works but not through the application.

    Link: http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-76986

    File name: 7zwb01ww.exe

    Version: 6.4.0.1500

    @All,

    The team has fixed the value of the CRC and the XML document that is tested on a problem and TVUR has been resolved.

    JMT

  • The most effective way to log data and read simultaneously (DAQmx, PDM) high data rates

    Hello
     
    I want to acquire the data of several Modules cDAQ using several chassis to
    high data rates (100 k samples per second if possible). Let's say the measurement time is 10 minutes and we got a large number of channels (40 for example). The measured data is written to a PDM file. I guess, the memory or the HARD disk speed is the limits. For the user, there must be a possibility to view the selection of channels in a graph during the measurement.

    My question: what is the best and most effective way to save and read data at the same time?

    First of all, I use an architecture of producer-consumer and I don't want to write and display the data in the same loop. I expect two possibilities:

    [1] to use the 'DAQmx configure logging.vi' with the operation 'journal and read' to write the data to a PDM file. To display the data in a second loop, I would create a DVR samples documented and 'sent' the DVR for the second loop, where the data will be displayed in a graph (data value reference). This method has the disadvantage that the data of all channels is copied into memory. Correct me if I'm wrong.

    [2] use 'DAQmx configure logging.vi', but only with the "journal" operation to write the data to a PDM file. To view the selected data, I had read a number of samples of the TDMS file in the second loop (I'm currently writing the TDMS file). In this case, I have only one copy data from the selected channels (not), but there will be more HARD drive accesses necessary.

    What is the most effective and efficient solution in this case?

    Are there ways to connect and read data with high frequencies of sampling?

    Thank you for your help.

    You say that the measurement time is 10 minutes. If you have 40 channels and you enjoy all CHs at 100 kHz, it is quite a number of values.

    In this case, I always try to approach under the conditions of use. If a measure is only 10 minutes, I just connect all PDM data and create a graphic module that could be in the same loop of consumers where connect you the data. You can always work on the raw data files big offline afterwards, the extraction of all the information you need (have a look at the product called NI DIAdem: http://www.ni.com/diadem/)

    The main issue is that the user needs to see in the graph (or perhaps a chart can be useful too). Lets say that the graph is 1024 pixels wide. It makes no sense to show multiple data to 1024 points, Yes? Every second will produce you 100 data points k per channel. What is the useful information, which should see your username? It depends on the application. In similar cases, I usually use some kind of data reduction method: I use a moving average (Point by point Mean.VI for example) with a size of the interval of 100. This way you get 100 data points of 1000 per channel every second. If you feed your graph every second with these average values, it will be able to data points in 1024 of the store (as a default) by channel (curve), which is a little more than 10 minutes, so that the user will see the entire measurement.

    So it depends on the frequency at which you send data to the consumer. For example, collect you values 1024 by iteration of the producer and send it to the consumer. Here you can make a normal means calc or a bearing (according to your needs) and he draw a graphic. This way your chart will display only the values of the last 10 seconds...

    Once I programmed some kind of module where I use a chart and not a graph, and the user can specify the interval of the absolute timestamp that is traced. If the data size is larger than the size of the chart in pixels, the module performs an average calculation in order to reduce the number of data points. Of course, if you need to see the raw data, you can specify an interval that is small. It all depends on how you program zoom functions, etc... In my case I hade a rate of 1 Hz, so I just kept all data in RAM limiting the berries to keep 24 hours of data, so that technicians could monitor the system. In your case, given the enormous amount of data, only a file read/write approach can work, if you really need access to all of the RAW data on the fly. But I hope that the values of working capital means will be enough?

  • (Note) - report - Bluetooth with Enhanced Data rate software II for Windows 7 wipe main drive

    All,

    It was reported that when the upgrade of the Bluetooth with Enhanced Data rate software II for Windows 7 to version 6.4.0.1700 is originally a wipe on the OS main drive (usually C:\)

    Version: 6.4.0.1700
    Release date: 16/05/2011

    Here are the units that uses this version of the driver.

    Support models     ThinkPad L420, L421
                       ThinkPad L520
                       ThinkPad T420, T420i, T420s, T420si
                       ThinkPad T520, T520i
                       Thinkpad W520
               ThinkPad X1
                       ThinkPad X220, X220i, X220 Tablet, X220i Tablet
                       ThinkPad Edge E220s
                       ThinkPad Edge E420, E420s
                       ThinkPad Edge E520
    

    Has been raised to engineering and the team is currently working on this topic.

    Please do not update the Bluetooth driver until further notice *.

    We are in a process to pull the driver from the Support Site and ThinkVantage System Update

    Main thread here

    JMT


  • Looking for guidelines SNR for upper 802.11n (150 Mbps and 300Mbps) of data rates

    Is anyone aware of any directive of Cisco and/or observations on the ground for 20 Mhz (single channel) 150Mbps 802.11n 40 Mhz (dual channel) 300Mbps deployments and deployments?  If they vary also freq band. (2.4 or 5.0 - does not intend to make 40 Mhz to 2.4 Ghz).

    Also, if anyone is aware of any 802.11n design guidelines / planning guides (preferably Cisco) with some rough points square guidelines for generic, Interior carpet environment office (similar to the PA 1 through 10,000 feet square for the data base/light and 1 PA by 3,000 feet square for VoWLAN), but for the 802.11n which would be appreciated.

    Is enough to remind me about the need to conduct a site survey - and I realize that these figures will stretch based on the environment - looking for instructions and values of the signal, if published.

    In addition, it is understood that different customers may have different sensitivity - no need to go either

    Especially try to find some guidelines rough values published for planning purposes.

    Thank you

    John

    Not sure if you are still looking, but it is the reference in the CUWSS quick reference Guide.

    Conditions of accreditations RSSI/SNR
    Data rate
    20\40 MHz 2.4 GHz Min RSSI 2.4 GHz Min SNR 5 GHz Min RSSI 5 GHz Min SNR
    14.4\30 -82 11 -79 14
    28.9\60 -79 14 -76 17
    43.3\90 -77 16 -74 19
    57.8\120 -74 19 -71 22
    86.7\180 -70 23 -67 26
    115.6\240 -66 27 -63 30
    130\270 -65 28 -62 31
    144.4\300 -64 29 -61 32
  • Disabling the data rates inherited b

    Looking for advice on how to properly disable the low flow rates in our environment of 2.4 GHz.  We would like to disable all data rates b and support only 12 Mbps and more.  I understand I must set my rate of data WLC as well:

    1 Mbps through 11 Mbps - disabled

    12 Mbps - mandatory

    18 Mbit/s through 54 Mbps - supported

    Is this the right way to support customers g and effectively exclude customers b and all associated General fresh b?  I look forward to any comments!

    Thank you

    Anthony

    Yes, who's going to do well.

    HTH,
    Steve

    ------------------------------------------------------------------------------------------------
    Please don't forget to rate helpful messages and mark the questions answers

  • RVS4000 - how to achieve a maximum data rate

    I have little experience in the configuration of a router.  Also, I don't know what the maximum data rate may be for this router.

    Right now, the router is limiting my internet speed compared to what the cable modem can provide...

    So far, I know that when I plug my computer directly to the output of the Modem cable Motorola and run a speed Test on my Charter cable connection, the test shows ~ 50 MB/s for downloads and ~ 5 Mbps for downloads.  It would be great, but I have several computers and need to use a router/gateway to feed my local network.  When I insert the RVS4000 router between the modem and the computer, the speed Test result to ~ 16 Mbps for downloads and stay ~ 5 Mbps for downloads.  During this test, there is no other computer online through the router.  16 Mbps is not lousy, I would like to realize the full value... is it possible?

    The RVS4000 unit is capable of 50 Mbit/s to 30 Mbps?  How to configure the router to reach the maximum available download speed?

    There is a Setup page of the router that has parameters right now set at 50000 Kbps Upload and 60000 Kbps by downloading; for me, this means that the router is capable of such speeds.

    Anyone, please give me a hint on what step to take next to solve this problem, if possible...

    Thank you

    Hi James, you can disable IP addresses and you will probably see what you expect.

    -Tom
    Please evaluate the useful messages

  • 802 11b data rates.

    Hmmmm, I have question what a quick Internet search has failed.

    We know 802. 11 b data rates are 1 Mbps, 2 Mbps, 5.5 Mbps and 11 Mbps. My question is, how can we get these numbers?

    The 802. 11 b frequency spectrum signal is sent via, is 22 Mhz wide. In other words, the 22 million oscillations per second.

    Lets take 1 MB/s first. It uses barker coding, with 11-bit sent (or chip) equal to the actual data bit 1. As a result, 22 million (oscillations) each result in a forest (a 1 or a 0). Of these 22 million bits, we know that a chip (11 bits) equals the actual data bit 1. As a result, 22 million/11 = 2 million or 2Mbps. If this shouldn't be 1 MB/s? The 2mbps is a unique swing is equivalent to two bits, doubling the 1mbps to 2 Mbps. Im trying to work on how these 802. 11 b rates are calculated. Math below is probably correlated to somehow how rates are calculated?

    22 000 000 (22 Mhz) / 22 = 1 MB/s

    22 000 000 (22 Mhz) / 11 = 2 Mbps

    22 000 000 (22 Mhz) / 4 = 5.5 Mbps

    22 000 000 (22 Mhz) / 2 = 11 Mbps

    Anyone?

    Dazzler

    Watching a trace of Spectrum Analyzer also lets you understand.

    If you look at a 802. 11B trace, you will see that it resembles a hill, a bump.

    Which means that the centre 11 Mhz are at max power. The other 11 Mhz border are not useful signal, but they are still unusable by others.

    22 Mhz is so the connection you "kill" when you will pass, but only the 11 mhz Center contain a useful signal.

    To remedy this, the 802.11 g brings OFDM and there are several substrings and material. This allows the signal look like "bart simpsons hair", which is very steep on the border, you use not all 20 Mhz then.

  • Problem installing software of Bluetooth Enhanced Data Rate II (v6.2.1.3100)

    Hello

    Today, I have improved some Lenovo drivers, including the bios v1.20. When I was upgrading software Bluetooth Enhanced Data Rate II to the 6.2.1.3100, offered on the page version drivers for t400s, I got the following error, almost at the end (sorry, the OS is in Dutch): "there there was an error during the installation of the political party...» ». See below:

    After that he has automatically restored the update, however probably not completely, because now when I reboot with active BT I get the following error, also in Dutch: "the program can't start because btwhidcs, DLL is missing from your computer. "You may be able to solve this problem in re - install the program.

    My backup files, I've restored the previous version 5.2.1.2900 Setup file, but am also unable to re - install and make two mistakes now. I must have been able to install 5.2.1.2900 with the previous bios, because it was the version I checked before you run the 5.2.1.3100 update!

    How can I solve this (apart from doing a full system restore). I would not be able to install the new driver properly? If this is not the case, how can I restore BTtray.exe then.

    Thank you, Jan

    Looks like there's a problem install the Visual C++ 2005 redistributable. You can try to install these first manually by using the links below:

    x 86 version:

    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=200B2FD9-AE1A-4A14-984D-389C36F85647

    x 64 version:

    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=EB4EBE2D-33C0-4A47-9DD4-B9A6D7BD44DA

    Even if you are using Win 7 x 64 (assuming you are using Win7), according to me, you need the x 86 redistributable og version for this software. If you already have an earlier version of the redistributable installed, you might as well try to uninstall first and then reinstall Microsoft Download or try to install the BT software after uninstalling. So, you can try to uninstall the BT software and start again.

    If you already have version BT 6.2.1.1400 installed, you should ensure that you have a complete backup since this version had a serious bug when installing/uninstalling this version could wipe you HDD. I know that this is related to the 6.2.1.1400 only.

    -gan

  • URGENT - Data rate "TOO HIGH FAILURE" - BUT this isn't the two videos, it takes 9 subtitles tracks! Help, please!

    I'm a standard definition DVD authoring using Encore CS6. I imported two videos high definition (1920 x 1080) (63 min and 4 min.) directly to a calendar. There are 9 subtitles.

    I have converted video high-def exactly like these while encoding several times with success. I use this custom setting: Codec: MPEG2 - quality: 5 - VBR 2 pass - Progressive - Min BR: 7.2 - target BR: 8, Max BR: 9 - 23.96 EN matches source. Due to the fact that I used this predetermined dozens of times, I don't think lowering the Min, the target or the Max BR is going to solve the problem of data failure rate.

    I am inclined to believe it's 9 subtitles after that review "Data rate too high failure" messages here.

    As ALWAYS, I'm on a deadline to customer.

    Okay, this preset has always worked in the past, but I would have thought you were pushing things with him.  Subtitles can be the proverbial drop of water!

    I had problems in the past with that high bit rates and also during the definition of quality to 5, instead of 4.  For example, I always use 4 quality and will never more than 7 for target BR.  Even with these settings, I had problems earlier this year with a chronology which contained a series of 20 JPEG images - there were always reluctant to the second jpeg, and I had to down to 6.5 before it was OK.

    Have you tried a lower BR?

  • PGC DATA RATE CS5

    Hello

    I have a problem when you try to burn a dvd with still cs5, I get an error message before the burning process.

    PGC "sequence 1" has an error in 01:12:43:03.

    The data rate of this file is to high for DVD. You must replace the file to a lower data rate.

    This is my workflow

    Images is XDCAM EX 1440 x 1080/50i 25 fps pal widescreen.

    First, I use the setting of the direct export to Mpeg-2 dvd. parameters as in the image as an attachment. A time exported, I close again first, open, import the video and audio file and place it on the timeline, do chapters ect. Press build and before burning. ERROR.

    export_direct.jpg

    Your settings are set too high. Bring down the target to 7 Mbit/s with a maximum of 8 Mbps. This will bring the data rate until you can actually read a burned disc.

  • PE 3 - DVD burning error - data rate too high

    I imported a slideshow of Photoshop Elements 5.  I made minor adjustments and added music.  Now I am trying burn to a DVD.  3 EP passes through the encryption stage and when it gets to the burning stage I get the following error message:

    "The flow of data in this file is too high for the DVD.  Youy should replace the file with one of a lower rate. »

    I get this message when I try to burn on a DVD or a floder.

    Any suggestion greatly apprciated.  Try burning a DVD for this weekend.

    Dave

    Dave,

    As a little "trick," pick up some discs DVD RW to test - no more "coasters". Do NOT use these drives delivery, but only for use/reuse as tests.

    I use the pre big brother, PrPro and more (creation) and yet always did a great job in auto mode, but some sequences could well bring pre evil in this regard.

    Please report your success.

    Good luck

    Hunt

  • 3 GB MD033 Time Capsule data rate lowers up to 5 MB/s during the transfer of large files

    Hello, guys!

    My MD033 (2011) / 3GB TimeCapsule lowers throughput for the disk transfers built up to 5 MB/s.

    Is this a bug or feature?

    This bug has been present for early 2013. Since then, I changed 2 iMac 27 and 1 iMac, retina. Traded my TC three times by Apple Care coverage. Change a cable connection from TC to iMac twice. Problem remains. A persisted on all platforms of Cougar to El Capitan.

    Video which revealed a problem can be found here: https://www.dropbox.com/s/b3ve9w53ixru5rv/IMG_0700.MOV?dl=0

    It ALWAYS happens. No exclusion. Sooner or later, transfer rate drops to 3-5 MB/s

    NOTHING similar happens when I copy a large file to a PS located in the same network. 50 - 70 MB/s ever.

    I just work on the same problem thread.

    irregular flow oddly with two TCs problem

    It starts fast and then slows down to a crawl.

    I don't solve it on the other thread... so let me ask how much patience you have and the ability to diagnose network problems?

    I don't have a miracle solution... money.

    (Actually a single shot of a 3030 fix it permanently..!)

    If you are willing to continue what I'm happy to try...

    NOTHING similar happens when I copy a large file to a PS located in the same network. 50 - 70 MB/s ever.

    This indicates that the TC is not the question... It's the Mac that has problems. (PS = PlayStation?)

    In the Mac

    You must have OFF wireless.

    It is better to use Configuration ethernet with link-local only for IPv6, except if you need full IPv6... Tell me if this is the case.

    I do the same thing you are. But I can't reproduce your slowdown.

    Open the activity monitor and track your use of the CPU. A single process hits 30% usage during playback... Therefore, it is quite high.

    Also check the network. Read (green) and Write (red) make the perfect range scans.

    I wonder if the TCP window is set incorrectly by default in your computers... I use a Mac Mini i7 with SSD is fast but 2011.

    It is difficult while I can't reproduce the problem.

  • F55 4 K & RAW data rate

    Hello

    I am calculating two projects and have so an overview on all formats/compression etc rates the F55 is capable of registration of 4K. The news only that I could find so far are the following:

    F5/55 4 K @24 fps raw is approximately 1 Gbps (gigabit, aka, 1000megabits) per second.

    You get 66 minutes per card 512 GB, again, to 4K 24 fps.

    2K resolution, operating time is multiplied by four. Bu Tthat is not yet available.

  • Slow data rate

    For analog and digital i/o I used a grid of AutomationDirect DL205 with EBC (ethernet) module to communicate with Labview via datasockets to connect to KepDirect OPC server. This technique worked well in the past, but on my 2 projects lately, I noticed that I am only receiving data at 100 m, I have my collection of data in a loop of 10 ms but I get 10 of the same sets of data, allowing a rough graph.

    I know the data are updated much more quickly in the OPC server but apparently the datasocket is it slows down. I contacted NOR but never received an answer clear of how fast the datasocket updates. Add the DSC module and associated items is not an option, very cost prohibitive when adding an executable to a machine.

    I used this combo of material for some time, back to LabView 2010, but he seems to have become a problem in the 2013 and 2014 version now. We love using this method, because there is no plug in boards or USB, just a running ethernet cable the control PC or laptop.

    Anyone has any experience with datasockets? Is there something I can change to increase the speed of reading?

    I use LV 2014 Professional, KepDirect OPC 5.5, private LAN within the machine (not connected to the corporate network).

    Thank you.

    Thanks, I did that before but for the devil to him I tried again. I used the same concept as you had but he left in a loop to find the minimum time difference when running my program on the other. The smallest value that I saw was 0,0700 sec.

    Because I don't really want to send a machine with an earlier version of Labview, I won't bother trying with previous versions. I just bought a different analog i/o module with ethernet connection that has VI void instead of use datasocket. I'll see how it works for the collection of data.

    Thanks for your help, I guess I am done investigation at the moment.

Maybe you are looking for

  • Recovery Disc Creator Error - Satellite L300D

    Hello First of all, sorry for my English, but it is not my mother tongue. About my technical problem is very simple: I use Toshiba Satellite L300D-13 b with Vista 32 bit. I tried to create a recovery using Toshiba Recovery Disc Creator disc, but when

  • configuration of the programming for the cRIO module?

    Is there a way to programmatically access the configuration settings for the modules in use on a cRIO? I seeks to define the type RTD channels on the NI 9216 RTD by screws, not the exporer project module.  In this way, when the system is established

  • How to find who send emails to everyone in my address of my computer books

    My address books are with bigpond, hotmail and yahoo. Emails are sent to all recipients of my computer.

  • Pavilion G series: upgrade of RAM for a laptop HP Pavilion G series

    Dear HP, I want to upgrade the RAM on a laptop with the specification below. What is the maximum RAM this motherboard can accept? Thank you, mikepa999 Operating system Windows 7 Home Premium 64 - bit SP1 CENTRAL PROCESSING UNIT AMD A4 - 3300M 39 ° C.

  • CONCATENATE fields

    HelloI want to concatenate a string based on 3 fields. The concatenation must rest only when the field contains datacreate table (test)Identification number,Product1 varchar2 (8).Product2 varchar2 (8).Product3 varchar2 (8))Insert test values (001, 'c