06-25-2019 10:47 AM
Things would be a lot sampler if my company would upgrade my LabView 8.6 to a newer version. I built a circuit that control the phase angle of a triac and using an Uno Arduino board. the circuit works great with a pot but I would like to use Labview to control the circuit. I can get the power to go from low to 120AC with Labview but when I move the slider to change the output the voltage is not linear it jumps around until you stop moving the slide bar. I try differrent ways to see if I can smooth the voltage out but not having any luck. I included the vi of the closet code that works. Hope someone will give me pointers to improve it.
Thanks
John
06-26-2019 09:59 AM
Try removing the wait on the outer for loop. The event structure is waiting on the value change anyway so the wait is redundant.
Also, is there a reason you're using a slider to change the values? Would it be possible to change it to a simple control to have the value only change once to the desired value?
06-28-2019 10:58 AM
I want to use the slider to control the Triac. I did get it to work by doing the math differrent.
Thanks for your suggetion.