Quantcast
Channel: NI TestStand topics
Viewing all 6528 articles
Browse latest View live

TestStand/Labview application

$
0
0

hello everyone, I am a beginner in teststand and i have trouble to synchronize between teststand and labview.

I have created a labview GUI wuith buttons and indicators, I have also created many sequences and I want to get following tasks

-> the operators push on 'start the test' , the sequence number 1 will be in mode Run and in parallel he get the information that the sequence isrunning, and when the sequence is finished , he get the pass or fail test . the test will be running several times ( every timewe have anothercardto test in the first tab )and for every cards the operators push on 'start the test'. at the end of the test of the first tab , the operators push on the next tab and the test will be similar to the first but with another sequence .  I want the GUI be inrun mode during the executing of the sequences . i have read all the manual teststand but i need more information .

i will appreciate your comments and suggestions.

thank you.


TestStand 2013 install error

$
0
0

when I try to install TestStand 2013, I got a window as the  picture showed below, and I can't go on. My system is win7 sp1.

无标题.png

Step property not updated by Labview VI

$
0
0

Hi,

 

I'm currently using TS 4 and LV 8.2 with Win7 Pro .

 

I've created a custom step which employs an Edit sub-step.

The Edit sub-step successfully calls a Labview vi which allows the user to modify values.

The intention is to copy the user values back into the calling custom step properties, using the Set Property Value.vi from the Teststand library.

 

After the step is Edited, the vi is closed and I check the Step variables expecting the variables to be updated, but the outcome that I see in the Variables panel does not always show the new Step property values.

 

The Labview vi called by the Edit sub-step receives the Sequence Context and the correct Step property string name.

 

Have I correctly selected the Set Property Value.vi for the task of updating the Custom Step's step properties ?

Also, when the Step properties do show the new value, the sequence containing the custom step does not indicate

the need to save which is opposite to my expectations, else how is the user remined to save changes ?

 

thanks,

 

Gary.

 

advantages of TestStand over LabVIEW ?

$
0
0

What are the advantages of TestStand over LabVIEW, why to use TestStand? Is LabVIEW alone is enough to develop test sequence?

Doclick Hangs Preload of Squence file & Labview

$
0
0

Hi,

 

I use "DoClick" Method  to  Trigger an Entry Point   thr´ a Boolean  Control.

 

The  DoClick hangs Labview  for my Sequence file.  (with many VI's Database connectivity...)

 

The doclick functions without problem for  example Teststand Seq files from NI  .

 

Also my Seq file works  perfectly with the   Entry point  Activex  Buttons on  Simple  UI

 

any suggestions!!

 

How to Install Inception Step in Teststand2013?

$
0
0

Hello

 

I try to install the NI Vision Builder Inspection Step to Teststand 2013. I Installed  NI Vision Builder Automated Inspection 3.6 and Ni Vision Acquisition Software 8.5.1 and I Installed from "ts_vbai_36_and_older_july10.zip" the inspection step to TS2013.(http://www.ni.com/white-paper/4007/en/)

But when i try to run inspection step connect target i got an error message. (See screenshot)   I dont know what s wrong and how to solve!?

 

VBAI Error.jpg

Select Switch Executive Route based on Socket Index

$
0
0

Hi,

 

I have a sequence set up in TestStand which simultaneously tests up to 4 UUT's. In order to run a current measurments, I need to be able to switch each device through the DMM. I have the routes properly configured in Swith Executive, and everything runs fine when I switch manually using the Test Panel feature. What I need to do now though, is choose which device is routed to the DMM based on its test socket number. 

 

So, for the "Measure Current" test step on "Test Socket 0", I go to the Properties>Switching window and just select "Connect_UUT0" route group. This works fine for a single test socket, but how can I dynamically switch route when I have more than one UUT?

 

I'm aware of the "RunState.TestSockets.MyIndex" variable, but I can't seem to select a route based on this. ie: In "Routes to Connect" I typed "Str(Connect_UUT)+Str(RunState.TestSockets.MyIndex)" after I read a similar solution on this forum, but I just get an error.

 

I'd really appresciate some help on this,

Thanks,

Kevin

No sequence is getting terminated . Help needed

$
0
0

hi All

 

i recently installed TS 2012 evaluation version .Previously I was having it but it got expired so i uninstalled it and again installed it.

While launching I was getting some COM error .So I searched in the forum and got the solution to make the current version active in Teststand version selector.

After which sequence editor is getting launched but I was getting error popup "Program Error" .

I again unistalled TS and installed it again. :smileysad:

Now I am not getting that COM error neither that error popup saying :Program error"

But now My none of the sequence are getting executed properly.

It gets hang on the first step itself and not executing further.

 I have to terminate it manually.

Even if i create sequence with simple message popup it is getting stuck at message popup step.:smileysurprised:

What went wrong?

 

Please guide me.


Getting sequence main group steps via LabVIEW

$
0
0

Hi everyone,

 

I try to solved next task. I have LabVIEW Operator UI for execution sequence files, use callbacks for actions updates (load sequence file, entry point, etc.) and I need replace TestStand UI SequenceView Control by customized indicators, which will contain only Main group steps (names + limits + units + results). I was searching for TestStand API (object which contain all necessary parameters) which can be passed to LabVIEW. Does anybody know such things? Thanks.

 

Best regards, Sergii

passing object reference from sequence to C#

$
0
0

hi all,

I'm trying to pass a simple array that was created in locals at the sequence to a UI application.

I created an expression in NI:

 

 

RunState.Thread.PostUIMessageEx(10201,454,"this is my test",Locals.arr,True)

 

and in the application i implemented:

 

private void axApplicationMgr_UIMessageEvent(object sender, NationalInstruments.TestStand.Interop.UI.Ax._ApplicationMgrEvents_UIMessageEventEvent e)
{
            if (e.uiMsg.Event == (NationalInstruments.TestStand.Interop.API.UIMessageCodes)10201)
            {
               
            }
}

when the expression executed the UIMessageEvent happend and I get the numericData (454) and the stringData ( this is my test) but I don't know How to get the object reference of the array.

How can I cast the object ( e ) to get the array.

Tnx

 

 

 

 

 

 

 

 

 

 

How can ı do parallel test?

$
0
0

  Hi. I'm using Test Stand 2012 beginner level. I want to run two test programs same time. How can i do it? Please help me

Adding UUT.PartNumber to the text report file name

$
0
0

Hello,

 

I need to add the UUT.PartNumber to the text report file name. I am using TestStand 2012 with the sequential model, and the report format is text.

 

Is there a way to do it from the Reports Options dialog in the Result Processing configurator or should I do it within the model?

 

Thanks,

Yannick

I would like to remove seq path from report

$
0
0

I am using teststand 2012 with 5_horizontal.xls stylesheet. I would like the generated report not to display the pathand seq file for each test sequence . How do i acheive this! , i am not familiar with xml.

passing a string from c# to RunState.Root.Locals.UUT.SerialNumber at NI

$
0
0

HI all,

How can I pass a variable content as a string in c# to the sequence variable named as RunState.Root.Locals.UUT.SerialNumber.

The main gold is to pass the string value from textbox in c# GUI to the sequence parameters.

Tnx

Workspaces, Version Control, Deployments

$
0
0

At the moment our development environment lives in C:\TopLevel with an assortment of directories below this containing ~400 VIs and ~150 .seq files.  We haven't used the LabVIEW project files or TestStand project files and workspaces for anything.  Most .seq files that refer to other .seq files and VIs that refer to other VIs do so with static paths.  For version control we use Team Foundation Server and have generally been limited to a single main branch of development.  Our team has varied from 3-6 people and for a lot of the past year or so it was really only 1-2 developers and the rest were users so being restricted to one branch on the version control side and a single fixed C:\TopLevel directory hasn't been too much of a nuisance.  However, the work is now expanding with more people developing and more features being needed and the need to be able to try out new features in a "walled off" way and merge to other branches (basically traditional software development) is apparent.

 

When I first tried to branch from the main branch and work in a different directory than C:\TopLevel (eg C:\NewFeatures) all the static paths reared their ugly heads.  I also had similar annoyances trying to test the deployment features.  I don't have a ton of experience with TestStand workspaces and TS and LV project files, but from what little bit I've read this is likely the direction I need to go in to make software development work better.  I was looking for some advice on a quick way if there is one to get from A to B without having to make everything on the LV side project file based (and thus have to go into tons of VIs and .seq files and re-link) and without having to do similar in TS to get me to the point where I can branch from my main branch and be able to A) work out of a different directory and not have path/linking issues and B) be able to do deployments.

 


Step - "Sequence Call Name" usage

$
0
0

I wrote a program that uses teststand API calls to delete specific DLL calls and replace these with a VI call, unfortunately this method does not copy step settings (preconditions etc. ) Right hand file shown in attachment.

I later found that it was better to just change the adapter type (since the step settings will be kept)  Left hand file in attachment.

 

When I compared the output of these two methods I noticed that I seem to have accidentally set the "Sequence Call Name" as shown in the right hand file in attachment. (no doubt a bug in my first program)

 

Can anyone tell me what the "Sequence Call Name" field is used for in the example shown and what effect that accidentally setting it may cause?

 

I opened the right hand file in Teststand but I can not find that property in any of the step settings.

 

Thanks in advance for your replies.

How to modify serialNumber value

$
0
0

 

Hi all,

I'll be try to be more clear

How can I modify serialNumber by using C:\Users\Public\Documents\National Instruments\TestStand 2013\UserInterfaces\Full-Featured example.

 

 

TS sequence editor and deployment licence

$
0
0

Hi,

 

Is there any chance to use sequence editor with Deployment not Development licence?

 

Tahnks

How do I pass custom data from client sequence to model plugin

$
0
0

Hi.

I am in the process of updating a TestStand system from TestStand 4.2.1 to TestStand 2012. From the old systems we have some custom process models, a batch and a sequential model. In the TestStand 2012 system we want to put as many of the customizations  as possible in to Model Plugins.

Now I have run in to a problem, which I hope some of you in here can help me solve.

 

In order for you to fully understand my problem, I need to explain a bit about the structure of the system. When the system starts it runs what we call en Equipment Control sequence. This sequence uses the modified sequential model and its function is to initialize the tester hardware and then wait for a signal to start a test. The signal is in most cases a barcode being scanned. From the barcode the equipment is able to obtain the name of one or more test sequences which it them starts. The test sequences use the modified batch model which only have the “Single Pass” execution entry point. After the test sequences has ended they log there result data to a custom formatted text file. The reason there can be more than one test sequence to run for the same product is that the equipment can handle more than one kind of test process for each product. This also means that when we do the logging of data we need to log the ProcessID a header information with the data.

 

In the TestStand  4.2.1 system we pass this information of ProcessID with the call to the “Single Pass” entry point for the modified batch model, when we start a test sequence from the Equipment Control sequence. In this way it is available when we get to the sub sequence which handles the logging of data. In the 2012 system we want to place the logging in a custom result processing plugin, and this is where we meet the problem:

 

How do I pass the ProcessID information from the calling Equipment Control sequence and in to the model plugin of the batch model running the test sequence? It seems that plugin is so decupled from the model that parameters that are not predefined in the interface can only be passed by using StationGlobals or some LabVIEW FG. I hope this is not true, and that I just missed something in the new structure.

Requirements Gateway and TS-Intermidiate File II

Viewing all 6528 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>