04-03-2024 05:12 PM
Hi Guys. Im doing a project and seem to be having some issues setting up a username and password using a property node. I have no problem getting a username and password set up to allow access but my project requires me to do it through a property node...... The project reads:
Use a start button to start this program running.
Use a property node to ensure the user is logged in as admin and
Use a password to check if both username and password are entered correctly.
The property node will be used to ensure the Start button is visible – or not.
Create a 2d array of Temperature readings (24/7). Simulating the data for 24 hours and 7 days
Output this to a waveform chart..........
As you can see from my VI, I have the start button in place but i am struggling to find any literature or help on using a property node for what im trying to achieve. If anybody could point me in the right direction. I would really apricate it.
Solved! Go to Solution.
04-03-2024 05:28 PM - edited 04-03-2024 05:29 PM
Probably just get the "User Name" property from an App property node and check to see that it equals "admin"?
04-03-2024 07:04 PM - edited 04-03-2024 07:13 PM
@EDiddle wrote:
Use a property node to ensure the user is logged in as admin and
I recommend to do a few more basic tutorials before even attempting whatever you are trying to do.
There is a difference if the logged in "OS user" has admin privileges or is named "admin". It is also not clear of you are creating a users system for your app or you are actually talking about the OS user account.
Your code shows a complete lack of even beginner skills. This needs to be implemented as a proper state machine.
04-06-2024 09:22 AM
Hi Altenbach. Thank you for your reply. Yes you are correct. I am a beginner and really trying to learn. Could you please point me in the right direction of the tutorials you have mentioned as i would like to take your advice before attempting to proceed any further.
Regards, Enda