08-09-2005 01:16 PM
08-09-2005 01:36 PM
08-09-2005 01:52 PM
08-09-2005 01:57 PM
08-09-2005 02:03 PM
Hi guys,
This may not be the most elegent solution, but could you just change the data range so that it is impossible to set the number at 0 or below. I'm working in Labview 6.1 and I'm not sure if 7 has the same function, but I don't see why it wouldn't. Simply right click on the control and select Data Range... Again, not the most elegent solution, but I don't see why it won't work. Good luck,
PP
08-09-2005 02:04 PM
08-09-2005 02:52 PM
08-09-2005 04:12 PM
08-09-2005 10:30 PM
I have cleaned up the code a bit, which made the basic operation more consistent--and easier to understand, I think at least. In terms of your error condition, the problem is the built in dialog box function. It apparently returns execution to LV before it gets it's window shut. Put in a small delay or turn on execution highlighting and everything works fine. However, the solution is don't use the funky popup function. I have a dialog box VI I created a long time ago so my programs would have a consistent interface. I put that in instead of the popup and everthing worked as expected without any delays...
Mike...
08-10-2005 07:56 AM