From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I have two instruments that I want to controll (with LabVIEW) and monitor their output. What is the best programmatic way to do this? Use two parallel while loops?
Ray is correct for using parallel loops while accessing VISA. If you do not need to process in parallel, then you might consider using flow control to access each instrument in turn. This gives a more easily predictable acquisition rate. With parallel loops, one loop may cycle faster than the other (this may not be a problem - depends on what you're looking for).
This is not a "one simple answer" type of question.