NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

"ProxyCaller ->" String in Error Msg

My error is message is being cut off by TestStand, any ideas???
 
I emulated this behavior with the VI test.vi and the sequence Sequence File1.seq. I opened the SequentialModel.seq and added the ProcessModelPostStepRuntimeError callback to capture the error I'm getting from the caller. I added a label step and a breakpoint just to be able to add a WatchExpr.
 
So it looks like whenever I include the "ProxyCaller ->" string the message gets cut off.
 
1. The original problem is reproduced the picture errormsg.jpg. I pass the string "Description1 ProxyCaller -> Description2"  as the error message and the msg gets split exactly where the string "ProxyCaller ->" appears.
 
2. Then I tried changing the error msg string this time using "Description1 ProxyCller -> Description2" (deleted the a from Caller) and the msg appears intact... see ProxyCller.jpg
 
3. Same when I pass the string "Description1 ProxyCaller - Description2" (deleted the > symbol)... see ProxyCallerNoGreaterThan.jpg
0 Kudos
Message 1 of 4
(3,553 Views)
So after many tests I discovered a kind of workaround, I changed the indicator name on my VI from "error out" to "error_out" and I passed the original string "Description1 ProxyCaller -> Description2" and finally I could get the original string in the error msg... which is really weird, how can the indicator name affect the callback behavior (still do not get it)
 
The problem is,
1. I have no control over the millions of possible strings that may get passed as error msgs so I can't catch the "ProxyCaller -> " and replace it with something else, the only way to do it (that I know of) is with the callback but as I said it the message does not make it...
 
2. I have literally hundreds of VIs that are called directly from TS and that use the default "error out" indicator name. I can not imagine (and I really do not want to...) the amount of work required to rename the vi's, update the prototype in the sequence, relabel the testsw version and redeploy... you know the whole process...
 
So please HELP!!!
0 Kudos
Message 2 of 4
(3,548 Views)
Whenever you have a control named "error out" that contains the text "ProxyCaller", we remove any additional text after the "->" string.  This is the only case where it is altered.

This was done to remove confusion from complicated error messages that may occur when calling an Express VI from TestStand.  Although this feature was only meant to deal with Express VIs called directly from TestStand, it also affects any other VIs.  I have reported the problem to R&D and they will look into changing this in a future version of TestStand.

Thanks,
Andy McRorie
Applications Engineer
National Instruments
Thanks,

Andy McRorie
NI R&D
0 Kudos
Message 3 of 4
(3,492 Views)

Is this documented somewhere (release notes) that I should read as I user before moving all my code from a previous version to another???

 

 

0 Kudos
Message 4 of 4
(3,487 Views)