LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

password to formula node

I´m doing a VI which will be protected. My problem is that, can i protect my formula node so, that only the formula can be changed or modified with the right password, without a possibility to see or modify the whole block diagram?

-Balle-
0 Kudos
Message 1 of 6
(2,914 Views)
Hi, you can put the forumula in the front panel. In the fuction menu, goto "Mathematics", choose "formula" and then choose "Advance Formula Parsing". From there you will see several function which you are looking for. Look at the attached vi for protecting your formula. Thats the basic idea and I am sure you can enhance it to your application. May be better idea would come out in a few moments. Hope my suggestion would help you.
------------------------------------------------------------------
When you feel sad, laugh
0 Kudos
Message 2 of 6
(2,914 Views)
> I´m doing a VI which will be protected. My problem is that, can i
> protect my formula node so, that only the formula can be changed or
> modified with the right password, without a possibility to see or
> modify the whole block diagram?

Make a second subVI and either don't password protect it, or use a
second password known by the user. The subVI and formula are both
nodes, and will swap with no affect on your upper diagram.

Greg McKaskle
0 Kudos
Message 3 of 6
(2,914 Views)
There is small problem in program or in me, it won´t save the formula. Every time i shutdown the program and restart it, i have to give formula again... and that´s not the purpose.

I gues i have to start study, making sub.vi´s.
0 Kudos
Message 4 of 6
(2,914 Views)
There is a one option in LV. You can save your VI configuration. I think "Operate" --> "Make current value default". When you open your VI again, you will find you will not lose your formaul.
------------------------------------------------------------------
When you feel sad, laugh
0 Kudos
Message 5 of 6
(2,914 Views)
Thanks it works just fine!!
-Balle-
0 Kudos
Message 6 of 6
(2,914 Views)