Formula Forum Home › Forums › Understanding the Software › Formula Tagged: formula This topic has 2 replies, 2 voices, and was last updated 2 years, 10 months ago by victorlam. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts November 19, 2022 at 7:35 am #11591 victorlamParticipant Hello, may I know if we can apply the formula as below:- else return Val(102); I need to return the channel value of channel 102 or just type else return val; How can I get the value of the channel number eg 102 here via formula? November 19, 2022 at 11:16 am #11597 zzzParticipant You can check the document for predefined variables, in this case CnlVal, Val(n). https://rapidscada.net/doc/content/latest/en/software-configuration/using-formulas.html November 20, 2022 at 9:57 am #11606 victorlamParticipant Hello, Thanks for your support. Sometimes, CnlVal and Val(n) are confusing and found error and no idea how to solve. Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In