NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

customize report filename

How can I modify the default datetime format added into report filename ?
I'd like this YYYYMMDDhhmmss (without "[ ]" and/or "." characters as standard format does.
0 Kudos
Message 1 of 2
(2,963 Views)

Hi,

This is done in a step in the ProcessModel SequenceFile, eg SequentialModel.seq in either Test UUTs or Single Pass sequence.

There is a step "Determine Report Filename", (not sure if that's the correct description, but its something like that..). This calls a function in the modelsupport2.dll. This will create a file based on the information from the ReportOptions.

You would have to modify this function to fomat the filename text. All the code is available in TestStand\Components\NI\. for modelsupport2, its a CVI project.

Before you start, copy the relevant folder to the same location in TestStand\Components\User\.. and make the changes to these files.

Hope this helps

Regards

Ray Farmer

 

Regards
Ray Farmer
Message 2 of 2
(2,960 Views)