NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Alex_Haak
Posts: 10
0 Kudos
Accepted Solution

Using TestStand to get number of errors from a device

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

Active Participant
snowpunter
Posts: 272

Re: Using TestStand to get number of errors from a device

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, CLD, MTFBWY
Member
SunRS
Posts: 133

Re: Using TestStand to get number of errors from a device

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.

Member
Alex_Haak
Posts: 10
0 Kudos

Re: Using TestStand to get number of errors from a device

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.

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page