Error -9332 When Using NI-ELVIS Express VIs in a Loop Primary Software: Driver Software>>NI ELVIS Driver VIsPrimary Software Version: 2.1 Primary Software Fixed Version: N/A Secondary Software: LabVIEW Development Systems>>Professional Development System
Problem: Why do I receive error -9332 when placing multiple NI-ELVIS Express VIs within a loop? Solution: When using NI-ELVIS Express VIs within a while loop in LabVIEW, the proper way to program is to set the while loop to Stop if True and wire the while loop stop condition to the Stop input of all NI-ELVIS Express VIs used within that loop. When a True value is passed to the Stop input of an NI-ELVIS Express VI, the VI will stop all tasks and release all resources. The default value for the Stop input of the NI-ELVIS Express VIs is True. However, when using these VIs within a loop, you will want to wire a False value to the Stop input of the NI-ELVIS Express VIs (except for the last iteration) to prevent the tasks from being reconfigured each iteration of the loop. If you use multiple NI-ELVIS Express VIs within a loop and do not wire a False value to the Stop terminal, you will receive error -9332 indicating that the specified resource is reserved. See the following screenshot for an example of how to properly program NI-ELVIS Express VIs within a loop. See the LabVIEW Help for the individual NI-ELVIS Express VIs for more information, found by right-clicking an NI-ELVIS Express VI and selecting Help. Related Links: KnowledgeBase 3X0FTL88: Using an NI ELVIS Express VI in a While Loop Attachments:
Report Date: 09/25/2006 Last Updated: 09/25/2006 Document ID: 41ODPHX1 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
