How to insulate the wait at some of the code function

I'm building a system to applaud ecg with an external Stimulator using TTL of programming impulses to work along the side of the information obtained from the ECG. The most important of these features is the heart rate. However, whenever I activate my pulse trains in the code, the function DAQmx wait until Done.vi made a break measure everything in the code, including the part of my code that monitors heart rate, which uses time to for. What I would like, is the wait function only affects the pulse train generators without a break anything else in the code. Is this possible? And if so how can I get there?

I will attach my vi

Your problem is that everything is in the same loop.  If the longest operation is going to determine the flow of the loop (and therefore rates of treatment).  What you really need to do, is to separate tasks on separate loops.  Use of queues or notifiers to communicate your data and commands between the loops.

Tags: NI Software

Similar Questions

  • How to get the code produced for my Windows XP disc if I have the drive?

    Acquisition of Product Code Windows XP

    How to get the code produced for my Windows XP disc if I have the drive?  I signed the BONE when I bought it all first, but have no way of knowing if this is the way to receive a copy of the product key.

    Here are some utilities, which will display your product keys:

    Belarc Advisor: http://www.belarc.com/free_download.html
    (He did a good job of providing a wealth of information.
    However may not detect a key to office, then try one of the other two below)

    Also: http://www.nirsoft.net/utils/product_cd_key_viewer.html
    and: http://www.magicaljellybean.com/keyfinder.shtml

    Paid (free demo is available): Recover Keys: http://recover-keys.com/
    "quickly scans your system for more than 3000 + software '.
    and produces a list of software activation keys.

    13 keyfinder programs:
    http://pcsupport.about.com/od/productkeysactivation/TP/topkeyfinder.htm

    J W Stuart: http://www.pagestart.com

  • How to activate the Sleep function to put the computer to sleep if a program is open?

    I have Windows Vista basic on a desktop Dell 530.  I found that if I have a program or application running (such as I-tunes or windows media player) then the Sleep function will not put the computer to sleep.  How to activate the Sleep function to replace these programs and put the computer to sleep?

    Note: This is how it was with windows XP, the Sleep function would put the computer to sleep no matter what was running, he was reliable, if you left the computer and I forgot that you had something running.

    Thanks for your help.

    Hi kevino4130,

    If you disable sharing on your computer (not only the power settings) of media, it should allow him to enter the mode 'sleep'.

    See if that does not solve your problem and let us know.

    Dave D

    Dave D
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to associate the key function on thinkpad T61p

    How to associate the key function on thinkpad__Fn Key__Hibernate mapping of keys for Lenovo Thinkpads

    How to map the keys "Fn F4" on my Thinkpad T61p to keyboard MS Wireless Comfort Keyboard 5000 to Hibernate?

    Your Thinkpad keyboard doesn't have access to the MS Wireless Comfort Keyboard 5000 drivers, firmware and add the functioon of Microsoft for the Thinkpad (and vice versa).

    Here is an article on how to remap the keys in Vista (with a link to a program that will help): http://www.howtogeek.com/howto/windows-vista/map-any-key-to-any-key-on-windows-xp-vista/. I don't know if this works with the function keys, but it's worth a try.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to create the .cod file to run on the Simulator BB9900

    Hi, I already from the zip package in order to use the bbwp command to create the .cod file and be able to run on the simulator of BB9900, but when I run this command as described in: https://developer.blackberry.com/html5/documentation/compile_ww_app_for_smartphones_1873321_11.html

    It creates two files, each with a .bar file, this type of file, I can't run it on the 9900 Simulator but a .cod file is required to run applications on the sim card.

    I don't know how to create the .cod file.

    Thank you

    Have you used Blackberry Webworks SDK for smartphone or Tablet SDK? The .cod files should be located in the subfolder OTAInstall of your output folder if you are using the Webworks SDK for Smartphone

  • How to use the @accum function in the calculation script

    Dear all.

    I'm new in essbase - calculation script so don't know how to use the @accum function.

    I want the aggregation value of child to parent

    Hierarchy

    Product

    100 > Storage Dimensions marked as stored (marked as intentionally as I want to calculate the value using the calculation script)

    100. 10 (+)

    100-20 (+)

    100-30 (+)

    I'm trying calculation Script

    100 = @Accum (@children("100"), jan: Feb);

    It works when I use below

    100 = @Accum("100-10",Jan:Feb);

    Error:-number of Dimensions [1] does not match number of gen/lev [3] office [@Dim]

    Don't know how I can roll up to an aggregate value of all the members of the child to the parent.

    Error.PNGhierachy.PNG

    you do this more difficult it must be. If you want to accumulate up to 100 then you could just make your calc

    '100 '.

    but that would be only 100, to make the OU any dimension would

    AGG (Product);

    Or better yet

    AGG (Product, Market);

  • How to copy the code snippet?

    Hi all, please help me. How to copy the code snippet? (screenshot)

    div.png

    If you want to avoid using drag-to-select your operating system function to select blocks of code starting and ending with a specific tag, you can do the following...

    1. click anywhere in the code in the tag/block to copy
    2. click on the button select the Parent tag in the toolbar display of Code on the left side of the display window of the Code (the icon with a pointer arrow inside sharp brackets)
    3. press Ctrl + C

    Repeated by clicking on the button will continue select parent tag higher following.

  • How to use the NVL function in decoding?

    Hi all

    How to use the NVL function in decoding?

    SELECT Decode (Sign (sum (nvl (7), 0)-nvl (sum (5), 0)), - 1, 0, (sum (nvl (7), 0)-nvl (sum (5), 0)) QTY)

    of the double

    Thank you

    You should not do that...

    Greatest (NVL (Sum (Quantity), 0)-NVL (SUM (quantity_received), 0), 0) AS qty_arrival

    will do the same

    HTH

  • How to access the dehaze function in Photoshop?

    How to access the dehaze function in Photoshop CC? This is supposed to be present in the new versions of Lightroom and Photoshop. I see it in Lightroom, but it cannot fine in Photoshop. Thank you.

    It is in camera raw.

  • How to call the java function with javascript setting in mobile adf?

    How to call the java function with javascript setting in mobile adf?

    The ADF Mobile utility container API can be used from JavaScript or Java.

    Application container API - 11 g Release 2 (11.1.2.4.0)

  • How to move the code from right to left display panel

    How to move the code from right to left display panel

    You don't mention what version you have.  Go to view > uncheck the box design on the left.

    Nancy O.

  • How to activate the search function.  I get no match found when I search for words on the scanned PDF document

    How to activate the search function.  I get no match found when I search for words on the scanned PDF document

    A scanned document is just an image; even if it contains text, it is not searchable.

    Put text in a scanned image available, you will need to perform the recognition of text (OCR), which can be made with Acrobat, but not the free player.

  • Oracle: how to use the max() function in expression box

    How to use the max() function in the case where expression, please explain with an example

    Hope this helps and should be explicit

    with t as
    (select 1 col,100 col2 from dual union
    select 2 ,100 from dual union
    select 2 ,200 from dual union
    select 3,100  from dual union
    select 3,200  from dual  )
    select col, case when max(col2)=100 then 'with 100 range'
    when  max(col2)=200 then 'with 200 range' end  from t group by col
    
  • How to check the code of the generated report

    Hi all

    I need to change a standard module of PA report. The name of the report is "people's Republic of CHINA: distribute its use and miscellaneous charges.
    The method executable is GENERATED. The name of the executable file is PASDUC.
    Please let me know how to check the code of the present report and in what way I can locate the report.

    Kind regards
    Mahi.

    Thanks Sandeep, appreciate your words :)

    Kind regards
    Hussein

  • How to use the goto function?

    How to use the goto function in indesign javascript?

    my script begins by chekcing if the input files are present or not... If one of the input files is not present, I want the n function put an end to the operation in the display of the message tht file exists... I was wondering to use goto for tht... then how to use it? or is there an alternative to that?

    GoTo is generally frowned upon by the programmers.

    The only legitimate use of goto is when you need to escape from a nested loop.

    If you need to jump into a routine, use break or simply in return from the current function.

    The model currently used by the SDK looks like this:

    do
    {
         if(condition1 == false)
              break;
         if(condition2 == false)
              break;
         if(condition3 == false)
              break;
         doSomethingReallyCool();
    }while(false);
    

    'break' the jumps at the end of the do / while loop that always comes out when you reach the end of it (while (false))

    Substances

  • How to order the code so that it is very.

    Hello.

    I will start by saying that I am very new to flex.

    I have a very basic question which I hope will be very easy for you to answer:

    I want to create a great application in flex and not sure how to order the code so that it is separated into blocks of code. I want a tool like the php include function, or at least be able toseperate code so that it won't end up as a big chunck of code on a single page.

    What do you think is the best way to do this?

    Thank you for your time.

    You start in Flex, but if you are not new to programming in general, you have probably heard of the MVC design pattern.  In consider sure Adobe Cairngorm for Flex and MVC, check Mate, PureMVC and well.  In my view, however, MVC is overkill in many situations, even large apps (unless they are multi-developers projects).

    You can also look in code-behind, a model of design often seen in c# work, although I have not used it myself.

    Do as the second poster mentioned and split your application into sections MXML and Actionscript, but go further and split your application into several custom components.  Each component can have its own file MXML and Actionscript.  I found it's way faster and easier to organize even large applications.

    Programming Flex 3 from Oreilly publishing has a large section on how to break down your application into several manageable components.  And there is probably a chapter like him in many Flex books.

Maybe you are looking for