11-04-2007 09:49 AM
11-04-2007 10:37 AM
Could you explain?
Please clarify! 🙂
I don't see how timing would help. Just use a loop with two shift registers and some comparison logic.
11-04-2007 11:09 AM
11-04-2007 11:24 AM
Also,
Currently both random number generators are running in the while loop to reached their limits.
Newbie 2
11-06-2007 12:48 PM
Hi newbie 2,
Thanks for contacting National Instruments. I have been reading over your past two posts and I agree with altenbach in that using shift registers with some comparison logic will be the easiest way and most effective. However, if you really do want to use some kind of timing, you could implement the "Get Date/Time In Seconds" function and get the value from this function each time one of the machines reaches the limit. Using this, you could compare the values you get for each function when it reaches the limit and then whichever one has a value that is "less" than the other should be the one that you can decrement. I hope some of this helps and if you have any further questions, please feel free to reply back and we can go from there. Thanks and good luck with your application!