NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Watch Expression Settings error

If I have a parameter declared as a number and I pass an array element to it, by reference, I have problems trying to watch the parameter value.
 
If I double click on the glasses in the 'Watch Expression' window the 'Watch Expression Settings' dialog pops up. If I click on the Expression control and try to expand the Parameters value, TestStand fails with the following error...
 
Expected container, found number
Error code -17308. specified value does not have the expected type
Source 'TSAPI'
 
If I manually type into the watch expression field it's O.K.
 
(This is with TestStand 3.5)
0 Kudos
Message 1 of 3
(3,052 Views)
Hi,
  yep - I get exactly the same issue and we had the issue in TestStand 2.x too before but fixed it in 3.1.
This was reported to R&D (# CAR ID 46J4EOW3) for further investigation. Unfortunately the only workaround is to type it in manually, or to go to the context tab when you're on the breakpoint and right click it, select "copy property path" and paste that into the watch expression box instead.
 
Thanks
 
Sacha Emery
National Instruments (UK)
// it takes almost no time to rate an answer Smiley Wink
Message 2 of 3
(3,032 Views)
Hi,
  just to keep you up to date, R&D have verified the issue, and have checked it against the implementation for a future release of TestStand, although obviously we have no details on when the next release will be available. At this time there are no plans to generate a patch to fix this issue in the current version so you have to go with the workarounds I'm affraid.
 
Thanks
 
Sacha Emery
National Instruments (UK)
// it takes almost no time to rate an answer Smiley Wink
0 Kudos
Message 3 of 3
(2,998 Views)