NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

UseCompExpr Error while saving file in older format

All,

 

I have a sequence that:

1. Was Developed in TestStand 2.0.1

2. I am opened in TestStand 4.0.1

3. I want to save it back in version 2.0.1

 

WHY: Ease of use in newer TestStand GUI.

 

But I get a UseCompExpr error >>> unknown variable

 

 

Any ideas would be appreciated.

 

thanks

 

 

 

 

0 Kudos
Message 1 of 11
(4,076 Views)

The only place I know that UseCompExpr is used is in the test step properties.  It looks like the step types have changed since versions.  When you tried to back save it doesn't know what to do with that property or how to use it.

 

It's used in the String Value Test, Multiple Numeric Limit Test and the Numeric Limit Test.

 

Hope this points you in the right direction.

 

Honestly though I'm not sure what you are doing is supported or recommended by NI.  I can't speak for them though.  TS 3.0 was a major overhaul to TestStand and any version previous I consider ancient and wouldn't personally consider crossing that line.  My 2 cents.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 11
(4,061 Views)

Thanks for the information, it helps a lot.

 

Everything you say is correct about the version etc.. but this environment is the working one.

 

Thanks again.

 

If anyone else out there has a different incite I will always listen.

0 Kudos
Message 3 of 11
(4,055 Views)

What do you mean by "but this environment is the working one"?  Are you saying that the deployment machine only has the 2.0.1 engine on it?  Therefore you have to deploy to that engine?

 

Regards,

 

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

That is correct

0 Kudos
Message 5 of 11
(4,047 Views)

Is it an option to upgrade the deployment bench with a newer engine?

 

Do you see the error when you load the sequence file or when you try to run the sequence file?  Is the error only in the 2.0.1 UI?  Or do you see it when loading the file back into the sequence editor?

 

Regards,

 

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

Upgrading is not an option.

 

The software works fine in 2.0.1

 

The problem is if I try to save it as a 2.0.1 file FROM the 4.1 version of TestStand environment.

 

0 Kudos
Message 7 of 11
(4,043 Views)

I understand that upgrading is not an option.  I have seen similar situations.

 

So basically in the 4.1 sequence editor when you try to save it you get the error?


What happens when you save to an older version?  Or even save it to 3.0 and then try and save it again to 2.0.1?

 

I just tried a sequence with all the test types in them and didn't see any issues.  However, I am using TS 2010.

 

Regards,

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

No upgrade possible

 

Tried to go back to 3.0 from 4.1: no go on that

0 Kudos
Message 9 of 11
(4,032 Views)

Not sure if it's possible to post your file or narrow the issue down to a couple of steps and post that file but I could try it out and see if I can reproduce your issue on 2010.

 

Long term this doesn't seem like a viable option but at least we could see if the bug was in the 4.1 editor.

 

Regards,

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