01-11-2016 08:36 PM
Hi Everybody..
Is it possible to customize the guage needle to a certain image..
I tried it but it does not rotate properly
01-11-2016 09:00 PM
01-11-2016 09:08 PM
Heres the vi..
What Ive done is customize the guage right click the needle>>import form clipboard
I'm using LV 2014
01-11-2016 10:54 PM
popul, from what I understand, it's not gonna be a simple process. Check out this thread that discusses something like what you are trying to achieve: http://forums.ni.com/t5/LabVIEW/Is-possible-customize-the-Gauge-Indicator/td-p/1124763
And here is another thread where someone RC-Freak has shared some code with custom gauages that he made. Definitely check out the vi's that RC-Freak shared: http://forums.ni.com/t5/LabVIEW/customizing-artificial-guages-of-cockpit/m-p/2599293#M780933
01-11-2016 11:37 PM
You have to have a vecter image (such as emf, or wmf) on the clipboard. A raster image (such as bmp, jpg, png or tiff) won't work.
01-12-2016 12:11 AM
Sir Zou,
I already converter the image to .wmf, then drag to the cuztomize control window>> ctrl+C >> then import from the clipboard..
It still gives me the same result. I converted the image using MS Powerpoint ..
Is there any file should i download in that link sir??
01-12-2016 01:25 AM
Actually, what you need for the needle is not just a vector image, but an image in an internal NI format called PICC, which specifices some additional details about the line, like start and end points. I don't think there's a way to force LV to import and use your own PICC lines, but I haven't really played with it. You can try searching to see if there are others who have, but I don't remember seeing anyone say that they managed to.
01-12-2016 07:34 AM
01-12-2016 07:55 AM
@mikeporter wrote:
It sounds strange that NI would take the time to implement functionality that is essentially useless.
I don't think they did take the time. I'm assuming the code knows how to handle line PICCs correctly and when it gets an image that's not a line PICC, it simply moves its center around without doing the code that's unique to the line PICCs.
04-23-2017 06:46 AM
NI must have a tool internally that they use for creating these files. They should release the image editor to let the users create new controls. It would help both NI and the users, since new, more modern (and professional looking) controls could be developed.