> I am receiving temperature values, I parse it and use the proper
> indicatore to indicate the temperature, but at the same time user can
> choose time interval for posting the data on excel worksheet, how do i
> acccomplish the task while my data continues to be updated on the my
> front panel and whatever user has choose the time for the data to be
> recorded in excel happens.
Make an independent loop that is timed by the user's delta. Have the
Excel loop read from a global or local variable to get the current
value. Have the acquisition loop write out the current value. If the
user delta is faster than the acquisition, they will get the same value
multiple times. If slower, they will miss logging some values. And for
somewhere inbetween, t
he data is being resampled and will sometimes skip
or duplicate values to change to the new timebase.
Greg McKaskle