LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Opening last selected COM port & remove the warning

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?

0 Kudos
Message 1 of 3
(2,159 Views)

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!)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,148 Views)

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.

0 Kudos
Message 3 of 3
(2,090 Views)