LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I can change the formula in a formula node programmatically !

Just to let you guys now,
 
You can change the formula in a formula node programmatically.
I was looking into this because the "Eval formula node" is way to limited to do any real calculations.
 
Just have a look a this VI.
 
We use VI server to give the name of the VI in which you want the formula node to be changed.
Then VI server makes a link to the first formula node it finds in this Vi, an changes the formula
with the string you attached.
 
Really cool isn't it ?
 
cu,
Thomas.
Message 1 of 5
(4,821 Views)
Just be forewarned that the thread may be removed, because NI does not support scripting and they will not want you getting people to use these features on their site.

___________________
Try to take over the world!
0 Kudos
Message 2 of 5
(4,811 Views)

Hi,

I'm sorry i won't do it again ... 🙂

thanks, guybrush.

0 Kudos
Message 3 of 5
(4,801 Views)
Hi,
 
A remark : I also found out that you can't build a working executable from your VI if you use this trick...
0 Kudos
Message 4 of 5
(4,759 Views)


TommyBoy a écrit:
Hi,
 
A remark : I also found out that you can't build a working executable from your VI if you use this trick...



That was expected. There is no way an executable can modify a VI.


LabVIEW, C'est LabVIEW

0 Kudos
Message 5 of 5
(4,726 Views)