Jump to content

Custom dual gauge or just graphics


Pio

Recommended Posts

Dear All,

as I'm fun of sailing, I would like to have a custom gauge like the one (bottom right) on the attached image that's from Vistual skipper simulator. It consists on a compass rose that rotetes on the boat shape (red and green lines). In addition there is the blue arrow that rotets on the boat image again to show the wind direction.

Is it possible to customize a gauge indicator replacing the needles with a couple of transparent-background images (compass and arrow)? How?

Other advices? Should I use different approaches, like create a picture and manage it?

Thanks in advance,

Pietro

Link to comment

You can customize a gauge and replace parts of it with images, but you can't replace all parts and the easiest thing to do is to place an image under it and color it transparent.

The main problem with what you want to do is that if you replace the needle with something other than a LabVIEW built-in vector graphic, the imported image will not rotate around its center, so essentially, to really achieve what you want, you will need to use a picture control or a combination of a picture control and a gauge.

You can see one example of a similar indicator here, but it's nowhere near the level of what you're attempting to do. Then again, I didn't actually try there.

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.