VI, who controls the action only when you press the button

I have two stepper motors that control a cart on each axis.  My goal is to make a program that helps others in my lab to easily assign a direction and the distance they want the cart to move and then run the command.  I want them to be able to update the direction and the distance and then press a GO button which will be sent the signal to the basket.  To do this, use a VISA resource.  I have the MOST done program.  The question that I am running is my button does not work as I want.  It is not always save the push or he sends the signal several times on the drive.  I am attaching the 2 screws that are implementing the mechanics of my button in two ways.  Any help as to what I can to one or the other VI so he could make the order only once while leaving the operator make additional entry changes constantly and the start of the VI.  Thank you.

You should use the structure of the event so good for you on one of these examples to try to use it.  Tied, is implementation that actually works.  You press once on the button and acts on it once.  Pressing stop or close the window works as well.

EDIT: If you have some free time you must follow some training and try to find examples on the structure of the event.

Training center of NOR

NEITHER start-up

-Hardware Basics

-LabVEW databases

-DAQ Application tutorials

Introduction to LabVIEW for 3 hours

Introduction to LabVIEW for 6 hours
Paced self-study for students
Self Paced Training beginner to advanced, required SSP
LabVIEW training Wiki

Tags: NI Software

Similar Questions

  • is it possible to put in place a control of the event in labview to create a string indicator when you press a button

    I'm trying to implement a user interface where an operator can set the column headers for a report and I use indicators of the string as the placement for the text in the column headers.  Given that many of them will have experience with Labview, I was hoping to set a button with the ability to add or possible delete a string indicator when you press.  Is it possible to set up an event like this?

    You cannot create an indicator of the string, but you can change the visibility of the existing volumes.

    For example, you can display an indicator of the string, giving the impression that his creating.

    /Y

  • Change the State of the button when you press another button

    Hi all

    I have a simple enough question, but just does not know how I can do this... I'm trying to switch between the two types of waveforms (sine and square) on a graph using buttons and a box structure.

    I currently have two buttons A and B. When I press A, it turns into real and displays the waveform 1. When I press B, B turns into real and displays the waveform 2. However, when B is true, I still have a permit as true (hurry)

    I can't figure out how to change the status of a return to false when you press B and vice versa.

    I am fairly new to Labview so if anyone can refer to a position where it is already the answer or point to the right direction, that would be appreciated

    Thank you

    Rather than clutter up the code with the event hidden cases (!), controls (!), value properties (!) and variable (!) local (as suggested above but not recommended at all!) In addition, it does not even work correctly!), all you need is a control radiobutton that allows also to "no selection". See attached (LabVIEW 2013). You could also add a third Boolean value for the sine wave and not dismiss "no selection" to make the code even more if auto-documentent.

    I made the transparent container radiobutton to match your existing style.

  • No Satellite A200-27R no response when you press power button / stop

    Hello

    Ive looked all over the internet and has spent weeks trying to understand the problem, but im at a loss.
    I recently replaced a cracked screen on my A200-27R and everything worked fine.

    A few days later, I started the new laptop and nothing has happened and has been the same since.
    The electric blue and the battery turns on but does not respond when you press the power button, not even the fan.

    I checked all the connections inside several times, checked without the battery, etc.
    I'm not sure what to try next, any ideas?

    Thank you

    Can you start cell phone if the battery is removed, with AC power only?

    You know, it's not easy to say what can be the problem.

  • Reset button when you press another button

    I just started using labview to work and need help with my last piece of code.  I am writing a program to control an instrument which requires a signal 'halt' and a 'reset '.  When the instrument is stopped (for reasons of error that is generated a continuous stop signal) how to reset the device is emitting a signal of 'reset '.

    The stop signal is triggered by a Boolean button or a mistake from an entry DAQmx, the reset signal is triggered by a Boolean button in a structure of cases this is true when the stop signal is output.

    My question is when you press the button reset (correction of a mistake), I want button discharge to be depressed, otherwise my program would be stuck in a negative loop (IE I have reset the device but the stop button is always in a hurry).  I can't press two buttons at the same time!

    How do I link these?

    Thank you!

    Radio buttons do all the work for you, if you don't mind seen Reset selected until you actually hit stop.

  • Open a tab, when you press a button

    Hi all

    I have trouble getting my VI to open a specific tab page when I press a button.

    I found the following trick in the forum:

    Use the nodes property.  First, get the page references.  In this table, select the specific page reference.  Then write the Page Enabled in the Enabled property of the Page. After that, write the page value in a local variable (if the tab is a control) or write the value directly in the terminal if the tab is an indicator.  Close references.

    What I managed to do so far is set to the Enabled property of the Page. However I can't seem to find any sort of "writes" the value of a page

    Could you help me with this?

    Thank you

    Nick

    While that will give you lots of toys to play with, it seems to me they're just complicated things here...

    Take a look at this excerpt:

  • Satellite C series - cursor will move only when you press the trackpad button

    Cursor on my mousepad suddenly stopped moving unless I have push button left or right, the cushion itself is not locked (fn + f5).

    Please help this is driving me crazy. I tried to uninstall drivers and reinstall but still will not work

    This behavior is very strange.
    Can you please tell us which model of laptop you have, what OS you are using and since when did you notice this problem?

    You use an external mouse at this time?
    When you open Mouse Properties try please use option restore all default values.
    If the problem persists, you can try to reinstall OS (recovery image) and test the functionality with the factory settings.

    In the case that the same problem my only explanation is that must be material junk.

  • Is it possible to save a part of the data from when you press a button 'save '?

    Hello

    The attached vi below acquires data from a sensor. The signal of the sensor output can be set to zero and the data stored in a file. However, the saved data includes the portion of data when vi starts to run until you press the stop"" button. Is it possible to save the data game from when 'save' button until the button "stop"?

    Best regards

    Ninjatovitch

    This should be at 8.2

  • (Help!) Have a loop in the scene, and when you press a button, it goes to another scene and ends (with a repeat button)

    I'm newer to ActionScript 3, so I am not sure that what I'm doing.  I hope someone can help!

    Scene 1 (which is long of 40 images), I have this code for the 4 buttons until framework 39-

    import flash.events.MouseEvent;

    Button1.addEventListener (MouseEvent.CLICK, goNormal);

    function goNormal(event:MouseEvent):void {}

    stage.frameRate = 20

    }

    Button2.addEventListener (MouseEvent.CLICK, goMedium);

    function goMedium(event:MouseEvent):void {}

    stage.frameRate = 38

    }

    Button3.addEventListener (MouseEvent.CLICK, goFast);

    function goFast(event:MouseEvent):void {}

    stage.frameRate = 60

    }

    Button4.addEventListener (MouseEvent.CLICK, goEnd);

    function goEnd(e:MouseEvent):void {}

    Stop ("scene 2", 1);

    }

    On the last picture (40), I have "stop();"

    Scene 2, I "play();", so that it plays, and then on the last image of this, "stop()";

    I'm quite confused.

    Basically, I want to make it to where I can have the first 3 buttons change the FPS of the first scene, but I want it loop back (and not go to the stage 2).  I want then press 4 to go to scene 2 and at the end of the file, but with a touch of repetition where it repeats the scene 1.

    Thanks in advance!

    Rather than use stop(); using try framework 40: gotoAndPlay (1);   Who takes care of the loop, that you say you want.

    For the button that will take you to the stage 2, you have the arguments in the correct order.  It should be Stop (framing, stage);

    Regardless of the button repeat you are planning you can have use: gotoAndPlay (1, "scene 1"); assuming that the scene 1 is named as such

  • How to stop a slide automatically advances when you press one button several times in 8 Captivate?

    Hi, I am a beginner of Captivate so I hope someone can help me solve this problem, I found!

    I am trying to create an e-Learning module that I designed a custom at the bottom of the screen reading bar for. This includes a custom button to home/TOC (table of contents) which is linked to the prefabricated Captivate table of contents. I put this button to link to the table of contents, provided that the object is clicked. The function keys work perfectly the first time top, which brings to the table of contents as expected and displays the current slide. When you click the double chevron, it hides the TOC again, showing the State of origin of slides, which is exactly what is needed. HOWEVER! When clicking on the button home again for the second time on the same blade it displays the table of contents in the normal form (which is awesome), but the slide, and then progresses to the next slide automatically (NOT that I would) that I have previous buttons and depending also on the playback bar that control the actions end users.

    If anyone can offer me a solution to my problem, I would be extremely grateful because I can't seem to find someone else with the same problem?

    Thanks in advance

    You replace the simple actions by a line standard actions. Here is a video on YouTube which explains, not to mention the blog that David was pointing to:

    Simple to advanced standard Action in Adobe Captivate - YouTube

  • How can you write a table to a file when you press a button in Labview 8.5

    I am new to LabVIEW, so I don't know if it's hard or not or can even be done. I have data I am gather and store it in a table in LabVIEW but I want to be able to take all the data table and write in a text or excel file. Another part I want is whether when a user presses a button, in which case they screwed up. Any help would be appreciated. Thank you!

    It is not hard to do. If you have a main loop that collects data continuously, so you can wire just up the Boolean value control to a case structure, so when the button is true you write to the file. It is supposed to be a one-off, or are more than a rocker (which means that you connect so that the button is true)? You can also use a structure of the event. See the "New handler" example that comes with LabVIEW (help-> find examples).

  • options tab is displayed when you press "home" button

    Since Firefox updated to 39.0 it will open the tab options, whenever I click on the Home button and it makes me mad. How can I stop this from happening?

    Supports Firefox with several tabs as your homepage, and these are separated by vertical bars (|) characters. I think you need to change your homepage setting by hand to solve this problem:

    On the unwanted Options page, in the general section, click on the address of the home page and press the end key (or you can select to the end with the mouse). From there, you can use the BACKSPACE key to remove this part:

    |about:preferences
    

    or maybe it will be a top like this hash tag:

    |about:preferences#general
    

    Does it work?

  • Stop the updating of the region (report) when you press the button

    Hello

    I created a report region, using the select statement:
    select * from TABLE(CAST(JCMS_MERGE_BATCHES_PKG.show_merged_batches_fn('M29||0') AS jcms_rep_batch_type))
    Is there a way to stop this submission report when you press a button on my page?

    The reason for this requirement is that my report contains checkboxes for each returned row. The default value for the checkbox control is CHECKED when the report is refreshed. However, I would like users to uncheck some lines in the report, click a button and have a treatment performed on ONLY the checked lines. My page almost works, but because the report is refreshing, after I completed my treatment, the report is back with all lines in the selection again.

    Thank you very much

    Paul

    I think that your condition is similar to the following:

    http://HTMLDB.Oracle.com/pls/OTN/f?p=31517:219

    However, it is not trivial.

    Denes Kubicek
    ------------------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    ------------------------------------------------------------------------------

  • When I press any button on the Windows Live toolbar, I am re-directed to the website of go.microsoft.

    original title: WHAT IS THIS (http://go.microsoft.com/fwlink/?LinkID=199831)

    WHEN YOU PRESS ANY BUTTON ON THE WINDOWS LIVE TOOLBAR I HAVE THE 'GO. MICROSOFT ETC' AS ABOVE ADDRESS THAT PRODUCES A PAGE NOT FOUND IN RESPONSE.

    I DON'T THINK IT'S MALICIOUS SOFTWARE OR OTHER, I REALLY THINK THAT IT IS IN YOUR HOME (MICROSOFT) WITH SOME PROGRAMS OR WHAT WENT WRONG.

    I DO NOT USE THE TOOL BAR LIVE NOW SO THE PROBLEM DOES NOT AFFECT ME, NOT MORE (OR IN OTHER WORDS I HOPE) BE FINE IF I COULD GET RID OF THE ADDRESS.

    ANY PARAMETER ON THE INTERNET OPTIONS PAGE IS NO HELP SO CAN'T THERE GO.

    I AM PLEASED WITH HOTMAIL AND I HAVE NO DESIRE TO BECOME.

    Hi AlexDiverall,

    Thanks for posting your question in the Microsoft answers Forum. For any questions about Windows Live, visit the Windows Live Help solution Center.

  • I recently created a form to complete for the app e-business of the company. When you press the button submit, he only sent to our Inbox to project and not sent to the e-mail provided in the URL. Can someone help us to program the key to help explain why.

    I recently created a form to complete for the app e-business of the company. When you press the button submit, he only sent to our Inbox to project and not sent to the e-mail provided in the URL. Can someone help us to program the key to help explain why / tell us step by step what we should do?

    OK, I re-read your question. It's actually expected behavior. The user must manually send the email.

    If you want it to be a silent process, then you must either install a script on the local computer of the user who will do this, or use any email but something as a service web to which you directly submit the form data.

Maybe you are looking for