Discussions au sujet de NI LabVIEW

annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

I would like make a VI in the function palette, which, every time that calls it creates a new copy of itself with a different name

Dear Labview user or engineers,

 

I built a VI for utilise that  in the function palette, the only problem is that every time I use it more times in my main VI, if a make a chage in one of that, after all the others function VI get changed. 

So  I would like to know if there's a way to create a function in the funcion palette, that, every time you call it, it creates a new copy of itself.

 

Thank you 

0 Compliments
Message 1 sur 3
3 229 Visites

Hi Antoniolc,

 

A VI is a function. The behaviour of what you describe is the definition of what a function should be. A VI should always be unique and not changed. IF you need to change it depending of the place from which you call it, then it means it is nit the Same VI you should call because it performs another function. 

 

Long story short, you should create different sub VIs for different functions. 

 

And btw, you are here on the forum for french speaking engineers. To post in english, there is the following forum:

 

http://forums.ni.com/t5/LabVIEW/bd-p/170

 

Next time you have to post a question, please post it in french here or in english there.

 

Cheers

______________
Florian Abry
Inside Sales Engineer, NI Germany
0 Compliments
Message 2 sur 3
3 220 Visites

Merci pour votre réponse,

existe t-il une maniere de modifier une fonction crèe auparavant dans la palette de la librairie  sans que celle-ci ne modifie les autres fonctions identiques que je dejà utilisè dedans le project?
ci-joint ce sont les images1.png2.png

0 Compliments
Message 3 sur 3
3 213 Visites