cancelar
Mostrando resultados para 
Pesquisar então 
Você quer dizer: 

Update indicator values in the loop during iterations

Resolvido!
Ir para a solução

Hi all,

 

I wrote a vi that counts 1 to 10 and saves the value into an array, and the array values updates during iteration and also there is a progress bar

 

so i can monitor the loop status.

 

It functions well, but the problem is when i build this vi into a subvi, and calls it in another vi, it won't REAL-TIMEupdate the indicator values

 

during iteration

 

Hope someone could help to find way to solve this problem~ 

Baixar tudo
0 Kudos
Mensagem 1 de 3
1.946Exibições
Solução
Aceita por Ericlee0825

I recommend you learn some basics about LabVIEW and dataflow. There are plenty of resources here on ni.com. The outputs of the subVI will not be available until the subVI finishes execution. If you want to change the value or appearance of an indicator or control from a subVI, you need to use a reference of that control. Pass the reference to the subVI and use method or property nodes on that reference.

Lucian
CLA
0 Kudos
Mensagem 2 de 3
1.919Exibições

Thanks a lot, I've tried to use reference and property node and i works!

 

 

0 Kudos
Mensagem 3 de 3
1.846Exibições