04-16-2024 03:03 AM
表示機のカスタムを行い添付画像のような円形状のスライド表示機を作成したいのですが可能でしょうか?
また可能であれば具体的な方法を指示していただけないでしょうか?よろしくお願いいたします。
中央の数値と外周のパラメータが連動して動くようなイメージです。画像はパワポで作成しています。
Solved! Go to Solution.
04-16-2024 03:32 AM
Hi,
@新米 wrote:
I would like to customize the display and create a circular slide display like the attached image. Is it possible?
Also, if possible, could you please give me specific instructions? Thank you.
It is an image that the central value and the parameters on the outer periphery move in conjunction with each other. The images are created with Powerpoint.
Yes, it's possible with LabVIEW.
One way would be to use a 2DPictureIndicator and draw all the image elements on your own. Basically you need to draw some circles/arcs and put a text in the center of the image…
04-16-2024 03:44 AM
@GerdW wrote:
One way would be to use a 2DPictureIndicator and draw all the image elements on your own. Basically you need to draw some circles/arcs and put a text in the center of the image…
Yes, agree, something like that
04-16-2024 07:26 AM
Just five additional cents on this topic from my lunch break.
On more possibility is to use WPF Control wrapped to WinForms control using Hosting a WPF Composite Control in Windows Forms.
The advantage is that the code in LabVIEW as easy as nothing:
Second advantage is that you can do almost anything in term of decorations (add gradients, custom shapes etc, in general much more than offered by a trivial Picture Control), because of WPF.
This is how it looks in xaml in Visual Studio (I'm using 2022):
But the disadvantage is — heavy dependencies on .net, custom made DLLs and so on.
I will leave this project here and in attachment for someone who is interested.
04-16-2024 06:41 PM
ありがとうございます
ものすごく参考になりました。
使いこなせるように2DPictureIndicatorとWPFについて勉強してみます