‎04-22-2026 07:00 AM
‎04-22-2026 09:27 AM
Why not start with a Gauge control? You can easily change the lower and upper limits, and make the lower and upper limits, say, 0 and 100 (mph).
Bob Schor
‎04-23-2026 01:59 AM
You can't do this directly, because LV doesn't know how to rotate your image. The original needle is a line-type PICC (a custom vector image format that LV uses internally) and that's the only thing that LV knows how to rotate in this context. You can customize the gauge and replace the needle with another line-type PICC, such as the arrow, but not with your custom image.
If you do want your own image, you can use a picture control on top of your gauge and use the picture control functions to rotate your image, but that comes with a few caveats:
People have all kinds of work on customized gauges. I suggest you look around. It might also be possible to use a .NET or HTML control, where you might have more customization options
‎04-23-2026 03:59 AM
Hi, Bob_Schor,
The main issue is to customize the needle for gauge control in which i am facing problem. So if you have any suggestion for this problem it will be helpful for me.
‎04-23-2026 04:07 AM
Hi Abhishek,
@Abhishek_Dass wrote:
So if you have any suggestion for this problem it will be helpful for me.
Do what tst suggested to you…
Once I had a similar problem and I ended up using a XYgraph:
(You can hide all the functionality inside a XControl…)
‎04-23-2026 04:16 AM
Hi tst,
Thank you for the suggestion. I have one more question: is it possible to create a customized line-type PICC for needle that I want ? I am relatively new to LabVIEW and still gaining experience, so my current knowledge is limited. I am learning primarily through hands-on project work.
‎04-23-2026 04:21 AM
Hi GerdW,
Thank you for your suggestion. If possible, could you please share the VI implementation of your idea using the XY Graph?
‎04-23-2026 06:43 AM - edited ‎04-23-2026 07:05 AM
@Abhishek_Dass wrote:
Hi tst,
Thank you for the suggestion. I have one more question: is it possible to create a customized line-type PICC for needle that I want ? I am relatively new to LabVIEW and still gaining experience, so my current knowledge is limited. I am learning primarily through hands-on project work.
Not really. The PICC format is LabVIEW proprietary. It is similar to the Macintosh PICT format but not the same, since NI had to create their own routines anyhow for non MacOS versions of LabVIEW. There is AFAIK no editor outside of NI that could create the necessary resource format and I found never enough motivation to try to reverse engineer such an archaic feature.
It is also quite unlikely that NI would even spend any effort to create new PICCs nowadays. The software routines to handle them are there, but they were developed 35 years ago at a time when the LabVIEW developers were fighting for virtually every byte that could be saved. That code is accordingly arcane, difficult to maintain and almost impossible to modify by modern software developers who are used to very different architectural and structural designs. The Custom Control Editor to manipulate these controls is quirky and has strange artefacts when dealing with such PICC (and other) resources.
And yes, LabVIEW also supports WMF and EMF formats which are the Windows equivalent of PICT. However WMF is highly limited and has many quirks that were interpreted differently by different software packages and even between different Windows versions. EMF was an attempt to standardize it and extend the format to allow for coordinates beyond 16 bit size but still had quite some quirks and there were only very few applications supporting the use of that format. The Windows GDI still supports it, but due to its rare use I would not be surprised if it has bitrotted since. I don't believe that LabVIEW tries to convert EMF to PICC in any way, so if you use EMF resources in your controls or frontpanel they usually end up as empty rectangles on non-Windows systems. And you have similar quirks in the Control Editor with EMF resources as you have with PICC or PICT resources when trying to manipulate them in any way.
‎04-23-2026 08:33 AM
@rolfk wrote:
@Abhishek_Dass wrote:
Hi tst,
Thank you for the suggestion. I have one more question: is it possible to create a customized line-type PICC for needle that I want ? I am relatively new to LabVIEW and still gaining experience, so my current knowledge is limited. I am learning primarily through hands-on project work.Not really. The PICC format is LabVIEW proprietary. It is similar to the Macintosh PICT format but not the same, since NI had to create their own routines anyhow for non MacOS versions of LabVIEW. There is AFAIK no editor outside of NI that could create the necessary resource format and I found never enough motivation to try to reverse engineer such an archaic feature.
It is also quite unlikely that NI would even spend any effort to create new PICCs nowadays. The software routines to handle them are there, but they were developed 35 years ago at a time when the LabVIEW developers were fighting for virtually every byte that could be saved. That code is accordingly arcane, difficult to maintain and almost impossible to modify by modern software developers who are used to very different architectural and structural designs. The Custom Control Editor to manipulate these controls is quirky and has strange artefacts when dealing with such PICC (and other) resources.
And yes, LabVIEW also supports WMF and EMF formats which are the Windows equivalent of PICT. However WMF is highly limited and has many quirks that were interpreted differently by different software packages and even between different Windows versions. EMF was an attempt to standardize it and extend the format to allow for coordinates beyond 16 bit size but still had quite some quirks and there were only very few applications supporting the use of that format. The Windows GDI still supports it, but due to its rare use I would not be surprised if it has bitrotted since. I don't believe that LabVIEW tries to convert EMF to PICC in any way, so if you use EMF resources in your controls or frontpanel they usually end up as empty rectangles on non-Windows systems. And you have similar quirks in the Control Editor with EMF resources as you have with PICC or PICT resources when trying to manipulate them in any way.
You are such a wealth of knowledge. Never EVER leave this forum!