NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

-17308; Specified value does not have the expected type

Solved!
Go to solution

Funny thing is

 

the piece of code works in  Development system but not in Deployment

 

I use Locals.SelOutType in (Array to Iterate over )  of a ForEach step

 

bfore that  I do this

 

(PropertyExists("Parameters.Result.AdditionalResults[\"Standard Output\"]") ? (Locals.SelOutType="Parameters.Result.AdditionalResults") : ( PropertyExists("Parameters.Result.AdditionalResults[\"Parameters\"]") ? (Locals.SelOutType="Parameters.Result.AdditionalResults[\"Parameters\"]") :  (Locals.SelOutType="Parameters.Result.AdditionalResults[\"Parameters\"]")                         )                    )

 

only in deployment I get the error  -17308

 

any guesses

0 Kudos
Message 1 of 2
(4,388 Views)
Solution
Accepted by topic author aparab

 

Hi,

thts the soln

 

#NoValidation(Evaluate(Str(Locals.SelOutType)))

 

also could be   tht the files shld not be read only (not so sure)

0 Kudos
Message 2 of 2
(4,382 Views)