I have a sub vi that is supposed to detect when a new com port becomes active, however it is not supposed to run everytime, only when the number of com ports change.
That part is figured out.
I am using an event structure to determine when it runs
I desire the event to be run when length of the com port name array changes (i.e. when a new device is added, or removed). I attached a value change event to the array that list all the com ports (visa find output)
However, from what I can tell, events are only triggered by controls(inputs), not by indicators(outputs)
Anybody know why? or how to make it work in this fashion?
Addendum: Can the event be inside of the sub VI or does it have to be in the VI?