Convertors library

This library contains blocks for converting signals from one type to other.


Block SchmittTriger

The block is suitable for converting analog signal to digital. Usually analog signals have noise and can float, the Schmitt effect is very important to be used in this kind of conversion.


When the input signal gets value over HiHysteresis the output becomes High value. If the input signal gets value below LowHysteresis the output becomes low value. The difference between HiHysteresis and LowHysteresis is Hysteresis.

Block BoolToAnalog

The block converts digital input to analog output.


Block AnalogToStr

The block converts analog input to string output.



Block StrToAnalog

This block converts string input to analog output. The block has no parameters.


Block IntToBool

This block is very important and converts integer input to digital outputs. For example RadioGroup control has an integer output which corresponds with selected control's item. If we want to every item to shitch a lamp, we have to convert integer value to as many digital signals as control's items we have. The block has one parameter Outputs, which allows to set the first digital output to which integer valie corresponds and how many digital outputs block has.


A few examples for Outputs parameter:


Block AnalogToInt

The block converts the whole value of analog input to integer output.