11-15-2017 01:20 AM - edited 11-15-2017 01:39 AM
Buenos días, tengo una cuestion referente a los Sub.vi
- Estoy teniendo un problema con mi sub.vi, he creado un sub.vi donde una entrada es una entrada booleana, este sub.vi lo coloco dos veces
dentro de mi .vi principal, y a pesar de que las entradas para ambos son diferentes (cuando la entrada de uno es true la del otro es false) se me estan comportando de manera exactamente igual.
¿He creado mal mi sub.vi? ¿O cual es es el problema?
Gracias, un saludo.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Good morning, I have a question regarding the Sub.vi
I am having a problem with my sub.vi, I have created a sub.vi where an entry is a Boolean entry, this sub.vi I place it twice within my main .vi, and even though the entries for both are different (when the entry of one is the real entry for the other block is false) they are behaving exactly the same way. Have I created my sub.vi wrong? What is the problem?
Thanks greetings
Solved! Go to Solution.
11-15-2017 09:11 AM
By default, there is only one instance of the subVI in memory and that's usually sufficient. If you want each instance to be independent, you need to make the subVI reentrant. (VI properties...execution).
Can you attach your subVI so we can see what it does? Is it interactive?
11-15-2017 09:24 AM
I do it reentrant and it running correctly.
Thanks you so much.
Other question, when i include my sub.vi in fuctions palette, Could i visualize this sub.vi in the fuctions FPGA palette? or i need to include the sub.vi in fuctions palette again?
Thanks.