NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Stop teststand viewer from creating temp file

Solved!
Go to solution

Hello All.

 I have a simple question.

Can I stop the teststand from create a temp file when I click the viewer to view the test result?

This function leave trash in the test result.

Thanks

TP

0 Kudos
Message 1 of 6
(4,064 Views)

Hey TP,

 

To help answer your question, I'd like to clarify a few things first:

 

1. Could you tell me exactly what you're clicking on to view the test results? A screenshot might be helpful, as well.

2. Are you generating your results as a report, or writing to a database?

3. Do you know where it's storing the file, and what the name of that file is?

4. Could you show us a screenshot of what the trash in the test result looks like?

 

I'm not sure what the  temp file could be, but it shouldn't be affecting your test results, so we should be able to figure out what's going on there. If you can reply with the answers to those questions, I'm sure me or another community member will be able to help more.

 

0 Kudos
Message 2 of 6
(4,037 Views)

Hello

 

1./Here is the Viewer buttonButton.PNG

 

 

 

 

 

 

 

 

 

 

 

and here is the temp file

 

Temp.PNG

 

 

 

 

 

 

 

the view button create a temp report every time I use it.

The test results is a text file will be pull Up to data base

the file name is making a remote pulling data process confused.

-I just want to known if there is a way for not create the temp file in the test data folder

or at least create the temp file in a designated folder rather than the test result folder.

Thanks

TP

0 Kudos
Message 3 of 6
(4,018 Views)
Solution
Accepted by Tphan

Hi,

 

as i know there is no way to aviod the creation of the temp file.

every time when Report.Load/Save is called ( normally in the model) the tempfile is created.

 

 

I just did a small workaround.

In the ReportObject there is property GetTempFileDirectory.

With it you can specifiy a special folder which is seperated from the "released" uut reports.

Now  i am able to avoide conficts with the Temp-reports.

 

Hope this helps

 

Juergen

 

 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
Message 4 of 6
(4,008 Views)

 

Hello.

Where should you put it?

 

 I try to put it it main program . It does not get any affect.

Thanks

TP

0 Kudos
Message 5 of 6
(3,975 Views)

I manage to put it in the PostBack.

Thanks 

Tphan

0 Kudos
Message 6 of 6
(3,972 Views)