> This works fine, I can write a value to control in VI1, it changes > obviously but it doesn't generate a ValueChanged event. Is this a bug or a > feature? How can I do this? >
As others said, this is a feature. If value change events were to be fired each time a programmatic change occurred, it was be all too easy to get into infinite loops or infinite recursion. So it was defined that the events are for UI notification, to tell your program what the user is doing, whereas your program knows that what it is doing. If you want shared code, user events are an option, but even better is to use a subVI. Greg McKaskle