NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Code developed in Testsand v1 does run on v3

Hello All,
I have recently upgraded 1 off our production machine to teststand v3 hoping that there will be no compatibility problem, but I was wrong. I noticed that the following code that runs fine in ver1.0 does not work on ver3.0 platform

1) A statement step with preconditon -- Left(Parameter.firezone,2) == "Z1"-- gives me a runtime error code of -17304: unrecongnized value '2' error in argument 2...... If I click on retry, the step works fine afterwards. I have noticed that the problem only occurs when you just open the sequence.

2)A statement step post expression code -- Locals.stepvariable = FileGlobals.Z1Firepatterns[1] XOR Locals.stepvariable -- gives me a runtime error The post-expression for the step 'Z1 con x5x
2 fire pattern ' could not be evaluated. Unrecognized value '1'. [Error Code: -17304]

It seems version 3.0 does not like arrays. Any ideas ?

HELP!
😞
0 Kudos
Message 1 of 2
(2,755 Views)
To Rash -
Can you post a simple sequence that illustrates the two problems that you talk about. I am not aware of any issues like the ones that you describe.

Scott Richardson (NI)
Scott Richardson
https://testeract.com
0 Kudos
Message 2 of 2
(2,755 Views)