01-03-2016 10:24 PM
Hi I want to request user name and password when opening a VI but I need to use a SubVI or one is only possible to achieve. Thanks.
01-03-2016 10:46 PM
Try searching the forums. Questions like that have been asked numerous times before.
01-05-2016 09:39 AM - last edited on 01-28-2025 09:17 AM by Content Cleaner
DanyckV
In the following KB you will find how to protect your source code
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P6wWSAS&l=en-US
01-05-2016 10:27 AM
Your question is unclear because you didn't provide enough details. Are you talking about a dialog that comes up in your software that asks for a user name and password? If so the first rule about writing secure software, is to not wire it from scratch. Use Windows security, DSC, or some other method if you can get away with it.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
01-05-2016 11:39 AM
HI, I want the program to run for a popup window requesting user ID and password to open the main program.Thanks.
01-05-2016 12:16 PM - last edited on 01-28-2025 09:18 AM by Content Cleaner
If this is the case then again I'd recommend you don't re-invent the wheel and use credentials already available. My first recommendation is to use Windows. You can query the logged in user, and what groups they are a member of and to enable parts of the code based on who is logged in.
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000PACwSAO&l=en-US
You can also use DSC which is a toolkit from NI. It has several other features but user login is one of them.
https://www.ni.com/en-us/shop/product/labview-datalogging-and-supervisory-control-module.html
Other than that there are examples of making custom dialogs, like this one.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord