Add Incremental Buttons for Voltage - Analog Out Module

Sasha Veeran

Posted on 10.11.2017 11:25

Hi,

I am using a Krypton 1xAO module to supply a voltage to a fuel pump in order to control the fuel pumps' speed. I have managed to get the sliders/knobs to control the voltage output, but now I am trying to implement a button that can increase/decrease the voltage by a set value (+/-0.002V) to allow for finer control of the fuel flow rate.

I have attempted to use a combination of math channels and user inputs in effort to get the incremental buttons to work, but have not yet had any luck.

Would you be able to provide any suggestions or examples of what steps are required to get this working?

Thank you in advance,

Sasha

DEWESoft Support
Technical support
Posted on 10.11.2017 14:48

Hi,

I was able to do this but I need to use up quite a few formulas. The setup works, but it's kind of cluttered. It was the best I could manage on a Friday afternoon :).

It works on two buttons and a slider (or anything else to replace the slider). That is like a main override, so every time that you input a value in that way, it will automatically reset anything you previously did with the fine tuning buttons. Those will simply decrease or increase the AO by the desired static amount, which is written in a formula and can be freely changed.

Please test this out to see if it indeed works as expected. If it does, I'll try to clear out the clutter of formulas a bit, but I'm not sure what I can leave out yet.


Attached files:
Sasha Veeran

Posted on 13.11.2017 08:29

Hello,

Thank you for your help, it does exactly what I need. I will have a play around with this to try and understand what you have done.

Regards,

Sasha

Login to reply to this topic. If you don't have account yet, you can signup for free account .
This website uses cookies to ensure you get the best experience on our website. Learn more