Using an NI ELVIS Express VI in a While Loop Primary Software: Driver Software>>NI ELVIS Driver VIsPrimary Software Version: 2.1 Primary Software Fixed Version: N/A Secondary Software: N/A Hardware: Multifunction DAQ (MIO)>>Connector Blocks>>NI ELVIS
Problem: What is the proper way to use an NI ELVIS Express VI in a While Loop? Solution: The proper way to use an ELVIS Express VI in a While Loop is to wire the stop control of that While Loop to both the Stop input of the Express VI and to the conditional terminal of the While Loop. This will prevent the task from being reconfigured with each iteration of the loop, as well as stop the task and release the resources when the While Loop is stopped. The image below demonstrates this.
Related Links: Attachments:
Report Date: 05/01/2006 Last Updated: 05/12/2006 Document ID: 3X0FTL88 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

