03-27-2006 10:57 PM
03-27-2006 11:57 PM
Maybe you can tell us what you are trying to achieve. I simply cannot make much sense out of your code.
At least try to put a small wait in each loop, right now they all spin millions of times doing nothing. Maybe you could use an event structure? You should also set your buttons to latch when released. Currently, e.g. the "Go back to B" button inside c.vi is set to switch until released, meaning you'll probably run the TRUE case a few thousand times whenever you press the button. Also familiarize yourself with dataflow. You seem to think that you set the boolean flag value before the while loop starts, however LabVIEW does not guarantee that this happens in this order because there is no data dependency.
What are you trying to do? I am sure there are better ways. 🙂
03-28-2006 12:17 AM
03-28-2006 12:54 AM
Hi,
if your problem is only how to know if a vi is running or aborted you can use a "property node".
See the attached example (in LV7.1) or the picture .
Bye
03-28-2006 01:56 AM
thanks,,
i make it from your idea
03-29-2006 02:06 AM
So, what's up with all the commas and periods? I am a stickler for the punctuation; but after seeing this, I rather have nothing!
-Khalid
PS: I guess I will be flamed for this.,., bu,t ...it .,,,.. su.r.e..,,. was,,,,, ann..o..y...ing!,,,!,,,,....
03-29-2006 10:53 AM
This can happen about one day after you spill sugary soda over the lower right of the keyboard. 😉
@Khalid wrote:
So, what's up with all the commas and periods?
03-30-2006 01:05 AM