NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Specified Value Does not have the Expected Type

    I haven't used TestStand in quite awhile, and I have been trying to teach myself again.  I have created the attached sequence, and when all the steps pass it works fine, but when any one of them fails I receive the following error:

sCode: 0xfffbc64
description: specified value does not have the expected type

What does this mean?

Thanks,
Jo-Jo
0 Kudos
Message 1 of 3
(4,332 Views)

Hey Jo-Jo,

 

It appears that you have an incorrect Locals.ResultList variable. You have it defined as a numeric data type and it should ALWAYS be an array.  By default, whenever a new sequence file is created, Locals.ResultList is generated and is defined as an array data type.  To fix your problem

 

1) First make sure that your files are not read-only. The zip file I downloaded was read only so I couldn't copy and paste any variables. So if you folder is, right-click on your folder, select Properties and then check the Read-Only state. 

2) Delete the ResultList local variable defined in your sequence file

3) Create a new sequence file, copy the ResultList array from the Locals tab

4) Paste the copied ResultList array into your Locals tab in your sequence file.

 

This should fix your problem.

 

Best Regards,

Jonathan N.
National Instruments
Message 2 of 3
(4,317 Views)
That did it.

Thanks,
Jo-Jo
0 Kudos
Message 3 of 3
(4,306 Views)