NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

customising .txt reports in teststand

Hi,
 
I want to customize my report that is generated in .txt format. How can I do it? Please send me any customized sequence files, so that I can test.
One more doubt that I have is, where should I load these customised seq files: in <---\National Instruments\TestStand 3.5\Components\Ni\Models\TestStandModels> or <---\National Instruments\TestStand 3.5\Components\User\Models\TestStandModels>
 
thanks
0 Kudos
Message 1 of 21
(5,182 Views)
In <---\National Instruments\TestStand 3.5\Components\Ni\Models\TestStandModels> look for reportgen_txt.  and copy  the sequence to <---\National Instruments\TestStand 3.5\Components\User\Models\TestStandModels>  and edit the sequence as per your requirement.
Its advisable to carry on any modification in User  folder rather than messing up the NI folder, which was there by default.
 
Hope this helps.....

Message Edited by mama007 on 02-09-2006 09:41 AM

0 Kudos
Message 2 of 21
(5,183 Views)

Hi,

I have already taken care of that... but can you tell me, if I want to remove this particular line:

Begin Sequence: MainSequence
(<C:\Some Path-------->)

what should I do... I have tried on the SequentialModel.seq, but may be I just don't know which step to modify. Also is there any document that explains what step does what!!!

Thankyou

Sreedhar.

0 Kudos
Message 3 of 21
(5,178 Views)

Hi,

A small addition:

What if I want to add one more field like date and time (for instance: some employee number). how should I do it. I think it shud be from some file, but what should be the path. How are the already existing expressions made? some even show error, but I get text file generated? How is that taking place?

Thanks

Sreedhar.

0 Kudos
Message 4 of 21
(5,173 Views)

As I said before reportgen_txt.seq has to be edited

1.Open  C:\Program Files\National Instruments\TestStand 3.\Components\NI\Models\TestStandModels\  reportgen_txt.seq.

2.Goto sequence 'AddSequenceResultToReport'

3. Delete/Skip steps 'Add Sequence Name' and 'Add Sequence File Path'

4. To add more info to report goto header/body/footer sequences and append the string you wan to report

Hopw this helps................

MAMA007

0 Kudos
Message 5 of 21
(5,169 Views)
One way to learn how the existing text report is generated is to set a breakpoint and step into the sequence doing it. In the default sequential model, you go to the Test Report sequence and set the breakpoint there. The header is created by the sequence call named "Get Report Header". This executes the sequence called "AddReportHeader" in reportgen_txt.seq. Study the individual steps there to see how the existing header is created. some of the header text is gotten from the resource files. These are in the Language folder. Some of the text printed (i.e. serial number, date/time) are passed to the sequence as parameters. How and where you get your custom strings is up to you. With your example of employee number, it could be something obtained from a dialog box that pops up when a user logs on. It could also be part of each user's profile.
0 Kudos
Message 6 of 21
(5,165 Views)
""""With your example of employee number, it could be something obtained from a dialog box that pops up when a user logs on. It could also be part of each user's profile. """"
 
Hi,
 
Can you tell me how to popup a dialog box, so that in the runtime I can pass some parameters?
 
I also searched in the language folder, lot of .ini files are there, which one should I look for?
 
sreedhar
0 Kudos
Message 7 of 21
(5,162 Views)
A small question again, can I send the report that is generated to get printed directly?
0 Kudos
Message 8 of 21
(5,152 Views)
A small question again, can I send the report that is generated to get printed directly? ro
0 Kudos
Message 9 of 21
(5,153 Views)
A small question again, can I send the report that is generated to get printed directly? or
0 Kudos
Message 10 of 21
(5,154 Views)