01-03-2007 08:17 AM
01-03-2007 08:48 AM
01-03-2007 08:57 AM
I cannot run your VI because we need the subVI called filename.VI
Here are a couple of suggestions.
1. Get rid of all the property nodes and use wires with a shift register and put a small wait in the loop.
2. Dataflow- right now you have race conditions because of all of the property nodes- you have no idea as to which one will operate first if you want to continue to use all the property nodes then use the error in and error out to ensure dataflow.
3. Look into using some type of coding architecture. A good one for this would be a qued statemachine with event handling. This will make your code much more robust and more easily upgradeable, there are many examples for this and even a template to get you started.
4. Use execution highlighting to see where your VI is spending its' time
01-03-2007 09:03 AM
Thank you
That was a brain fart on my part.
01-03-2007 09:33 AM - edited 01-03-2007 09:33 AM
Message Edited by Steve.Briggs on 01-03-2007 10:33 AM
01-03-2007 10:41 AM - edited 01-03-2007 10:41 AM
the picture show a quick sketch how you could do things more efficiently (not all events are shown). It'll probably still needs a few tweaks. 🙂

Message Edited by altenbach on 01-03-2007 08:43 AM