08-24-2017 01:50 AM
1. I have attached a VI. Made its installer.
I want that whenever program runs, it takes the last COM port selected by user.
2. How to remove this TAB warning? "The terminal for this Front Panel control or indicator is unwired."
where should i wire it?
08-24-2017 02:47 AM
Hi Vindhyachal,
1. You need to store the last selection in a file. Upon start of your program you load the file and use the stored content. (Usually that's what config files, support by those config file functions, are used for!)
2. Which warning? Where do you get that warning? After all it's just a warning and no error… (I would be more worried about the missing label of that control!)
08-28-2017 12:10 PM - edited 08-28-2017 12:11 PM
The very large majority of LabVIEW developers don't have the Show Warnings checked on the Error List dialog. This is because it will nag sometimes about things that aren't important, like having a tab control on the UI that doesn't need to be wired to anything, but is still a warning. I'd highly suggest unchecking the Show Warnings checkbox in the View >> Error List dialog.
For other style like checking (like having labels on all controls) I'd suggest the VI analyzer which is now included in most versions of LabVIEW, and can scan for things like backwards wires, unlabeled or duplicate labeled controls, spelling errors, etc.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord