LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 2012: compareTimestamps using "Comparison Express VI"

Hi,

 

I am using LabVIEW 2012 try to compare two timestamps data using "Comparison Express VI"

 

When set "Items to Compare" to Timestamps and try to connect timestamp to the input of the VI, I got a broken wire.

 

How to use the "Comparison Express VI" to compare Timestamps?

 

Best regards

Amr

0 Kudos
Message 1 of 6
(2,647 Views)

It seems to be like a bug. Why do you want to use the express VI anyway?

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 6
(2,639 Views)

the express comparison funtion allows you to do comparisons based on the timestamp (t0) of dynamic data (signals). It is not for comparing naked timestamp data. Big difference. (did you read the help?)

 

To compare your timestamps, simply use one of the plain comparison functions.

Message 3 of 6
(2,631 Views)
This question brings up an interesting point. NI has said that internally a timestamp value carries time data (the number do seconds since the "beginning of time") in two forms: A DBL floating point version and a U32 integer version. Now if you use the equals comparison operator to compare two values, which version gets compared, float or integer?

Or to put it another way, is it safe to test equality between two timestamps?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 6
(2,625 Views)

@altenbach wrote:

the express comparison funtion allows you to do comparisons based on the timestamp (t0) of dynamic data (signals). It is not for comparing naked timestamp data. Big difference. (did you read the help?)

 

To compare your timestamps, simply use one of the plain comparison functions.


But the Express VI configuration is confusing.

 

Comparison.png

 

-----

The best solution is the one you find it by yourself
0 Kudos
Message 5 of 6
(2,609 Views)

Hi,

Thanks alot for help

Amr

0 Kudos
Message 6 of 6
(2,595 Views)