I have several numeric indicators. When I push a button from within LV to read data from the serial port, I want the data to be put in whatever indicator the cursor is in. Is this possible with LV7.0 and if so how? Thanks.
Yes, you can for example use an event structure as shown in the attached example.
The shift register holds the place where the value should go. It is set to 1 when the mouse enters indicator 1 and back to 0 if the mouse leaves. Same for indicator 2. A keypress uses the index to decide which indicator to update.
Just a quick not. The above example has been down-converted from LabVIEW 7.1. Just press "save" in LabVIEW 7 before use or it will run rather sluggish.
This works great. Next question. I main VI is a tab control with several tab. When I embed this code into one of the tabs, I can no longer type anything into any other control on any other tab. Does this have something to do with dynamic regeristing of the events? If so, I'm unfamiliar with this. Any thoughts?
It seems to work ok when I try it out. I attached my VI below. Can you provide some more information about how your tab control and how you're using the embedded code with your controls?