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

popups multiple monitors

$
0
0

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

$
0
0

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"

$
0
0

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

$
0
0

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:

 

AutomationError.jpg

 

There is nothing in this system 64bit. It's Windows 7 32bit, TS / LV 32bit.

 

This is my automation call:

 

AutomationCall.jpg

 

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#

$
0
0

 

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

$
0
0

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

$
0
0

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.

How can I get my Teststand report to only show the step data for the last iteration of loop?

$
0
0

Hi all,

 

I already asked my question in a very old thread:

http://forums.ni.com/t5/NI-TestStand/How-can-I-get-my-Teststand-report-to-only-show-the-step-data-for/td-p/2065366

But since I guess that nobody whatches this old closed question any more, I want to ask here in a new thread.

 

The issue is that I want to have in the report only shown the results of the steps from the last iteration of loops, applying to all availiable loop types (while, for, dowhile, foreach,...).

My question is: How to implement that?

 

My current workaround is using ProcessModelPostStep in ProcessModel to get the information whether the current step was a start or end of loop step. At start of the loop I save the Id of that step in FileGlobals, and in the next iteration, if Ids match, I enhable the DiscardResult flag for that step. At each end of loop step I disable the DiscardResult flag.

By doing this, I am having the only the FIRST iteration results in my report. But my goal is to have only the LAST iterations result in report.

 

I dont want to modify the ClientFile statically (i.e. by manipulating any Callbacks), I can only modify it temporarily at runtime.

I also dont want to modify the result list at the end of the execution (while creating the report), since I have much iterations which slows down my TestStand.

Since I noticed that the OTF reporting slows down my execution significantly this is no option too.

 

Do you have any suggestions? I would be very glad to find a solution.

 

Regards, Peter


SequenceFiles.Count property

$
0
0

Hello everybody,

 

Is there any documentation/reference manual which explains the IApplicationMgr->SequenceFiles->Count property? I could not find it anywhere in the TestStand Reference manual.

 

Yours,

Huck

Load more than one sequence file with c#

$
0
0

Hi,

when i start Teststand 2013 i can open more than one File. When i press F5 for each sequence file they  run asynchronous.

My question is, how can i do this with c#. That means how i can load more than one sequence file and start asynchronously.

 

regards,

 

René

Add CallBack Error

$
0
0

Hello everyone,

 

I am modifying the simple user interface (<TestStand Public>/UserInterfaces/simple/LabVIEW/SourceCode/...) provided in the test stand 2014 (32 bits) version and encouter a problem. Below is what I did:

 

1. Opened the Top Level VI.vi, in 'Register Event Callbacks' case, I extended another block to try to add a callback.

2. I wired in the Application manager, select the 'EndExecution' event.

3. Wire in the UIDATA into the 'User Parameter'.

4. Right click the VI Ref and create a call back. See blockdiag1.jpeg.

5. Open the call back and saw an error in the UIDATA input. See FrontPanel1.jpeg.

 

Can anyone please tell me why the error in the UIDATA input? The error says that it either cannot find the master copy of UIDATA

or there is error in the master copy. Any idea how to overcome this error?

 

Thanks.

 

Yours,

HLim

including step index in seq file documentation and reports

$
0
0

This works fine for including the step number in the viewer window but how do I get the step number to print out in things like tools>sequence file documentation?

 

(Step.StepGroup == 0)?(Step.StepIndex)Smiley SadStep.StepGroup == 1)?(RunState.Sequence.Setup.GetNumElements() + Step.StepIndex)Smiley SadRunState.Sequence.Setup.GetNumElements() + RunState.Sequence.Main.GetNumElements() + Step.StepIndex)

34980A VISA communication

$
0
0

Hello,

 

New user of LabVIEW and TestStand here. I'm trying to write some basic sequence files for an automated test platform. I have the VI's written to my satisfaction but can't seem to get them to work in TestStand. I'm pretty sure it has something to do with identifying the instrument. In the Variables section I copied the FileGlobals froma previous customer supplied sequence and did the same with the VISA resource name field in the Step Settings window (See attachment 1). When I try to ruin the sequence I get the error shown in attachment 2). Any hints on what I should try? Again, my knowledge of LabView and TestStand (as well as VISA protocols) is VERY limited. Thanks in advance.

2D array of strings as table. I must be doing something wrong...

$
0
0

Hi, Everyone:

 

TestStand is not my strong suit.  I can manage to modify existing code, but it is difficult for me to bring something up from scratch.  So with that in mind please tell me what I am doing wrong.

 

I have a LabVIEW step that has a 2D array of strings as one of it's outputs.  (And a Pass/Fail Boolean that maps to "Step.Result.PassFail" - this is a P/F step.)

 

In the Configure --> Result Processing --> Report Options, I have "Include Step Results" checked along with the boxes "Include Test Limits", "Include TestStand Extension Elements", and "Include Measurements".  The "Include Arrays" dropdown is set to "Insert Table" and "Filter" is at "Include All".

 

In the "Step Settings" I have the output for that 2D array of strings "Log" check box checked.  Yet the data is displayed as a list of elements rather than as a table.  Did miss a step?  Maybe there's a setting somewhere that indirectly affects the ability to display as a table?

 

I actually converted the array into HTML table format and that works, but it's clunky as that is an extra step; I'd rather have it all displayed on one step, especially if this can be handled automatically.

 

TestStand 2013.

 

Thanks so much for helping!!!

Can I view the sequence file version number of a password protected sequence file?

$
0
0

We distribute our framework sequences password-protected against viewing. I would like to give my users the opportunity to verify the correct version of those framework sequence files, but as far as I can see, it is not possible to view the sequence file version number from Sequence Editor without providing the password.

 

Is there a way to view the version number of a protected sequence file without the password?

 

Best regards

 

Peter


Creating a sub-sequence from seletced steps

$
0
0

I am a new TestStand user and was wondering how come there isn't an option to create a sub-sequence from selected steps in a sequence, kind of the same way as creating a sub-vi in Labview?  Or is there?

 

I mean, I understand it's somewhat straight forward to copy the steps and paste them in the newly created sub-sequence, then handle the parameters, but so is creating a sub-vi in LV.

Determine dll associated with 3rd party custom step

$
0
0

Hi,

 

I've inherited code which uses Teststand custom steps from a 3rd party vendor.

Over time the custom steps have been updated and so the PC's in use have different versions of the 3rd party custom steps.

(The custom step names remain the same, but the supporting dll's are updated.)

 

My question is: if write a sequence incorporating a 3rd party custom step on one PC, if I run the same sequence on a second PC,

how do I know the custom step will use the same intended dll which supports the 3rd party custom step ?

 

I appreciate that dll's have an inherent problem due to the fact that they are distinguished by name.

 

 

Any tips appreciated, thanks,

 

 

Gary 

Open LV front panel of a failing step?

$
0
0

 

If a step fails i want to show the LV front panel so the "tester" can see all controls/indicators to get more info about what went wrong.

new at TestStand so this might be basic stuff but i havent found a solution.

 

/J

how to pause a execution in a sequence file if any step fails

$
0
0

Hi,

 

How can teststand pause a execution if any of the step fails in Sequence file. I used breakpoint settings with RunState.Step.Result.Status == "Failed", But this breakpoint is not worked.. Is there any way to achieve this?

 

Thanks in advance.

 

Regards

Ran

Step Precondition = False but Step Additional Result Still Executes

$
0
0

I have an Action step in my sequence where I run a LabVIEW VI and store data to a local in TestStand.  Within that step, I added an additional result for this local so that I can view it in the test report.

 

I have a precondition set for this step as well.  If the precondition is NOT met, the step should skip.  When the precondition is NOT met, I notice the LabVIEW VI will not run but the Additional Results will still execute and then TestStand will error saying the local is an empty string.

 

When a step's precondition is NOT met, why does the step still execute the Additional Results?  How do I get around this?

 

Thanks so much!

Viewing all 6227 articles
Browse latest View live


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