10-02-2010 01:55 AM
Hi All,
I am Using Message Queue for Implementing my Project.
Inside an event structure, enqueuing message to the queue. Message is selected depending upon a selection ring menu. a Variant also there, so a cluster object is used to cluster variant and string and given to the queue.
when i executing the vi, with default ring menu, its working properly. but when i change the ring menu i am getting an error. Please see the attachment.
Anybody Please Comment on this issue.
Regards,
mfp.
Solved! Go to Solution.
10-02-2010 02:05 AM
Hello mfp,
i don't think it is error, it is notification .. pobably in your event structure you are selecting filter event having red arrow in mark ..
BR, HS
10-02-2010 02:07 AM
Hi,
Thanks for the quick reply.
So What shall i do to remove that filtering?
Regards,
mfp.
10-02-2010 02:12 AM
If you don't want filter events select the Notify events having green arrow mark .. Once you add events u get option to select the events .. few are having red arrow mark termed as filter events and rest with green arrow mark termed as notify events .. so select the green arrow mark events..
BR, HS
10-02-2010 02:27 AM
Its already in the green arrow category, "Value Change".
Error Input to the Enqueue Element is not having any error, but output is showing the following error message in the probe window.
Please find the attachment.
Regards,
mfp.
10-02-2010 02:55 AM
Without any code it will be very hard to help you.
Please post your code.
Ton
10-02-2010 02:58 AM
please post the screenshot of VI portion creating error..
10-02-2010 03:50 AM
Thanks alot for the reply.
Please find the attachment for the snapshot.
Regards,
mfp.
10-02-2010 04:15 AM
You get an error 1 on the 'enqueu element' because you use an invalid queue reference. This is caused because you use 'use default if unwired' on the output of the event structure. In one (or more) of your event structures you don't feed a valid queue reference into this tunnel. LabVIEW will then output a default (NULL) queue. Since you use a shift register in a next iteration you will use that invalid reference.
There are two solutions:
Ton
10-02-2010 04:25 AM
Hi Ton,
Thank a lot for the support.
I Could able to solve the issue with your help.
Thanks.
Regards,
mfp.