12-04-2006 05:53 AM
12-14-2006 04:00 AM
Hello Markus,
by default Teststand retrieves the information of Time/Date from the Windows regional settings, as you already experienced.
If one would like to inlclude a custom date/time string into the report there are several ways to accomplish this. What you need to do first is to assemble the String how it should appear in the report. This can be done in a statement through an expression which uses the Date() and Time() operators, and assigns the result to a local variablem which later needs to be passed as parameter to the process model and the subsequent callbacks.
Now there are two ways to modify the contents of the report:
1. PROCESS MODEL:
In this case one needs to copy the process model and modify a callback named 'TestReport Callback'. This callback contains subsequences which assemble the report components during runtime.The sequences for this can be found under the following path, depending on what type of report you are using.
C:\Programme\National Instruments\TestStand 3.5\Components\NI\Models\TestStandModels
2. REPORT CALLBACK:
Using this method one overrides the standard report callback by adding a sequence file callback named 'ModifyReportHeader' (Edit >> SequenceFile Callbacks >> Add). So the piece of code you implement in this sequence is called at runtime by the process model callback instead of the standard callback.
Hope this helps,
Regards,
C.L. - National Instruments Applications Engineering