Why Can I Not Reference a Queue Created in a LabVIEW Executable from a LabVIEW VI? Primary Software: LabVIEW Development Systems>>Full Development SystemPrimary Software Version: 7.1 Primary Software Fixed Version: N/A Secondary Software: LabVIEW Run-Time Engine
Problem: I have a LabVIEW Executable that creates a queue data structure and populates it with data. When I try to reference that queue from another VI, why does Dequeue.vi not see the queue? Solution: LabVIEW executables run in a different memory thread within Windows than VIs that are run in the LabVIEW Development Environment. Any VIs called from a LabVIEW executable run in that executable’s memory thread. No VIs or Executables from one memory thread can access queues that were created in another memory thread. To demonstrate this behavior, unzip the "Memory Threads.zip" attached below, complete the following steps:
Related Links: KnowledgeBase 3S8RDE: What Is a Queue? Developer Zone Tutorial: Using LabVIEW to Create Multithreaded Applications for Maximum Performance and Reliability Attachments:
Report Date: 07/22/2005 Last Updated: 07/26/2007 Document ID: 3NL78PYV |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
