How to run and stop LabView code without using start and stop buttons

Hey
I've attached my code that I'm going to use with thermocouples. What I'm trying to do is: when I hit start button the code should run for a minute then stop for 5 minutes and then start again, this process should be repeated twice . Could you please suggest the appropriate way to do it.
Regards 
Rajab
Solved!
Go to Solution.
Attachments:
temp. samples.png ‏24 KB

Rajab84 wrote:
Hi altenbach
Thanks a lot for your help, I've tried the state machine, I’ve created 5 case structures as following: start for 1 min, stop 5 min, start again for 1 min, stop 5 min, restart again 1 min and finally stop. I’ve tried the code and it didn’t work. Could you please have a look at the attached code and let me if I need to change something. I think I’ve not used the elapsed time function properly. 
Best Regards 
Rajab
you really dont need to repeat cases (2x)...using a shift register will reset your timer function once the timer has reached it's set limit. the "bool crossing" is used to tell me when the "5 min" case is done and increments the cycle count....ofcoarse, change the "seconds" constant to your desired time on the elapsed timer of this example 
and you could "or" the stop to the "compare = 2" or change the select "wait" to "exit" with a constant connected to the stop
Attachments:
Untitled 2.vi ‏42 KB

Similar Messages

  • How to run MRP for Bulk Material without using LTP

    Hi, how can I run MRP for BULK material without using LTP.
    Thanks in advance
    BK

    Hi,
    Use trasnsaction code OPPQ and goto BOM Explosion and selection depends on
    Field selected
    No dependent requirements are created for informational purposes for bulk material items in the plant selected. This can improve system performance.
    Field not selected
    Dependent requirements are created for bulk material items in the plant selected. These dependent requirements are displayed in the planned order for informational purposes only. They are not considered in the net requirements calculation; that is, they are not included in material requirements planning (MRP) and are not displayed in the stock/requirements list
    Reg,
    Deepak.
    Edited by: deepak k b on Nov 11, 2008 6:56 AM

  • How can I redeem lion os code without using mac computer? i'm trying to install lion on my mac that i got from a friend.

    i tried to restore it to it's original settings but when i tried to reinstall it, it would say that i hadn't bought it. so then i bought the lion os and the code took forever to come but now i cannot find anywhere that i can input it. i cannot access the mac store because the mac doesn't have lion and i can't input the code using my windows computer. he didn't have any installation discs and i'm not wasting another cent on this computer to buy them. is there something i can use to input the code?

    The Lion redemption code can only be used in the App Store application found in 10.6.6, and higher Macs.
    You can't download it from a PC or a phone.

  • How to run repair in disk utility without a start up cd

    Hello,
    I have a macbook pro 2.3 GHz i5.  I have run disk utility and it says that my disk needs to be repaired.  It says I should insert the start up CD and then run repair but my mac book did not come with a disk. I ran disk utility because there are 247GB of miscellaneous files on my computer.
    Any help gratefully received. 

    Lion has the 'install disk' built in.
    You access it by restarting your mac and holding down the 'command' and 'r' keys. When the disk icons appear, choose the 'Recovery HD' icon. In the menu up the top, you can choose Utilities > Disk Utility.

  • How can I turn off my iphone without using the power off button

    I dropped my Iphone 5s in water and now the screen won't allow me to slide it over to power off. There's some water in the screen and it's not working correctly.

    Press and hold the "Sleep/Wake" button located on the top of the iPhone.
    Hold the "Home" button on the front of the iPhone while continuing to hold the Sleep/Wake button.
    Release the buttons as soon as the iPhone's screen turns black to turn it off. Do not continue to hold the buttons or the device will reset.
    Hope it can help you.
    Merry Christmas!

  • How to run the open script code from eclipse?

    Hi,
    How to run the open script code from eclipse.
    Please let me any soulutions on this.

    Hi Konda
    I am not quite sure you can do that and it would even be not supported... Again, what is the purpose? Why do you want to run your openscript code in Eclipse?
    What is the code you try to run?
    As an example, even if you include al the jar files and so on. don't think the function "Launch Browser" could work because it isn't only java code orjar files.....
    If you give us more background. maybe we can guide you to a better solution...
    JB

  • I have just updated my 4s to IOS7. and now my battery discharge is significantly increase. With my Iphone fully charged, the battery run out within 6 hours without using the phone at all. Would it be possible to get the IOS 6.1.3 back to my 4S?

    I have just updated my 4s to IOS7. and now my battery discharge is significantly increase. With my Iphone fully charged, the battery run out within 6 hours without using the phone at all. Would it be possible to get the IOS 6.1.3 back to my 4S?

    Hi, thanks for the suggestion. I have tried as you suggested, and when opening the "purchased" apps some have the icloud logo next to them, but I only have "OPEN" against "Find My iPhone". When opening it up, it goes through the same routine; needs to be updated before proceeding, and wouldn't update because I don't have IOS8.
    Anything else I could try, or am I doomed!
    All of your help is much appreciated, thanks

  • HT4623 How can i download ios 7.1 without using my iphone and itunes

    How can i download ios 7.1 without using my iphone and itunes

    If you don't use your phone and you don't use iTunes, what are you expecting to use? Your options to update your device are Over The Air through Settings>General>Software Update or by connecting the device to iTunes and updating.
    Best of luck.

  • Run and Exit button on application

    Hello,friends! I have some problem and I'll be thanked for any help! I want to create application from my VI with application builder. I want to take away all standard toolbars and buttons when application will be using. So,to do it I must to create Run and Exit buttons in application. But i do not know how to do it :-( It will be cool, if anyone will divide by example of VI, which will contain function for this buttons! Thanks!
    Solved!
    Go to Solution.

    here is a vi attached..just an example 9hittimg stop button will quit Labview)
    If you do not want to see the menu bar or the scroll bar then CTRL+I->VI properties->Window appearence->customize and select from the option to customize accordingly.
    Also if you want to stop and quit the application use the "Quit LabVIEW" function available
    Regards
    Guru (CLA)
    Attachments:
    RunStop.vi ‏12 KB

  • My iPhone has two computers in (iTunes wifi sync), how can I remove one of them without using it ?

    Hello everyone.
    My iPhone has two computers in (iTunes wifi sync) how can I remove one of them without using that computer?
    because that PC stopped working so I had to recover it. Now everything is gone on that PC.
    Also I bought a new computer (MacBook Pro) and I use iTunes on it in the mean time. Now I want to remove the old computer!
    here is a photo of my (iTunes WiFi sync)
    is there any way that I can use to do that?
    Thanks

    Hello,
    Did you ever find a solution for this ?
    I have the same issue and i dont know how to fix it.

  • How do I remove an iCloud account without using password?

    How do I remove an iCloud account without using password?

    There is no way if Find my iPhone is turned on. You must know the Apple ID and password. This is Activation Lock, an antitheft feature of iOS 7. See: http://support.apple.com/kb/HT5818

  • How to download youtube videos to ipad without using a computer.

    How to download youtube videos to ipad without using a computer???  Looking to download some videos people created using Dr. Jean music.  My kid used Dr. Jean in preschool and wanted to keep singing them at home.
    Looking for a friend that doesn't use a computer.  I myself have downloaded some kids educational stuff and added to itunes and then put on ipod/ipad using firefox. 
    Is there an easy way, so they don't go to the photo roll??
    thanks in advance.

    There are some Apps you can use, but be careful they will only download these videos inside the App, so you won't ba able to play them in your video app or share them.
    Most popular is the app called "Video Download" but there are a lot of alternatives for free and even with more quality which you can pay for.

  • Need HELP (Project Issue) : Having 3 individual VIs, datalogger.vi, start vi, amksms.vi done. (How to run the VIs in sequence order - datalogger start amksms combine into 1 VIs? )

    Need HELP (Project Issue) : Having 3 individual VIs, datalogger.vi, start vi, amksms.vi done.
    (How to run the VIs in sequence order - datalogger > start > amksms combine into 1 VIs? )

    VIs in icon.
    how would it able to run in the sequence order:
    data first, follow by start and lastly amk sms.
    Attachments:
    dsa.jpg ‏10 KB

  • How to create an instance for RemoteSession without using create() method

    How to create an instance for RemoteSession without using create() method?

    What's RemoteSession? Not in the JDK. And does the question have anything to do with concurrency?

  • How to run an OWB 11gR2 process flow using OEMS Jobs?

    How to run an OWB 11gR2 process flow using OEMS 11g Jobs?
    In other words iam trying to create an Oracle Enterprise manager job for scheduling and running an OWB Process flow.
    Can any one of you please route me to a documentation for the same,or enlist the steps involved?

    Hi,
    look at OWB API Reference (it is of 11gR1 OWB release but you can apply this procedure to OWB11gR2 as well)
    http://download.oracle.com/docs/cd/B28359_01/owb.111/b31279/api_4sqlforjobs.htm#BABEBGHA
    Regards,
    oleg

Maybe you are looking for