NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

CSV file reporting

Hello,

 

What is the best way to create a csv file with test results? Should I use scripting avalaible in TestStand or implement it in LabVIEW?

Is there an example somewhere? I downloaded a few examples from earlier years but I cannot get them to work with my sequence. They require some container parameters that are not very well documented.

I'd like my csv file to look similar to this:

 

Date, Time, Operator Name, Test1 name, Test2 Name...

,,,       Limit Low, -1, -1,...

,,,       Limit High, 5,5,.....

,,,       Unit, mV,mV

,,,       Limit, GELE,GELE                                  

Date,Time,Socket Nr, Value1, Value2,....

Date,Time,Socket Nr, Value1, Value2,....

Date,Time,Socket Nr, Value1, Value2,....

...

...

 

This way it can easily be edited in Excel. It can also be used for data analysis, graphing etc.

 

Thanks

 

 

 

0 Kudos
Message 1 of 3
(3,507 Views)

Hello, There is an example here:

 

Logging Teststand Results to EXCEL

 

http://zone.ni.com/devzone/cda/epd/p/id/5854

National Instruments
0 Kudos
Message 2 of 3
(3,477 Views)

I'll also add that it is, in my opinion, much more effective to use a database instead of trying to manage many separate text files. With a database, you can edit the data, analyze it, graph it, etc.

0 Kudos
Message 3 of 3
(3,467 Views)