How Do I Compare Two Variables in a Sequence?

Updated Oct 27, 2020



  • TestStand

I have acquired two variables in a sequence and wish to compare their values against each other.
How do I accomplish this in TestStand?

There are two ways you can accomplish this:
  1. Use a Statement step to compare the values, and then use Properties >> Post Actions to determine what to do depending on that result.
  2. Use an If step to execute a block of steps conditionally, depending on the conditional expression comparing the variables in the If step.