LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing user interface

Hi,
 
I cant seem to be able to access my user interface while the programme is running. For example, stopping the programme using the end button. Attached is the programme file.
 
THanks
0 Kudos
Message 1 of 3
(2,713 Views)
Hello,

I don't have the fieldpoint vi's installed so I've deleted all instances in other to run and see the problem.

It seems that you've a problem of processing. Because if you run your program and check the CPU performance indicator (ctrl+alt+del), if can see that it's 100%.

Solution:
put a delay on the first case false (you should always do this in a while).


Software developer
www.mcm-electronics.com





PORTUGAL
0 Kudos
Message 2 of 3
(2,707 Views)
Hi vivek,

you configured your events to "lock front panel until event completes" - this will prevent you from using the UI while the event is executed.

You should rethink the design of your program:
- it's no good idea to have code in the event structure that needs a long time to execute - other events have to wait...
- there's a STOP in the 2nd event - do you want to break your vi instead of a graceful shutdown?
- the stop buttons are located off the screen, should the user always search on a scrollable interface for some buttons to press?
- and as told before: always put some delays in loops to prevent cpu-hogging!

Message Edited by GerdW on 09-13-2007 11:06 AM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 3
(2,707 Views)