LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Event structure problem...

Then wrap all of your code in that event case in another case structure where True means active and has all the code and and False means inactive and has nothing.
0 Kudos
Message 31 of 36
(1,018 Views)
I was thinking about this too, but I think this is a brutal solution. Nonetheless, it might happen I will have to use this solution unless I find a way to deal with this using the Event structure.


0 Kudos
Message 32 of 36
(1,016 Views)

If static events could be deleted… it is equivalent to modify/erase code during run-time. I wonder if that feature was enabled, whether we will see LabVIEW virus.

 

Maybe Microsoft/Agilent are working on those. Smiley Happy

0 Kudos
Message 33 of 36
(998 Views)
I think he was referring to ignoring the event.  Not to deleting code..  😉

Since the code has to be compiled before execution, I doubt you'd be able to use that approach to modify code that is running.



Message Edited by JoeLabView on 06-15-2008 09:53 AM
0 Kudos
Message 34 of 36
(976 Views)
So Joe is there a civilized way to ignore an event?
0 Kudos
Message 35 of 36
(954 Views)
You should have some code inside the event case to decise if you want to run some code.

If you have a 'lock FP during event' event and the event is in a false statement and can't be executed you will lock your user interface.

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 36 of 36
(929 Views)