Jump to content

Class Control Icon Not Shown in Run Time


Recommended Posts

Here was something interesting I recently came across.

If I build an executable that has a Class Control on it's Front Panel it looks like this:

post-10325-020073600 1282897240_thumb.pn

Initially it threw me off as in the development environment a question mark means broken class etc...

But it is ok, as all the code worked.

I came across it as I was hunting for broken code, and built this SubVI as the Top Level VI to test something in the Run Time.

Link to comment

Actually, I think it's because you've opened the class outside of the exe context, and it can't find it's parent (or something else?) You're right though, when you run your exe it'll work just fine. I had the issue just recently, although I was loading a lot of related classes from disk (with different relationships), and, sure enough, as long as I did a source distribution of the parent, the icon was there. Either way, it didn't matter.

Link to comment
  • 2 months later...

This is correct. Probably should've just left it blank instead of putting in the ? image. Think it should be changed?

So this is AQ on the RunTime Engine:

post-10515-094987900 1288440794_thumb.pn

Seriously, is it worth a few hours (minutes???) of AQ's time to make it blank?

Since we'll never see a class cube control on a UI of a built exe, I'd say it doesn't really matter if you change it or not.

Link to comment

Yes, it'll at least stop the level of confusion that lead to this thread.

I am easily confused. wacko.gif

The problem was I was hunting for a weird run-time issue, one that only ended up getting resolved after a full install of LabVIEW.

If I had known about the ? it would have been ok.

But as I didn't I thought there may have been something sinister there.

I am not fussed what happens, but if it has potential to trip someone else up then blanking it would only be a good thing.

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.