Jump to content
hooovahh

LabVIEW Ribbon Interface

Recommended Posts

Why not add the "Examples Images" as well :-)

Because I'm an idiot and didn't test my code after back saving, which didn't include the subfolder that LabVIEW didn't know was a dependency.  Attached is an updated version including the images in the demo.

Ribbon Interface Test With Images.zip

  • Like 1

Share this post


Link to post
Share on other sites

just to let you know, your Back-Saving (this and also the Cluster to Tree upload) is behaving a bit strange.

When opening it, looks for SubVIs under the LV2015 folder, and I have to manually browse for them and get a Conflict notification.

Share this post


Link to post
Share on other sites

When opening it, looks for SubVIs under the LV2015 folder, and I have to manually browse for them and get a Conflict notification.

After that does it open and run properly?  I really should install some other versions of LabVIEW, for stuff like this.

Share this post


Link to post
Share on other sites

After that does it open and run properly?  I really should install some other versions of LabVIEW, for stuff like this.

Yes, after browsing and selecting the missing VIs it works fine.

Nice example

Share this post


Link to post
Share on other sites

I love the look. i think your idea is realy nice. May I have it on labview version 2011? I can start to make it as an Xcontrol...

Share this post


Link to post
Share on other sites

I've back saved it to 2011, but it will make the code even uglier than it was already, because I used some of the conditional tunnels, and concatenating tunnels, on for loops.  Back saving code that uses these features earlier than 2011, makes functionally equivalent code, but uglies up the block diagram.

 

Making a good XControl is not an easy task.  And in this case you need to try to think efficiently.  If I update the top tab area with a property node, we need to only redraw that.  Same with inserting a new button or group, or tab.

Ribbon Interface Test 2011.zip

Share this post


Link to post
Share on other sites

Oh my good... Yeah Clean up... I'll try to work on this in some free time. I think it's possible but you are using external dll... I'm wondering how it will work in a xcontrol. I never try to use dll in XControl.

Share this post


Link to post
Share on other sites

Oh my good... Yeah Clean up... 

Hey I didn't see anyone else posting code on this topic.  Besides I wanted there to be alot of flexibility.

 

 

I think it's possible but you are using external dll... I'm wondering how it will work in a xcontrol. I never try to use dll in XControl.

I'm not using any external DLL, just .NET for the image scaling.  But even so why should that matter in an XControl?  An XControl is just a VI that calls some external interface like any other VI.

 

The image scaling could be done natively but wouldn't support alpha layers which is kinda important for this, and it would be much slower, and the scaled image wouldn't look as good, I've tried.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.