NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Property Loader Problem - Error -18

I'm changing a working application from testStand 3.1 to 4.0 and I'm having trouble with the Property Loader.

Sequence File: 86-436-01.seq
Property loader step failed to import or export properties.
116 property value(s) were found.

0 property value(s) were imported from 120 row(s) of data

Error evaluating expression:StationGlobals.Mod1_Ch0_gain = (1)
Property does not exist.

Error evaluating expression:StationGlobals.Mod1_Ch0_offset = (0)
Property does not exist.

Error evaluating expression:StationGlobals.Mod1_Ch1_gain = (1)
Property does not exist.

Error evaluating expression:StationGlobals.Mod1_Ch1_offset = (0)
Property does not exist.

Error evaluating expression:StationGlobals.Mod1_Ch2_gain = (1)
Property does not exist.

Error evaluating expression:StationGlobals.Mod1_Ch2_offset = (0)
Property does not exist.

Error evaluating expression:StationGlobals.Mod1_Ch3_gain = (1)
Property does not exist.

Error evaluating expression:StationGlobals.Mod1_Ch3_offset = (0)
Property does not exist.

Error evaluating expression:StationGlobals.Mod1_Ch4_gain = (1)
Property does not exist.

-18; User-defined error code.

The similar step that follows works just fine - it uses a different Excel file stored in the same folder.

The beginning of the Excel file looks like:

Start Limits
<StepName> Variable
<Locals> Variable
<FileGlobals> Variable
<StationGlobals> Variable
Mod1_Ch0_gain 1
Mod1_Ch0_offset 0
Mod1_Ch1_gain 1
Mod1_Ch1_offset 0
Mod1_Ch2_gain 1
Mod1_Ch2_offset 0
Mod1_Ch3_gain 1
Mod1_Ch3_offset 0



0 Kudos
Message 1 of 7
(4,362 Views)

Hi,

So what does the file that don't work look like?

regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 7
(4,359 Views)
Sorry, poor writing on my part. That is the top of the file that doesn't work.

The file that does work looks like:

Start Limits   
<StepName>    Variable
<Locals>    Variable
<FileGlobals>    Variable
Board1    1
Board2    1
Board3    1
Board4    1
Board5    1
Board6    1
Board7    1
Board8    0
FanDirection    1
HD1position    1
SW1position    0
SW2position    0

0 Kudos
Message 3 of 7
(4,356 Views)

Hi,

No its OK, I re-read your post and thought that maybe it was the bad file.

Is it possible to post the file?

Regards

Ray

Regards
Ray Farmer
0 Kudos
Message 4 of 7
(4,353 Views)
0 Kudos
Message 5 of 7
(4,351 Views)

Hi,

Ok the problem is that the properties must exist.

If you put the properties in your StationGlobals, then your PropertyLoader will work.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 6 of 7
(4,350 Views)
That did it, Ray. Thank you.

I'm not sure why the 3.1 version works but I'm up and running and that makes me happy.
0 Kudos
Message 7 of 7
(4,315 Views)