I created a sequence in teststand and have been messing with the user manager and now when I right cleck on the specific step in teh sequence editor it doesnt allow me to edit code anymore. I then oipened up an example and it did the same. I checked the user manager and it has the priveleges set to grant all so I am stuck. If I add a new step to the sequence and insert it and then go to the specify module tab, it doesnt allow me to create a VI either. Appears to be a privelege thing or something...Help
I cant edit a steps code any more
custom step properties window size
I am learning to create custom Steps in Teststand. There appears to be something wrong with the properties box, it looks like there are options just off the window which I can't access, just below 'Designate an adapter'. I think this must include the 'OK' button, as it doesn't save the parameters which I set. Does anyone know how to resize the window to fit?
Regards,
Ian
[TS->LV] How to read local variable after execution ?
Hello,
my sequence have a local variable named 'Txt_uut_out'
that holds a scanned serial number read from within the
sequence flow. However, I'd like to read that given local
variable from Labview.
I have access the the folowwing contexts :
Engine
Sequence
Sequence context
Sequence model
Execution
I tried the two (three) following methods, but none of them
works like expected :
Any idea ?
David Koch
unlock a lock on runtime error or abort termination
I have inhereted a sequence and it has 24 parallell procese with a modified parallel process model.
In the setup stage it has a lock and a bunch of procedures followed up by unlock statement. In case this crushes and you go to clean up it has another early unlock statement and all works fine. However, sometimes the sequence freezes, when the DUT is in a funky state, and I can't have it go to clean up by termination (only abort works). Consequently the lock stays and all the consecutive threads waiting for the lock to be released are sitting and waiting.
Is there a TestStand option that would clear locks or any other way for me to accomplish this?
I have looked at this method and it's great, however, it doesn't help, when you freeze amidst a locked sequence of steps and the lock is never released , to get the consequent threads going.
Then there's time out, but I start this parallel threads one by one and from DUT1 - DUT24 could be an hour difference, so time out of 1 hour doesn't really help me either.
Is there an expression that I could put in the time-out that would help me?
Custom C#-OPUI - Are TestStand.Interop.* -references hardcoded?
Hello,
i created an OPUI in Visula Studio 2012 C# which references from TestStand 2013 this:
NationalInstruments.TestStand.Interop.API
NationalInstruments.TestStand.Interop.UI
NationalInstruments.TestStand.Interop.UI.AxControls
NationalInstruments.TestStand.Interop.UI.Sopport
Everything is running fine under Windows 10 64bit.
Now i have the problem that my OPUI is not running with TestStand 2014 (64bit).
Do i simply have to replace the four references and recompile and everything is good?
The TestStand-process is starting (becaue i see the 7 days-evaluation window) but after i start the testplan i get:
Default Critical: 0 : System.Runtime.InteropServices.COMException (0xFFFFBC6B): Index out of range.
bei NationalInstruments.TestStand.Interop.UI.ISequenceFileViewMgr.GetCommand(CommandKinds cmdKind, Int32 Index)
bei NationalInstruments.TestStand.Interop.UI.Ax.AxSequenceFileViewMgr.GetCommand(CommandKinds cmdKind, Int32 index)
Is there any other way so that i can use any TestStand-version or do i always have to recompile?
Thanks
Unable to load Labview project
Hello
I am using TestStand to run a number of Labview Tests but whenever I start to load the labview file, the following error occurs
"Unable to load LabVIEW project. The LabVIEW project or one of its dependencies might be missing. "
You can see this error in the image file attached below.
Thanks
Omer Bashir
Change "Execution Options" mode dynamically
1. I have a Custom Data Type called ConfigurePokaYoke.
2. I have a Step Type called Step_PokaYoke (It is a customized Sequence Call step). This has a field of my previous Custom Data Type.
3. When I insert a step of this type in my sequence I am able to open a window to modify its step variables (configure the step). I pass these variables as parameters when the Sequence Call load the other .seq file.
4. I know that if I want to put this step to run in a new thread I need to:
Right-click in my step, then select Specify Module, then select Module tab, then click the Execution Options listbox, then click in Use New Thread.
I know how to do that.
---
Sorry for the long previous 4 points. I just wanted to explain my process.
Here comes my question.
Is there a way to connect my step variable iRunInNewThread with how that particular step is going to run?
Example 1:
In my configuration window I put my Run in new Thread switch in NO, therefore my step variable iRunInNewThread is 0, therefore my step do NOT Use a new threat.
Example 2:
In my configuration window I put my Run in new Thread switch in YES, therefore my step variable iRunInNewThread is 1, therefore my step USE a new threat.
Thanks in advance!
remove project from workspace
Hello everyone,
I am new to TestStand and have a very simple question.
How does one go about removing a project from a workspace? I deleted a project, performa a save-all. Close the workspace, quit TS. Open TS and open the workspace again. The same project appear. The date of the workspace shows that it was not updated. See the picture on how I deleted the project. Maybe my problem is I did not delete the project in the correct way. Can anyone help?
I am using Test Stand 2014 P1 (32 bit).
Yours
Huck
Process Model Selection for New Execution
Hi All,
I am trying to tag a custom process model with a sequence that is being executed dynamically in TestStand. At the moment I do a Sequence call with the "Use New Execution" option enabled. I have selected "use a specific process model" for the new execution for the sequence call and have populated the model path and entry point fields.
So in module tab I have some like this:
Client Path or Reference: <Dynamic Path to Sequence File that contains sequence to execute>
Model Path or Reference: ThisContext.RunState.SequenceFile.Path
Entry Point: "Single Pass_2"
And I pass the appropiate parameters to the sequence.
Some execution behavior.
1. The sequence is executing correctly.
2. The process model being used is the station default process model, not the one that I have specified in the Model Path and Entry Point combination.
3. If I use an entry point that exists in the station default process model it runs it instead of from my custom process model file.
4. If I use an entry point that does not exist in the station default process model, it run the "Batch" process model.
5. The current process model being used by the "MainSequence" that is responsible for launching the new execution uses the same process model, but different paths, and base names (that is the desired behavior).
So on point 5, is it possible for two seperate NI Teststand executions to use the same process model? Am I not using the correct expressions for the New Execution sequence call in my main sequence?
In the end I want to use the same process model for both the main sequence and subsequence execution but different results paths and base names.
Any suggestions would be great.
Andrew
difference between simple and full featured user interface
Hi I'm about to develop an user interface for a Teststand project I'm working on, I'm currently thinking of using the Labview user interface as a starting point. I found the simple user interface is actually simple to start with, especially given that someone on teststand website provided a step by step instruction on how to modify it. But one of my work mates questioned whether simple user interface supports parallel process model, which is important to my project. Does the simple user interface support all features of teststand (process models, etc) but just missing a lot of developer visible controls that full featured interface has? I only need the interface for operatiors to use, I don't think I would need features like debugging or sequence editing, etc.
The other question is, when developing user interface, if I want to make the interface display the property of a UUT (station number, temperature of a sensor, time since test began, etc) should I use the teststand UI controls or the Labview controls? Is there any difference between using the two? Are Teststand UIs designed for displaying Teststand functions only?
Also could you please provide some guidance on how to modify the full featured user interface? It's so different from the simple user interface I can't figure out how to modify it based on the simpe user interface example. Thanks a lot.
Using OLE DB provider for MySQL (NET)
Hi !
I'd like to use the OLE DB provider for MySQL (NET) instead of the ODBC driver to get better peformance.
Is it possible to use it with TestStand (v2014 , automatic DB logging) ?
If yes, how to set the Result Processing -> DB settings ?
Loading different diagnostic reasoning steps for differnt UUTs
I have to load differnt diagnostic rules for differnt versions of the same UUT. I read the UUT configuration and based on it and its internal SW version, I want to execute an appropriate diagnostic rule set for it. I could just call another sequence, but I want to be able to update these rules easily, like from a database or excel SS.
Is there a way to program a set of diagnotic flow control rules and bring them into Teststand from a simple XML, CSV, txt file so that I can do this?
Report Configuration Missing from Configure
All,
My teststand has been giving me issues recently and now I can not find my report configuration option under Configure in the menu now. Does anyone konw how to add it back in?
-Andrew
popups multiple monitors
I am running two monitors on both my work PCs, although the orientation differs ( left and right on one, top and bottom on the other). I don't know if this is relevent. The problem is that, when I open the properties popup for a custom type, it opens in the background, so that I can't see it. I then can't access either it or the Teststand edittor. This only happens when the edittor is open in monitor no 2. When Teststand is open on Monitor 1, the popups appear in the foreground correctly.
self calibrate Scope through IVI Scope
hi
I am using a PXI 5122
I need to Self calibrate the Scope before the start of testing
Does IVI Scope- Step type support Self calibration ?
is there a document for that....
regards
Akshay
Is sequence in "Main"
I need to determin, from LabVIEW, if the currently executing sequence is in the "Main" section of the sequence. I can't seem to find the correct combination of properties/methods.
Thanks
Create Application Problem
TestStand 2013/LabVIEW 2013
In my Development system I've create a VI that I need to be running continuously during a sequence so I Create it and call it using ActiveX controls. Works fine in my development system with both the LabVIEW development system and the LabVIEW runtime engine.
When I deployed the sequence, I noticed that it added "NIDIR\LabVIEW 2013\resource\labview.tlb" so I added it to my deployment computer in "C:\Program Files\National Instruments\LabVIEW 2013\resource". I then registered it in Windows: C:\Windows\Microsoft.NET\Framework\v4.0.30319>regtlibv12.exe "c:\Program Files\N
ational Instruments\Labview 2013\resource\labview.tlb"
When I try to create the reference to the VI on the deployed computer, I get this error:
There is nothing in this system 64bit. It's Windows 7 32bit, TS / LV 32bit.
This is my automation call:
Which as I said works fine on the Development Computer. What have I failed to do on the deployed computer?
Thanks,
Dave
Set a value of a property for a Step in C#
I am looking in the sample of
C:\Users\Public\Documents\National Instruments\TestStand 2014 (32-bit)\Examples\TestStand API\Building a Sequence Using API\DotNet\SequenceFileXMLParser\SequenceFileXMLParser.sln
From the above sample, I can see that it is setting the value of Use Current File via:
mainSequence.stepGroups[(int)StepGroupName.main].steps.Last().stepProps.Add(new PropData("Module.UseCurFile", "true"));
How do we know that this property exists for "Module.UseCurFile".
The reason is I wish to set other properties for a particular step via C# but cannot do so without knowing the exact name of the property i.e. I wish to set Comments for a particular step - how do I know the exact name for it?
Thanks in advance for your help.
Use Auto Scheduled Resource Blocks Not Using All Available Resource Lock Alternatives
Hello,
I am attempting to use TestStand with the Batch process model. I will be running batches of 8 DUTs. Most of my tests have dedicated hardware, some use shared resources. As far as I can tell (and according to NI support) the fastest way to execute my test is to configure all tests in Use Auto Scheduled Resource blocks, and simply create enough Resource Lock Alternatives for the 8 DUTs to use dedicated resources in parallel.
If I create a single Use Auto Scheduled Resource block with 8 Resource Lock Alternatives, it works perfectly. All 8 DUTs run the test in parallel. However, if I add a second Use Auto Scheduled Resource block with 8 Resource Lock Alternatives (named the same as in the first block, or with new unique names) TestStand only uses 4 of the 8 Resource Lock Alternatives and my test takes twice as long as it should.
Is it possible I am missing a setting, or am configuring things incorrectly? I have attached a simple sequence that demonstrates what I am trying to do, and a screenshot of how TestStand is executing it. TestStand 2014.
Thank you for the help!
Will
teststand step does not run when called second time
Hello,
I have included a sequence which calls a sub sequence 3 times with different parameters.
When executing the 2e subsequence the VI's cannot be run.
They do run but nog with new parameters.
When I set the settings for the VI's in the sub sequence to unload after the step has executed there are no problems.
The vi's used are almost the same as supplied by NI.