LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing Labview 7 express VI properties

Hello !

I'm working with some of the new (and nice) express VI, but I don't
know how to access their properties nodes.

More precisely, I want on the Sample Compression VI, I want to
dynamically change the reduction factor and with the Build XY Graph, I
want to manualy clear the datas...

Any help is welcome ! 🙂

Thanks,

Skadge
0 Kudos
Message 1 of 3
(2,746 Views)
You can't link a property node to an Express VI. They are a bit different than a standard VI.

Looking at the Sample Compression VI, the reduction factor is not available on a ternimal of the Express block as some of the parameters are. So normally, this would be not be a parameter that you could change while the VI is running.

One thing you could try, is to convert the Express VI to a Standard VI by right clicking on it and select "Open Front Panel". Select "Convert" from the warning dialog, and now you can get at the actual code the the Express VI generates. Note that once you do this, that instance of the VI is no longer an Express VI and you cannot convert it back to one.

After it's front panel opens, go to the block diagram and you'll see a const
ant labeled 'Size'. This is the reduction factor you had set the last time you had the Express VI configuration dialog open. Try changing this into a control and assign it a ternimal on the connector pane. You should now be able to wire in a control from your top level VI and change the reduction factor on the fly.

NOTE: There may be a reason why NI didn't make this available on the Express VI in the first place. I dug down into the code a bit and looked like it may work, but I don't know for sure. Just give a try and see what happens. And let us know just so it's documented.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 2 of 3
(2,746 Views)
Thanks for this answer.
I'll look at this and I'll post comments.
0 Kudos
Message 3 of 3
(2,746 Views)