patrickokeeffe Posted February 11, 2020 Share Posted February 11, 2020 Can conversions be applied to serial device channels? (specifically in version 5.87c) * The Serial Guide demonstrates the use of "AddValue()" to insert data into channel history * but question 6.13.3 of the User Guide states AddValue() intentionally skips conversions Experimentation confirms I cannot apply conversions to channels of a serial device. Am I really expected to modify the serial protocol to achieve the effect of Conversions? Or some other feature I overlooked that serves this scenario? Quote Link to comment Share on other sites More sharing options...
AzeoTech Posted February 12, 2020 Share Posted February 12, 2020 No because you can do the same math right in the addValue() function. For example, if the conversion you might use was: Value * 6.3 + 2.3 Your addValue would just be: myChannel.addValue(myVariable * 6.3 + 2.3) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.