I'm writing some code where the user must correctly enter numeric data
for a number of parameters (eg wavelength, time, energy etc) before
the program continues (eg via a 'click button when done' type
command).  I'm using a while loop to lock the done button out and hold
progress of the program until all data entered is valid (eg using a
boolean AND statement across all data input parameters) For example,
the entered time must between 30-60 seconds and a boolean test on the
time will remain low until the time is within this band.

Unfortunately, I've noticed that non-labview users do not click away
from the control box (or use the tick box) when entering data, and a
problem arises when they have establised valid data, but then start to
enter stupid data in a control field (eg time = -5 seconds).  If they
don't confirm the data input (eg by using the tick box) my boolean
trap stays high and the done button is available to allow them out of
the loop.  Unfortunately, once on the other side of the loop, the
control carries through time = -5 seconds, which of course screws up
the analysis!!!

I have solved the problem in my own way, but my solution is not
elegant, and users complain that the controls are 'clicky'.  {And no,
I can't tell them to enter the data properly!!!}

Has anyone come across a neat solution to this problem?

Reply via email to