Tags: cant, halt, interface, labview, programme, programming, running, user

user interface

On Programmer » LabVIEW

1,232 words with 2 Comments; publish: Sun, 18 May 2008 22:38:00 GMT; (2002,808.59, « »)

Hi,

I had some problems with my user interface.While the programme is running i

cant seem to be able to halt my programme from the user interface. Hope u gu

ys could help me with it.

Thanks.:smileyhappy:

TRY.vi:

http://forums.ni.com/attachments/ni/170/271404/1/TRY.vi

All Comments

Leave a comment...

  • 2 Comments
    • Your stop is not wired to anything but since your VI only runs once, there i

      s nothing to stop.:smileywink:

      The only way your VI will run continuously is by using the Run Continuous bu

      tton on the toolbar and that is not the correct way to run a VI. That button

      is just for special debug purposes. Put a while loop around your code and w

      ire the stop button to the

      conditional terminal of the while loop. You could also use an event structur

      e where you have a value change event for the start button and a value chang

      e event for the stop.

      #1; Sun, 18 May 2008 22:39:00 GMT
    • hi? Kabul

      I have seen the TRY!.vi, I found some problem that while loop can not stop u

      nless for loop finish its loop.

      I once meet the problem when I?what to stop a loop. its occur often at Multi

      -thread. How can u deal this problem

      thank u

      fay

      #2; Sun, 18 May 2008 22:40:00 GMT