Trains of pulses from switching on the fly

Hello.  I'm having a problem with my state machine.  To my experience, we need to have a two trains different pulse at the request of various properties with and the idle state of the activity.  To do this, I thought that a simple state machine would meet all my needs.  However, my state machine appears to be locked in any case I chose when I hit the run button.  I suspect it has something to do with how generate impulses, which is to call a task request node repeatedly using a while loop.  My initial solution was to include just one button to stop this loop before moving my case, but it was ineffective.  Not even stop the state machine, that's when the loop has been able to stop the signal.

Now I think I have what I want, need or change how the task VI stop and screw clear task are called (simple wiring in my case), or some commands that resets any process when I switch my machine of the State to another State.  It's probably something simple I forget, but I don't really know where to start.  It seems it would be easy in view of the nature of the State machines.  I have attached a sample VI, which is a compact version of my work VI, which implies a synchronization pulse to synchronize several channels which would pass them all when status changes.

Note: The idea is to have the program running at all times and relaxation with a button or a switch in the experimental field.

I use 2009 SP1, if you're curious.

If you want that digital reading at each iteration of the loop, you must place the Terminal inside the loop. Currently, it is only read once at the beginning of the program, and then never again.

Try execution highlighting to see for yourself.

Overall, you have to rearchitect the whole program. Currently, it requires controls to be pressed in a certain order.

Tags: NI Software

Similar Questions

  • BlackBerry Smartphones from switching to the network of the company for streaming?

    I want the box under Options tiked
    "switching to the enterprise network for broadcast?

    Yes, you want to tiked this box, it's under Options in browser B of B.

  • BE11d all operations on PowerVault train non-stop from switching (in use) between the 2 drives.

    Hello

    Without any operation in which I run on the result of stopover 'in use' tape library readers toggle.

    I see readers:

    IBM 1

    IBM 2

    and what do I start (clear, scan, inventory, backup, you name it...) translates the above behavior.

    I can see all the slots and all the tapes with the correct bar codes in the Backup Exec library.

    I finally had to cancel the work after a while. 40 minutes to erase a tape should be enough I think.

    When I insert a tape to the library in a drive using the web interface library, it does not show the devices to BE, it is shown only if it is still in a slot.

    I restarted the server and the tape library.

    Operating system is Windows 2003R2

    No idea why and especially how to solve this problem?

    Thank you


  • Can PCI 6602:How I use digital lines of the Board of Directors and at the same time to generate trains of pulses by using a meter?

    Hello!

    My problem appeared when I tried to update my traditional NOR-DAQ legacy code to DAQmx.

    I use 2 meter (meter 5 and 7 meter) on PCI-6602, to generate trains of pulses, as well as the lines of e/s digital port 0 (the form lines from 0 to 7). What I do in my request, it's that I'm starting to generate the pulse train on the output of 2 meters and after that I play with the State of digital lines.

    Traditional, it was no problem to use the meters and digital lines at the same time, everything went perfectly, but in DAQmx, is not possible.

    What's happening: I start generating train of pulses on the output of counters, no errors, but when I try to change the State of a line of digital port the generation of the pulse train is stopped. What happens when I start the task associated with the digital way.

    My question is: is it possible to create a channel on digital lines without changing the channels created for meters?

    Another thing that I managed to do with the panels 'Measurement and Automation Explorer' and Test for PCI-6602, is basically the same thing, I generate trains of pulses on the output of the 7 meter and try to start a job on the digital line, but I get an error:

    "Error-200022 occurred in test Panel.
    Possible reasons:
    Measurements: Resource requested by this task has already been reserved by another task.
    Device: Dev4
    "Terminal: PFI8.

    On the contrary if I use the counter 0 or a counter 1 to generate trains of pulses I encounter the same problem.

    What resources are used by 2 to 7 of the PCI-6602 card counters and the counters to 0 and 1 do not use?

    Thanks in advance for any answer!

    Ciprian

    After doing some real tests on this device, I found that it is a normal behavior for the jury of 6602.  This is because when you start a task digital all 32 lines are configured for digital i/o, so it replaces your meter operation.  The article below the link explains a little more on this subject.  You must start the digital task before the task of counter to use the features of both in your program.

    2 meter and above will not work correctly when you perform digital i/o on NI 6601 or 6602

    http://digital.NI.com/public.nsf/allkb/43F71527765EEC3886256E93006CD00C?OpenDocument

  • In the latest versions of FireFox, there's a display option which allowed a change in the size of the fonts and objects on the screen temporarily on the fly. This seems to be missing from version 6.

    In the latest versions of FireFox, there's a display option which allowed a change in the size of the fonts and objects on the screen temporarily on the fly. This seems to be missing from version 6. It was very useful and should be added to version 6.

    https://support.Mozilla.com/en-us/KB/how-do-i-customize-toolbars

    If you mean the - and + Zoom control so it is always there in Firefox 6.0

    or
    View-> Zoom

    Edit: I see that you are using Windows 7 where the menu bar is hidden as a Firefox orange button by default. Some menus objects much may not be visible in the menu of the Firefox button. Show the Menu bar or use the - and + Zoom controls buttons.

  • I need to generate 3.3 V logic level Digital train of pulses with the NI PCI-6221. Can I change the level of 6221 OR logic output?

    I need to generate 3.3 V logic level Digital train of pulses with the NI PCI-6221. Can I change the level of 6221 OR logic output?

    The output cannot be changed. 5V to 3, 3V level controllers are readily available (Maxim, I think). As long as the scanning speed (etc.) is fast enough for your pulse train, even 3, 3V regulator would work. I don't know if NEITHER offers a module to condition TTL levels.

  • I have only 2 computers, a desktop computer and a laptop computer. Yet, every time I switch from one to the other, I get a message that I am already connected to TWO. It's impossible because I only have 2 and it is not connected. Any suggestions on fixing

    I have only 2 computers, a desktop computer and a laptop computer. Yet, every time I switch from one to the other, I get a message that I am already connected to TWO. It's impossible because I only have 2 and it is not connected. Any suggestions on fixing that?

    Hi Kelly,

    Maximum machines, the license can be activated is 2. Somehow, it seems that on your side the same license can be activated on any 3rd machine as well.

    Activating the license on any other machine, please select the option to disconnect all other devices and try again.

    Reference: connect and disconnect activate Cloud Creative applications (deactivated)

    Kind regards

    Sheena

  • Not sure... Program of cloud or Photographers' creative? I'll be able to switch from one to the other, AFTER I paid monthly fees of correspondents afterI have updated my billing information? Most fees/membership will be distributed accordingly?

    I'll be able to switch from one to the other, AFTER I paid the monthly correspondents after that I updated my billing information? Most fees/membership will be distributed accordingly?

    All CC commitments are for a year at least. You can switch to a higher level at any time program, but the demotion to a lower level can be a set of songs and dances. Whatever it is, you will still have to get in touch with aid for sale for these questions, so there is little point in dragging this post and explaining everything "and if...?'s.

    Mylenium

  • How to move a virtual machine from one virtual switch to the other since the SDK / command line?

    How to move a virtual machine from one virtual switch to the other since the SDK / command line?

    Joshua Smith

    Are you referring to the evolution of the virtual machines network portgroup of one to the other and in your case potentially issue on to another vSwitch? If so, take a look at this script: updateVMPortgroup.pl everything you do really makes a call to ReconfigVM_Task() and passing in a specification change and put to day the network in which you want to change

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    repository scripts vGhetto

    VMware Code Central - Scripts/code samples for developers and administrators

    150 VMware developer

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    Twitter: @lamw

    If you find this information useful, please give points to "correct" or "useful".

  • I have photoshop elements 11 and the new lightroom 6.  When I move my files from lightroom to elements raw can't read the files.  If I switch to the photo 13 elements will be able to read the raw files, so I can work on the image?

    I have PS elements and lightroom 11 6.  When I move my raw in ps files it cannot read the file.  If I switch to the elements ps 13 that he will be able to read the raw file. so I can work on the image?

    Thanks, I have a nikon 5300, which I think is 9 in camera raw supported.

  • What is the best way to switch between the two sets of bookmarks, say 'work' and 'private '?

    I want to use for sets of bookmarks, so that when I'm not working, I'm not distracted by my favorites not work and vice versa. For the last two months, I use two user accounts to achieve, but it's kinda a PITA. Links from other applications like Thunderbird mail are opened in the default profile. In other words, when I'm not at work and I click on a link in an e-mail, a new window opens with the work of my Firefox profile.

    All I need is a thing or an extension to switch quickly sets bookmark. Or a way to switch profiles without having to open a new Firefox window. Any ideas?

    You can not get Firefox works as you explain that you want. The default profile cannot be changed on the fly for the profile you are currently using. This message "Firefox is already running... "returns to cause you or 'something' trying to open a profile 2 (or later), unless -no-remote command has been used to open the additional profile. And -no-remote will not work to open the default profile without causing problems with the way Windows works with "call" the default browser.

    In response to your last statement - "to separate my work and private stuff I just need to change the content of my bookmarks bar, so I was hoping there was a trick to keep groups of favourites."

    This extension will allow you to change the Bookmarks Toolbar folder while you use Firefox.
    https://addons.Mozilla.org/en-us/Firefox/addon/set-as-bookmarks-toolbar-folde/
    I just installed this extension and check that it still works in 35 of Firefox.
    There is a context menu item for 'Set as Bookmarks Toolbar Folder' ' which appears when the Menu Bookmarks menu Bar drop-down is used (not in the library window or the bookmarks bar). This menu item is displayed when you right-click a folder in the folder Menu bookmarks. It does not appear with the folder "Personal bar" or the "Unsorted Bookmarks" - only a folder in the Menu "Favorites".
    Should be 'resolved' eager to have two different settings for the bookmarks toolbar, but the profile default 'thing' is always a problem for what you are trying to accomplish. I don't 'see a fix' for that - without resorting to a 2nd user account window, which is what I thought you were referring to by "I use two user accounts to achieve" in your initial post.
    And because the menu bar is hidden by default, these days, you can use Alt and B to open the bookmarks menu dropdown Bar Menu 'revealed' so you can access this menu "Set as bookmarks toolbar folder" item - without having to show the Menu Bar all the time.

    BTW, using 'accounts' instead of 'Profiles' can be confusing during the review of Firefox profiles.

  • Generate trains of pulses overlap several

    I need to generate signals up to 8 TTL pulse, train up to 500 Hz with heavy duty from 0 to 100% open and close the valves with an accuracy of timing of 5 microseconds.  The pulse trains will be spread with equal delays and begin with a single trigger.

    i.e.: If you have a period of 40ms and 8 valves, there will be a 5ms delay between each pulse train early. Each will have the same duty cycle and the period.

    Trains of pulses must be performed simultaneously and stop when certain data criteria is met (the balance of the system state).

    My Questions:

    1 would be classified these as continuous or finite pulse trains?

    2 do I need to use a counter/timer (or 2) for each train of pulses or can it be coupled with digital output?

    3. what DAQ will have sufficient resources (counters/timers, DIO, etc.) to enable this work?

    Thank you

    1 continues.  The idea of pulse trains finished is to predefine * precisely * how many cycles to generate.  You will make assessments based on the software to decide whether to stop the pulse trains, but you will not be able to predict when this will happen in advance.

    2. all things being equal (and it's not often), I could certainly do that with counters.  You can easily reach the accuracy of your calendar and let the data acq hw do all the work.  DIO can be an option, but it could prove to be a pain in the neck to set the output buffer to handle delays including and precision, you need.

    3. I'd go with an oldie but goodie, the PCI-6602.   It has 8 available counters, as well as a little extra DIO.

    -Kevin P

  • Pulse width depends on the number of pulses (pci-6602)

    Hello

    I'm trying to generate samples done with pci-6602.

    I use CO Pulse ticks + implicit options

    External impulses is 1ms 1PPS pulse from the trimble GPS receiver

    If I set the number of pulses = 1, then I had to pulse length (high ticks - 1) =

    If I set the number of pulses > = 2 and low ticks > = 3, then I got pulse length = (high ticks)

    If I set the number of pulses > = 2 and low ticks = 2, then I got last puls width = (high ticks - 1) and all other vegetables dry with length = (high ticks)

    With a single generation pulse width pulse is (high ticks - 1)

    Is there an option to configure the same pulse width for any number of pulses for a train over (N pulse)

    screens to fix


  • Can not switch to the new AT & T send mail with Fire Fox as the brower

    Internet Explorer works fine. When I use Fire Fox only to & classic E-mail T will work. Even when you click on switch to the new AT & T email is not spending. Download Fire Fox twice. Still does not work.

    Is - what the State of the site which release the current Firefox is supported?

    Clear the cache and cookies only from Web sites that are causing problems.

    "Clear the Cache":

    • Firefox/tools > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Firefox/tools > Options > privacy > Cookies: "show the Cookies".

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

    • Do NOT click on the reset button on the startup window Mode without failure.
  • BT Yahoo mail will not switch to the new style when using Firefox

    I had to do a re - install under the motherboard has failed. I use BT Yahoo email. On the home page, I get a link "switch to the new BT Yahoo! Mail". That is the link allows to set up the new style and I can then do what the home page and opening in the new style every time. In Firefox help happens nothing other than 'click' navigation and a brief glow and I am still on the old.

    I'm glad to hear that your problem has been resolved.

    If you have not already the case, please mark this thread as solved by the solution of marking.

    This will help other users experience similar problems helps to find faster and more efficiently.

    I hope that you will continue using our products and we thank you for contacting the Mozilla Support.

    Here are the steps to make a clean reinstall for reference.

    Some Firefox problems can be solved by performing a clean reinstall. This means that you remove Firefox program files, and then reinstall Firefox. Please follow these steps:

    Note: You can print these steps or consult them in another browser.

    1. Download the latest version of Firefox from http://www.mozilla.org office and save the installer to your computer.
    2. Once the download is complete, close all Firefox Windows (click on quit in the file menu or Firefox).
    3. Remove the Firefox installation folder, which is located in one of these locations, by default:
      • Windows:

        • C:\Program Files\Mozilla Firefox
        • C:\Program Files (x 86) \Mozilla Firefox
      • Mac: Delete Firefox in the Applications folder.
      • Linux: If you have installed Firefox with the distribution-based package manager, you must use the same way to uninstall: see Install Firefox on Linux. If you have downloaded and installed the binary package from the Firefox download page, simply remove the folder firefox in your home directory.
    4. Now, go ahead and reinstall Firefox:
      1. Double-click on the downloaded Setup file and go through the steps in the installation wizard.
      2. Once the wizard is completed, click to open Firefox directly after clicking the Finish button.

Maybe you are looking for