12-05-2011 04:21 PM
Hi all,
I have OPC server and shared variables, which represent my inputs(0 or 1);
Let's say that I have only two inputs, what I want is to measure time between them, for example when first go to 1 and then after some time, second go to 0;
What is the easiest way to get this time in LabView?
thanks
12-07-2011 01:25 AM
Hello,
If you right click on the shared variable, you can activate time stamp, so basicaly you can read the time when the last value was updated, you just compare and substract the values.
Kind regards,
Ion Rosca
12-13-2011 09:43 AM
Did you manage to solve it??
12-13-2011 02:11 PM
First, tnx for idea, I now use "sql query"; I don't know yet which one will be best for my problem, did you have experience with this "time stamp"?
thanks again 😉
12-14-2011 01:19 AM
Yes, I've used it to see if the value was updated and was comparing using a shift register with the previous value. Try this, it is easy to implement.
12-14-2011 03:12 AM
Here you have an example application that monitors timestamp, and performs logic based on the comparison.
Good luck, Piotr