Quote:
Originally Posted by apm4242
1. Resetting the gyro - Does this require some time or is it instantaneous? Where is the best place to reset this?
2. Reading gyro data - Does gyro data need to be read in each separate while loop?
3. Using wait.vi and loop iterations to keep time - I set the loop to iterate every 10 ms and to terminate when it reaches 500 iterations. I assume this will be 5 seconds. Is there any reason this would not be 5 seconds? Is there a better way to do this?
Any help is appreciated!
|
Since no one has yet directly answered your questions I'm going to go out on a limb here and attempt to answer.
1. You could place the reset in the first frame of the sequence but I think it's OK where you have it. Not sure though if the reset is instantaneous but from what I've seen it only takes some fraction of a second.
2. Yes you need to read the gyro in each while loop. When a while loop is active the while loops in the other frames in the sequence structure are not executing.
3. This has been a common technique shown in examples from previous years. I think your assumption of a 5 second loop time is correct. I see no reason to change it.
Sorry if we hijacked your thread. Hope this helps.