The following formula is used to convert analog values: Scaled value = (Input value * Rate) + offset Where: Rate = (Scaled max) / (Input max - Input min) Offset = Scaled min - (Input min * Rate) Meaning of individual variables: Scaled value - in physical units Input value - The current value at the analog card input Rate - The conversion constant Scaled max - Maximum value (in physical units eg 100bar) Scaled min - Minimum value (in physical units eg 0bar) Input max - Maximum unit on the analog card input (32767) Input min - Minimum unit on analog card input (0) Offset - Correction of recalculated value
neelesh trivedi do you need this video in a different language? there are no zoom ins on this video. you may need to change your playback options as well to a higher quality like 480p
Thanks for the great tutorial.
Thanks, I was looking at nicer way to set a DINT to 0 instead of CPT with 0
thank u for giving a simple training tutorial,we r expecting more sir.
nice video..really helped me .. keep up sir
Any time thank you
Thank you very much you have come through for me
Your welcome
excellent thanks I will follow you!!
Thank you sir
good training video..I follow you
Thank
hye.
nice vid.can I say this is the same method as we would do for analog?
The following formula is used to convert analog values:
Scaled value = (Input value * Rate) + offset
Where:
Rate = (Scaled max) / (Input max - Input min)
Offset = Scaled min - (Input min * Rate)
Meaning of individual variables:
Scaled value - in physical units
Input value - The current value at the analog card input
Rate - The conversion constant
Scaled max - Maximum value (in physical units eg 100bar)
Scaled min - Minimum value (in physical units eg 0bar)
Input max - Maximum unit on the analog card input (32767)
Input min - Minimum unit on analog card input (0)
Offset - Correction of recalculated value
thanks
video quality is poor cant understand anything
neelesh trivedi do you need this video in a different language? there are no zoom ins on this video. you may need to change your playback options as well to a higher quality like 480p