NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I include multiple limits in the sequence file documentation for custom step type?

Hi,
 
I have a custom Step Type that contains Measurements property under Results. Its type is Array of NI_LimitMeasurement.
I would like to see the values in the sequence file documentation like NI_MultipleNumericLimitTest type.
Is there any trick to do that?
 
Thanks,
Andras
0 Kudos
Message 1 of 9
(4,449 Views)
Hi,
 
Have you enabled the sub-Properties and the Array check boxes in the Documentation tool dialog?
 
But I think you will have to modify the DocGen_html |txt sequence file to include your extra properties.
 
 
Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 9
(4,447 Views)

Hi Ray,

Yes I have enabled. It shows the limits for the NI step, but not for the custom step. All other settings are the same. I copied the the NI step to start from.

Andras

0 Kudos
Message 3 of 9
(4,443 Views)

Hi Andras,

I thought that would be the case.

To handle custom step types, you would have to modify the Docgen sequence files.

If you post an example of one of your step types, I could have a look at what you have to modify.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 4 of 9
(4,441 Views)

Hi Ray,

Thanks. Is the palette file enough?

Step type: ReadAndLimitTestWaveforms, MutipleWaveform_LimitTest or ReadAndLimitTestWaveformsWithMasks

If you could suggest any of them what to modify I would appreciate.

Thanks again,

Andras 

 

0 Kudos
Message 5 of 9
(4,439 Views)

Hi,

A sequencefile with one Step using a custom step type would be better.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 6 of 9
(4,436 Views)

Hi Ray,

Here is a short sequence and the step VI.

Thanks,

Andras

0 Kudos
Message 7 of 9
(4,431 Views)

Hi Andras,

I have made  a slight change to the sequencefile 'docgen_txt.seq'.

In the Sequence 'Step Doc' is a section which handles MultipleNumericLimit step type. There is a precondition check on the step 'Add Multiple Numeric Limits' if the step is of type 'NI_MultipleNumericLimit'. As your step type is based on the MultipleNumeric Limit type, I have just removed this precondition and just relied on the existence of Parameters.Step.Result.Measurement. Equally you could add a new section in this sequence to handle your Custom Step Type which is only called when the precodition match your type name.

Now when you run the DocGen tool it handles your custom step type.

Find attached my modified sequencefile 'docgen_txt.seq'.

Just copy the contents of '..\National Instruments\TestStand 3.5\Components\NI\Tools\DocGen' to the User folder. Then place the attached file in the User\Tools\DocGen overwritting the version that is in that folder.

Then launch TestStand and try it out on your sequence file.

 

If you are using the html version, then you will have to make the same change into Step Doc sequence of the docgen_html sequence file.

Hope this helps

Regards

Ray Farmer

Message Edited by Ray Farmer on 05-19-2007 05:28 PM

Regards
Ray Farmer
0 Kudos
Message 8 of 9
(4,418 Views)

Thank you Ray,

It helped a lot. I have some error messages but probably because of missing values. I hope I can deal with it.

Thank you agan.
Andras

0 Kudos
Message 9 of 9
(4,413 Views)