Quote:
Originally Posted by Alan Anderson
We're going one better than that this year. The names only appear in one place in the code.
|
We have the same philosophy about keeping the names in only one place.
This is how we are avoiding refnum errors. Requires more work up front, but should never have an 'invalid' refnum problem. Just make sure you pick the correct one.
Timing is not an issue, as they are only called once at start up and the refnum values are stored in the shift registers for the duration. In addition, we only allow access to a particular device in one loop. It is not allowed to have multiple loops trying to access the same refnum.