06-12-2014 03:52 AM
Any minimal code example, please?
06-12-2014 04:43 AM
Hey,
some piece of code.
You could also manage your task with a queue.
See attached snippet
Regards,
CMW..
06-12-2014 04:50 AM
Thanx
06-12-2014 06:30 AM
my vi inot scanning for duplicacy please check the vi. I am using labview 2011
06-12-2014 06:54 AM
Hey,
some thoughts about your vi, (what I would change):
- place the obtain queue and release queue outside the while loop
- don't use all the variables, if (and it is) wire the control directly
- use indicators to show on frontpnael not controls with a property node to set the value
- case structure has wrong logic -> swap cases
- I would use an event like shown in previous post otherwise you fill the queue with "something" every 10 ms - > more information about event structure here
- please please please do me a favor and avoid the flat sequence 🙂
Regards,
CMW
06-12-2014 06:59 AM
please please please do me a favor and avoid the flat sequence 🙂
Nothing that bad...