02-08-2008 01:23 PM - edited 02-08-2008 01:26 PM
02-08-2008 03:23 PM
Upon further inspection, if I have highlight execution on, the controls respond properly and their events happen. Also, if I double click any control, it executes properly. All other event cases in the structure execute properly.
The highlight makes me think it might be a race, but I thought events were buffered.
02-09-2008 01:01 AM
You should post a simlified version of your problem.
Many vis are mising...
02-09-2008 04:32 PM
Hi Jeff,
can you upload the missing vi´s?
Some points for you:
Mike
02-11-2008 08:28 AM
The simplified version is that a boolean triggers an event, and thereafter that specific event won't execute. The trouble is that all the booleans execute under the same event case.
Pnt wrote:
You should post a simlified version of your problem.
Many vis are mising...
MikeS81 wrote:
Hi Jeff,
can you upload the missing vi´s?
Some points for you:
- control references don´t need to be closed
- in the timeout case, you use the control reference of your cluster and at the end you overwrite the value (what do you make there??)
Mike
02-11-2008 08:49 AM
Pnt wrote:
You should post a simlified version of your problem.
Many vis are mising...
The simplified version is that a boolean triggers an event, and thereafter that specific event won't execute. The trouble is that all the booleans execute under the same event case.
Events are buffered and you can't miss one. I also don't remember any bug like this. The most possible reason is your code, somewhere.
02-11-2008 09:01 AM
Yeah, the actual event is triggering. The boolean immediately appears to toggle, and about 3/4 of a second later, the event source (User Interface) and control reference of the event source are available, but no code is executed inside the event structure.
I also discovered this morning that double clicking will properly execute the event, so I have no idea what that might mean in terms of memory or stacking or what have you.
02-11-2008 09:22 AM
JeffOverton wrote:
...I have a control panel with fifteen or so boolean controls. All of them operate properly, except one.
02-11-2008 09:30 AM - edited 02-11-2008 09:31 AM
Woops, sorry. These are all called by a general function, but they're all operable on their own.
Man1.vi will launch a standalone manual valve control program, and it's in the folder Manual 1. Necessary SubVIs are in Manual Common, and all typedefs and controls are in Typedefs.
The program will run fine until 3g (in the bottom right, it's a water fill valve) is toggled, and then no control will operate properly except for "Default State" (because it uses a separate event). The trouble only happens when 3g is True. If you hit Default State it will return all valves to their unenergized state and reset the controls, and the program will work properly again.
As of this morning, I know that if 3g is true and the controls are semi-unresponsive (they will toggle, no code executes, and they toggle back), a double click will accurately switch the control.