NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Using TestStand to get number of errors from a device

Solved!
Go to solution

I am using TestStand to communicate with a device which tests itself. TS simply makes a DLL call which through a serial channel finds out how many errors the device has had for each test (e.g. ethernet). This needs to be continually for each test for about 3 days. Whilst i realise that this is not the manner in which TS is meant to work, due to the back-end already being finished i just simple have to make do.

 

My question is:

What is the best way to organise the test steps (DLL calls which return the number of errors) and the results? I have considered just looping through a test sequence but this would result in millions of individual results in total? Is there someway of updating the same result for a step when it is called 1000's of times?

 

Thanks

0 Kudos
Message 1 of 4
(3,841 Views)
Solution
Accepted by topic author Alex_Haak

Add each error to a variable in a loop that runs for 3 days. Record the variable data to the report at the end.

CTA, CLA, MTFBWY
Message 2 of 4
(3,833 Views)

If you want only the cumlative value the variable method is fine.

However if you want to store each error values@specific time then you can think of enabling the database.

It will automatically store the required values for you.

Message 3 of 4
(3,827 Views)

Thanks, i will probably use variables. I really need to know when an error occured for the first time but ill store that in a variable aswell.

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