LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

comparing timestamps using shift registers

Solved!
Go to solution

I'm confused. How do you make TIME update randomly by putting it into different loops? LabView is powerful, but making time move about randomly?

Glad to answer questions. Thanks for any KUDOS or marked solutions 😉
0 Kudos
Message 11 of 21
(2,203 Views)

Data is being generated by a controller. Everytime that data updates, the time when it updated is shown in a timestamp.

0 Kudos
Message 12 of 21
(2,198 Views)

Ok, it was a grammar thing...

 

Look at this. I hope this isn't homework. It could be done cleaner, but this will give you an idea.

Glad to answer questions. Thanks for any KUDOS or marked solutions 😉
0 Kudos
Message 13 of 21
(2,177 Views)

Hi Patrick,

I use LabVIEW 2013 and cannot open the test VI you sent.

Thank you for resending.

0 Kudos
Message 14 of 21
(2,167 Views)
Solution
Accepted by topic author TeamHalli

You'll need the open G toolkit

Glad to answer questions. Thanks for any KUDOS or marked solutions 😉
Message 15 of 21
(2,160 Views)

Do you need to do it by feeding in timestamps? Why not just run it right next to where your data pops out?

 

diff counter.png

0 Kudos
Message 16 of 21
(2,148 Views)

@PatrickLye wrote:

You'll need the open G toolkit


Thanks to the way you uploaded your zip file, it includes the Boolean Trigger function already.

0 Kudos
Message 17 of 21
(2,146 Views)

 

Yes Gregory I need to use the timestamp...

With a minor change from Patrick's test VI, I was able to get the solution I was looking for.

Thank you!

 

 

snippet.png

0 Kudos
Message 18 of 21
(2,129 Views)

You shouldn't put your x and y controls inside the case.

Glad to answer questions. Thanks for any KUDOS or marked solutions 😉
0 Kudos
Message 19 of 21
(2,120 Views)

By the way, this snippet I showed would be part of a larger code, so the X and Y variables inside the case structure would be local variables. Is that OK?

0 Kudos
Message 20 of 21
(2,114 Views)