05-23-2006 10:25 AM
05-23-2006 02:58 PM
Hi Dale,
In general your code looks spot-on, though I'm surprised you're not getting an error when you're assigning the oTime value, because you should have to use the "Set" syntax when assigning an object:
Set TimeChannel.Values(i) = oTime
But aside from that, what you have there may be as good as it gets. There are a few other tricks if you happen to have a column in your file that lists the elapsed number of seconds with DBL accuracy. If you're willing to send over an example file, I'd be happy to look at it and let you know if I can come up with anything slicker.
Regards,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
05-24-2006 02:22 PM