Decimate.VI does not work for me

Hello

I use two NI9237 modules and a NI9219 in a NIcDAQ-9174 chassis. The NI9237 are used to measure strains and the NI9219 is used for currents. I want to measure both with a frequency of 100 Hz. I already know the NI9237 min sampling rate is 1613 Hz so I used 2000 Hz for this and it has decimated at 100 Hz with the decimate.vi. 100 Hz is the the NI9219 maximum sampling frequency, so it should work.

Now, my problem is that I get multiple errors and the measured information excel file is empty. I also don't really know what to put in the box 'samples to read' in the DAQ assistant.

I hope someone can help me. My vi is included.

Kind regards

This is a buffer overflow error.  You do not have your acquisition rate and the number of samples to read set correctly.

All 3 present data acquisition are defined for continuous samples.  So as soon as they start execution of the buffer begins to fill to the top.  Your two 9237 are set for 50 k to 2 k samples.  So it takes 25 seconds for it to return data.  (As a separate issue, you set your delay of 25 seconds, but it's probably too close to how long it takes to acquire data.  It is always about to expire when he finally gets his last sample.  Delay of minisicule may cause a time-out error).

Your 9219 is defined for 2 samples k to 100 Hz, so it only takes 20 seconds to get your data.  (Still, the time-out is too close to that.)

What is going on?  Your 9237 establish the rate of loop to 25 seconds.  In 20 seconds, the 9219 returns 20 seconds worth of data, but collect 5 more seconds.  Next iteration.  After 15 seconds, yields 9219 20 seconds of data (5 front and 15 new) then proceeds to collect 10 more seconds in the buffer before the 9237 return their data and the loop iterates.  Third iteration, 9219, 20 seconds worth of data (10 in the buffer zone, 10 new), then 15 seconds more to fill the buffer.  After each iteration, the buffer fills with 5 seconds more.  Do long enough and the buffer will overflow, and you will get this error.

Balance your data collection better.  For the 9219, take samples from 2500 to 100 Hz, so you get 25 seconds worth of data.  Or the return of all samples instead of a finite quantity.  You would be better to use the functions underlying DAQmx that using the DAQ Assistant.  Do you really want every iteration of the loop to take 20 or 25 seconds?  For a long time that the VI will look like it is doing nothing.  If you press the stop button, it will take up to about 50 seconds for the VI actually stop.  Samples less per iteration.

Why do you collect so many samples at a high rate?  You decimate them without making an average, so you just throw most of the data.  You could collect samples of feweer at a lower rate.

Tags: NI Software

Similar Questions

  • Single-pass does not work for Web sites after the last update of firefox

    Single-pass does not work for Web sites after the last update of firefox. This works in IE and Chrome and it works under windows (when starting the computer), but not with any website in Firefox.

    Firefox 30 spent some less commonly used "Always turned on" plugins "asking to activate. To check and change this to SimplePass, you can use the page modules. Either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click on Plugins. Then on the right, check the control on the right side of the SimplePass.

    You may need to exit Firefox and start it again before it takes effect.

    A little luck?

  • Firefox Sync does not work for Tablet Android Nexus 10.

    Firefox Sync works for 2 PCs, but does not work for an Android tablet. It is said, that the tablet was connected successfully, I checked the bookmarks and history options to be synchronized and or bookmarks, or history of the browser has not been updated on my tablet.
    No errors. Anything not came to the Android device.
    I tried with 2 different synchronization profiles - same story for the second profile.

    Please note that we are currently living with Sync server issues. Our technicians are working around the clock to the question of setting and ensure that it works at its best. The current option is to try to keep synchronized and if you are able to synchronize properly, we recommend to not not to sync more than once every 2 hours.

    Thank you and sorry for the inconvenience.

  • Recently closed tabs does not work for me

    Recently closed tabs does not work for me. When I go to history-> recently closed tabs is not available and the shortcut does not work. It happened a few weeks ago, and when it happened first, the shortcut would open the tabs in the weeks earlier. I can't find any information on this and would like to see it fixed.

    There are other things that need your attention on the updated the prefs that shows in your list of details of the system.

    Reset the general.useragent.compatMode.firefox to false, and all prefs network.http on the topic: config page.

    What is the value of the browser.sessionstore.max_tabs_undo pref?

  • iMessage does not work for me. I have no text to send or receive texts as an alternative. I am able to use the Internet to navigate / social media but iMessage completely ceased to operate. I tried the usual phone turn off / on, reboot, etc.

    iMessage does not work for me. I have no text to send or receive texts as an alternative. I am able to use the Internet to navigate / social media but iMessage completely ceased to operate. I tried the usual phone turn off / on, reboot, etc. and still nothing. What can I do?

    What methods have tired to get it activated?

    You can disconnect from the iMessage

    Disconnect from the iCloud

    Reboot your phone

    Reconnect

    Wait iMessage activate

    Do you have a viable data plan?

  • AutoFill does not work for Firefox 4 and Microsoft Outlook

    AutoFill has already worked on Firefox 3.16 and Microsoft Outlook.
    Now I get a msg something like:
    "AutoFill does not work for this site" when I want to fill my info on a petition, etc..

    What "complete" you use in Firefox 4.0?

    Firefox is not a built-in function "fill", it has "full automatic" that would not display a message such as.

  • I keep seeing pop up ads powered by '' cn tatami '' whenever I have to navigate using Safari or open a link on the FB Adblocker app does not work for this. Any suggestions? There is no option to cross the pop-up ad that it redirects to various Web sites.

    I keep seeing pop up ads powered by '' cn tatami '' whenever I have to navigate using Safari or open a link on the FB Adblocker app does not work for this. Any suggestions? There is no option to cross the pop-up ad that it redirects to various Web sites.

    Cache and history of the site Clear settings - Safari -.

    (1232)

  • I need a program to view usable photograph or app to open my pictures to view them, open them in my editing software. Apple makes such a program? Photo does not work for me.

    I have a 27 "iMac, I photograph and videos. The Photos app does not work for me. I would like to have a program that will open my photography let me scroll through the folder of photos and when I find one that I need to change in my photoshop cs6 software I can open the file, then save in my pictures folder.  I am now watching the Mac Book Pro. 15 "the $2499 but I need a usable photo view software. I'm not the editor, import, the shared project, etc., I want only the Viewer.  I have purchase different applications that does not work. The last was the date limits only one that I could find I want but it not work altogether after about 4 days. The name of it is (Viewer). I really want to get another Mac product because I like really everything except the viewer or no photo viewer. Please help, it is very important for me!

    Diana_G100

    If you simply want to watch as download you them from your camera, you can simply use the default built in app Preview. He opens them - that is what I use before deciding that one has need of some 'creative' changes or anything, and then drop them into my own folder of Photos (in my documents) that I created when I decided that I did not care to iPhoto or Photos.

  • Satellite L20-100 Touch Pad scroll does not work for Mozilla Firefox

    Hello

    Mine is a laptop Satellite L20-100. My touch pad scroll (the page scrolls automatically when you slide your finger upwards & downwards on the right edge of the touch pad) does not work for the Mozilla Firefox browser. It works fine with other applications like windows Explorer, microsoft word. When I try to scroll in the window of the Firefox browser, this isn't schroll at all. Please can someone help me?.

    Kind regards
    Anish

    Hello

    Read on the forum of Firefox:

    http://forums.mozillazine.org/viewtopic.php?t=221466

    If it doesn't help you, after your problem here

    Post edited by: Jeka -?

  • The button create a new paragraph style does not work for me, is this a bug or something stupid I did?

    The button create a new paragraph style does not work for me, is this a bug or something stupid I did?

    Pages on El Capitan 10.11.1 v5.6.1.

    I just created a quote indented using ITC Garamond Book Italic with left and right margins altered. Well selected, I clicked on the + symbol in the paragraph, named the new Styles pop-up style Indented quote and you press return.

    Always selected in the body of the document, I applied the body paragraph Style to restore the normal formatting and then with the text again, the paragraph of citation Style indented - who worked as expected.

    If you want that your new Style of paragraph to survive across documents, you will need to save it in a model. You can also have two different Pages, documents open in Pages v5.6.1, and copy/paste the custom styles between the selected text in these documents by using the Format menu.

  • M1271mfw charger of HP printer does not work for scanner

    The charger works for making copies, but it does not work for the scanner.

    Re: M1271mfw HP printer charger does not work for scanner

  • I had a windows 2008 r2 domain 1 DC everything worked fine, I added a second windows of DC 2012 now Kerberos does not work for RDP

    I had a windows 2008 r2 domain 1 DC everything worked fine, I added a second windows of DC 2012 now Kerberos does not work for the RDP, Hyper V replication is nothing below a couple of samples of what I see I do not know where to begin finding the problem

    + System

    -Supplier

    [Name]  Microsoft-Windows-Security-Kerberos
    [Guid]  {98E6CFCB-EE0A-41E0-A57B-622D4E1B30B1}
    [EventSourceName]  Kerberos
     
    -EventID 3

    [Qualification] 32768
     
    Version 0
     
    Level 2
     
    Task 0
     
    Opcode 0
     
    Keywords 0 x 80000000000000
     
    -TimeCreated

    [SystemTime] 2016-01 - 03 T 01: 34:27.000000000Z
     
    2991 EventRecordID
     
    Correlation
     
    -Execution

    [ProcessID] 0
    [ThreadID] 0
     
    Channel system
     
    Computer DC02.xxxxxxonline.com
     
    Security

    -EventData

    LogonSession xxxxxxONLINE.COM\xxxxxx
    ClientTime
    1:34:27.0000 03/01/2016 Z ServerTime
    Error code 0 x 19
    ErrorMessage KDC_ERR_PREAUTH_REQUIRED
    ExtendedError
    ClientRealm
    CustomerName
    ServerRealm xxxxxxONLINE.COM
    ServerName krbtgt/xxxxxxONLINE.COM
    TargetName krbtgt / * address email is removed from the privacy *
    ErrorText
    E file
    Line d3f
    30773054A103020113A24D044B3049301FA003020112A1181B16524F434B45594F4E4C494E452E434F4D726F636B65793005A003020117301FA003020103A1181B16524F434B45594F4E4C494E452E434F4D726F636B65793009A103020102A20204003009A103020110A20204003009A10302010FA2020400

    --------------------------------------------------------------------------------

    Binary data:

    In the words

    0000: 54307730 010203A 1 044DA213 3049304B
    0008: 0203A01F 18A 11201 4F52161B 59454B 43
    0010: 494C4E4F 432E454E 6F724D4F 79656B 63
    0018: 03A 00530 30170102 0203A01F 18A 10301
    0020: 4F52161B 59454B 43 494C4E4F 432E454E
    0028: 6F724D4F 79656B 63 03 HAS 10930 A2020102
    0030: 30000402 0203 HAS 109 02A 21001 09300004
    0038: 010203 A 1 0402A20F 00

    In bytes

    0000: 30 77 30 54 A1 03 02 01 0w0T¡...
    0008: 13 4 04 4 B 30 49 30 A2. ¢ M.K0I0
    0010: A0 03 02 01 12 A1 18 1F. ....¡.
    0018: 1 16 52 4F 43 4 B 45 59 B... XXXXXX
    0020: 4F 4 49 4F 4E 45 2ND 43 ONLINE. C
    0028: 4 72 6F 63 6 b 65 79 OMxxxxxx 4F
    0030:30 05 A0 03 02 01 17 30 0. .... 0
    0038: A0 03 02 01 03 A1 18 1F. ....¡.
    0040: 1 16 52 4F 43 4 B 45 59 B... XXXXXX
    0048: 4F 4 49 4F 4E 45 2ND 43 ONLINE. C
    0050: 4 72 6F 63 6 b 65 79 OMxxxxxx 4F
    0058:30 09 03 02 01 02 A2 A1 0... ¡¢
    0060: 02 04 09 03 02 A1 00 30... 0.¡..
    0068:01 A2 02 04 00 30 09 10... ¢... 0.
    0070: A1 03 02 01 0F A2 02 04... ¢...
    0078: 00                        .

    + System

    -Supplier

    [Name]  Microsoft-Windows-Security-Kerberos
    [Guid]  {98E6CFCB-EE0A-41E0-A57B-622D4E1B30B1}
    [EventSourceName]  Kerberos
     
    -EventID 3

    [Qualification] 32768
     
    Version 0
     
    Level 2
     
    Task 0
     
    Opcode 0
     
    Keywords 0 x 80000000000000
     
    -TimeCreated

    [SystemTime] 2016-01 - 02 T 16: 52:38.000000000Z
     
    2943 EventRecordID
     
    Correlation
     
    -Execution

    [ProcessID] 0
    [ThreadID] 0
     
    Channel system
     
    Computer DC02.xxxxxxonline.com
     
    Security

    -EventData

    LogonSession xxxxxxONLINE.COM\xxxxxx
    ClientTime
    16:52:38.0000 02/01/2016 Z ServerTime


    Error code 0 x 19
    ErrorMessage KDC_ERR_PREAUTH_REQUIRED
    ExtendedError
    ClientRealm
    CustomerName
    ServerRealm xxxxxxONLINE.COM
    ServerName krbtgt/xxxxxxONLINE.COM
    TargetName krbtgt / * address email is removed from the privacy *
    ErrorText
    E file
    Line d3f
    30773054A103020113A24D044B3049301FA003020112A1181B16524F434B45594F4E4C494E452E434F4D726F636B65793005A003020117301FA003020103A1181B16524F434B45594F4E4C494E452E434F4D726F636B65793009A103020102A20204003009A103020110A20204003009A10302010FA2020400

    --------------------------------------------------------------------------------

    Binary data:

    In the words

    0000: 54307730 010203A 1 044DA213 3049304B
    0008: 0203A01F 18A 11201 4F52161B 59454B 43
    0010: 494C4E4F 432E454E 6F724D4F 79656B 63
    0018: 03A 00530 30170102 0203A01F 18A 10301
    0020: 4F52161B 59454B 43 494C4E4F 432E454E
    0028: 6F724D4F 79656B 63 03 HAS 10930 A2020102
    0030: 30000402 0203 HAS 109 02A 21001 09300004
    0038: 010203 A 1 0402A20F 00

    In bytes

    0000: 30 77 30 54 A1 03 02 01 0w0T¡...
    0008: 13 4 04 4 B 30 49 30 A2. ¢ M.K0I0
    0010: A0 03 02 01 12 A1 18 1F. ....¡.
    0018: 1 16 52 4F 43 4 B 45 59 B... XXXXXX
    0020: 4F 4 49 4F 4E 45 2ND 43 ONLINE. C
    0028: 4 72 6F 63 6 b 65 79 OMxxxxxx 4F
    0030:30 05 A0 03 02 01 17 30 0. .... 0
    0038: A0 03 02 01 03 A1 18 1F. ....¡.
    0040: 1 16 52 4F 43 4 B 45 59 B... XXXXXX
    0048: 4F 4 49 4F 4E 45 2ND 43 ONLINE. C
    0050: 4 72 6F 63 6 b 65 79 OMxxxxxx 4F
    0058:30 09 03 02 01 02 A2 A1 0... ¡¢
    0060: 02 04 09 03 02 A1 00 30... 0.¡..
    0068:01 A2 02 04 00 30 09 10... ¢... 0.
    0070: A1 03 02 01 0F A2 02 04... ¢...
    0078: 00                        .

    This issue is beyond the scope of this site which is for the consumer to related issues.

    To ensure that you get a proper answer, ask either on the Technet site, if it is a type of Pro problem, or MSDN if it's related to the developer

    http://social.technet.Microsoft.com/forums/en-us/homes/en-us/home

    http://social.msdn.Microsoft.com/Forum

  • WindowsXPSP3 / MSNDialup DOES NOT WORK FOR 6 weeks.

    WindowsXPSP3 / MSNDialup DOES NOT WORK FOR 6 weeks. I've been with remote access, since it was offered so I understand speed and ETC.

    Hot Mail (which I don't like) seems to work.

    On E-mail MSN - Cannot send or what I get Emails (all once in a while, we get... and when I go to Hotmail... arrived at 22). Spoke with 13 technicians, deleted all files (alt/shiftF9) 7 times. Some of the questions:

    MSN Inbox (on top left over files) continues to go to the yellow throttle and says I am offline and yet I am on line. Connection errors are the following: 0x80072efd / 0 x 0 80191002 / 0x80072eff deleted trash e.a. returns every time. Mark an unread Email and it is deleted. Tons and tons and tons of other issues. Microsoft Techs seem to be stuck on Shift/Alt/F9 and nothing is improving and sometimes gets worse... as the last time I alt/shif/F9...folders came back but old e-mail appears. Electronic mail in white and empty window. Super slow navigation & usually stops and tell me that I'm not online. Diagnosis of micro said: I am and contact MFG. A tech admitted that a new server is entered in questions. But 6weeks and I pay for the service? A tech says it's at my end frustrated, I got another PC, downloaded my MSN dialup and now... I stillHAVE questions about the addition of the computer. The 2 computers are not connected. Stand alones. Telephone lines checked. Audited modems. Microphone seems to keep secrets. And obviously can't solve my problems. Visibly frustrated spendinging 15 hours on the phone, and tired of the Microsoft Music on hold. Should I cancel? Today, same hot mail was. Using Internet Explorer, I get ERROR 500 messages or a web page from Microsoft to the particular address no longer exists. Unable to navigate while using MSN Internet Browser. What in the world that happens to us all the MSN people?

    Hi Buck,

    The question that you are running better agrees to the MSN forum at the link below.

    http://answers.MSN.com/forums.aspx?ForumID=c58ac82d-9d92-4FE0-8681-91e2d0bb1268

    For the related issue of Windows or anything related to the Windows operating system, do not hesitate to contact us and we will be happy to help you.

  • The administrator password for all computers on the network does not work for ONE of the computers on the network

    original title: the computers of network/administrator password

    The administrator password for all computers on the network does not work for ONE of the computers on the network. I need to log on as an administrator to install software, but the password does not work. It works on other computers, but not this one. How is this possible and how can it be solved?

    Hello
    Microsoft technical support engineers cannot help you recover the passwords of the files and Microsoft who are lost or forgotten product features. For more information about this policy, please refer to the below sticky

    http://social.answers.Microsoft.com/forums/en-us/vistasecurity/thread/3eba3150-8742-4264-be9f-0daaad2282cd

  • spell check does not work for dreamweaver Uppercases how can I get it back?

    spell check does not work for dreamweaver Uppercases how can I get it back?

    Hello

    Dreamweaver is an Adobe product. I suggest you to contact Adobe support for assistance. Please post your query in the Adobe forums.
    Dreamweaver

    http://forums.Adobe.com/community/Dreamweaver

Maybe you are looking for

  • I need to move a screen all at once and do not see the scroll movement.

    When I hit the space bar on the screen down, all dragging to the top makes me carsick. I don't want to see it, I want to just jump down. Is there a way to do this in Firefox? I have a Visual and neurological disability, so this isn't something I can

  • SD card slot

    Im not very tech savvy and it may seem a bit of a silly question. Can anyone tell me if theres a secret at the opening of the SD card on my new spectrum of HP X 2 card reader... I tried to open it with a clip, etc, but without success. Thank you adv

  • HP nc8430

    Nice day I installed win7 64 b on HP nc8430... When I I c onnecter for external LCD screen, it says no signal do I have to load drivers AVG? If Yes can you kindly helped me with them. Thank you

  • Office jet pro 8500 a909 model: network by current holder wired online

    I am trying to connect to the printer via the system by current carrier instead of the ethernet directly to the router. Can't seem to make this work. Just endless lop. Is this possible or should I try something else?

  • How to calculate the slope of the curve XY?

    Hi all I want to calculate the slope of a curve XY, for example, the position v.s. amplitude. I tried to use the derived method but failed. Could someone help me with this problem? The example of vi. is attached. Kind regards Nicky.