NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem writing Serial Number programatically and printing report

Labview 8.5
TS 4.0
 
I modified the my PreUUT sequnece to call a VI which enters a new Serial Number via a string control. This works fine.
 
The problem is this new SerialNumber does not seem to be accepted by TestStand and therefore does not print the reports for any executions.
(I get a "<no path>" error on the report header)
I'm using the same variables used in the standard PreUUT step.
 
I read a post about using RunState.Root.Locals.UUT.SerialNumber but this always causes a runtime error.
 
Any help is appreciated.
 
 
0 Kudos
Message 1 of 5
(3,650 Views)

Hi kevmi2ca,

check out in your PreUut Sequence that "Paramters.Uut.Serialnumber" is set to your desired s-number.

Greeings from the lake of Constance, Germany

Juergen


 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 2 of 5
(3,646 Views)
Yes, I used a pop-up dialog to display Parameters.UUT.SerialNumber and the correct number is displayed.
 
 
0 Kudos
Message 3 of 5
(3,629 Views)

Hi kevmi2ca,

Sounds not good. Please send your PreUut Sequence (your VI is not necassary) as attachemt to this forum. I will try to run it on my maschine.  

Greetings

juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 4 of 5
(3,625 Views)

Juergen,

I got it working. It still says "no path" but I should be able to figure that out.

Thanks from Southern California!

0 Kudos
Message 5 of 5
(3,619 Views)