07-03-2017 04:33 AM
hi
Thank you so much.
I use this code as you suggested.
07-03-2017 05:43 AM
07-03-2017 05:53 AM
Hi partha,
i tried the same but results were not as expected.
We are using delays,so we may be missing milliseconds so we will not get the Boolean desired result.
07-03-2017 06:23 AM
@GerdW wrote:
Hi Partha,
You know the problems when trying to compare float numbers?
Hi Gerd,
I'm well aware of the comparison of float numbers. But here my guess was when the two time-stamps (the constant we wire & the output from the function when it becomes 12:00::00.000 AM), are the same (up to ms), shouldn't the Equal? give the True?! ![]()
Or, the output from the time-stamp primitive would be converted to Float internally before comparison? ![]()
07-03-2017 06:28 AM
My suggestion was based on my past experience in an avionics test system project wherein we used to get a lot of raw data from Lauterbach through CAN buffering, in which when the CNA card could not buffer out (read) all the data as against the high speed of Lauterbach, it'd send out empty/junk data against LabVIEW's default time epoch time-stamp (05.30.00 AM, 01-Jan-1904). Then, I wrote a comparison & remove VI based on this kind of time-stamp comparison, and it was working just fine.
07-03-2017 07:58 AM
@sridhar..reddy wrote:
We are using delays,so we may be missing milliseconds so we will not get the Boolean desired result.
Try this! 🙂