X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 24 Jun 2005 10:05 AM by  anon
Background Task in widget application?
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
24 Jun 2005 10:05 AM
    I am building a widget appliation to control an instrument. One thing I would like to do is have a background task that regularly reads an angular position sensor and updates a display regardless of what else may be going in the application. How do I set up a background task like this? Thanks Eric Coppock Ball Aerospace, Boulder, CO

    Deleted User



    New Member


    Posts:
    New Member


    --
    24 Jun 2005 10:05 AM
    Hi Eric: If you can run this background task at a regularly spaced interval of time, for instance every second, then you should probably explore using a widget timer. This functionality is accessed via the TIMER keyword for the WIDGET_CONTROL routine. For more information please consult the section entitled "Working with Widget Events" within "Chapter 30: Widget Application Techniques" of the "Building IDL Applications" documentation manual. - Adam
    You are not authorized to post a reply.