If I understand your question correctly, you would use the same functions that we discussed in
a previous thread, but instead of calling the plot function in OnInitDialog, you would call it in an event handler for a timer (Win32 timer, CNiTimer, etc.), the point that you acquire your data, etc. If this doesn't answer your question, please reply with more information about what you're ultimately trying to do in your application so we can understand your question in context.
- Elton