05-17-2007 03:46 PM
05-17-2007 04:16 PM
05-18-2007 12:05 AM
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
05-18-2007 12:15 AM
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
05-18-2007 12:39 AM
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
05-18-2007 01:22 AM
Hi,
A sequencefile with one Step using a custom step type would be better.
Regards
Ray Farmer
05-18-2007 05:49 AM
Hi Ray,
Here is a short sequence and the step VI.
Thanks,
Andras
05-19-2007 11:24 AM - edited 05-19-2007 11:24 AM
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
05-19-2007 01:29 PM
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