I am having trouble stopping a sub VI from the front panel of my main VI.

Whenever I try to stop my sub VI from the main panel i cannot get it to work. It has entered the value of the switch from the main VI and does not update it within the sub VI after it has started the sub VI and hence does not look for a changed value on the switch. Is there any way that I can get the sub VI to check the state of the switch on the Main VI on each loop?
Thanks
Ross H

Hi,
I am including 3 VI programs, here main vi controls the sub vi, i mean sub vi can be stopped either from main vi or from stop button put on its front panel. Also main vi still works incase sub vi is running.
Hope it works. If above does not answer your problem completely, Pl. do write.
Best Regards,
Nirmal Sharma
India
Attachments:
Main_Vi.vi ‏56 KB
sub_vi.vi ‏25 KB
global_stop.vi ‏6 KB

Similar Messages

  • Having trouble calling my work voicemail from the iphone - it doesnt recognize the dtmf tones

    i am having trouble calling my work voicemail frome the iphone - it does not recognize the DTMF tones from the dialpad.  we have justgone to a new IP voice system at work

    we use a remote dialling code to divert our office landlines to mobiles, we have had awful trouble with the iphones in doing this with the number stored as a contact, We also have trouble dialling the number direct from the keypad it still comes up with error and says the number has not been recognised.
    I have managed to sort out how to remedy this for us on this end and i will give an example below, the 'p' represents a pause
    (numbers changed for security)
    original phonebook contact stored, please notice the pauses 'p' only the first single pause
    01223495684p*65*4530*01223456456*07555456456#
    the new number now stored in the phonebook with the extra pauses 'p'
    01223495684pp*65p*4530p*01223456456p*07555456456#  as you can see we dial a landline number and then give a pause for the next tone to cut in, then we enter the overall divert code, after this we enter the pin code followed by the landline number to divert and finally the mobile number that will be taking the calls and finishing off with hash.
    all our other phones except the iphone will dial this number and work correctly with one pause at the beginning, I have now tried thios with two pauses at the beginning and one pause between each section and it now works fine,
    This has cured our problem using the io5 iphones 4s. we could not dial these numbers with the iphones for nothing, all other phones work fine. When you have a bluetooth headset connected the problem is even worse.
    this has cured our problem and hope this helps you all also

  • Hi I have trouble in using alternative characters from the glyphs panel in illustrator CS5.

    I have recently installed the CS5 version of Adobe Creative Suite I have purchased long ago.
    I have trouble using the alternative characters from the glyphs panel. The problem doesn't happen with a specific font but a few.
    There are fonts that work fine and fonts that do not (either true or open type fonts)
    I can see the characters alternatives in the glyphs panel but when clicking only the normal characters appear.
    I have also tried to re-install the fonts but didn't fix the problem.
    Reading from previous posts that other users had same problem they concluded that there has been a problem / bug with the CS5 version glyphs that needed to be fixed
    Is this the case? What shall I do?

    Hi - I have found the update so problem solved !

  • My laptop is having trouble downloading and playing rentals from the iTunes store, I get a little way into the film and it stops playing and will not download any further. This has happened on two separate occasions, my laptop is under a year old?

    I get a little way into the film (just 4 minutes this time!) and it stops playing or downloading. The remaining download time changes continually and will say anything from 6 minutes to 11 hours! My laptop shouldn't be the problem as it is under a year old and I haven't experierienced any other running problems with it... I hope I will not be charged for the film !!

    I'd report the problem to the iTunes Store. 
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the items that are not playing properly. If you can't see "Report a Problem" next to the items, click the "Report a problem" button. Now click the "Report a Problem" links next to the items.

  • Anyone else having trouble pausing and skipping music from the lock screen?

    I usually listen to music in the mornings and when I go to pause my music or change the song it simply won't work unless I go into my phone and use theistic icon to pause it or skip it.

    it works fine  on my  phone. try to check access Settings- Control center - make sure Access on Lock Screen and Access within Apps are On. while on lockscreen mode, try swiping up from the bottom of the screen to view control center. try to play a song, then swipe it down to hide the control center. u will see there music playing while on the lockscreen and can pause it from there.. hope this will help.

  • I'm having trouble with iTunes synching and accessing the iTunes store.

    I'm having trouble with iTunes synching and accessing the iTunes store.   When synching, the process tops at the back up stage, freezes and I can't close the iTunes window, need to ctrl alt del.   When trying to access the store, the progress bar stops halfway.   I've googled heaps and tried most of the standard answers - unistall, reinstall, etc, now looking for some help please.
    This has only started a few weeks back, after working smoothly for the 2 years of owning the iPhone 3gs.
    Any suggestions will be appreciated, it's getting realy frustrating.
    Cheers for now,
    Marty

    http://support.apple.com/kb/HT1923?viewlocale=en_US
    this worked perfectly for me, with no loss of library! BUT was warned about uninstalling things in the order listed...FYI.

  • HELP !!!I want to give my old apple to my girlfriend, SO SHE CAN PLUG IN HER NEW IPHONE, CREATE AN APPLE ID AND USE MY OLD LAPTOP TO DOWNLOAD itunes music, but im having trouble deautherizing it, and making her the OWNER, IF you get my drift, how to i mak

    Hi
    I have a new powerbook and want to give my girlfriend my old G4 power book, she has a new iphone 5s, and wants to create a new itunes/apple id. When i try to de authorize the G4 and sign in with her new apple ID it says bad password, how can i release the G4 from my cluster of authorized apples and make her the owner so she can download music and more importantly sync her music with her phone, she only has 3 songs on her iphone, and loaded all her CD's into the g4 but cant sync, im no dummy and this shouldnt be hard, but its driving me crazy!!!!!!
    thx u so much for your time heeeellppppp.

    Perhaps, as we have the same music tastes, for now i should just authorize her phone to my power book just to sync music, not pics, contacts etc? I'd hate to overright her contacts etc lol????
    HELP !!!I want to give my old apple to my girlfriend, SO SHE CAN PLUG IN HER NEW IPHONE, CREATE AN APPLE ID AND USE MY OLD LAPTOP TO DOWNLOAD itunes music, but im having trouble deautherizing it, and making her the OWNER, IF you get my drift, how to i mak 

  • For loop stop in sub vi from main vi?

    Hi! I want to control from my main vi a sub vi consisting of a stepped sine function generator. This sub vi has a for loop. The problem is that I want to have the option of terminating the loop in the sub vi from the main vi. I tryed using global variables or an event stucture. The problem is that, in both cases, the "stop" variable in my main vi is only updated after the loop terminates in the sub vi. Can anyone please help me? Thank you very much.
    Best regards,
    Diogo Montalvão (Lisbon, Portugal)

    hong2011 wrote:
    I found this thread very helpful. May I ask one thing - what is the purpose of the Occurrence?? If I try it without implementing the Occurrence (neither in main VI or subVI), labview crashes when the subVI completes its task or is stopped from the mainVI.
    A lot of things changed in the last 6 years, so this thread is a bit stale and there are a few other ways to do it. (For example we can have a FOR loop with a conditional terminal).
    You don't provide enough information to answer your question why it crashes. It would be more interesting to know what you are "using" and not what you are "not using". This is not something we can guess by elimination.
    LabVIEW should never crash, so please show us the code that crashes so NI can fix it. What LabVIEW version are you using?
    LabVIEW Champion . Do more with less code and in less time .

  • Hi. Having trouble viewing a downloaded file from a site. iPad is telling has not got a app to open file ,but have downloaded so many now and none of them are any help. Tried this on my android phone still nothing. Please can anyone help as slowly ma

    HHi having trouble viewing a downloaded file from a site my iPad is telling me I don have a app to open file . And have downloaded loads of apps and still no joy . Have tried this on my android phone to and still nothing. Please can anyone help as slowly going crazy. Thanks tim

    What type of file?  From what site?  What Apps have you downloaded for it?
    Perhaps if you provide details of what you are doing we can provide more precise help.

  • I am having trouble redeeming my iTunes card on the App Store.  It always times out when I enter the code.  But when I try to enter the redeem code in the iTunes Store, an error code comes up (5002)  What does that mean?

    I am having trouble redeeming my iTunes card on the Mac App Store....A message comes up and says, "your session has expired.  Try again."  I try again and it's the same message.  I also tried to enter the redemption code on the iTunes Store and the same message comes up or it says, "Error 5002"  I need help....I feel like I wasted my money.  and I need  a program for school. 

    Clic here:  iTunes: Advanced iTunes Store troubleshooting
    Then click:  Expand All Sections
    Then scroll down to error 5002.

  • I have been having trouble with my iphone 4 for the past day . i tried to update it to 7.0.4 then the screen went blank and it keeps telling me to connect to itunes . I have connected it to 2 computers , using different cords

    I have been having trouble with my iphone 4 for the past day . i tried to update it to 7.0.4 then the screen went blank and it keeps telling me to connect to itunes . I have connected it to 2 computers , using different cords and it doesnt recognize it . It says it is in recovery mode and i need to restore . after clicking restore it says that my iphone cannot be restored . I am very frustrated because i have been online searching for solutions all day and nothing seems to work . As soon as i turn on my phone it goes to the apple logo for about 2 seconds then the connect to itunes screen . SOMEBODY PLEASE HELP ! my phone is my life and i need it back on .

    Connect the device to iTunes and restore from the most current backup.
    If the issue continues, restore as new.

  • TS3899 Having trouble accessing my email account thru the mail app, after entering the account information in the settings page, hotmail returns with the error message " The user name or password for Hotmail is incorrect

    Having trouble accessing my email account thru the mail app, after entering the account information in the settings page, hotmail returns with the error message " The user name or password for Hotmail is incorrect". Help

    Hotmail is having problems:
    http://bostinno.streetwise.co/2013/08/15/hotmail-outage-hotmail-is-down-for-user s-still-photos/
    http://www.engadget.com/2013/08/14/outlook-outage/
    http://www.infoworld.com/d/applications/microsofts-skydrive-outlookcom-are-down- some-users-224940
    http://mashable.com/2013/08/14/outlook-down/
    http://techcrunch.com/2013/08/14/microsoft-acknowledges-outlook-com-messenger-sk ydrive-outages/

  • Why am I having trouble importing vCards? I follow the Help Center instructions by dragging and dropping, but some don't sync into the cloud. And why can't I drag multiple vCards? I have over 4,000. Please tell me I don't have to do one at a time?

    Why am I having trouble importing vCards? I follow the Help Center instructions by dragging and dropping, but some don't sync into the cloud. And why can't I drag multiple vCards? I have over 4,000. Please tell me I don't have to do one at a time?

    carolinechx wrote:
    i know the description may be a little bit too confusing
    Mostly because you are not using any capital letters or paragraph returns and your post is difficult to read.

  • Several of us have a iPhone 6s and are having trouble with hearing and speaking at the same time when using the phone. ? The speakers seem to be too far apart? Are others having this issue? Solutions?

    Several of us have a iPhone 6plus and are having trouble with hearing and speaking at the same time when using the phone. ? The speakers seem to be too far apart? Are others having this issue? Solutions?

    Not having the problem, don't personally know anyone who is.

  • Hello.  May I ask:  I am using Acrobat 6.0.2, and having trouble formatting a PDF created from multiple (jpeg) files.  Each page is formatted to A4 size, portrait.  But when I create the PDF, each sheet appears as tiny, in the middle of a huge white page.

    Hello.  May I ask:  I am using Acrobat 6.0.2, and having trouble formatting a PDF created from multiple (jpeg) files.  Each page is formatted to A4 size, portrait.  But when I create the PDF, each sheet appears as tiny, in the middle of a huge white page.  I cannot seem to find any controls to adjust this.  Any advice appreciated.

    Thanks CtDave, for the further info.  Unfortunately, those suggestions are not working, which is strange.
    ....Until last week, I used to make multi-page PDFs straight from Photoshop: File > Automate > Make PDF.  One simply choses the files, orders them, and creates a PDF.  (Resolution doesn't matter; 300 DPI is no problem.)  However, my new Photoshop CS5 does not have the option in Automate.
    What I've done, seeing as Acrobat is letting me down, is use Bridge (new to me) to create the PDF.  It worked without a problem, but seems like more work than the old PS method.  I will download a newer version of Acrobat to see if that makes any difference.
    .....Also, thanks Test Screen Name:  I agree with you that jpeg is irrelevant, and that one can make a PDF from Photoshop (Print > Save As - pdf).  But that only works for SINGLE PAGE pdf, not multiple pages as far as I can tell.
    Kind regards,
    Prince Nuada

Maybe you are looking for