Contact an Expert

Thread: In-accurate VEE timer value... anybody got any idea how to solve this?


Permlink Replies: 1 - Pages: 1 - Last Post: May 10, 2012 6:07 AM Last Post By: aarenas
kinkudes_hc

Posts: 2
Registered: 11/17/11
In-accurate VEE timer value... anybody got any idea how to solve this?
Posted: May 10, 2012 4:49 AM
Click to report abuse...   Click to reply to this thread Reply
Attachment timer_check.vee (3.6 KB)
Attachment timer_issue.JPG (72.2 KB)
Hi,

I am using VEE Pro 7.5. I am having issue with VEE timer.

Basically, I use timer to measure the time it takes to perform my routines.
But, the value shown on timer is not correct.

Basically the program does the following: (Refer to timer_issue.jpg for clarity).
1) Start
2) Delay 2s => Timer shows 1.991s ... ok, close to 2 sec.
3) Execute User Object 1. (Inside contains delay 3s)... timer shows 2s... no good, off by 1 sec
4) Execute User Object 2. (Inside contains delay 2s)... timer shows 8 us... very bad, off totally
5) End

Questions:
1) Does anybody sees the same problem? (I attached the VEE program for your reference).
2) Is there anyway I can make the timer to measure correctly?

Appreciate and thanks in advance for any advice.

Thanks and best regards.
aarenas

Posts: 6
Registered: 02/10/12
Re: In-accurate VEE timer value... anybody got any idea how to solve this?
Posted: May 10, 2012 6:06 AM   in response to: kinkudes_hc in response to: kinkudes_hc
Click to report abuse...   Click to reply to this thread Reply
Attachment vee.jpg (31.3 KB)
Hi, in the attached image you can see how it can be rearranged in two possible ways to fix it.
See you!

Edited by: aarenas on May 10, 2012 2:07 PM

Point your RSS reader here for a feed of the latest messages in all forums