NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Sequence.Type returns incorrect value

TestStand 2010 SP1

 

Sequence.Type and/or Sequence.GetEffectiveType() seems to be returning 0 no matter what sequence I call them from.  Anyone know what I could be doing incorrectly?

 

You can run the attached sequence file and see it.

 

Thanks,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 1 of 4
(2,754 Views)

Hi jiggawax,

 

I have done some testing with your file, and it looks like the GetEffectiveType() method is always returning a 0.  I was able to at least read the Type property as a 3 when observing it within the process model.  Perhaps these values are not being properly updated in the Sequence object.  Are you able to see any other values in any of your sequences?

Justin D
Applications Engineer
National Instruments
http://www.ni.com/support/
Message 2 of 4
(2,734 Views)

I cannot see any other values.

 

Interesting observation on my part: The Process Model I had tried it in before was one I copied over from 4.1.1 and had saved as 2010 SP1.  However, when I use the default model that ships with 2010 SP1 I get the correct behavior.  ODD??  BUT, when I create an empty sequence file from 2010 SP1 and try it I don't get the right values.

 

I'm with you.  I think these values aren't getting updated correctly in the sequence object.

 

Thanks for the help,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 3 of 4
(2,731 Views)

Hi jiggawax,

 

It definitely does seem that this is unexpected behavior.  I have made R&D aware of this issue, and it can be monitored with reference #360098.

Justin D
Applications Engineer
National Instruments
http://www.ni.com/support/
0 Kudos
Message 4 of 4
(2,723 Views)