Hello!
I built a VI that can run on its own or controlled by a superordinated VI. If there are valid references comming into the subordinated Vi these are used exclusivly, otherwise references to the controls of the superordinated VI are used.
So inside my program I exclusivly use references and property nodes to access or change data.
My first question is if you think that is a bad solution concerning the performance of the VI and if you have any improvements?
The next problem is that my VI is quit slow now (there is a while loop checking all the time if there are changes made to the controls (via their references) and acquiring data (using RS232) and updating controls. Thereby I use a 20 frames long sequence inside the loop.
Is that the reason for slow performence?
To speed things up I considered to us an event structure instead of the sequence to check the changes and only to do the acquisition every cycle.
But I don't see a possibility to use the event structure to check events on value changes of controls via their references.
Any idea?
Thank you,
Alexandra