From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I'm writing a program in Labview 2009 to control instruments via GPIB. I initialise the instruments, then enter a loop, where I vary certain parameters (for example, I do a frequency sweep with my function generator).
My question is, how do I pass the Visa ressource and error through the loop, so that I have the correct value which enters the loop each time ?
Usually a shift regsiter is a good choice. Monitor the error line inside the loop to detect any errors. They can be handled in the loop or used to stop the loop.