Automatic button pressing:is there a way? [message #5147] |
Sat, 30 September 1995 00:00 |
phtmh
Messages: 1 Registered: September 1995
|
Junior Member |
|
|
I want to have my widget press one of its own buttons
at regular intervals, about once a second. Is this possible
in PV-WAVE 5.00b, on a SGI Power Challenge XL?
The reason I want to do this; I have a complicated data set which
can be fitted by a model. The fitting takes a good fraction
of a second, and I want to be able to vary parameters with sliders,
watch how the fitting looks on the screen, and get a number for the
fit as I go along. I have set up the sliders, the data display, and
the redrawing of the fit, but the widget is unuseable if I get it
to re-calculate the fit on every slider event. At the moment I use
a button to get the fit number, but this is a pain. Can I get it
to calculate the fit once a second, i.e. press its fit button
itself?
Thanks for your help,
Tom.
P.S. We also have IDL 3.6.1a on a DEC Alpha, should I use this? I
have not tried to program IDL widgets yet.
------------------------------------------------------------ ---------
/ Tom Hiller PhD Student, /
/ Room 238 Microstructures Group. /
/ HH Wills Physics Laboratory Phone; UK 0117 9289000 ext 8750 /
/ University of Bristol email; Tom.Hiller@bris.ac.uk /
/ Bristol BS8 1TL, UK. /
------------------------------------------------------------ ---------
|
|
|