AofT

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Displaying string instead of input #9572
    AofT
    Participant

    Hello Mikhail,
    I have used the enumerations previously. This particular Tag is an Alarm word being sent from a PLC (0-35 Different Alarm States) hence why I tried the “Formula” approach so I could list all 35 Alarm descriptions depending on the Alarm Word Value. (Too many characters for enumerations)
    Do you have any other suggestion for Displaying this Alarm / Event.?
    Thanks in advance.

    in reply to: Displaying string instead of input #9567
    AofT
    Participant

    I have used the Formula in Testing,

    public double MyFunc()
    {
    return EncodeAscii(Cnl == 2 ? “1234567890” : “I need 20 Letters”);

    but only get the first 8 Numbers in the output to a Table. ie 12345678 and not the Full word (1234567890), why would this happen..?
    Electrician by trade and new to coding, Thanks in advance.

Viewing 2 posts - 1 through 2 (of 2 total)