JackHamilton Posted April 25, 2005 Report Share Posted April 25, 2005 The new Timestamp data format is cute until you start to use it. The problem is performing any math on the data resolves it to DBL number. The crux of the problem is once it's a DBL - the only method to convert it back to a timestamp leaves off the msec counts. Here is a diagram shot of a typically application and how the problem really makes this a pain.. This clearly showns the timestamp datatype was not thought out completely... Quote Link to comment
i2dx Posted April 25, 2005 Report Share Posted April 25, 2005 maybe you can solve your problems with the timestamp with this vi ... it's in german, so you have to translate it in your language best regards, cb Download File:post-885-1114418056.zip Quote Link to comment
malef Posted April 25, 2005 Report Share Posted April 25, 2005 Jack, numeric cenversion palette contains a "To Time Stamp.vi" that converts a number to a time stamp. You don't have to make the string conversion. just my :2cents: Manfred Quote Link to comment
didierj Posted April 25, 2005 Report Share Posted April 25, 2005 maybe you can solve your problems with the timestamp with this vi ...it's in german, so you have to translate it in your language best regards, cb 4621[/snapback] :thumbup: Nice tool, could it find its way into openG? Quote Link to comment
i2dx Posted April 26, 2005 Report Share Posted April 26, 2005 :thumbup: Nice tool, could it find its way into openG? 4629[/snapback] sure, take it and spread it as you want under the GPL License ... but you can do the same with an ActiveX Object, see the attatchment ... Download File:post-885-1114506036.zip Quote Link to comment
JackHamilton Posted April 26, 2005 Author Report Share Posted April 26, 2005 A few more issues on timestamps: 1. Someone posted the "Waveform Attribute" function is not used to modify the timestamp. > Reading the Help for it - says it does. 2. I missed the "Convert to Timestamp" function because it's clearly in the wrong palette! It should be in the Time and Dialog" Palatte. It is located in the 'Numeric -> Conversion" palette. >Anyone who disagrees: needs to justify why the "Seconds to Date and Time" is in the 'Time and Dialog" palette - is it not a numeric conversion? Regards Jack Hamilton Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.