10-23-2008 10:20 AM
Not sure what version of TestStand you are using, but recent versions have an API Engine.Utility.Escape() that you can use to convert your string limit into a correct TestStand expression string literal. Just use this Engine.Utility.Escape() method with the EscapingOption_SurroundedByQuotes option to convert your raw string into the correct format for use with a TestStand expression, such as the string limit.
Hope this helps,
-Doug
10-24-2008 03:28 AM
10-24-2008 05:21 PM
I found that cutting and pasting the string from the LabVIEW indicator into a local variable first and using the local variable in the comparison will work.
Jim