LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Express VI: Dynamicly difine terminals

Hi,

 

I designed a block using express VI, in which the terminals will be defined at run time due to some parameters definition. To do that, I designed a scripting VI to replace the Source VI with an empty template VI at the beginning when one click to edit the block, then dynamicly define the terminals according to some parameters.

 

The problem is, if the block already had some controllers or indicators connected, after the modification, the terminals will be disordered.

 

The ideal result is: After one modify the block, only these deleted terminals will disconnect to previouse controller/indicator, other will keep connect to right ones.

 

Thanks a lot.

0 Kudos
Message 1 of 2
(1,965 Views)

We need to see your code to give you help.  There could be several things wrong.

 

Also, it is unclear from your description what you mean by "run time."  Most scripting operations do not work in the LabVIEW run-time engine since they require a recompile of the code after running.  This would definitely be true of changing connector pane connections.  It sounds like you mean in-development use of an Express VI.  But posting your code will solve this issue.

 

Please save your code as a source distribution, use a Zip utility (e.g. 7-Zip) to compress it to a single archive, and post.

0 Kudos
Message 2 of 2
(1,956 Views)