NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Property Loader using a .csv file

I want to be able to have a single .csv file with all the properties for all my tests (which are contained in multiple sequence files), but the following happens:

I get an error (-18 user defined) during the "Property Loader" step of a sequence because my .csv file has more test steps (rows) than my sequence has test steps.
(In this case there are 4 tests defined in the .csv file, but only 2 in the sequence)

Is there a way to configure the property loader so that only the rows that correspond to tests in the current sequence are loaded.

In the attached ZIP file I have included the .csv file, my sequence file and the screenshot of the error.
0 Kudos
Message 1 of 3
(3,827 Views)
Russel -
I did not see a screenshot of the error that you spoke of. But, you can use start marker and end marker values to specify which limits to load:

StartMarker1
StepName,TxLevel,TxFreq,ULimit...
Gain_1,0,100,1,0
Gain_2,10,1000,2,-2
GvF_1,-10,,,,2,60,90,-1,-2,-1,-10
GvF_2,-20,,,,2,1000,5000,1,2,0,-1
EndMarker1

StartMarker2
StepName,TxLevel,TxFreq,ULimit...
Gain_1,0,100,1,0
Gain_2,10,1000,2,-2
GvF_1,-10,,,,2,60,90,-1,-2,-1,-10
GvF_2,-20,,,,2,1000,5000,1,2,0,-1
EndMarker2

Scott Richardson (NI)
Scott Richardson
https://testeract.com
0 Kudos
Message 2 of 3
(3,827 Views)
Thanks a lot. That got me on the correct track,

For my application I had to format my file to look like the following:
GAIN_TESTS_START
StepName,TxLevel,TxFreq,ULimit,LLimit, ...
Gain_1,-50,100,1,0,,,,,,,
Gain_2,-100,1000,2,-2,,,,,,,
GAIN_TESTS_END
GVF_TESTS_START
StepName,TxLevel,TxFreq,ULimit,LLimit, ...
GvF_1,-10,,,,2,100,500,1,2,-1,-10
GvF_2,-20,,,,2,1000,5000,1,2,0,-1
GVF_TESTS_END

When I did this, and set the start and end data markers in the property loader page in each sub sequence, my errors went away.
0 Kudos
Message 3 of 3
(3,827 Views)