NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Using property loader with Excel

Hello,
 
I am trying to load properties from and excel spread sheet into multiple 1D local arrays. The names of the arrays will be same as the values in the cells of the first row. The step names are same as those in the first column or any other column. My test file varies, so I cannot specify the sizes of the arrays. Can some one pleae help me get started with this ? maybe with a small example. I attached the excel file with some sample data
 
 
Thanks,
Sam
0 Kudos
Message 1 of 3
(3,426 Views)
Check this link out (TestStand Property Loader doesn't load all properties).

This one got me going. You may need to create your own Sequence File Type under Custom Data Types to acheive this though.

-Chroma
0 Kudos
Message 2 of 3
(3,415 Views)

Hi,

The problem is going to be that your file is not in the format the PropertyLoader expects which is

START
<Step Name>
<Locals> Variable Value
CFG_FEATURE[0] 0
CFG_FEATURE[1] 0
<FileGlobals> Variable Value
<StationGlobals> Variable Value
END

 

Therefore if its has to be that format then you will have to create your own PropertyLoader step

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 3 of 3
(3,414 Views)