10-11-2006 05:40 PM
10-11-2006 11:02 PM
It has to be as you suspect.
Could you attach your vi or a pic of your block diagram??
we could suggest better after we take a look at it
10-12-2006 02:48 AM
In an attempt to offer a solution even without the code, if you're using the Wait Until Next ms Multiple, then the first time you run the loop it would duplicate your first "second" in some cases.
Let's say you chose 1000 ms - at the first time the loop runs, the ms counter value is 29584786 so it runs your code using that time and then it only waits for an extra 214 ms before encountering the next 1000 multiple. These two ms times might occur in the same "real world second", as far as the PC is concerened. The simplest solution would be to use the Wait function instead.
10-12-2006 06:40 AM