Page 1 of 1

Connect trackbar with Gauge

Posted: Wed Aug 04, 2021 12:43 pm
by moisasebi10
Hello!

I made a little project with somebody, a project which consists in a potentiometer that sends a value to the gauge from megunolink and when you rotate the potentiometer, the value increses/decreases and the "niddle" from gauge it's moving at the same time. But now i want to control this movement from a trackbar. How do I connect the trackbar with the gauge, such that when i move the trackbar, the needle's gauge modifies at the same time?

thank you!

Re: Connect trackbar with Gauge

Posted: Sun Aug 22, 2021 7:39 am
by philr
Hi, it can be done but it will also send messages to your micro (we are looking at adding a way to avoid this spam). You can put this in the WhenValueChanges box:

[IPGauge1.Value=TrackBarWithIndicator1.Value]

This sets the gauge to the trackbar value.

Cheers
Phil