Jump to content

How to make SUBVI change Mouse Icon programmatically


Recommended Posts

Good Evening

I'm new in LabVIEW, please be patient with me :)

I was working in a User Interface for my application. My plan is to use a main.vi file and load a subvi in each of the four splitters.

But there are two problems that I cannnot solve:

1) I want transform the part of the code that change the mouse icon into a subvi. But the option Edit > Create SubVI isn't working well because of the boolean value change in the Event Structure

2) When I load a subvi into a sub panel, I want the "mouse icon change" code work inside the subvi. How can I do that without copying the code into the subvi?

Edited by mthheitor
Link to comment
  • 1 month later...

Thanks @ShaunR, the "Inserted VI" Property is available in LabVIEW 2012. Worked perfectly.

 

Please, can you explain me why we had to change the Property: Owning VI (Property Node) from my old code inside the case structure "Mouse Enter" and "Mouse Leave" to a VI Server Reference (your new code).

It's about the refnum, right? But couldn't understand that very well.

 

The Property Node "Owning VI" gets the refnum from the subvi, but we needed the refnum from the main.vi?

Link to comment

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.