09-21-2023 02:41 PM
Hi Iza,
@laz_2331 wrote:
Thank you GerdW.
Here are the corrections I made:
Used 250ms wait time,
Initialized shift register using tick count,
Adjusted the PID output limits
Applied a median filter to PV.
Sample output attached.
You should additionally post your code so others can learn from it.
The sample output looks quite ok now - maybe a little more tuning of PID parameters can improve the step behavior even more…
09-21-2023 03:12 PM
Here is the VI.
lza
09-22-2023 01:17 AM - edited 09-22-2023 01:18 AM