or HOW the signal to timer front door stop in while loop?

Good afternoon

Could someone please help. I have a project that is very basic. It performs replication of the mastermind game in labview2009 VI. I have managed to do work, but as soon as all the conditions are true my last or door sends the signal for the moment stop button loop.

In other words, there is no time for my 'congratulations chain' to show before the game resets. What I have to do is to put a timer between the final or gate and my stop button, but all the methods I've tried don't seem to work as the data types do not match.

Please please please a little help

Alex


Tags: NI Software

Similar Questions

  • How the expected wait time is scripted?

    Hello

    Can someone tell me what controls are needed and where they should be placed in a script and what variables I need to create if everything for a very basic should expect a time?

    I looked at previous assignments and I'm not. The only control I see that would be necessary is to get statistical reporting, but I know not where to put it or how to play people in the queue the message of what the expected wait time is.

    Please advise,

    Thank you

    Chuck

    You can use the step get statistical Reporting to fetch the expected waiting time (in this step, the "line identifier" parameter is interested in the CSQ).

    The expected wait time is in seconds, so you can convert this to minutes and then use a series of guests as well as a "create generated Prompt" to announce the waiting time.

    Take a look at these messages in previous discussions:

    http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Unified%20Communications%20and%20Video&topic=Contact%20Center&CommCmd=MB%3Fcmd%3Dpass_through%26location%3Doutline%40%5E1%40%40.1ddd7fa7/2#selected_message

    http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Unified%20Communications%20and%20Video&topic=Contact%20Center&CommCmd=MB%3Fcmd%3Dpass_through%26location%3Doutline%40%5E1%40%40.1ddc3cea/1#selected_message

    Please note the useful messages!

  • How the stamp date & time email with a photo

    I send a photo to prove I did not damage a rental car, but the stamp date & time are not displayed. How can I add them to the email please

    The recipient can also access the properties of the files you sent to them as well to confirm your screenshots.

    See you soon.

  • How to stop a while loop structure in the event of a main vi

    Hello;

    Sorry for my English

    I have to stop to a Subvi my main VI, the Subvi contains a while loop and an event structure, so I need to stop this loop while I tried directly from my main vi, global variable, but it did not work

    any help please or example!

    How about something like this (solution see attachment) using a user event.

    Explore the User Interface--> range of events and dialogue. To display the dynamic event of the terminals in the structure of the event just right click and select 'display the dynamic event posts '.

  • Time to toggle Boolean in while loop?

    Hey everybody,

    I need to toggle a Boolean variable for a short period of time (~0.5 seconds, but it doesn't have to be exact, as long as it can be changed) when the trigger signal is on.

    -basically the variable Signal should remain False until the trigger indicator is True

    -Signal must turn to True for ~0.5 dry and turn return False after

    The program must be substantially while loop (loop data acquisition). Using the calendar could affect the acquisitive data (not shown in the sample program).

    I tried to do this with a case structure and sequence flat but in vain. Any suggestions are welcome. THANKS FOR YOUR HELP!

    Something like that?

  • How I WRITE VISA to 2 devices of a while loop?

    Hello

    I have developed a fairly complex vi that reads data from two sensors and controls SERIES written to two engine controllers.  The idea is to send the engine controls more or less "simultaneously", and they are generally not the same commands.  The two motor controls are determined by the sensor input with each iteration of the WHILE loop and subsequently sent to the VISA WRITE motor controller.  I was getting an errors and failures with the vi, then, we decided to break up and test the components individually.  In the original vi, I had two sets of VISA OPEN, WRITE, NEAR wired inside the WHILE loop and he sent two orders for both engines successfully.

    The test code I have attached here, "simple VISA speed controller rev1.vi" has the VISA sequence configured around the loop according to the advice of OR.  He suggested that the VISA OPEN and CLOSE while loop and wiring outside the VISA two WRITE such as shown.  However, in this configuration, only the command of the CHANNEL 3 runs.  The CHAIN 1 command does not run.  The string ' / 1V...» "engine controls 1, and" / 3V... " "engine controls 3.  So, by changing the 1 and 3, I order two this vi engines, but only, the chain is the first VISA WRITE running effectively, regardless of the engine is selected in the order of the string.  There is no malfunction of the motor or wiring, and I order the two motors separately using the software provided with the manufacturer of the motor controller, therefore, the hardware has been confirmed to work properly.  I use NI USB-RS232 to send the string on the motors controllers.  Motor controllers are connected in Garland, and each has a switch address so 1 engine knows how to respond to ' / 1V...» «and the engine with the value '3' address switch responds to ' / 3V...» "etc.

    The other code attached here, "simple VISA speed controller 2 motors.vi" sends the two commands at the same time.

    So, why the second VISA WRITE does not work the '... rev1.vi '?

    Thank you

    Dave

    Hello Dave,

    In accordance with our telephone conversation, that give a try.

    Joel C

    National Instruments

    Engineering applications

  • The use of registers at offset in a while loop that never loop

    Here's a picture of 'syslog_Device function Engine.vi. This isn't really a question specifically about this vi, but rather a technique I see here.

    First thing I noticed, it was a while loop always outputs, never loops. And shift registers. This serves for the VI can retain values between calls, almost like what I consider a local variable which are persistent between function calls in another language? It is an interesting way to accomplish what I have not looked at.

    Please tell me if I'm missing what is happening here.

    It is a driving force.

    It's a code construct that allows you to encapsulate data and features that are available in multiple threads.

    The nugget I linked above explains their operation the theory behind them and follow-up discussions in discussion on how to exploit them.

    Good questin incidentally!

    Ben

  • position in the property node is not updated in another while loop

    Hello

    I have a structure of the event in a while loop and I have a chart with 2 sliders on it. the chart is in the loop outside the structure of the event and it becomes a wave form when an event occurs.

    in a separate loop, I have 2 cursors cursor position property. I subtracted to get their distance. but when I move the sliders on the chart which is in the first, while the loop doesnot change the values given by the property nodes in the second loop

    is this something related to the structure of the event? don't needs real graphic to be updated all the time or is it ok if she becomes a waveform only on an event

    can someone please help

    Thanks in advance...

    The value of the variable "Stop 2"is in memory still "True" so on that a second (and resulting) running that your upper loop always ends after the first run.

    The display of "stop 2' LED is to be reset when you press the button"Get the waveform". making the False value.

    So reset the variable button after finishing two loops or before starting the two while loops.

    Tone

  • Update of the indicators of the tank (by sending a command in a while loop)

    Hello

    I'm slowly get a little more familiar with LabView and feel enough confidence to the code for an ISCO pump (model 100dx).

    My pump has two needles, and I would like to display the amount of liquid contained in these pumps - without interruption.

    So far, I tried what's on my (tank A & B) extract

    In my view, there is a more elegant way to send a command to each loop. Thank you for your help

    Flo


  • After the upgrade to Windows 10 Lightroom stops responding while I'm working

    In windows 7, I couldn't activate GPU?  In windows 10 I can.  When I tried Disabling GPU to see if that was the problem, Lightroom stops working when I click on the box.

    New to this spirit there is a section manually disable the graphics processor. Just give it a go. It worked for me and I no longer hand LR gel.

  • split the signal not showing multiple output

    I'm dividing the multichannel signal from acquisition of data NOR-6008. When I connect the data to the separation of the vi signal, there is that a single output eventhough I did the dow to give me all the outputs.

    Please help its urgent.

    What version of LabVIEW are you using?  You can post your VI?

    If I remember, one of the versions of LabVIEW had a bug in how the signal split function would work.

  • The maximum graph time

    I need to draw a picture that shows the behavior of the frequency of the peak spectral of the signal over time. I thought that this VI will work fine:

    The interesting thing is that before you plug the output of statistical Maximum of the block time to the time of Max graphic time, displaying the parameters correctly:

    Here's the diagram corresponding to the façade above:

    But as soon as I connect the Max permeate more graphic time to the output of statistical Maximum block time and run the VI, the time (x axis) of the chart changes frequency x axis:

    Once again, I want to the chart to view the changes in the value of maximum frequency over time. Any suggestions? I have attached the VI below. Thank you!!

    Hello wprice

    I have converted the duplicate dynamic data and was able to see the values to show based on time.  Can you let me know if this is the direction in which you want to move forward?

    Thank you very much!

  • How to increase code efficiency in a while loop (using PXI5105 for sampling outside signal digitalizer)

    Theoretically, we want the PXI-5105 (digitizer) have 302 record with each record has a 1260 sample (the save operation is inside a while loop) in approximately 30ms, however we have found that for each period (30ms), the PXI5105 only perform about 10 records. It is so wired. I wonder if the operations inside the while loop consume more time (for example 3MS), so that he cannot have 302 records even the PXI-5105 have 60 M/s speed of sampling. Is it true, you can find my labview code and if possible can you give me some suggestion in the most short time of operation of the loop.

    Please find attached labview code.

    Hi g_l_g_s,

    The digitizer PXI-5105 acquires data at the speed that you specify and stores the data in its memory embedded (up to 512 MB). The data is then sent to your computer when the Multi Fetch Cluster.vi is called. In VI that you posted, you are only fetch record during each while the loop iteration. If you want to retrieve 302 records you will need to specify 302 files in the horizontal Timing.vi to configure. For more information about scanners, you might find the DevZone, hereuseful.

    To determine the amount of time it takes for each while the loop iteration, you can consider using the structure of code in the example comparison community calendar, which is located here.

  • while loop: delay enforcement and continuous updated: VI back to fake out of time?

    Hi all

    I want to control the time of execution of a while loop. I want the user to have the ability to decide how long he wants to run the while loop. The while loop is used to update certain values, then it should run continuously, not only run once and wait (that I could easily using the synchronization functions).

    I used the time up VI as suggested in this post:

    http://forums.NI.com/T5/LabVIEW/how-to-create-a-time-control-for-while-loop/m-p/2530212/highlight/FA...

    and works well, but the while loops are integrated into another loop for and when Goes to the next iteration, the elapsed time Boolean result is set to true and it does not run at all (I think that's the problem).

    Can I return the Boolean result of the elapsed time VI to false, after reaching the target of time? That would solve my problem, I think that...

    I attach some of my VI, although I don't know that it could be useful for you...

    Thanks for your help

    Use the iteration for while loops count and an equal to zero? node.  Then the output of the comparison at the entrance to reset the elapsed time functions.  The idea is that reset you on the first iteration (when I = 0).

  • To break out of the while loop (1)

    Hi all

    I have a simple question that if a callback to a command button function, I use a (bLoop) While
    loop, where bLoop is a boolean variable has the value TRUE, then how can I break up or out of this while loop by using a control on the façade, which released the while loop by setting bLoop = FALSE.

    I tried, but it didn't come out

    The problem here is that the CVI normally only runs a reminder at a time. While you are in snooze control, no treatment of GUI and subsequent calls to other reminders usually occurs.

    You can try the following approach-, but it's not really the best method:

    While (b_loop) {/ / within a reminder}

    ... / / Do your tight loop

    ProcessSystemEvents ();   Force the CVI to see if all the GUI needs maintenance controls

    }

    If you have a reminder of different control to erase the global b_loop, this packing approach might work for you.

    You must use this technique for very simple programs - it can quickly escape out of control and in the end upward in a mess if you're not careful. OR recommend that you use not ProcessSystemEvents() within a point of order.

    JR

Maybe you are looking for