Dear all
Sorry that i dont writt in german, but you can reply in german, no problem to reading it..
i have to function bloks that i think the liberay need.
Number 1
A multi calibrate function, so that if you have a non linary sensor input you can make it linary, but i need multibly clalibrating points.
Please see my littel picture, to better understanding
Test input
a input that is a bool value that that is messurring the sensor and calibrat it to the value that the calibratman specify.
a Real input to sensor
a Real input to what messuring soudt be.
Number 2
Is a function to convert the real number to more understanding numbers. change the amount of decimals
Real input
Int input to detmanin how many decimals there soudt be.
Real out.
the idea how to make it is multiply the input withe the factor specify by the decimal input then round it and div the with the same faktor.
eks.
5,4324324 we want 3 decimal
5,4324324x1000 =5432,4324 round it then is = 5432/1000 = 5,432
[gelöscht durch Administrator]