Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 67253

How to resize a constant programmatically

$
0
0

Hello all Labviewers,

 

I am currently developping a VI which should get 4 coordinates (x, y, height, width), and a VI path. With these informations should this VI create a flat frame into the block diagram of the VI given as parameter.

 

I succeeded to create it, but I have no explanation why the bounds are staying fix...

 

In Labview help for "New VI Object Funtion", you can read the following :

 

"bounds specifies the width and the height of the new object if the new object is resizable. Labview ignore bounds for fixed-sized objects."

 

But a flat frame should not be a fixed-sized object, or?

 

What is surprising, is that I succeed to create in the front panel a flat frame with the wanted size...

 

You can see under a screenshot of the code... I hope someone can find an answer to this problem :)

 

Code.png

Thanks a lot in advance,

 

Arnaud

 

 


Viewing all articles
Browse latest Browse all 67253

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>