LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Password.

Solved!
Go to solution

Hola, me gustaria saber como puedo crear una configuracion .ini, en la cual guarde usuarios y contrase;as, para tener la opcion "change password" desde el VI cuando sea necesario.

 

Muchas gracias!

0 Kudos
Message 1 of 10
(2,054 Views)

Hi danna,

 


@danna23 wrote:

Hello, I would like to know how I can create an .ini configuration, in which I save usernames and passwords, to have the "change password" option from the VI when necessary.


Those ini file functions are rather easy to use, maybe there evenis an example VI in the example finder!

 

What have you tried so far?

Where are you stuck?

Best regards,
GerdW


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

Hiii, thanks for your help.

I had never used before the .ini files, so I'm still trying to understand what I should do.

I'm doing a SubVI which needs a password to be open (popup), but at the time, it got to have the option "change password", in case an operator discover the actual password.

 

0 Kudos
Message 3 of 10
(2,025 Views)

Hi danna,

 


@danna23 wrote:

I had never used before the .ini files, so I'm still trying to understand what I should do.

I'm doing a SubVI which needs a password to be open (popup), but at the time, it got to have the option "change password", in case an operator discover the actual password.


These are two very different tasks!

  1. One task is about reading/writing ini files.
  2. The other one is about "a subVI, that needs a password and has the ability to change a password".

Divide and conquer!

 

Again: what have you tried and where are you stuck? Check the example finder…

Best regards,
GerdW


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

This is what I got, and it works until the prompt user VI, but I think ain't equal with the file.

danna23_0-1674243134307.png

 

0 Kudos
Message 5 of 10
(2,006 Views)

Look at this, it already shows the subvi, but before showed this error

danna23_0-1674243546901.png

 

0 Kudos
Message 6 of 10
(1,999 Views)
Solution
Accepted by topic author danna23

Hi danna,

 

lesson 1: we cannot debug/edit/run images with LabVIEW. Please attach REAL code…

 

lesson 2: when you want to handle INI files then you should use INI (aka Config) file functions!!!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 10
(1,990 Views)

sorry for that!

0 Kudos
Message 8 of 10
(1,976 Views)

Hi danna,

 


@danna23 wrote:

sorry for that!


Many of us aren't able/willing to upgrade to the latest LabVIEW version due to changes in the subscription scheme.

 

You would reach a broader audience when you downconvert your VI to LV2021 or even better LV2019. (File->Save for previous)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 9 of 10
(1,800 Views)

Hi Ngouda,

 


@Ngouda wrote:

Hello, I am trying to sum the values of the same elements in my table but I have this error.
I don't understand this error, can you help me please?


Did you try to check the input to the ScanFromString function using a probe? This really helps to fix such errors…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 10 of 10
(1,797 Views)