NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

string value test results in default database

Using the default TestStand database, numerical results get stored in the PROP_RESULT.DATA column.

 

Where do results of string value tests get stored?

0 Kudos
Message 1 of 4
(3,640 Views)

I just tested in 2014 and it gets stored in PROP_RESULT.DATA as well.

 

Regards,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 4
(3,633 Views)

Odd. I created a new sequence and a new string test VI, and the PROP_RESULT.DATA database column in my sandbox database gets assigned the returned string. I don't even need to click the 'Log' checkbox in the module tab of the step setting. All I need to do is asign the string value to Step.Result.String.

 

Found the problem. The database datatype for PROP_RESULT.DATA is a double instead of a varchar. I wonder how that happened...

 

Stephen

0 Kudos
Message 3 of 4
(3,600 Views)

I think I am just going to store the string results in STEP_RESULT.REPORT_TEXT at this point.

 

To do this I put the following in the step post expression

 

Step.Result.ReportText = Step.Result.String
0 Kudos
Message 4 of 4
(3,582 Views)