Showing results 1 to 3 of 3

Thread: String Value comparison to operate the Boolean value

  1. #1

    Beitrag String Value comparison to operate the Boolean value

    Hello,

    I am using Zenon 7.6

    Please help me to compare two string values for example 'current primary server & secondary server' based on this internal Boolean value has to be changed.

    @condition-1 String value1 = String value2 ==> Boolean Value =1

    @condition-2 String Value # String value2 ==> Boolean Value=0

  2. #2
    Join Date
    01.07.2008
    Location
    Salzburg, AT
    Posts
    782

    Default Re: String Value comparison to operate the Boolean value

    if "string value2" are fix, then you can link variable with a string reaction matrix calling zenon functions 'write set value' to this BOOL variable.

    if "string value2" is a variable then you can configure both string variables to be 'externally visible' and evaluate their values in the zenon Logic.

  3. #3
    Join Date
    11.05.2019
    Posts
    1

    Default Re: String Value comparison to operate the Boolean value

    Thank you, Great information

Similar Threads

  1. Comparison of two string variables to activate color
    By TMeck9 in forum zenon Supervisor
    Replies: 1
    Last Post: 23rd January 2019, 09:08
  2. Replies: 2
    Last Post: 22nd February 2016, 09:39
  3. Get the value of a boolean variable
    By cdaly2001 in forum VSTA
    Replies: 7
    Last Post: 3rd September 2014, 01:54
  4. String length field for STRING variables.
    By stolyarov_as in forum zenon Supervisor
    Replies: 3
    Last Post: 11th January 2013, 07:49

Tags for this Thread

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •