Dear Jack and EA Olson,
Thanks so much for the replies. There is no substitute for experience and all of this is shrouded in the mists for me at this point. I actually "inherited" this code from a member of our research group who is now gone. As you can tell, she was no labview expert either.
I've learned enough to understand the code and make it function, but elegant, LOL. No. To be honest I can hardly understand the first reply. I'm going to try to digest (understand) and use your suggestions. You guys have probably save me a week, so I just wanted say "Thanks" ASAP.
Sincerely,
David Keith Chambers
Jack, thanks for the info, I'll check for that set bit to do the polling. I put the delay between the write/read so I could adjust the time in case the photodiode I'm testing needs time to establish a steady-state current, but otherwise, I need the code to run as fast as possible. If the responsivity is high enough, I'll want to do the measurements w/min delay here, using the polling method. I'll chew on this and post again if I have more problems.