How do I get this to run only once

I am using Labview and an E series DAQ to control a stepper motor. I downloaded a finite pulse generator to send out the number of pulses I need when a case is selected, but now my problem is that the vi keeps repeating the finite pulse generation, so it sends out 10 and then 10 and then 10... it keeps going. I need a way for 10 pulses to be sent out and then no more until the case is changed.
Thanks

If you use the example that ships with LabVIEW 6.1, titled "Finite Pulse Train (DAQ-STC)," one train of a specified number of pulses will be generated and then the VI will quit. If you are importing this example VI into your own custom program, you need to ensure that it is not called from within a while loop. Perhaps that is why you are seeing the pulse train repeating itself.
This example can also be found by clicking on the following link:
http://eagle.ni.com/stage/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3E6CD56A4E034080020E74861&p_node=DZ52328&p_submitted=N&p_rank=&p_answer=&p_source=Internal
Regards,
Justin Britten
Applications Engineer
National Instruments

Similar Messages

Maybe you are looking for

  • Help with inserting counter code

    hi friends, i want to put an invisible counter on my website but i cant seem to do it. i got the counter code from statcounter and i also downloaded a trial version of bbedit. in bbedit when i do a search for the code i have to replace bbedit comes u

  • GridBag or Flow Layout: Help Please!!!

    Requirement: Allow the user to input the amount of a mortgage and then select from a menu of mortgage loans: 7 years at 5.35%, 15 years at 5.5%, and 30 years at 5.75%. Use an array for the different loans. Display the mortgage payment amount. Then, l

  • Jobs in DS management console

    Hi All, in the BODS 4.0, DS Management Console, Is there a way to limit the number of jobs that are visible to the Admin who logs in? Currently we have around 400 jobs in the system. and the Admin team would like to limit the number of jobs that is v

  • Which language will you prefer?

    Hey guys, My programming skills are limited. I am self thought and my way of doing things may not exactly be textbook. I am trying to make a baseball game played with dice. I have an old simple version of the game written in Java. There are no graphi

  • Cannot open some online files

    Dear All I am having trouble opening online files such as pdf files from my mac My imac is from 2009 so not that old downloaded latest adobe and have used both Safari and firefox For example went on the apple website and tried to open a manual for th