NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

export TS 3.5 limits

I have TS 3.5 and LVIEW 8.1,  In Main Sequence, I have about 20 TestSteps multiple numeric limits. when I try export the limits by clicking on the "limits" button. only three lines are shown on the right panel
step.measurement[?].comp
step.measurement[?].limits.low
step.measurement[?].limits.high

when I click export the pop up window respond with 0 value exported.

Q. should I replace ? with 0, 1,2,3....?
Q. should I add index for the step ?  ex: step[0].measurement[0].limits.low..... step[1].measurement[0].limits.low....

I have twenty steps to fill out,  is this correct?
0 Kudos
Message 1 of 12
(4,913 Views)

Hi,

Not sure if you have twenty steps which are multiple numeric limits steptype or you have a step which is a multiple numeric limit steptype which has twenty limits!

You have to replace the ? with the required index value i.e 0 or 1 or 2......19.

So that 20 (x 3) items are exported you have to define all twenty of the step.measurement[0].comp .... step.measurement[19].comp. Likewise for the limits.low and limits.high

so to answer the Question

Q. should I replace ? with 0, 1,2,3....?        Yes.

Q. should I add index for the step ?  ex: step[0].measurement[0].limits.low..... step[1].measurement[0].limits.low....   No   When you export it will scan the whole sequence looking for occurances of step.measurement[0].limits.low etc. step[0].measurement[0]....doesn't exist.

Hope this answers your questions

regards

ray farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 12
(4,903 Views)
Hi Ray,

I have 20 teststeps
  there are steps with 3 readings in each test step
   and there are steps with 6 readings in each test step

 the readings are place in the TestStand Measurement array ( in LabVIEW) VIs

 and in TestStand when I set the limits  (low, high)  data source  : NumericArray,

( in the prototype pop up window, I have to choose NumericArray to see the returned results)

together I should see about   = (20 steps  x 3 or 6 values per step x 1 low limit) + (20 steps x 6 or 3 values per step x 1 high limit)

Also after click 'export', I see the pop up window displays 0 value export.,  this window may give a clue of something wrong.

0 Kudos
Message 3 of 12
(4,891 Views)

Hi trout00,

 

Does your export dialog look something like the attached picture.

regards

Ray Farmer

Message Edited by Ray Farmer on 01-12-2007 09:36 PM

Regards
Ray Farmer
0 Kudos
Message 4 of 12
(4,887 Views)
I have attached the screen shot of the export screen, I don't have station globals on the left panel In the limits window, the limits data source array expression  : step.NumericArray In the load prototype window, I have set   Measurements: 1D Array (DBL) - out - Step.NumericArray Thank you for helping

Message Edited by trout00 on 01-15-2007 02:10 PM

Message Edited by trout00 on 01-15-2007 02:10 PM

Download All
0 Kudos
Message 5 of 12
(4,865 Views)

Hi trout00,

I shouldn't worry about the StationGlobals, it just means you haven't any StationGlobals defined, likewise on my JPG example, I didn't have any Locals defined in the Sequence. Similarly, if you had defined some FileGlobals in your sequence file, then there would be a FileGlobals entry added to the list.

The window on the left, is all the Properties that are available for you to export / import.

You will have to replace the ? for the index value you wish to export.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 6 of 12
(4,835 Views)
Ray,
Is this a manual process?
so for my step 1, I have six measurements [0..5], I should start with
Step.Result.Measurement[0].Comp
Step.Result.Measurement[0].Limits.High
Step.Result.Measurement[0].Limits.Low
Step.Result.Measurement[1].Comp
Step.Result.Measurement[1].Limits.High
Step.Result.Measurement[1].Limits.Low
................
Step.Result.Measurement[5].Comp
Step.Result.Measurement[5].Limits.High
Step.Result.Measurement[5].Limits.Low

this one test step  (test step number 1)
for the second test step, I have three measurements [0,1,2] I should start with
Step.Result.Measurement[6].Comp
Step.Result.Measurement[6].Limits.High
Step.Result.Measurement[6].Limits.Low
Step.Result.Measurement[7].Comp
Step.Result.Measurement[7].Limits.High
Step.Result.Measurement[7].Limits.Low
Step.Result.Measurement[8].Comp
Step.Result.Measurement[8].Limits.High
Step.Result.Measurement[8].Limits.Low

this is test step number 2 with three measurements,
and continue with  teststep number 3, 4,,,,,,,,until 20 or whatever last step?

it seems this is very prone for error, it relies completely on the human, with no error checking.

Do I miss something ?
Anyway, please let me know if this is the method? if I have to peck on the keyboard, then I will.



0 Kudos
Message 7 of 12
(4,832 Views)

Hi trout00,

Yes it very manual,

So for step 1, this is correct

Step.Result.Measurement[0].Comp
Step.Result.Measurement[0].Limits.High
Step.Result.Measurement[0].Limits.Low
Step.Result.Measurement[1].Comp
Step.Result.Measurement[1].Limits.High
Step.Result.Measurement[1].Limits.Low
................
Step.Result.Measurement[5].Comp
Step.Result.Measurement[5].Limits.High
Step.Result.Measurement[5].Limits.Low

But for Step 2

It should be
Step.Result.Measurement[0].Comp
Step.Result.Measurement[0].Limits.High
Step.Result.Measurement[0].Limits.Low
Step.Result.Measurement[1].Comp
Step.Result.Measurement[1].Limits.High
Step.Result.Measurement[1].Limits.Low
Step.Result.Measurement[2].Comp
Step.Result.Measurement[2].Limits.High
Step.Result.Measurement[2].Limits.Low

for Step 3 these will also start from index 0.  Hope you get the picture.

Unless of course you have something werid in your step definition for the Limits, each Step starts from index 0

In the Export / Import tool, you are not actual specifying the actual steps, you are specify the properties of a Step to export.

So if you had 20 Step but the maximum number of limits in any of the 20 steps is 6, then in your Export Tool you would only need

Step.Result.Measurement[0].Comp
Step.Result.Measurement[0].Limits.High
Step.Result.Measurement[0].Limits.Low
Step.Result.Measurement[1].Comp
Step.Result.Measurement[1].Limits.High
Step.Result.Measurement[1].Limits.Low
................
Step.Result.Measurement[5].Comp
Step.Result.Measurement[5].Limits.High
Step.Result.Measurement[5].Limits.Low

Hope this make sense.

 

Yes it is very prone for error, especially if you are dealing with a lot of properties.

Regards

Ray Farmer



Regards
Ray Farmer
0 Kudos
Message 8 of 12
(4,828 Views)
Ray
so when I import back in from a text file (or excel) , how does the TestSTAnd knows which limits match with the steps.

regards
0 Kudos
Message 9 of 12
(4,825 Views)

Hi trout00,

Its uses the Step Name to match which limits go where they should.

I have attached an example. (TS3.5), you should beable to match the limit file with the sequence steps.

In the Export/Import  Tool I have the following properties

Step.Result.Measurement[0].Comp
Step.Result.Measurement[0].Limits.High
Step.Result.Measurement[0].Limits.Low
..........................................
Step.Result.Measurement[5].Comp
Step.Result.Measurement[5].Limits.High
Step.Result.Measurement[5].Limits.Low

Regards

Ray Farmer

Regards
Ray Farmer
Download All
0 Kudos
Message 10 of 12
(4,817 Views)