I can taste different channels at different rates in a task?

I use a NI 9203 modules and 9215 9211 in a single CompactDAQ chassis. The software is LabVIEW 8.6.

My VI use DAQ Assistant to sample all three modules within a single While loop. I can run the whole loop until about 13 kech. / S without problem. However, about 14 kech. / s, I get the following error:

"Error 200361 occurred at DAQmx Read (analog 1-d Wfm NChan NSamp) .vi:3

Possible reasons:

Measurements: Overflow of on-board memory. Due to the limitations of system and/or the bandwidth of the bus, the driver could not read data of the device enough fast to follow the flow of the unit.

Reduce the sampling frequency, or reduce the number of programs that your computer runs at the same time. »

I need to sample the 9215 signals up to 20 kech. / s, but the signals emitted by the 9203 & 9211 don't need that you can enjoy at the s/s 1. could reduce the sampling rate in the 9203 & 9211 signals solve my problem? If so, how to apply these different sampling frequencies high within the same DAQ Assistant VI?


Tags: NI Software

Similar Questions

  • How to save the data of different rates in a single VI?

    Hello

    I tried to acquire 2-channel measurement of voltage at 10 kHz and analyze data, finally to save the data to both 1 kHz and 1 Hz. What I did is this loop of producer/consumer use to do the work of recording at different rates. I have queued all the data in the main loop, and then removed the data and write it to the file in other loops. I added "wait = 1 ms' a consumer loop for recording data at 1 kHz (loop of fast logging) and added" wait = 1000ms' in another loop to get the slow 1 Hz (logging loop) data record.

    My problem is that the data record works fine in the case of 1 Hz, but it does not work for the case of 1 kHz. Although the time-out period defined as 1ms, the interval between two samples in the loop of fast data recording is about 100ms.  Subsequently, 1ms, 10ms, 100ms, 150ms tried in this loop to see what intervals are in these cases. I found that the intervals are same as assigned in the timeout greater than 100 ms, but if the time-out is set to 1ms or 10ms, the intervals are again around 100ms.

    My question is - why I can't reach data record 1 kHz using loop of consumers/producers, while the same way works for the case of 1 Hz?

    Thank you very much

    Hao

    You are sampling at 10 kHz and you want to back up your data "as if you sampled at 1 kHz and 1 Hz", if I understand correctly.  I also understand that you use the design of producer/consumer model to help with this (a good idea).

    I'm assuming that the producer 'product' a segment of data at a time, to say the value of a second of data or a 2 x 10000 I16 (assuming a 16-bit integer A/D) table you put into a queue and wait for the consumer.

    If you have data at 10 kHz, how do you get representations to 1 kHz or 1 Hz?  There are (at least) two possibilities - average data over the interval of proper time, or (re) sample data.  The good thing is that you can handle the situation 1 kHz and 1 Hz, essentially at the same time and in the same processing loop.  I'll discuss the case 1 kHz - with the assumptions I made, the case of 1 Hz becomes almost trivial.  I'll discuss treatment also just one channel, as it is similarly almost trivial to go from 1 to N-channel.

    If you have 1 second of data sampled at 10 kHz, and will "reduce" 1 second of data sampled at 1 kHz.  Note that you have 10 samples for each data point that you want in the end.  The "Averaging" method said "Replace all 10 points in the average of these 10 points", while "resampling" method said "replace 10 points with, say, the first point, ignoring the others.  An easy way to do this is to use the Reshape feature to transform an array of 10 x 1000 elements of your array of 10000 items 1-D 2D.  Now, you can use a loop FOR an average of 10 items or simply extract the first.  [This is where almost everyone, including me, a mistake - when you put a 10 x 1000 2D array in a loop, you get 10 iterations of 1000 items and we want 1000 iterations of 10 items.]  Oops, what to do?  [Simple - converts 2D array before sending in the loop FOR.]

    So when you have processed your 10,000 points and got both 1000 samples "1 kHz" and 1 "1 Hz" sample, you write each of them in their respective folder and wait for the next item in the queue of the consumer.  Consumer focus on the queue loop, it will automatically 'block', waiting for the producer of the 'feed' some data.  Note that the producer generates data once per second, producing 10000 points for the consumer in the process, but the time to deal with these points and perform the required disk i/o should take only a few milliseconds (certainly not more than 100, even if writing to a floppy!), so you don't have much time to do other interesting things (such as display data).

    Bob Schor

  • Periodic messages CAN have different periods and different arbitration through a single interface IDS.

    Is it possible to send several messages with IDS of different arbitration periodically (messages can have different periods) by simple CAN interface?

    I use CAN frame API 2.7.5.

    Not any material support retransmit material timed, so I usually stick with software programmed if calendar is not super critical.  An improved version that works with an array of broadcast signals is attached.  Each rate is assessed at the same time, and then this frame is sent, if enough time has passed.

  • Save the file text at different rates

    Hi all

    I'm kinda new to LabView, so perhaps this question is trivial, but gives me a lot of pain.

    I want to permanently save a string given at two different rates; in the example provided these rates are every 500 ms and ms 50, in two different (one for each rate) text files. I tried to use while loops structured for this purpose. When I use one, it works fine, but when I use both at the same time, it seems that Labview limited both paths at the lowest speed, which in this case is obviously 500ms, and eventually get two accurate files with the string saved to 500 ms period.

    How can I make it work?

    Thanks in advance.

    Your loops the two stops after one iteration. Maybe you should keep them until you want to stop the running program. Add a stop appropriate to each condition.

    (Looks like you are using "continuous operation" where the program begins again once the code is complete. Do not! It's just a debugging tool. Use the ordinary execution.)

  • Judgment of multiple while loop running at different rates to stop using the single Boolean stop button

    Hello

    I'm on the block diagram of 4 loops, do different tasks. They are independent of each other, but need to see the unique front panel - some of the wonders of labview!

    Now, I want to have a unique stop button which will in fact be a back button to return to the main screen by stopping all four loops on the block diagram. I used the stop button (switch released) with local variable to stop the three other loops. He stops the vi but it is not a good stop vi to stop properly and the grid on the performance of the front panel. Now all loops run also at different rates, so it is not necessary that all loops are stopped immediately when one of the loop is stopped. Can't really think of a better way. All the ideas!

    Kind regards

    Austin

    Variables local is ok in this case, but you will need to keep the control in switching mode (no lock).

    A better solution would be to have all the loops as a structure of event all listening value stop change. Or have the Stop value change event generate a user defined output event or similar.

    /Y

  • Cannot use scroll effects in Muse so fluid mode, each page can cause different fluids on the fixed sections?

    Cannot use scroll effects in Muse so fluid mode, each page can cause different fluids on the fixed sections?

    Example: I have 4 pages and alone is fluid and the other are fixed?

    Yes, you can have effects from scrolling on a site which is partially adapted to the needs, as each page is independent of the others. Muse only disables the effects when you add a breakpoint to a page.

    David

    https://creativemuse.co

  • How participants can select different (short) videos to watch?

    How participants can select different (short) videos to watch?

    Put videos on separate slides and put in place a menu slide that has buttons to allow participants to access these slides.

    It would be the easiest way.

  • How can I change the cursor blink rate? Firefox 3.6.10 on Ubuntu.

    How can I change the cursor blink rate? Firefox 3.6.10 on Ubuntu.

    See this old thread forum mozillaZine on this subject:

    (please don't post in these old threads)

    See also:

    To open the topic: config page, type Subject: config in the address bar (address) and press the 'Enter' key, as you type the url of a Web site to open a Web site.

    If you see a warning then you can confirm that you want to access this page.

  • Can you still use stars to rate songs in the music app?

    Can you still use stars to rate songs in the music app?  That's how my itunes library is organized, and when I get new songs on my phone I would rate it.

    Hi Eric,.

    Yes, you can always classify a song with stars in the app music with iOS 9.2.   When you choose to start a song, the Miniplayer will appear.  Tap the song title to see the player Now Playing view (full-screen).  Tap the title again in this point of view and you will see five points.  Press the point that represents your side.  (Ex. If you type the fourth point, you will see four stars).

    The now playing view will remain open, it will be later songs of rate they play.  Pressing the arrow down in the upper left corner will take you back to the sight of MiniPlayer.

    Here is some additional information on the new music app:

    With the help of the new music app

    My Music & Playlists

    The My Music tab makes it easy to navigate through all of your music, everywhere where it is-on the iTunes Store, a rare import CD or your subscription to Apple's music. Whenever you add a song, album, or playlist, keep us at the top of my music in recently added. Press the category below picker recently added to sort and view your music by artists, Albums, songs, music videos, Genres, composers, and Compilations.

    Play your music

    When you play a song, you see the Miniplayer at the bottom of the screen. You can continue to browse other titles to find the next perfect song.

    Or you can tap or slide up on the Miniplayer to see the display of current playback and controls. Press on the in the upper left corner or sliding down to close the now playing screen.

    Happy new year!

  • can't add channels

    Hello, I'm using Director 8.5 and for some reason, my channels seem to be
    locked. Here is a link to a screenshot of my properties of the film. He
    is a "locked" in box icon to change the number of channels.
    How can I add channels? Sorry if this is posted twice.

    me / director.jpg? attredirects = 0 http://5177438951217816971-a-hardycomm-com-s-sites.googlegroups.com/a/hardycomm.com/Rob/Ho

    switch to the 'list' - seen in the property inspector - then you
    can change the 'strings' - textfield...

    Concerning
    Aldus

  • Videos captured in different rates can be combined on the same timeline?

    Am a bit confused on combining different video segments on the same timeline.

    Can be combined on the same timeline segments of 720 p and 1080 p?

    Video sequences filmed in different cadences are combined and exported together in a movie?

    If you take a video captured at 60 p can be exported to 30 p - and - play in slomo?

    Thanks for your help

    When you start a new project, the button settings are on the Panel of the new project.

    Furthermore, in any version after version 11 program, the program will automatically set your project settings based on the first clip on your timeline.

  • How can insert different types of data in the table?

    Hello
    How can I insert different types of data in the table, (e.g., numeric and string) in the same index of a table.

    example:
    index0 car 10 green

    car red 11 index1
    Index2 car Blue 12

    where green car red and blue car as string and 10, 11 and 12 in the numeric form.
    then I extracted 10, 11 and 12 a digital table

    and, the green car, red car, blue car in a string array

    Help!

    Use 'Analysis of the chain' as in the picture as an attachment.  This will extract the number and color that you can add tables later.

  • Sampling - in parallel with different rates

    Dear members of Lab View discussion group,

    I would like to ask for some advice on how to stop the removal of two different signals at the same time. I was able to confirm that they start at the same time (the timestamp on the first call of loop-based) sampling, but the time of waveform for my two signals is very different.  The signal AE samples always on time, but the charge indication always shows about 1.5 to two seconds longer acquisition time.

    He will have to do with the very different high sampling frequency (500 Khz vs 1000 Hz). I can't get my head around why the acquisition of load loop would be so much longer well that even if each iteration of the loop must be environ.001 + 10 micro seconds (frequency of acquisition more buffer that OR add).

    I tried to use timed loops, but the result is the same. in this case, I wired the value of loop iteration (dt) to be...

    (acquisition of signal frequency) * (number of samples to acquire)

    I also tried to use notefiers and configuration master slave (load loop was the slave and a notefier was sent every time 500 iterations of the loop of EI were carried out). This does not result either rule stops.

    My ultimate goal is to get the two files and then compare the tips my AE signal when a specific load occurred. I have then count the number of spikes occurring in some parts of the load and generate a histogram.

    I'll be gone next week, back on July 6. I will answer to all positions at that time.

    Thank you

    Alfonso

    I don't see that you need two separate loops. Also skip the timing of software. I'm guessing that causes your boredom.  Simply put the playback in the loop running read NOR-9221-NOR-6221. Perhaps placing them in a framework so both are read before data are written to the file. I think also often extract data from your buffer OR-9221. You read the second pr 500 times buffer. Perhaps the lover to 50 times this pr then. So every time you read the traction OR-9221 10000 samples of memory buffer and the buffer NI 6221 40. And for now just ignore it. Stop your loop then you have run 100 times. Assuming that you read 10000 samples of the NOR-9221 on each iteration will then have read 100 x 10000 samples equal to two seconds of data

  • Can I change my Start menu, the icons on the desktop (shortcuts) to my TV screen and displays both monitors so I can see different things on each monitor

    I have an old Dell Latitude E6500 running Windows 7 Pro and think my screen on my laptop is going to bite the dust and can't understand how to show my start menu, desktop and screen icons (shortcuts) on my flatsceen TV, so I could still run the laptop if the monitor on it turns off, without duplicating the image which limits me to not be able to have different things on each monitor as in "extend displays it" does

    Hello Tony,.

    Thanks for posting your query on the Microsoft Community.

    I suggest you follow the advice given by Ralf_G answered September 25,2010 from the link given below and check if that helps.

    Reference:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-desktop/extend-displays-not-working-in-Windows-7/30828f33-5a64-4e22-AD70-b3bd8e6d8580

    Hope this information is useful. Please let us know if you need help with Windows.

  • Need for a 'real' for Muse jQuery widget that can handle different images:

    relaxation: a small thumbnail image (1:1) and the 'real' image: more grand (course) and size/shape different example 2:3.

    Where can I get this widget?

    I've tried different widgets musegrid Te - but they can't manage two different image as the 'classic' lokesh/lightbox2 · light therapy device GitHub...

    Thanks a lot for your help!

    Bernhard

    You can get close to this effect by using the built-in slideshow widget.

    Set the options for full screen and Lightbox mode.

    Temporarily make the thumbnails big and square.

    Select all the thumbnails, and then select object > adjustment > fit content proportionally.

    Limitations of this approach include:

    You can caress or round the corners of the thumbnails (assuming that they have mixed proportions) since the stroke or rounded will appear on the square frame thumbnail is able to breast, rather than the image itself.

    You cannot crop the thumbnail contrary to the image of heroes. Again because the frame is big and square, and the image is fit inside (in order to activate thumbnails with different reports l / h).

    I'm not aware of any Muse of third party widget which would get as close to the exact effect you want to achieve.

Maybe you are looking for