11-30-2006 09:09 AM
12-11-2006 03:55 AM - edited 12-11-2006 03:55 AM
Hi,
I think from your description you're passing in the string
fred
instead of the string
"fred"
i.e. you local variable, or wherever the route to connect string is coming from needs to have the " 's included aswell
Hope that helps
Thanks
Sacha Emery National Instruments (UK)
Predefined
Using a Local Variable
Message Edited by SachaE on 12-11-2006 09:56 AM
Message Edited by SachaE on 12-11-2006 09:57 AM
12-11-2006 06:00 AM
Thanks for replying, although it is not the answer.
The problem is that Test Stand has been misleading me. I created a local string variable which was then assigned the required string during the pre-expression of step that I was using for the Switch Executive. It seems Test Stand does not evaluate the pre-expression of the step before the switching in the step. Test Stand evaluates the pre-expression after the switching in the step.
This caused my local variable which was initially empty to be sent to Switch Executive which was ignored and did not come up with any error message! My pre expression of the step was then evauated after the switching (which was not what I was expecting).
I have found out since that using an Ivi switch step instead, the pre expression does evaluate before the Ivi switching. I think Test Stand/ Switch executive could do with some documentation on this.
Steve
12-11-2006 07:02 AM
Hi,
your right, see Scott's answer to query http://forums.ni.com/ni/board/message?board.id=330&message.id=9762&query.id=94081#M9762
Regards
Ray Farmer