From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-18-2015 04:56 PM
In a String Value Test, is there a way to evaluate one Data Source against multiple string acceptable values (in Expected String Value)? Basically, I need a test the where the results "D:", "E:", "F:", or "G:" are acceptable, but "C:" of <blank> are not. I feel like this should be simple, but my brain is fried today...
05-18-2015 05:05 PM
It's kinda hacky but it works.
Hope this helps,
05-20-2015 08:22 AM
I was gone for a day, so I'm just getting back to this.
I can't open the sequence, because I still have TesStand 4.2.1.83.
Thank you for your help,
T
05-20-2015 08:30 AM
I back saved it.
05-20-2015 08:55 AM
Thank you jigg, that works.
I am going to revise it to use an array variable for the acceptable letters. I'll post when I get it working.
Thanks again,
T
05-20-2015 10:11 AM
You may be able to do that. Let me know how it turns out. If you had 2014 or newer it would be trivial because they have a Find function for the Arrays.
01-12-2016 03:08 PM
Nice thanks 🙂
I needed Step.Result.String == "Pass - Concession"? "Pass - Concession" : "Pass"