NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I use property limit loader to load different value for each step?

my first step has measurement[0].limit.hi = 1000 and low = 900 also measurement[1].limit.hi = 5 & low =0
my second step has 4 measurements with different limits from the first step.
How do I set up the export feature to export the limits? and then import back. I took the class with Elaine, but did not ask this Q?
0 Kudos
Message 1 of 15
(4,536 Views)
Insert a property loader step in your sequence and edit it. Select the Limits button >> all limit properties in you sequence will be added to the selected property list.

If you run the Tools>>Import/Export Properties... tool with your sequence file selected, you can also export all your limits by clicking on the Limits button.
0 Kudos
Message 2 of 15
(4,534 Views)
Hi,

Looks like you are using the Multiple Limit Test Step Type.

With your sequence file loaded in the sequence editor and the sequence that you want the limits for active eg displayed.

From the Tools menu select Import/Export Properties. A dialog will appear 'Import/Export Properties'.
In the Source/Destination Tab:
Set Data Location to File
Set the File Location
In the Properties Tab:
The Sequence should already be set to the Sequence you want the limits for. If not select the Sequence.
If any properties are in the Selected: window then press the << button. This will clear this window.
Then Press the Limits> button. All the Limit properties assoicated with all the steps in the selected Sequence will appear in the Selected: window.
At the Bottom of
the Dialog select the Append to .../Overwrite.. control to suit your needs.
Press Export button.
If sussessfull a small popup window will appear telling you have many properties were found and tranferred.
Now you have a limit file which you can view immediately via the View File button on the Source/Destination Tab.
If you wanted to Import from a file then you follow the same steps but press the Import Button.

Attached is a small TS 2.01f1 example.

Hope this helps.
Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 3 of 15
(4,534 Views)
Thank you for replying really fast.
My two steps in my example have two different limits, one for larger volume, larger limits, and one for smaller volume smaller limits.
I saw the limits:
Step.Result.Measurement[0].limits.high
step.Result.Measurement[1].limits.high
However, I am looking for array of steps
Step[0].Result.Measurement[0].limits.high
step[1].Result.Measurement[1].limits.high
0 Kudos
Message 4 of 15
(4,534 Views)
Hi,

Is it possible to provide an example of your two steps in an sequencefile

Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 5 of 15
(4,534 Views)
yes, my actual sequence has 22 steps with two step in the set up and two steps in cleanup
I would like to use two loaders,
one to load the gain and offsets, these values changed
another the one to load limits, and these will not change as the operator change the stations/fixtures.
Download All
0 Kudos
Message 6 of 15
(4,534 Views)
Hi,

I have modified your sequences file to include a property loader to load only limits for your steps.

Also created a LimitFile.

Hope this helps

Regards
Ray Farmer
Regards
Ray Farmer
Download All
0 Kudos
Message 7 of 15
(4,534 Views)
Thanks Ray,
Perfect work.
How can I do the same like you?
Please give me step by step instruction, I did read this method sometime ago, but I forgot.
I have TStand 2.0, is the TStand 2.01f a free upgrade?
When I open your file, I get the message about action step is not compatible, I choose to ignore it.
But when I click Toos-Import/export it gives me error.
"Unable to run sequence "import/export" in file 'Generic importExport.seq' Type Action is invalid because it conflicts with the existing type of that name. To avoid this error message, you should open the file with the type conflict in the sequence eidtor and resave it.
The sequence file ' c:teststand\component\NI\Tools\Generic ImportExport.seq' could not be
loaded.
Error code -17329. Invalid type conflicts with an existing type. Source TSAPI.
0 Kudos
Message 8 of 15
(4,534 Views)
Hi,

Try this patch http://digital.ni.com/softlib.nsf/websearch/44DFEA7C5D8BFB3B86256BB9006BD7CD?opendocument
This should allow you to open my sequence file properly.

If you have SSP (Software Subscription Program) then 2.01f1 is a free update.

Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 9 of 15
(4,534 Views)
Thanks Ray
I just copy the step to my sequence,
and type in the first row field the row name,
everything works excellently.
Regards,
0 Kudos
Message 10 of 15
(4,534 Views)