 Skeptical
		
			Skeptical
		
		
		
		
		
		
		
		
	
			06-12-2009 09:32 AM
Solved! Go to Solution.
06-12-2009 11:06 AM
The description field displays the measurement by default. See the attached screenshot. Also notice the Edit Step List Configurations menu item in the screenshot. You can you use it to add columns that display user defined information.
06-12-2009 01:13 PM
06-12-2009 01:59 PM
Try something like:
(Step.Result.Status == "" || Step.Result.Status == "Skipped") ? "" : PropertyExists("Step.Result.Numeric") ? Str(Step.Result.Numeric) : PropertyExists("Step.Result.String") ? Str(Step.Result.String) : ""
06-12-2009 03:55 PM
 Bendy227
		
			Bendy227
		
		
		
		
		
		
		
		
	
			12-02-2009 02:27 AM
 Bendy227
		
			Bendy227
		
		
		
		
		
		
		
		
	
			12-02-2009 03:04 AM
 CorbinH
		
			CorbinH
		
		
		
		
		
		
		
		
	
			12-03-2009 11:02 AM
Hello Bendy,
Since expressions cannot have loops, the best way to iterate through an array like this is using recursion. I think you will find the following community example quite helpful:
http://decibel.ni.com/content/docs/DOC-5826
One difference I would make is using StationGlobals instead of FileGlobals just in case you are using multiple sequence files. Here are the modifications I made to display the numeric array of a multiple numeric limit test.
Step List Configuration column expression:
StationGlobals.RecursiveNum = 1,
(TypeOf(RunState.Step) == "NumericLimitTest") ? Step.Result.Numeric :
(((TypeOf(RunState.Step)) == "NI_MultipleNumericLimitTest") ? Evaluate(StationGlobals.RecursiveExpr) : "")
StationGlobals.RecursiveExpr value:
(GetNumElements(Step.Result.Measurement) == 0) ? 0 :
    ((StationGlobals.RecursiveNum == GetNumElements(Step.NumericArray)) ? Str(RunState.Step.NumericArray[StationGlobals.RecursiveNum - 1],"%$.3g") : 
    (StationGlobals.RecursiveNum = StationGlobals.RecursiveNum + 1, Str(RunState.Step.NumericArray[StationGlobals.RecursiveNum - 2],"%$.3g") + ", " + Str(Evaluate
     (StationGlobals.RecursiveExpr))
    )
)
As you noticed, I didn't implement the UseIndividualDataSources check, but it looks like you already have that figured out. Hopefully this helps!
 Bendy227
		
			Bendy227
		
		
		
		
		
		
		
		
	
			12-04-2009 12:53 AM