bdougr wrote:
> What I mean to say is the use of time is inconsistant. Trying to put
> time on the x-axis of a chart is terrifying. XY chart is pretty easy
> and intuitive. Measurement Studio and VB is intuitive.
Charts and Waveforms assume constant delta T. Their time axis is defined
by a To start time and a delta T for each sample only.
> The realtime.vi is a help but what happens when your data is coming in
> at irregular intervals. (40sec to 1hour++)
If you have not a constant delta T for a data set then you do need to
use the XY graph. Your problem is probably the lack of a XY chart. This
is a long time request of many people, but it hasn't made it into
LabVIEW yet. There is an example though, showing you how to simulate an
XY chart wit
h an XY graph and a local buffer VI.
> Doing math on a date should be as easy as VB. I shouldn't have to
> parse the string or figure out leap days.
Well, basically you should never even try to deal with time in string
format. This is bound to fail sooner or later with different language
settings, localization, timezone, etc. The way LabVIEW does it with
internally using a fixed numeric value in UTC time format seems the most
intuitive and simple way to deal with such a complicated thing as time.
There is no problem in doing math on a LabVIEW time. As they are all
inherently absolute seconds to the reference date of 1. Jan 1904 or
relative times in seconds only. No idea how VB does it, but the way you
describe it it seems you feel "1. Jan 2004 - 3 day 56 min 34 sec" seems
intuitive. I wonder how this is gonna work when moved to other
plattforms with different localization settings.
Rolf Kalbermatter
Rolf Kalbermatter
My Blog 
DEMO, Electronic and Mechanical Support department, room 36.LB00.390