engineer123 Posted June 21, 2007 Report Posted June 21, 2007 Hi, I have a problem in calculating the time difference between 2 events. Can any one see the attached VI because the difference is not correct. Thanks in advance. Quote
Wolfram Posted June 21, 2007 Report Posted June 21, 2007 ZITAT(engineer123 @ Jun 20 2007, 08:43 AM) Hi,I have a problem in calculating the time difference between 2 events. Can any one see the attached VI because the difference is not correct. Thanks in advance. The calculated time difference seem to be correct. So I don't know where the problem is. Wolfram Quote
LAVA 1.0 Content Posted June 21, 2007 Report Posted June 21, 2007 QUOTE(engineer123 @ Jun 20 2007, 08:43 AM) Hi,I have a problem in calculating the time difference between 2 events. Can any one see the attached VI because the difference is not correct. Thanks in advance. Hi, I'm not sure I understand what you are trying to do. The VI you posted work "as it should" -of course- but maybe it doesn't run as you think it should. I think you should run it once in highlight mode to see what happens. My guess is that you want your VI to keep runing until you press button 1 and button 2 and to tell you how much time has elapsed between these 2 events, am I correct ? Quote
TobyD Posted June 22, 2007 Report Posted June 22, 2007 I tried to make as few changed to your code as I could to make this work how I assume you want it to work. It now calculates the elapsed time between a press of "Boolean 1" and a press of "Boolean 2". Quote
ohiofudu Posted June 23, 2007 Report Posted June 23, 2007 I dont understand what you are trying to do but see this VI Hope it helps http://forums.lavag.org/index.php?act=attach&type=post&id=6184 Quote
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.