Test sequence
Hello world
I do a test configuration for my PCB.
My project is to make a sequence of Test in Labview to test, measure and perform computations for devices on PCB.
I want to do as 'HIT' start and the test sequence begins one by one. I can't afford Teststand if want to labview.
Can you suggest me a model of design for the test sequence faster?
Hi Drew,
less information, I would say: try a state machine approach!
Tags: NI Software
Similar Questions
-
Why the total time required for the test sequence is different during the test runs
Hello
-J' have different test resources to test our product which includes engines and the NOR-Box (6351).
-Number of test files in sequence that are called during the test (ca. 20)
-The problem is that when I run these test sequence files separate (say only 3 out of 20), total time by these tests are t1, t2 and t3, but when - I left all 20 tests to run without jumping all the time needed by the 3 tests above is t1 + 60 s, t2 + 80 s and t3 + 50sec. Why it is so and how can I avoid this problem.
-The tests are motors to move, take samples or box then save them on my computer after testing the limits. Since they are time critical, when I do all the running tests in a test go a lot do not PASS. I can't run them separately because it takes more time, more interference by user and also more than one report that is not desired.
-J' tried unloading after execution steps, but it did not help.
Kind regards
RB
This probably depends on that made your sequence. Have you tried shrink where extra time is being spent? You can time how long different parts of your sequence are following the steps of the expression as follows:
Locals.StartTime = Seconds()
Locals.ElapsedTime = Seconds() - Locals.starttime
You can also watch time module in your reports. There is nothing specific on TestStand that should cause some sort of slow down like this. I recommend trying to figure out where the extra time is being spent. I suspect once you do, the cause will become obvious.
-Doug
-
Original files are missing after re-installation (context.ctl test sequence)
Hello
After the passage of LV2010 to LV2013 my VIa are missing these files for eample
LabVIEW test sequence - Context.ctl
TestStand GetPropertyValue (String)
I also reinstalled Teststand.
How can I get the files back? I fdont know if they were part of Labview and Teststand-installation.
Thanks for help
TM
She's.
After a repair of Teststand installation files are back.
-
Execution time of a number of steps in a test sequence
Hello
I wonder what is the best way to time the execution of a number of steps in my test sequence, so I can report to a database.
Basically, this time will be the starting time of the UUT and may differ from room to room, so I want to capture him.
Thank you best regards &,.
Don1.
Hi Don1,
A very simple way to do this would be to use an expression before and after to capture time and compare the difference, for example.
locals.startTime = Seconds()
...
measures
...
locals.bootTime = Seconds() - locals.startTime
-
Hello
I am very new to TestStand, please see the question below and give advice.
I want to set up a simple test sequence.
I want a message to popup on the screen that asks the operator what unit of 6 units (maximum 10) to test (i.e. There is say box of 6 to 10 s to select from).
Then the sequence goes to the specific part of the sequence and performs the test on a unit that either has been selected.
What is the best way to do it?
I use pop-up message windows to do this? and if so what should I connect to the correct part of the sequence file?
Pop-up message windows allow only 6 options to select from?
Thank you
Hello
You can do this by using the method of message popup. You can ask the user what unit want to run message by inserting in the expression of the message in the message popup step parameters. Something like below
"Enter the number of execution unit.
1 Unit1
2 unit 2
.......
10 Unit 10 "
then check the 'Enable response text box"tab is different from the stage. When the user enters the unit number you can get the value entered by the user by inserting the below statement post expression of message popup step parameters
Locals.String = Step.Result.Response
Note: The string is a local variable to be set.
Convert string to number and send that output to pass the expression you can use a sequence of call step to call the sequence according to which must be performed. (I hope your each unit will file separate sequence)
I hope that this solves your problem. If you do not understand please let me know so that I can put a small example and send it to.
See you soon,.
Krishna
-
ICB does not break breaking set with the code when executing the test test sequence point
I just started using the testbed and I use it with CVI. I am running version 4.2.1 of testbed. I'm currently trying to set up my "*.c files" of project folder appropriate to compile and run under the simple testexe of test bench and also tried the normal sequence editor. Currently, I moved all the *.c files &.h taken in charge in the same directory where the testexec.c... .not sure if it's the best place to put it?... It seems to work OK. However, I saw a few problems once the program is running. Is to show signs cited in my CVI functions but it shows as not fatal execution error: "position of unknown source, library function error, Panel, bar menu, control or a table handle is invalid" before and after pop up window panels. I tried breakpoint to the line of code in a CVI file to the project title for additional information about the error, but it seems that the breaking point is not being invoked as it does NOT run in debug in CVI mode and rather an executable. Across the service installed on the project file are *.c and not *.obj. I appreciate anyones help and give me advice. Thanks in advance
DLL is the only way to interact with code C/C++ in TestStand, Yes.
-
Executable test sequence TestStand deployment
Hello
I would like to automate my test using TS environment and the BT.
My goal is to have one machine with the development of TS (Inc. LV) for construction of test software that is compiled in one .exe file to run on the tested machine that does not have TS or LV
Can I use the software for this task?
It is for the main development computer:
779601 35
NEITHER Developer Suite, English, include 3 years SSP
1
779602 35
NEITHER Developer Suite Automated Test Option, include 3 years SSP
1
It is for the machines to run the tests on:
777774-3505 NI TestStand Base Deployment Engine License 5 unit Bundle
I would like to have an option to monitor the performance of the tests on each machine and if necessary to perform debugging on the tested machine operations.
If the package above will provide this capability so where can I find the documentation to create .exe files to run on test computers?
If not, what software will provide this capability?
Thank you
His Lev
Lev,
These are the correct packages for TS development and deployment. The only thing is that you have little debugging with the deployment license features. If you want to debug, so instead of the deployment license they have licensed TestStand Debug.
http://www.NI.com/TestStand/deploy-compare/
More about licenses: http://digital.ni.com/public.nsf/allkb/B4B7C4ADB9B21B3F86256D360061891F
One thing you should realize is that TestStand creates no executables. Because TS is essentially a scripting language, you deploy the raw files. These raw files feeding the TestStand engine and execute the steps in order.
TestStand comes with 10 different (fully customizable) User Interfaces. What are executables and run above the TestStand engine. They allow you to run your sequence files (mostly scripts). You will only need to use 1 of them. The User Interface is so technically the executable for a deployment machine.
More information on automation TestStand deployment:
http://digital.NI.com/public.nsf/allkb/EE3382373D209449862570A5006572F0
Chapter 14 of the reference manual: http://www.ni.com/pdf/manuals/373435e.pdf
Interfaces user is in Chapter 1 to chapter of the major components:
http://www.NI.com/PDF/manuals/373435e.PDF
I hope this helps.
-
The indicator of the test sequence parameter default setting
Hello
is there a way to test in a subsequence if a parameter has been defined by default in the calling sequence.
Thank you
Hello
Yes it is possible,
Try using RunState.CallingStep.TS.SData.ActualArgs
Hope this helps
Jürgen
-
Several switches inside the a test sequence
Hi all
I'm doing a few stages of switching in a single Multiple digital limit test, so what I did is incorporated all the controls switch in labview. Unfortunately, I got an error when he got to the step with the switching (an error occurred when trying to access device PXI1Slot6
Another process has already logged to this switch module.).Is it possible to disconnect the teststand switch so that the labview vi can be used without interruption, or y at - it another way to do switching multimode in teststand I don't know?
Thank you for taking the time to read.
One more thing...
You can use the adapter of the sequence with a step of the multi-digital. Then create a sequence that will have several stages.
I illustrate this in the sequence file attached.
Let me know if you have any questions.
-
read the test sequence sequence file properties
Hello
I use the older version of TestStand 2.1. I have the ability to sequence (Sequence File Properties) version than incrimante each backup. I wanted to know if I can get in the sequence, a variable that indicates the version of the current program.
Thanks in advance
If I understand your question, use ActiveX steps to access the PropertyObjectFile.Version property or use the hidden property: RunState.SequenceFile.Data.Version. Hidden properties are subject to change in future versions of TestStand, however, is more future proof to use API. However, this property has never changed so far.
Hope this helps,
-Doug
-
OCA certification - test sequence
The OCA Certification requires two steps:
Step 1 -This exam.
- 12 c oracle database: SQL Fundamentals 1Z0-061 or
- Oracle Database 11g: SQL Fundamentals I 1Z0 - 051 or
- Oracle Database SQL Expert 1Z0-047
Step 2 -this exam.
Can I take an exam in first step 2 ? Then take a test in step 1, or SHOULD be taken in the order of 1 step 2 step?
I already studied for "11g program with PL/SQL 1Z0-144" and would make the road before taking an exam in the first step.
Thank you for your help.
You can take the exams in any order. The Oracle certification program will provide credentials when all requirements have been met - no matter the order in which they were welcomed.
-
Re: Call using screws Sub two test sequence
-
Nedopil part of sequence to run once in test USE
Hello
I use 1 file encoding to run tests on a number of different types of products.
Right now I use a message box to the user to select the product under test and based on the return of the message box, I select the correct limits to laod with the shipper of the property.
My problem is that I don't want to see this message every time a device box is test using test DUT. (only on the forst to run)
Can someone please adivse the best approach to deal with this case.
PS: I want to stay away from change my IO, I want to enter in the case of having customized OIs for different test sequences.
Kind regards
Don1.
Hello
To try to make my suggestion:
1. open your movie file in the editor of Teststand.
2 Select the pull-down Edit menu, select the sequence Callbacks... file option.
This should display a new dialog box display the available callbacks associated with the process in use template.
3. in the new dialog box select/highlite the recall of PreUUTLoop , and select Add.
This should add a new subsequence to your sequence called PreUUTLoop file.
Close the new dialog box.
4. open / select the new PreUUTLoop under sequence in your movie file.
Insert a new type of Message Popup enter group main step, add a simple text just to try the idea.
5. run your movie file. The simple text you entered to appear as a Message Popup dialogue
box, just once, before entering the test loop.
6. If it works for you, replace step Message Popup with your steps that get user information.
Kind regards
Gary.
-
Sequence step results in the report in Simple text format
I use Teststand 2012 and that you have installed the plugin from model simple text report.
My main test sequence called a number of subsequences that contain the test steps and contain also several subsequences. A number of the subsequences is only stocks. My test result file contains all the results of measures of test as expected, but it also contains a line of output for each call of sequences - makes it difficult to see the results that count. I would only record the test steps.
Looking at the code SimpleTextReport.dll in CVI I see it is stepping into the results and updated list in the form of each line (I changed some of the formatting). Is this the right place to filter the levels of appeal of sequence or can I stop the call sequence steps to be added to the list of results?
You can put it in the sequential model. Just use ProcessModelPostResultListEntry with the same code. If it's in the template, you won't need it in other files. In addition, he is probably already stuff in the model. You'll have to code around it. This is how they do it on the fly.
-
Parameterized execution of sequences
Is there an example how to set test sequences in Teststand?
The current configuration is such that a number of tests must be carried out with different supply voltages and temperature conditions. For this, there are remotely controllable power supplies and a thermostreamer. The most direct is to simply add a loop inside the sequence of test for these settings, but this feels pretty inelegant and also impassable as well as heavy to quickly change the parameter independently of the rest of the test configuration test conditions.
Rolf,
It's always an interesting discussion. The problem is that you define all these values somewhere either a database, flatfile or format TestStand himself. Here's my opinion on the matter.
Databases and flatfiles exhibit the same problem. At some point you need to read values and map it on the steps that they are passed in. The Mapper is the killer here. The reason is that it can be as simple as a PO file that maps to a local variable that is then used in the parameters of the step or enough complex where he goes through the steps and inject values into the calls. The other MAIN issue with this is what happens if the data type changes. How do roll you back to the database or flatfile while maintaining the 40 different sets of values already in there.
I found that keeping data in a native format of TestStand is the simpler and easier to maintain. Is it a local variable that you have data or an abstraction layer where the values are hardcoded in the stages of the advantage to keep in TestStand, is that when the update of the data types that they are pushed automatically and values are preserved. The downside, is changing the limits outside the TestStand environment is not really available unless you want to build a kind of special editor.
Anyway it's still a huge business. Personally I'm not a fan of the loader of property because it is limited in the variables and parameters it can export/import, and also files tend to become real yucky after about 20 values.
Hope this helps,
Maybe you are looking for
-
Y510p is not using Nvidia graphics, only Intel HD4600?
Hello I just bought Lenovo Y510p with GT755M and HD4600 from Intel on board. They work in the Optimus technology. When I try to play Battlefield 3 or 4, this message appears: "device creation error DirectX. Your computer does not meet the minimum req
-
recovery of iPhone music library
Recently, 1 broken laptop. I backed up iphone 1 on a laptop computer 2 before restore and update, but there was a problem with the restoration so it is corrected I use another iphone 2. The backup has been said to include music, but songs have not be
-
When I plugged my iPhone 4S on my computer that I had invited him for "do you trust this computer?", I clicked on "don't don't trust." I can't find where I can get to "Approve" this computer again. I tried to unplug the computer, allowing the iPhon
-
I have a dv7t I bought in 2009 at hp with windows vista, I'm not sure at this moment on the submodel. I read somewhere some time I could buy a Hp recovery cd which would restore the computer. any help would be greatly appreciated, as I liked this com
-
Windows 7 unrecoverable system after installation of ArcGIS - KB973688 and KB954430 errors
Hello! I am running Windows 7 ultimate x 32 and windows update will not install two updates after installing ArcGIS 9.2:-Update for MSXML Core services 4.0 Service Pack 2 (KB973688)-Update for MSXML Core services 4.0 Service Pack 2 (KB954430) I tried