How to reset a structure business?

Hello

I use two ports of rupture of laser beam attached to an NI USB-6259 data acquisition.  What I would like is to have the second port inactive until the first port is triggered.  Once triggered, I want the second port to be active for a time window.  During this window, I want the second port action only once, even if the breaking of the beam remains broken.  I've developed two solutions to this problem involving case structures, each of them also and have problems.  If I use a while I can define the action that is triggered to cause the loop stop, but this program does not give me a window of time to loop.  The two beams must be broken at the same time.  The other solution uses a loop for who gives me the desired time window but continue trigger action if the beam remains broken.  It is also not reset after the second beam is broken and has finish the loop itereations.  Does anyone know how to fix this?  Basically, I need the case structure to be reset once it is triggered.

Hi REK.

What you could do to alleviate this problem is to compare iterations of the while loop to a constant and then also use it as a stop condition. In this way, your program can use the Boolean value of the sequence of the structure or iterations to stop all loop. How this would be using a higher function to compare iterations to a constant, for example 39 if you want to stop after the 40th round. Then wire which and the Boolean value of a sequence structure or function (in the palette of the Boolean) so that if either sends a real response he will send that to stop and put an end to the process.

Let me know if it works for you,

Peter W.

Tags: NI Hardware

Similar Questions

  • How to reset the Vista business with BitLocker active user password

    I'm running Windows Vista business and you forgot my password. I am the user only administrator on the machine. I also enabled Bitlocker. I have the BitLocker password. How can I reset my account password.

    Thank you

    Hello

    I'm sorry, but the strategy of microsoft in these forums is that without assistance will be given about lost or forgotten passwords

    read the policy at the link below

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-security/keeping-passwords-secure-Microsoft-policy-on/a5839e41-b80e-48c9-9d46-414bc8a8d9d4

  • How to control the structure of the event

    What I'm trying to do, it's when the condtion is true, I want that the structure of the event to excute. But the event structure wil excute not except if he's changed the puch model, any idea how?

    It is more likely that he wants the sequence of events that he has set up to run after the result once changes.  If you change the logic to check the values after each numeric change (2), you will need to learn how to check to make sure that the latest iteration was not true.  Otherwise, it will start the sequence over and over.

    Really, you have to escape completely the structure of the event.  This isn't what you want.  Your code lends itself to a great state machine.

    You'll want to ask you a few things:

    (1) I want my code to run continuously or I just want to check double-digit times? (your code is currently the second)

    (2) I want the user to be able to stop my code once the sequence begins? (it is usually a Yes)

    (3) what I want 6 Road, path 5 or the comparison to happen first?  I want all run at the same time?  Do I need one before the other? (currently, you cannot predict what will happen first).

    You will need to understand the topics are: State of the machines, the flow of data, structures, business, calendar, and race conditions.  Now, you need to get you into trouble.

  • How to reset a while loop based on a value change event?

    Hi all

    I work in a labview program that sends voltage to a laptop via USB 6008, tension is amplified by an op-amp, and then he comes back in the laptop. I created a program and a working circuit, but my current challenge is how to reset the average of the values of voltage coming into the laptop, after that the user changes the digital control (which controls the output voltage). In other words, I need to be able to reset the number of iteration and the sum to 0 each time this happens.

    I looked upward to reset the counters of iteration through shift registers, but I'm not sure it will work in this case, but I'm also not sure how to reset the sum of an array (if possible). I have spent a lot of time to read these forums and tutorials from various sites, so I think it can be done with the correct nesting of the case structures, structures of the event and while loops, but I don't know how. I am new to LV, just started to learn in mid-January, so any help is appreciated.

    Thanks in advance,

    Graeme

    You just need the structure of single event with the bargains.  Use the case of timeout to get your new values and find the average (100ms timeout value and get rid of the wait function (ms)).  Keep the amount and the number of items in the shift registers.  Wire these values through each case of the event.  In the event of changing the value: control, just set the values to 0.  Then add a Stop button value change event to stop your program.

  • HP support don't know how to reset regionalization, now what?

    I buy a powered OfficeJet 4620 in Germany in February 2013.

    NOWHERE in the documentation of the product he mentions the ink cartridges are regionalised (defeats the purpose of even making a 110-220v device! But I digress).

    I moved to Florida in June and yesterday my black ink starts to run out.

    The needs of the 'regionalisation' Reset printer that cannot be performed by HP support, as indicated by their own Web page:

    http://support.HP.com/us-en/document/c02558798

    Another description of him here:

    http://www.FixYa.com/support/t156381-change_region_code_ink_cartridges

    I call HP support and waste an hour and a half with a girl in the Philippines until finally, she tells me that I need a complete set of USA ink cartridges in order to perfom the procedure (which seems to be not true, you do not need to reset the printer, but rather, it seems, you need simply if you want to print anything after the reset was carried out) (, if for no other reason but to check that the reset was successful). She claims the HP support call me this morning at 23:00 they did not.

    I call HP "Support" at 1130 EST and go through the wickets with them again. This time the girl does not know what to do and is clearly completely ignorant about the fuzzy product less how to solve, and instead she's just following a script. Another wasted hour. After having been put on hold for the 4th or 5th time 15 minutes, I just hang up. (Realization later that it is a deliberate strategy).

    I give the floor again. Now I am taking the floor to a guy in India. He doesn't know what he's done and tries to guide me in the menu of support on the printer itself, but his scenario does not match the list of printer options. Back at intervals of 15 minutes waiting interrupted by him by saying: "one minute Please Sir while I check some information." Another hour lost, until I'm finally starting to realize that none of these people know what to do.

    I always call back and get another guy who leads me on the Help menu (press the button back 4 times to access this menu). I have go to the reports Menu and select the 'mech button tape printing' option, which prints a page 2 print "printer hardware. He asks me to "give him the numbers on the document, but the document has all kinds of numbers on that of serial numbers for the product numbers to other numbers with labels that are simply abbreviations. I ask him what are the numbers he needs of the two pages full of numbers and return pending I'm going for 20 minutes. He comes back and says "the long number, there should be a long number. Well the long number on the document is the serial number that I have already given during questioning initial information he did and if I ask him if he needs it again. Return pending, I go for another 20 minutes. Now the 15-20 minute hold cycle resumes, with him "check something" and he "will be immediately. Eventually he clicks just to see if I'm still on the line and immediately puts me on hold without saying anything. I put my phone on speaker, and I him wait outside, having already lost an entire morning and half my afternoon.

    However, it was the best part... HE BEGINS to PRETEND LIKE THERE IS of HAVING of PROBLEMS of MICROPHONE AND CANNOT HEAR ME (yes I know, must it do with hear me his microphone, I had the same thought). It is obvious that he has just taken his helmet on his head or moved away the microphone to his mouth and pretended that he does not hear me and he'll call me back and ask for my number to. I ask him how he's going to hear me tell him my number (which incidentally, happened already at the beginning of the conversation) and he continues his ruse. So I hang up. It is obvious that he doesn't know what to do and won't there else to help me.

    Now I remember tonight about 930 hours EST, and I get the Philippines again. I'm hollow any phase of questioning with the girl and explain to him that I need the regionalization reset performed, and all that I need is to know what are the numbers of my printer to give HP support so that they can give me the code that I have to reset this device. I have him politely say I understand if she knows not what to do or understand this procedure and that I won't be angry with him, if she is simply honest and said so, but I want her to tell me if there is someone there where she works who will certainly know how to reset a supervisor or a real technical adviser, everyone. She is friendly and honest and said it's time frst that she has heard of this, and she wondered what to do. Return pending for 5 or 10 minutes. She claims she's looking for in its 'resources' for the way to do it. Nothing. I ask him to please stop and get her supervisor, she claims she is to check with her supervisor and that they "check the resources" for the procedure reset regionalization. Stupidly, I think we are making progress.

    After 20 minutes of his constantly telling me that it checks its resources, even after I repeat what the procedure involved and that all she needs to do is find the procedure and tell me what are the numbers he will ask to the device itself to provide the reset code, I tell him to stop what she is doing and to his supervisor on the phone. She stalls. She says she's sorry, but they have never heard of this procedure before and that it will set me a reminder for tomorrow. YES RIGHT. I ask her WHO's going to call me tomorrow? She responds that it will be them, and they will have the answer. I tell him that I already heard of them before and I don't have another day to be wasted. I tell him to put his supervisor on the phone and I want the name of the one who is responsible for his office. She tries to ignore me and continues to ask for my phone number (which it already has). I press him for the name of who is in charge, and finally, she says "Peter" is the prime contractor. I tell him to "Peter" on the phone. 10 minutes waiting and later a guy takes over the line, says it is "Peter" and asks how I'm doing. I politely say I feel good and I ask him his surname. He asked why I need her family name. I repeat my question, "what is your last name Peter?"... his response? "Hello, Mr President? I can't hear you, can you hear me? "He starts playing with the microphone and put me on hold. Whenever he picks up and asks if I'm here I immediately have him ask his last name, to which he returned the ruse that he can't hear me. I stay on the line. At this point, it seems that HP should have some sort of policy where their 'Support' staff is not allowed to hang up the phone first, maybe, it is even followed as half-assed programs method internal 'Quality assurance', and these people not know and so they leave you on hold forever and wait until you hang up. So I expect Peter out for about 10 minutes, I'm not waiting because there is no music, the microphone is cut simply. I tell him that I know he's there and you can hear me, and I know that he can't hang up first, and then he hangs up quickly.

    SO, my question...

    NOW WHAT?

    How to get anything out of hand at HP when their 'support' overseas does not know what to do?

    I live in Miami and there there a headquarters in Latin America for HP. I think to walk right into the lobby and find a person in authority thatcan put me in contact with a person with an ounce of skill in the business (assuming they have one), but in all honesty, I want just the printer region d * reset if I can use these ink cartridges, I already bought and opened.

    Suggestions?

    UPDATE *.

    Someone at HP, to the United States, got wind of my post here and tried to contact me by phone and sent me a letter. On the letter, he gave a phone number and the extension to the person trying to communicate with me, apparently "in charge of my case."

    I tried to contact this person after his return from a trip outside the United States, and instead, I was connected to a woman named Ashley. Bottom line: Ashley has been very useful, direct, courteous without coming off as gushy (aka professional) and addressed this issue permanently. She had a new American market 4620 spent the NIGHT at my house in Miami.

    While I thought that the problem would be solved, this was beyond what I would have ever expected. I asked why not just perform the reset, than to go through the obvious expense of a brand new unit more for overnight shipping? She replied that she wanted to be sure that I had no future problems to the ink to 100% and that it is too possible to subsequent topics with units that have the regionalization reset the procedure being executed.

    When I asked why bother manufacturing, a dual voltage unit if the regionalization of the cartridges prevent the it in other markets without performing a procedure that HP even know is problematic? She said that HP made away with cartridges regionalized in the futre for this same reason. This information, combined with the fact that Ashley has gone far beyond what I ever would have asked that the resolution has come a long way to get HP back on my list of good... HOWEVER, HP must address than their call centers overseas. Support should be like Ashley, competent, good product knowledge and empowered to solve problems. I don't personally like if it's a Filipino or Indian, I understand business is harder to do in the United States, but if you can't get these people to meet the minimum standards, or minimum standards must be low, then they do much more harm than good and you might as well have no technical support.

    Again, the support in the USA should be the norm. The customer should not have to raise hell and let the horror stories on the internet public forums in order to get in touch with the weeks of good people more later.

  • How to reset the forgotten administrator password

    How to reset the forgotten administrator password

    You forgot your password

    Lion or later version

    Reset a password in Mac OS X 10.7 Lion

    OS X Lion mountain - reset a login password,

    OS X Mavericks-solve password problems,.

    OS X Lion-Apple ID can be used to reset your password for the user account.

    For Snow Leopard and earlier with installer DVD

    Mac OS X 10.6 - If you forgot your administrator password.

    OS X - change or reset a password for account (Snow Leopard or earlier version).

    For Snow Leopard and previous without installer DVD

    How to reset your Mac OS X password without an installation disk. MacYourself

    Reset password for OS X without an OS X CD - Tech News and Analysis

    How to create a new account administrator - Mac Hack

  • How to reset AirPort Extreme 10.11.6 OS? How to work with this pinhole? I'm trying to get rid of this flashing yellow light, which began after I installed a new modem from Comcast.

    How to reset AirPort Extreme 10.11.6 OS? How to work with this pinhole? I'm trying to get rid of this flashing yellow light, which began after I installed a new modem from Comcast.

    How to work with this pinhole?

    Usually a paperclip or toothpick or ball pen.

    Stick it in the hole and reset for about 10 seconds until the front led flashes quickly.

    How to reset AirPort Extreme 10.11.6 OS?

    The software method... Unlike the above material method... is to open airport utility and select restore default settings.

    Both methods take you to the same place.

    You can also read the manual...

    Reset to a base station AirPort FAQ - Apple Support

  • How to reset the lost password admin

    How to reset the password for the admin on my mac?

    Restart your mac and hold ⌘R immediately. Keep until the Apple Logo appears. This may take some time for your mac start. Once this is the case, select Terminal in utilities > Terminal to the Menu bar above. Once the terminal appears, type

    ResetPassword

    A password reset Wizard will appear. Select the appropriate account, and enter the new password. Then tap Save. Then, click the apple logo in the corner, and tap on choose Startup disk. Click on Macintosh HD and press ENTER.

    You should now be able to use your new admin password.

    Good luck.

  • How to reset the time to 0:0 seconds to 1 Bar?

    I don't know what I did in my project, but somehow my scale of time lag between my rule of measure.

    The time remains just 0:0 until the playhead reaches 20 Bar of the project then starts counting from 0 there.

    Can someone please tell me how this happens and how to reset so the time progressive count between 0 seconds starting at 1 Bar (instead of starting at 20 Bar as shown)?

    Thanks in advance!

    See below... This should solve your problem...

  • How to reset a password backup encrypted you?

    How to reset a password backup encrypted you? I thought it was the same as my regular password Apple ID.

    You can not.  You must delete this backup and create new backups with a new password encryption or not encrypted backups.

  • How to reset my ipad disable

    My apple ipad is disable, how to reset it?

    I need to reset my ipad disable.

  • I checked automatically do this and now my email pdf files are automatically save. How to reset it

    I checked automatically do this and now my email pdf files are automatically save. How to reset it

    Hello

    You can change this setting in:

    • Tools (or

      ) > Options > Applications

    • Look for 'Portable Document Format (PDF)' and modify however you want the file to process.
  • How to reset the ' do automatically for files like this frome now on "when you save a file, how to reset that?

    I accidentally select "do this automatically for files like this in the future" when opening a file. Now, whenever I open a file, it automatically asks where to save it. First of all, I would like to open it. How to reset?
    Thank you.

    If you can't do this in "tools > Options > Applications" then you can rename (or delete) the file mimeTypes.rdf in the profile folder of Firefox to reset all the actions file.

    You can use this button to go to the Firefox profile folder currently in use:

  • Why my time to send an hour ahead of the actual time and how to reset it?

    When I send an e-mail message, the timestamp is an hour before the actual time.

    How to reset the time?

    You need to reset the time zone of your email account by going to the settings... option or you must be selected your country, city and code postal correctlly... & that is the question of the email provider... For more information I suggest you the e-mail provider is better, th...
    You can check in comparison with any other provider of messaging (e.g. Gmail or yahoo mail)... If your email provider is not helpful, you can always write it here...

  • How to reset a Mac to delivery status?

    How to reset a Mac to delivery status?

    First of all, to save all the files you want to keep (photos, documents, etc.) on a separate drive or in the cloud. Make sure that you are connected to the Internet. After that, follow these steps:

    1. Restart your Mac. Once it restarts and the gray screen appears, press and hold the command and R keys.
    2. Select disk utility, then click on continue.
    3. Select your boot on the left drive and click Delete.
    4. Choose Mac OS extended (journaled) from the Format menu, enter a name, and then click clear.
    5. Select reinstall OS X, click on continue and follow the instructions on your screen.

Maybe you are looking for

  • Home page and a few other Web pages have a vertical bar of 2 inches on each side of the page. How to permanently set set the pages to fill my screen?

    I have a HP - i5 with Win 7 and only use Firefox 35.0.5. Recently, I met some problems with my home page loading with blue text on the left side of my 2-inch screen and put it in the shop. Some viruses are removed and 35.0 FF was installed. Now my ho

  • UDP data format

    Hello I use a cRIO 9031 to collect the UDP data and save it in a file. Is it possible to save the raw data from UDP nothing else than a string? For example, the first line of the UDP data is 0400 0000 8E0D 4904 SCN1

  • HP Pavilion DV6-6C35DX Wireless does not

    Hi guys, my HP Pavilion DV6-6C35DX Wireles just had his replaced hard drive and after installing windows update my drivers, I noticed that put me on my F12 button will switch off the orange light and does not my network controller driver update.  Or

  • error code b823ebac

    I have the windows operating system 7 and my officejet G85xi do not my picture library print.  It prints OK all other sources.  I get an error code of b823ebac when my pictures library in the form of tring to print.  I deleted and reinstalled the pri

  • logarithmic scale & autoscale

    Hello I use autoscale Optionconcernant X axis, which is logarithmic. The problem is that the autoscale really does not work as it begins instead of 9 k 1 k, and ends at 100 M instead of 30 M (of the measure). How can I avoid the autoscale to do this?