08-09-2012 05:42 AM
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
Solved! Go to Solution.
08-09-2012 02:26 PM
Add each error to a variable in a loop that runs for 3 days. Record the variable data to the report at the end.
08-10-2012 05:05 AM
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.
08-10-2012 05:13 AM
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.