Using a Loop with Non-NI Instrument API - NI Learning Center