Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69326

error 1 at enqueue in a producer/consumer architecture

$
0
0

Hello everyone,

 

I am using a queue-driven producer/consumer architecture, as shown in the screenshot below (which is a simplified diagram of what I want to do).

As you can see:

1/ In the producer loop, I read data from two LV2: Wafer Map and Current DUT

2/ In the producer loop, these LV2 are used as output of a sub-VI called "Wafer Map Change". This sub-VI, allows the user to modify the picture indicator "Wafer Map" located in the consumer loop, by double clicking on it.

3/ When the sub-VI has run, it outputs the modified picture indicator (Wafer Map) and the new "Current DUT" coordinates.

4/ The two variables are bundled and converted into a variant.

5/ The variant is subsequently enqueud in the "Main" queue.

6/ This variant is converted back inside the consumer loop, and the picture indicator is unbundled.

7/ Finally, the LV2 of the Wafer Map is written and the modified picture indicator is displayed.

 

This kind of data flow worked a while ago, but now I am faced with the following error (this is my translation from french):

Error 1 occurred at: Add an element at the end of the queue in Automatic Test Bench GUI.vi

Possible reasons:

Labview: One input parameter is not valid. For instance, if input is a path, this one may contain a character forbidden by the operating system, as ? or @.

NI-488:  The command requires a GPIB controller as main controller.

 

I have no idea how this appeared. But now I am stuck, and I would appreciate if someone can help me out with it.

 

Thank you.

Regards,

Florian

 

 

 

 

 


Viewing all articles
Browse latest Browse all 69326

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>