What is the easiest way to toggle meter terminal when the time is up in the complete example of PWM?

I successfully downloaded and run this: http://www.ni.com/white-paper/2991/en

and I know it works because I can see the pulse train on channel #1 on my osciloscope.

I modified the code example from the Web site to use width and pulse rate buttons which can change dynamically:

What I want to do, it's the 'Dev1/ctr1' to choose ' Dev1/ctr0"every 10 seconds.  I studied in the express vi "Time expired" and I am able to correctly count the number of times the elapsed time, however when 10 seconds have elapsed I can't just update input toggle "CO Pulse Freq" with a different counter of entry because he has already spent this object and is busy running in the loop above.  How can I reset the pulse to run with a different counter entry?

In short, the express VI time works perfectly in itself, but once the time how can I force the restart of the train of pulses with 'Dev1/ctr0?

Assuming you want to toggle the control from 1 to 0 and all ten seconds back and reset on the other channel... index in the array to write values to one or the other channel.

Tags: NI Software

Similar Questions

  • What is the best example of HTML5 that created by html5

    What is the best example of HTML5 that created by html5

    I'm not 'Best', but USA Today is a good example.

    http://appworld.BlackBerry.com/WebStore/content/22054315/

  • What is the "complete" package creativecloud get you?

    I am looking for the After effects cos I'm looking to learn new things and After Effects looks like the next best thing to learn. However I have noticed that you can no longer only it seperately (?), you must get it from one of the packs CreativeCloud, the "Complete" package for £46.88 / mo. What exactly the "Complete" package include?

    Thank you

    You can still register for After Effects just if you want to.

    Just go here:

    https://creative.Adobe.com/plans

    ... and choose the option "Single App."

    About what comes with full membership of creative cloud, see the following page:

    https://www.Adobe.com/creativecloud/catalog/desktop.html

  • What is the meaning of fault bucket - 0xA_nt! KiUnwaitThread + 1 b, type 0 error on blue screen?

    Help! I need to fix the blue screen...

    Hi JeanLinendoll,

    (1) what is the complete error message you receive?

    (2) since when you experience this problem?

    (3) remember to make changes?

    (4) when exactly this question produce?

    I believe that you are able to get on the desktop after the system hangs, follow the below steps to fix this problem.

    Method 1: you can follow the steps described in the article below, which deals with a similar question

    You randomly receive an error "Stop 0x0000000A" in Storport.sys when you start Windows Vista
    http://support.Microsoft.com/kb/930261

    Method 2:  Select the boot and then check if the problem persists

    Follow step 1 in the link below,

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    If everything works well after a clean boot, you can deduce that some third-party services are at the origin of the problem.

    Continue with the remaining steps to pin-point on the third party service.

    After find you the program that is causing the problem, you will have to perhaps to update or install a newer version of the program, if you rarely use that you should consider uninstalling the software.

    Important: n ' forget not to put the computer to a normal startup follow step 7 in the link

    Method 3: You can also follow the steps mentioned in the article below

    How to fix BlueScreen (STOP) errors that cause Windows Vista to shut down or restart unexpectedly

    http://support.Microsoft.com/kb/958233

  • What is the easiest way to improve the operating speed?

    What is the easiest way to improve the operating speed?

    Buy a new Mac.

    C.

  • What woulld be the easiest way to record and save everything that is stored on the computer.

    I am a newbie and the computer is an hp with vista windoows. My question, what woulld be the easiest way to record and save everything that is stored on the computer. Thanks in advance

    I am a newbie and the computer is an hp with vista windoows. My question, what woulld be the easiest way to record and save everything that is stored on the computer. Thanks in advance

    You can read this article on the backup that I wrote: 'Return to top your computer regularly and reliable' to http://www.computorcompanion.com/LPMArticle.asp?ID=314

  • What is the easiest way to write a letter with Mgr Page.?

    What is the best way to write a letter to Msgr. page in El Capitan?  It seems that I have to use far too many steps.

    What measures do you use?

    Please tell us so that we do not repeat what you have already tried to use.

  • What is the easiest way to get the list of agents under 3.2.1 remote hyp

    What is the way of the easier to get a list of agents on clients running remote hyperic 3.2.1.
    I nned to put the list in a file for use by a script.

    I just upgraded to the point 4.1.1 of the HYPERIC server and have many remote clients
    3.2.1 running... I need to generate a list in a file of all current officers 3 2.1 talk to the
    4.1.1 server, so I can upgrade... What is the best way in Hyperic to generate such
    a file. I habve summer watch admin helper but have not put it on my production HQ
    servers again... Quest for the best way to generate this file.

    You can use HQApi:

    list resources - prototype "Agent HQ" = de./bin/hqapi.sh - name = "." * 3.2.1. * »

  • What is the easiest way to convert to the format of a page?

    I have a big file configured as facing pages with master pages with different margins. If I want to change if I need to print is more output 2-sided but rather 1-side, what is the best way to change the file? Do I just delete one of the master pages and reset the margins?

    Thank you

    Richard

    Configuration of Document... file and uncheck pages face to face (and which allows the adjustment of the layout first would be a good idea). The file is not connected to the one it will use only the right part of any master of two pages.

  • What is the easiest & fastest way to install Win XP on Satellite P200-14U

    This computer came today and was shipped with preinstalled Vista. I use XP Pro, so for now I install XP Pro. But I guess, that all drivers for graphics card, etc. etc is removed during the installation of XP.

    What is the easier and faster to install these drivers - going XP Pro do this automatically?

    Another thing is that I deleted (by mistake) the small partition that was to be used to reinstall the Vista installation. Is it possible to remind this partition (t.ex. with Partition magic), because the data are not erased (or is it?). Or maybe it will be totally erased when installing XP?

    Hello

    Yes, all drivers will be removed. You need to download the XP drivers for this machine on this site:

    http://209.167.114.38/support/download/ln_byModel.asp (Toshiba of Canada limited - drivers and downloads)

    No, XP will not install automatically, you will need to do. But you worry it s a piece of cake, Don t.

    Regarding your question of Vista: no s is not possible. Data are deleted because you deleted the partition table that describes where the data is located. Without it, all data is lost.
    I hope that I can help you

    Welcome them

  • What is the best way to copy the 700 lots of e-mail files to a new computer?

    I'm moving my wife and an old (Thunderbird, Win XP) computer to a new computer (Thunderbird Win 7). It has about 700 local folders with thousands of emails in them. What is the best way to copy to the new computer?

    The easiest is just to copy the whole profile.

    Menu help > troubleshooting information

    Close Thunderbird

    In windows Explorer, select all and copy.
    just stick on a thumb or other portable media to read/write (not the CD or the DVD)

    on the new Machine to repeat the troubleshooting and close the steps to get the current profile folder

    This time all the portable media stick in the profile to replace what is there

    Open Thunderbird, your additions of e-mail contacts does it all

  • What is the "right way" to archive watched as TV shows to save space on my SSD in iTunes 12.3.3.17?

    I 212,92 GB in my iTunes Media folder on my Mac Book Pro with 751,28 GB SSD and I need some SSD back space.  I saved the file whole iTunes on an external drive, and I use a time Machine TB 3.  What is the 'best' way to remove TV shows I have watched but you may want to look again to retrieve the piece on my SSD?  Is it somehow within iTunes to do this, it can easily reload archived videos?  (For example like the original tΘlΘcharger the cloud when I bought it, but now my own sauvegardΘ?) p.s. Sorry, but none of the categories seem right for this issue. LRC

    A few options, I can think. One is to simply copy the media itself on the external drive and remove the entry from the library in iTunes. When you want to use it then "add you" the external file to iTunes that will put a copy on your computer that can be removed again after having watched.

    Another option is to create a separate library for items stored on your disk to archive.  Create a new library by holding down the option key while starting iTunes and tell him to put on the external drive you use for videos.  Drag the items currently there in the folder automatically add to iTunes in the Media folder on the outside.  Toggle the use of the library back if necessary.

    You need to maybe turn off or change automatic downloads so that they are not constantly re-uploaded in your main library.

  • What are the channels of meter on SMU-6361 pinout diagram

    Hello

    I've defined three channels of counters to help assistant DAQ for the SMU-6361 (ctr0, ctr1, ctr2) jury. I don't see any explicit labels on the pinout for the SMU-6361 card diagram indicating where are these counters. Can someone tell me what are the pins / labels on the diagram pinout for these counters?

    Thank you very much

    Hi Larrage,

    The best way to find the default pins use the DAQmx help file. You can reach to the MAX by clicking Help > Help topics > NOR-DAQmx > NOR-DAQmx help. In the help file, you can search for 'Connect signals to Counter' and click the link for the series of cards you have (series X in this case).

    In your case, the default meter terminals for ctr0, ctr1, output and ctr2 would be 12 PFI, 13 and 14 of the PFI PFI, respectively. Counter (for edge counting) entries would be 8 PFI PFI 3, PFI 0 to counters of same. You can change the terminals of input/output for counters in your VI or MAX, but these are the default values for the card.

  • What is the best way to identify corresponding ctrl/indctr an orphan of the label?

    Forgive me for what may be a stupid question but in some sort a label has been separated from its control or its indicator in my original (large) block diagram - I'm curious to know if there is a quick way to find the associated control or indicator? Maybe a combo strikes of somesort?

    Thank you

    -pat

    Don't know if it's the easiest way, but you can try this:

    Select the orphan label on the BD, press CTRL + F (opens the find and Replace dialog box)

    Select search text

    Type the label name

    The search result should show 2 results, the label of the control in the public Service and the label on the BD

    If you go in the control and right click and select find terminal, you will find the terminal associated with the label an orphan.

    Ben64

  • What is the best way to repeat a subset of instructions box a fixed number of times

    I have a state machine with a structure of enclosure containing about 30 cases. Whenever the case #20 is called, what is the best way to repeat the case #20 throught #25 within the affair 10-fold structure before moving to another record number?

    Put the register shift outside the structure of matter which changes state.

    Set it to 1 initially.

    In each case, pass directly through without changing it.

    The only case that could change the value is 25.

    If the value is 9 or less, go back to section 20 and increments the counter by 1.

    If the value is 10, go to box 26, and return the meter to 1.

Maybe you are looking for