Stopping Sub-Vi's

Hello,
How can I stop a sub-vi from running with a boolean switch, located in my
main program

A global variable will work. You could also use an occurrence or one of the
other synchronization functions. If you start the sub-vi with VI Server,
you can also stop it by passing a value via VI Server.
"greg" wrote:
>>I do not believe that a local variable connected to a boolean in the main>program
can be used inside the sub-vi. What I have is my sub-vi running inside>a
while loop, and the sub-vi's output is a true or false and it only outputs>the
true or false when it is done executing. So, i have had trouble stopping>it.
>>"Nico Zalbertus" wrote>>Can you use a
local variable of the boolean switch or are there any reasons>that>you can't
use them?>>"greg" wrote>>Hello,>>How
can I>stop a sub-vi
from running with a boolean switch, located>in my>main program

Similar Messages

  • How do I stop sub-tools from automatically showing up when clicking a tool in the palette?

    I must have clicked something or inadvertantly pressed a keyboard shortcut or something because a couple of weeks ago, the sub-tools on the tool palette started popping up without me having to hold down the mouse button for a second. Now when I click a tool (the rectangular marqee tool for example), the hidden tools (eliptical marqee, single row etc.). Please make it stop! It's annoying as hell.
    I'm using PS CS5 on Windows 7.

    I don't believe there's any configuration option that changes that behavior, but I know what you're seeing has been discussed here before.  Unfortunately, it might be difficult to think of the right terms to search for it.   I don't recall if there was a specific fix or workaround found, though.  I'm wracking my brain and I don't remember one.
    Is there any chance you've gotten the right and left mouse buttons swapped?  Do they pop up immediately when you click the right mouse button (as they should)?
    Have you reconfigured your mouse double-click speed or any other mouse parameters recently?
    Do you have an alternate mouse you can try?
    Have you tried clearing your Photoshop preferences (by pressing and holding Control - Shift - Alt immediately after launching Photoshop)?
    -Noel

  • Stop sub-titles on Next DVD Ripper?

    I purchased Next DVD Ripper on the App Store, and it seems to work pretty well except for one annoying feature. It is show sub-ttiles for all the spoken dialog. There is a "subtitles off" shown for each chapter, but I'm still getting subtitles. There doesn't seem to be any way to communicate with this company's tech support. Any ideas?
    Thanks

    Actually I just sent an email to the address link on their web page and it was returned as a Mail System Error, No Such User. I haven't found any other way to contact them.

  • Stop While and again START

    Hi!
    Its very nice. Plz give me the solution for the following problem --
    Plz find the attached vi ( 1. main 2. Mouse over is sub vi of "main")
    I want to make controls on my front panel mouse sensitive. I have one vi (Mouse over) which full fill my requirement. But when i call it as sub vi i will get mouse sensitivity only once. i.e when i call sub vi for the first time i will have no problem,  but when i came back to main vi and again enter to sub vi i lost control. vi gets hanged.
    When i analyse this, i concluded that its problem of while loop switching. When i stop sub vi, while loop gets stoped, but when i call back again subvi, that while loop doesnt restart  again.
    SO tell me how to restart while loop in program once it is stopped. Give me the solution.
    Thanks
    Kaustubh
    VC (Pune)
    INDIA
    Attachments:
    main.zip ‏20 KB

    Hi Kaustubh_vc,
    i´ve modified your attached SubVI . You have
    to unregister your user events in SubVI so if you call your vi secondly
    your user event is new registered and afterward unregistered.
    Hope it helps
    Attachments:
    main_changed.zip ‏15 KB

  • Sub account keeps merging with main account

    I travel a lot and use Apple to view my emails. However whenever I use the safari browser to view my BT Yahoo account in order to permanently delete emails my wife's sub account populates my iPad mail app. This means I have hundreds of emails all with the same time stamp in my apple mail account. Is there either a way of permanently deletin emails without going through a browser or stopping sub accounts merging into the main account

    My original reply was intended to obviate the need to use a browser in order to delete mails which appears to have been succesful so I don't understand why you still need to use the browser. Having said that, it seems bizarre that refreshing a browser opened in one account should cause mails from another account to be delivered to a mail client!! Do you have some form of forwarding rule set up anywhere? Does the mail client have both accounts set up or just the primary account? I.e are the sub account mails appearing in your account or the sub account's  inbox?

  • Programming the stop button

    Hello!
    I am collecting data and processing it in the same vi. Now i need to store the peak of every waveform collection (separate runs) and plot them separately. How can i do this? Can i run another vi automatically when the stop button is pressed? Can i program this in the vi?
    Thanks.

    Hi,
    I am including a Vi where you can detect the peak of the waveforms & sequentially store peak values into the array & plot into waveform graph. Here when you press "Stop", a sub vi opens. When you stop sub vi by pressing "Stop" button placed on the front panel of sub vi, both the vi are stopped.
    Hope this helps. Incase of any problems, your feedbacks are welcome.
    Best Regards,
    Nirmal Sharma
    India
    Attachments:
    Peak_values_plot.vi ‏39 KB
    sub_vi.vi ‏14 KB

  • How can I active a trigger on the stage when it is overlayed by a transparent element?

    I'm looking for a way to activate a trigger that is masked by another layer.   The context is that I'm building a prototype with rollovers in the navigation.  Right now, I have it functioning with 4 layers, but it strikes me that there's an easier way.  Here's the current setup, from top to bottom
    Transparent buttons over each nav item, used as triggers.  On click they move the state down the timeline, and b) on mouseover and mouseout, they turn on/off the rollover states in layer 3.
    Nav text PNG, with a transparent background.
    Rollover states under each nav item.  These are rectangles that are shown/hidden by the mouseover and mouseout triggers in layer 1 
    Background to the nav.
    The easier way to do this would be to eliminate layer 1 and add the triggers to the rollover states in layer 3.  (This would also involve adjusting transparency rather than hiding/showing each rollover.)   BUT there's a transparent PNG over the rollover images, and that is preventing them from executing any triggers.  Is there a way around this? 
    Thanks!
    Chassy

    Hi,
    I am attaching 3 vi where Main vi calls the sub vi when Start Sub vi button is pressed. You can also stop your sub vi by pressing Stop Sub Vi button.
    I hope this helps. Incase of any problem, pl. get back.
    Best Regards,
    Nirmal Sharma
    India
    Attachments:
    Main_Vi.vi ‏27 KB
    sub_vi.vi ‏14 KB
    global_stop.vi ‏6 KB

  • HELP PLZZZ

    When I click on 2 photos a message appears saying "a calling thread cannot access this object because a different thread owns it" I have no clue how to fix this PLZZZ HELP I just started this class so I don't know many key words here is my code
    ' Match Game
    InitializeProgram()
    Sub InitializeProgram
    'graphics window
    GraphicsWindow.Width = 825
    GraphicsWindow.Height = 530
    GraphicsWindow.BackgroundColor = "LightSkyBlue"
    'initialize box locations with covers
    Cover = "C:\New folder\gold.png"
    BoxW = 150
    BoxH = 100
    x = 5
    y = 5
    For I = 1 To 20
    BoxX[I] = x
    BoxY[I] = y
    GraphicsWindow.DrawResizedImage(Cover, BoxX[I], BoxY[I], BoxW, BoxH)
    x = x + BoxW + 5
    If (x > 4 * BoxW) Then
    x = 5
    y = y + BoxH + 5
    EndIf
    EndFor
    EndSub
    'load images
    Photo[1] = "C:\Users\John\Desktop\New folder (2)\gg.jpg"
    Photo[2] = "C:\Users\John\Desktop\New folder (2)\ggg.jpg"
    Photo[3] = "C:\Users\John\Desktop\New folder (2)\gggg.jpg"
    Photo[4] = "C:\Users\John\Desktop\New folder (2)\ggggg.jpg"
    Photo[5] = "C:\Users\John\Desktop\New folder (2)\gggggg.jpg"
    Photo[6] = "C:\Users\John\Desktop\New folder (2)\ggggggg.jpg"
    Photo[7] = "C:\Users\John\Desktop\New folder (2)\gggggggg.jpg"
    Photo[8] = "C:\Users\John\Desktop\New folder (2)\ggggggggg.jpg"
    Photo[9] = "C:\Users\John\Desktop\New folder (2)\gggggggggg.jpg"
    Photo[10] ="C:\Users\John\Desktop\New folder (2)\ggggggggggg.jpg"
    Timer.Interval = 1000
    Timer.Pause()
    Timer.Tick = TickSub
    GraphicsWindow.MouseDown = MouseDownSub
    Sub MouseDownSub
    If (GameStatus = "Playing" And CanClick) Then
    'find which box was clicked
    x = GraphicsWindow.MouseX
    y = GraphicsWindow.MouseY
    BoxNumber = 0
    For I = 1 To 20
    If (x > BoxX[I] And x < BoxX[I] + BoxW) Then
    If (y > BoxY[I] And y < BoxY[I] + BoxH) Then
    BoxNumber = I
    Goto GotIt
    EndIf
    EndIf
    EndFor
    GotIt:
    If (BoxNumber <> 0) Then
    'if already clicked then exit
    If (PhotoFound[BoxNumber]) Then
    Goto LeaveMouseDownSub
    EndIf
    ShowPhotoAndCheck()
    EndIf
    EndIf
    LeaveMouseDownSub:
    EndSub
    'headings
    GraphicsWindow.BrushColor = "Black"
    GraphicsWindow.FontBold = "false"
    GraphicsWindow.FontSize = 20
    Heading[1] = Shapes.AddText("Player 1")
    Heading[2] = Shapes.AddText("Player 2")
    Shapes.Move(Heading[1], 670, 5)
    Shapes.Move(Heading[2], 670, 70)
    'scores
    GraphicsWindow.BrushColor = "White"
    GraphicsWindow.FillRectangle(670, 35, 100, 25)
    GraphicsWindow.FillRectangle(670, 100, 100, 25)
    GraphicsWindow.BrushColor = "Black"
    Score[1] = 0
    Score[2] = 0
    ScoreDisplay[1] = Shapes.AddText(Score[1])
    ScoreDisplay[2] = Shapes.AddText(Score[2])
    Shapes.Move(ScoreDisplay[1], 715, 35)
    Shapes.Move(ScoreDisplay[2], 715, 100)
    'Draw message area
    GraphicsWindow.BrushColor = "Yellow"
    GraphicsWindow.FillRectangle(630, 250, 185, 45)
    GraphicsWindow.PenColor = "Black"
    GraphicsWindow.PenWidth = 2
    GraphicsWindow.DrawRectangle(630, 250, 185, 45)
    GraphicsWindow.BrushColor = "Blue"
    GraphicsWindow.FontBold = "false"
    GraphicsWindow.FontSize = 18
    Message = "Game Stopped"
    MessageX = 30
    MessageArea = Shapes.AddText(Message)
    DisplayMessage()
    Sub DisplayMessage
    Shapes.Move(MessageArea, 630 + MessageX, 260)
    Shapes.SetText(MessageArea, Message)
    EndSub
    'define buttons
    GraphicsWindow.BrushColor = "Black"
    GraphicsWindow.FontSize = 16
    StartStopButton = Controls.AddButton("Start Game", 630, 410)
    OptionsButton = Controls.AddButton("Change Options", 630, 450)
    ExitButton = Controls.AddButton("Exit", 630, 490)
    'Default Options
    NumberPlayers = 2
    PlayAlone = "true"
    Difficulty = 1
    SetTitle()
    GameStatus = "Stopped"
    Sub SetTitle
    If (NumberPlayers = 1) Then
    GraphicsWindow.Title = "Match Game - 1 Player, "
    If (PlayAlone) Then
    GraphicsWindow.Title = GraphicsWindow.Title + "Play Alone"
    Else
    GraphicsWindow.Title = GraphicsWindow.Title + "Play Computer"
    EndIf
    Else
    GraphicsWindow.Title = "Match Game - 2 Players"
    EndIf
    EndSub
    Controls.ButtonClicked = ButtonClickedSub
    Sub ButtonClickedSub
    B = Controls.LastClickedButton
    If (GameStatus = "Stopped") Then
    If (B = ExitButton) Then
    Program.End()
    ElseIf (B = OptionsButton) Then
    SetOptions()
    ElseIf (B = StartStopButton) Then
    StartGame()
    EndIf
    ElseIf (GameStatus = "Playing") Then
    If (B = StartStopButton) Then
    'stop program
    Message = "Game Stopped"
    MessageX = 30
    StopGame()
    EndIf
    EndIf
    EndSub
    Sub SetOptions
    GraphicsWindow.Hide()
    TextWindow.Show()
    TextWindow.Title = "Match Game"
    TextWindow.CursorLeft = 3
    TextWindow.CursorTop = 3
    TextWindow.WriteLine("MATCH GAME OPTIONS")
    TextWindow.WriteLine("")
    GetPlayers:
    TextWindow.CursorLeft = 3
    TextWindow.WriteLine("With one player, you play alone or against the computer.")
    TextWindow.CursorLeft = 3
    TextWindow.WriteLine("With two players, you play against a friend.")
    TextWindow.CursorLeft = 3
    TextWindow.Write("How many players do you want (1 or 2)? ")
    NumberPlayers = TextWindow.ReadNumber()
    If (NumberPlayers < 1 Or NumberPlayers > 2) Then
    Goto GetPlayers
    EndIf
    If (NumberPlayers = 1) Then
    Heading[1] = "You"
    GetPlayAlone:
    TextWindow.WriteLine("")
    TextWindow.CursorLeft = 3
    TextWindow.WriteLine("You can play alone or play the computer.")
    TextWindow.CursorLeft = 3
    TextWindow.Write("Make your choice (1-Play Alone, 2-Play Computer)? ")
    T = TextWindow.ReadNumber()
    If (T < 1 Or T > 2) Then
    Goto GetPlayAlone
    EndIf
    If (T = 1) Then
    PlayAlone = "true"
    Heading[2] = "Guesses"
    Else
    PlayAlone = "false"
    Heading[2] = "Computer"
    GetDifficulty:
    TextWindow.WriteLine("")
    TextWindow.CursorLeft = 3
    TextWindow.WriteLine("You can set the game difficulty.")
    TextWindow.CursorLeft = 3
    TextWindow.Write("Make your choice (1-Easiest, 2-Easy, 3-Hard, 4-Hardest)? ")
    Difficulty = TextWindow.ReadNumber()
    If (Difficulty < 1 Or Difficulty > 4) Then
    Goto GetDifficulty
    EndIf
    EndIf
    Else
    Heading[1] = "Player 1"
    Heading[2] = "Player 2"
    EndIf
    SetTitle()
    TextWindow.Hide()
    GraphicsWindow.Show()
    EndSub
    GameStatus = "Stopped"
    For I = 1 To 10
    GraphicsWindow.DrawResizedImage(Photo[I], BoxX[I], BoxY[I], BoxW, BoxH)
    EndFor
    Sub NRandomIntegers
    'Order all elements initially
    For I = 1 To N
    NIntegers[I] = I
    EndFor
    'J is the number of integers remaining
    For J = N To 2 Step -1
    I = Math.GetRandomNumber(J)
    T = NIntegers[J]
    NIntegers[J] = NIntegers[I]
    NIntegers[I] = T
    EndFor
    EndSub
    N = 20
    NRandomIntegers()
    PhotoIndex = NIntegers
    For I = 1 To 20
    If (PhotoIndex[I] > 10) Then
    PhotoIndex[I] = PhotoIndex[I] - 10
    EndIf
    EndFor
    GraphicsWindow.DrawResizedImage(Photo[PhotoIndex[I]], BoxX[I], BoxY[I], BoxW, BoxH)
    Sub KeyDownSub
    K = Text.ConvertToUpperCase(GraphicsWindow.LastKey)
    If (GameStatus = "Stopped") Then
    If (K = "E") Then
    Program.End()
    ElseIf (K = "C") Then
    SetOptions()
    ElseIf (K = "S") Then
    StartGame()
    EndIf
    EndIf
    EndSub
    Sub StartGame
    GameStatus = "Playing"
    'clear screen
    GraphicsWindow.BrushColor = GraphicsWindow.BackgroundColor
    GraphicsWindow.FillRectangle(0, 0, 625, 530)
    Score[1] = 0
    Score[2] = 0
    PhotosRemaining = 20
    N = 20
    NRandomIntegers()
    PhotoIndex = NIntegers
    For I = 1 To 20
    If (PhotoIndex[I] > 10) Then
    PhotoIndex[I] = PhotoIndex[I] - 10
    EndIf
    PhotoFound[I] = "false"
    GraphicsWindow.DrawResizedImage(Cover, BoxX[I], BoxY[I], BoxW, BoxH)
    EndFor
    PlayerNumber = 1
    ChoiceNumber = 1
    If (NumberPlayers = 1) Then
    Message = "Pick a Box"
    MessageX = 45
    Else
    Message = "Player 1, Pick a Box"
    MessageX = 10
    EndIf
    DisplayMessage()
    'reset buttons
    GraphicsWindow.BrushColor = "Black"
    GraphicsWindow.FontSize = 16
    Controls.SetButtonCaption(StartStopButton, "Stop Game")
    Controls.HideControl(OptionsButton)
    Controls.HideControl(ExitButton)
    CanClick = "true"
    EndSub
    Sub StopGame
    'restore buttons
    GameStatus = "Stopped"
    GraphicsWindow.BrushColor = "Black"
    GraphicsWindow.FontSize = 16
    Controls.SetButtonCaption(StartStopButton, "Start Game")
    Controls.ShowControl(OptionsButton)
    Controls.ShowControl(ExitButton)
    CanClick = "false"
    DisplayMessage()
    EndSub
    Sub ShowPhotoAndCheck
    'show image behind selected Photo box (BoxNumber)
    GraphicsWindow.DrawResizedImage(Photo[PhotoIndex[BoxNumber]], BoxX[BoxNumber], BoxY[BoxNumber], BoxW, BoxH)
    PhotoFound[BoxNumber] = "true"
    If (ChoiceNumber = 1) Then
    Choice[1] = BoxNumber
    ChoiceNumber = 2
    If (NumberPlayers = 2) Then
    Message = "Player " + PlayerNumber + ", Pick Another"
    MessageX = 5
    DisplayMessage()
    Else
    'one player logic
    EndIf
    Else
    CanClick = "false"
    Timer.Resume()
    EndIf
    EndSub
    Sub TickSub
    Choice[2] = BoxNumber
    ChoiceNumber = 1
    If (PhotoIndex[Choice[1]] = PhotoIndex[Choice[2]]) Then
    'a match
    Sound.Stop(Program.Directory + "\tada.wav")
    Sound.PlayAndWait(Program.Directory + "\tada.wav")
    'blank out boxes
    GraphicsWindow.BrushColor = "White"
    GraphicsWindow.FillRectangle(BoxX[Choice[1]], BoxY[Choice[1]], BoxW, BoxH)
    GraphicsWindow.FillRectangle(BoxX[Choice[2]], BoxY[Choice[2]], BoxW, BoxH)
    Score[PlayerNumber] = Score[PlayerNumber] + 1
    PhotosRemaining = PhotosRemaining - 2
    If (PhotosRemaining = 0) Then
    Sound.Stop(Program.Directory + "\wow.wav")
    Sound.Play(Program.Directory + "\wow.wav")
    If (NumberPlayers = 2) Then
    If (Score[1] > Score[2]) Then
    Message = "Player 1 Wins!"
    MessageX = 30
    ElseIf (Score[2] > Score[1]) Then
    Message = "Player 2 Wins!"
    MessageX = 30
    Else
    Message = "It's a Tie!"
    MessageX = 45
    EndIf
    Else
    'one player logic
    EndIf
    StopGame()
    EndIf
    'another turn?
    If (PhotosRemaining <> 0) Then
    If (NumberPlayers = 2) Then
    Message = "Player " + PlayerNumber + ", Pick Again"
    MessageX = 10
    DisplayMessage()
    Else
    'one player logic
    EndIf
    EndIf
    Else
    'no match
    Sound.Stop(Program.Directory + "\boing.wav")
    Sound.PlayAndWait(Program.Directory + "\boing.wav")
    PhotoFound[Choice[1]] = "false"
    PhotoFound[Choice[2]] = "false"
    GraphicsWindow.DrawResizedImage(Cover, BoxX[Choice[1]], BoxY[Choice[1]], BoxW, BoxH)
    GraphicsWindow.DrawResizedImage(Cover, BoxX[Choice[2]], BoxY[Choice[2]], BoxW, BoxH)
    'swap players
    If (NumberPlayers = 2) Then
    If (PlayerNumber = 1) Then
    PlayerNumber = 2
    Else
    PlayerNumber = 1
    EndIf
    Message = "Player " + PlayerNumber + ", Pick a Box"
    MessageX = 10
    DisplayMessage()
    Else
    'one player logic
    EndIf
    EndIf
    CanClick = "true"
    EndSub

    To debug this we need to do a couple of things which are common to most debugging problems.
    1] Add TextWindow.WriteLine statements in lots of places to see exactly where the problem occurs - this will help to write the simple test code to show the issue.  Start by one in the start and end of each Subroutine for example, then add more to identify
    the line at which the problem occurs.
    Then, if the issue is not clear:
    2] Simplify the code as much as possible to show the error - i.e write a simple test program or start from your program and delete bits that are not relevant to your problem.  If you don't need images or sounds in other files to show the problem then
    remove them so that some-one else can run the file and see the problem.  If extra images or files are needed to show it, then use test web files, again so the program can be run by some-one else.
    Once you do this we can see that the issue is with Sound.Stop().
    And a simple test file:
    musicFile = "http://litdev.co.uk/game_images/backgroundMusic.mp3"
    Sound.Play(musicFile)
    Timer.Interval = 5000
    Timer.Tick = OnTick
    Sub OnTick
    Sound.Stop(musicFile)
    EndSub
    So the problem is that we cannot act on the music with Sound commands from inside an event subroutine - they work on a separate thread to the main UI thread.
    Solution: do all work on the main UI thread and only use the event subroutines to set flags:
    musicFile = "http://litdev.co.uk/game_images/backgroundMusic.mp3"
    Sound.Play(musicFile)
    Timer.Interval = 5000
    Timer.Tick = OnTick
    While ("True")
    If (restartMusic) Then
    Sound.Stop(musicFile)
    Program.Delay(100) 'To hear restart
    Sound.Play(musicFile)
    restartMusic = "False"
    EndIf
    Program.Delay(20) 'Don't mash cpu while waiting for input in game loop
    EndWhile
    Sub OnTick
    restartMusic = "True" 'Flag that the music should restart
    EndSub
    Or more moduar:
    musicFile = "http://litdev.co.uk/game_images/backgroundMusic.mp3"
    Sound.Play(musicFile)
    Timer.Interval = 5000
    Timer.Tick = OnTick
    While ("True")
    CheckRestart()
    Program.Delay(20)
    EndWhile
    Sub OnTick
    restartMusic = "True"
    EndSub
    Sub CheckRestart
    If (restartMusic) Then
    Sound.Stop(musicFile)
    Program.Delay(100) 'To hear restart
    Sound.Play(musicFile)
    restartMusic = "False"
    EndIf
    EndSub
    For more info see the following wiki articles
    http://social.technet.microsoft.com/wiki/contents/articles/15060.small-basic-event-basics.aspx
    http://social.technet.microsoft.com/wiki/contents/articles/22264.small-basic-threading.aspx
    and for the game loop (While )"True" loop
    http://social.technet.microsoft.com/wiki/contents/articles/20865.small-basic-dynamic-graphics.aspx
    PS nice program interface by the way - the game loop and event flags is the best way in Small Basic and often in other languages - good luck

  • Premiere CS6 Trial ++ Cloud Trial ??

    Two Enquiries:
    Quick question about the 30-day trial offers.
    If I try out the downloaded version of Premiere Pro CS6 for up to 30 days,
    will it void my chances of also trying the Creative Cloud for a 30-day trial?
    ... meaning, can I do both, say, back-to-back?
    And, a question about keeping my current CS3 system intact
    while doing either of the CS6 (single app trial, as in Premiere Pro, or Creative Cloud) trials ...
    Since I have  a paid-for full CS3 package, I want to keep it intact on my Mac
    during any trials I partake of; in case I discontinue the trials for any reason, that I
    can revert back to using CS3 apps.  I simply can't afford an upgrade of the full package.
    Is there any problem or issues with CS6 over-riding or "un-installing" my CS3 suite
    on my Mac, ie, can I keep them both running in parallel somehow?  (ie, my CS3 suite + CS6 cloud trial
    or CS6 cloud monthly subscription).
    thanks for clarification.

    I would ike to try out the 1 month trial version of the CREATIVE CLOUD APPS.
    In a live online chat with an Adobe "chat agent" (who seems rather clueless ... you guys really have to stop subbing out to 3rd-world tech services...), they indicate that the 1-month free trial is limited or crippled somehow, but they don't have a clue how, and they don't seem to know why Adobe would not indicate this on their website.
    Seems odd that you would get a "crippled" trial version to test out the apps?  Like taking a car for a test drive with no tires?    *uh... * ...
    thanks for any clarification ...

  • 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 .

  • Why does Dreamweaver force an image sub-directory, and how can I stop that behaviour?

    This is from a person (me) who has made lots of web pages, but doesn't use sub-directories, so you might decide I am unsophisticated.  So be it.  I do not use sub-directories, but every time I open one of my web pages, Dreamweaver decides that all of my images are supposed to be in sub-directories.  Then I have to go through all the images on the page and delete the sub-directories.  Luckily, I usually don't have a lot of images on my pages.  Unpleasantly, it takes time and I have to do it EVERY TIME I MODIFY ANY PAGE.  It doesn't remember my preference.
    Is there any way to stop this behaviour?
    So far, I have looked in every options and preferences screen that I can find.  I have also searched on "directories" and "images" and combinations.  I cannot find anything.
    OBTW, I do not use CSS for these pages at all.  They were made before CSS and they are mainly content and links to files, so I am not planning on changing this unless there are strong arguments to the contrary.
    All help is appreciated.
    Cheers!

    What version of DW are you using?  And please explain what you mean by this -
    every time I open one of my web pages, Dreamweaver decides that all of my images are supposed to be in sub-directories.  Then I have to go through all the images on the page and delete the sub-directories.
    Are you saying that merely opening a file causes DW to move your images?

  • How do I stop iTunes from creating duplicate entries and sub-folders?????

    I am SOOO SICK AND TIRED of iTunes deciding to create sub-folders all the time. I just want to have one big folder and throw all my music into it. I have now spent several weeks trying to re-create my music library after my hard drive crashed, and iTunes keeps messing everything up.
    If I let iTunes do what it wants, I end up with two or three copies of each song. If I try to consolidate my files by deleting extra copies of songs, suddenly iTunes can't "find" anything.
    When I go looking for the "missing" songs, iTunes creates endless fractal layers of folders within folders.
    I AM SICK OF THIS!
    I AM ABOUT TO ABANDON ITUNES AND GO BACK TO WINDOWS MEDIA PLAYER.

    CodeVII wrote:
    Why when you have a large number of files it is better to have them in sub-folders???
    Unchecking both those options still doesn't stop Itunes from putting files in Artist and Album folders..
    The problem I see with putting music files in folders is if you want to move them or change the file properties with just the Operating System they take longer to access. So quicktime seems like something I'd try but....
    I'd like to have the option to have my files in one Folder/Directory.
    iTunes really wants you to use iTunes to manage the iTunes library. If you use the operating system or third party tools to modify tags, iTunes won't detect the change until it has some reason to access the tag, e.g. during playback. In contrast WMP will sniff out changes in your tags and update itself automatically.
    Once you've got your media in iTunes why do you need to access it again at the folder level? As it happens I'm quite obsesive over the structure of my files both logical and physical (see grouping & scripts) but I strongly recommend others to avoid the temptation to waste too much time over the physical layout and leave iTunes to get on with it...
    Many other programs have offered choices for folder structure, invalid character replacement etc. over many years without iTunes joining in. I suspect that the developers of iTunes have long since decided that extra choice in this area isn't necessary since "it just works", though by all means drop a line to iTunes Feedback.
    tt2

  • Easy Tabs breaks when a calendar list view is added and stops working on sub sites (?)

    SP 2010 on premise.
    When I add a calendar list view web part to Easy Tabs it wipes out all the other web parts and causes errors. Libraries and other web parts seem fine. I haven't tried other list views or been able to find out if they're supported in Easy Tabs.
    Also when pages were moved (or copied) from a parent to a sub site, I noticed the first couple of tabs work when clicked but then it stops responding.
    Any thoughts?

    Hello Webbrewer,
    When I look at the Easy Tabs page I see there are some known issues with Calendars:
    http://usermanagedsolutions.com/SharePoint-User-Toolkit/Pages/Easy-Tabs-v5.aspx
    Maybe you can contact them, they have a skype chat on their site.
    Hope this helps a bit
    - Dennis | Netherlands | Blog |
    Twitter

  • In VB6, why is the "GPIBNotify sub" (from the GPIBNotify AtiveX Ctrl) all the time called even if no Event happened? This callback function is started then stopped permanently as if its received SRQ from the GPIB Bus. Any ideas?

    I'm programming in Visual Basic 6 to communicate between a computer and HP Measurement Devices (BER-Meter) with GPIB. I have already read information and code for this. My platform is W98. The NI488.2 commands can be sent without any problem between the equipements. However when I'm using the GPIBNotify ActiveX Control to use the callback function, there is a permanent starting and stop of the GpibNotify Sub. The SetupMask and RearmMask are set to RQS and the HP Device is well configured. Moreover an oscilloscope measuring the 10th line (SRQ
    ) of the bus didn't show any pulse on the line behalf the right one. Any Idea?

    Hello-
    So, the SRQ is not detected by the oscilloscope? It must be a setting that is not correct with the instrument. Try contacting the manufacturer of the instrument for details about SRQ's. The GPIBNotify ocx will not be able to react to an SRQ if there isn't one.
    Randy Solomonson
    Application Engineer
    National Instruments

  • HT200047 when watching a movie sub titles keep popping up and wont go away unless I stop the movie and restart it.  I have sub titles and closed caption off but it still comes up.

    dont know what to do. When watching a movie, closed caption comes up and it wont go away unless I stop the movie and restart it.  Closed caption and sub titles are off but still comes up.  I restored my apple tv to factory settings to see if that would stop it, but it didn't work still comes up. What can I do?

    Hi,
    I suggest you try the steps in this thread for test:
    Disable Suggested Sites does not work.
    http://answers.microsoft.com/en-us/ie/forum/ie9-windows_7/disable-suggested-sites-does-not-work/4ba064b1-1c6e-43f1-939e-2db1d335b2ef
    Regards,
    Vincent Wang
    TechNet Community Support

Maybe you are looking for

  • How to replace multiple files in same location Indesign CS6

    Hi everyone please help me with this challenge if you are avialable it will be greatly appreciated! Ok I have a spread of about 60 pages in indesign.  I created a template where I have differnt PDFs in each section.  I have 3 different PDFs per page

  • How to select outgoing server automatically?

    The code below is part of Apple Mail templates. Where you see the "Trial", this is a code that automatically writes Trial into the subject line of an email when using this template. I have several accounts with outgoing servers. How can I put in the

  • The Structure tab is missing on the Insert tab

    where is it and how do i access it please, I can access it on DW CS6 I am new and need help please. Thank you. andy

  • Menu selection issues in Flash CS4 for Mac

    I'm having a few menu selection issues in Flash. It seems some fields are de-selecting automatically (and quickly). For instance: 1) When I double-click a layer to change it's name, it highlights then immediately de-selects. I can only rename by righ

  • Canceled Creative Cloud Subscription, but keep getting re-activate message

    Hi, My creative Cloud subscrition practically doubled so I canceded it and upgraded my "stand alone" Creative Suite Production Primium 5.5 to Creative Suite Production Primium 6.  Now, when I try to load, say Photoshop or Illustrator, I get a message