Error -9332 When Using NI-ELVIS Express VIs in a LoopPrimary Software: Driver Software>>NI ELVIS Driver VIsPrimary Software Version: 2.1 Primary Software Fixed Version: N/A Secondary Software: LabVIEW Development Systems>>LabVIEW 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 3X0ABPX6: Initial High Frequency Waveform When Using the NI-ELVIS Function Generator Express VI KnowledgeBase 3X49ETX6: Changing the Value of the ELVIS Variable Power Supply Express VI Temporarily Sets Output to Zero KnowledgeBase 3X4DF8X6: Writing to a High Digital Line with the ELVIS Digital Writer Express VI Causes Glitch Attachments:
Report Date: 09/25/2006 Last Updated: 01/02/2009 Document ID: 41ODPHX1 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

