08-24-2005 10:57 AM
08-25-2005 10:43 AM
You can use two Teststand API Calls.
1. Get object reference object
Note: Create a local variable to store the object reference that will be returned.
Object Reference: Runstate.Engine
Object Class: Engine
Action: Call Method
Method: GetSequenceFileEx
2. Use reference to get sequence file revision
Note: This will return the sequence file revision.
Object Reference: <use local variable above>
Object Class: PropertyObjectFile
Action: GetProperty
Property: Version
Hope this helps.
08-25-2005 10:50 AM
Also,
If you want this revision to show up in the report, then just do a string limit test.
08-25-2005 12:58 PM
OR use RunState.SequenceFile.Data.Version.
For the Report Header:
In a ModifyReportHeader callback, add a statement step that has this expression:
Parameters.ReportHeader += RunState.SequenceFile.Data.Version
This will append the SequenceFile Version to the header string. You will probably want to play with placement and may decide to insert more than just the version.
Also, note that the ModifyReportHeader callback is only called when a Sequence is used to generate the report body. See the bottom of the Content tab of the Report Options Dialog (Configure>>Report Options) for this setting.
For Database Logging:
If you haven’t done this before, you will need to customize the schema and the database to include this additional “result”. I recommend adding a column to the UUT_RESULT table for this sort of information. If you have taken the TestStand I: Introduction course, this process is covered in Lesson 11. Otherwise, there is background information in the TestStand Help and Chapter 6 of the TestStand Reference Manual. The key will be found in Configure>>Database Options.
Regards,
Eric
08-25-2005 01:48 PM
08-25-2005 01:55 PM
08-25-2005 02:56 PM
08-25-2005 02:58 PM
08-25-2005 05:07 PM
String Value Test | |
Status: | Failed |
String: | 0.0.0.6 |
Limits: | |
String: | '' |
Comparison Type: | Ignore Case |
08-25-2005 05:17 PM