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

TestStand adaptors and Vision Deployment license

$
0
0

I have installed Teststand and LabVIEW in my PC. I have no Vision Development Module in the PC,but using Vision Deployment license and changing TestStand adaptor to “LV RunTime”, is it possible to run the TestStand sequence with LabVIEW Vision VIs ?


UIMsg_ProgressPercent event handling

$
0
0

Hello everyone,

I am a new user of the TestStand software and have a question about the UIMsg_ProgressPercent (and also the UIMsg_ProgressText) event handling in the Full-Featured User Interface example shipped in the TestStand software.

 

There is an example call 'Updating the Status Bar Using UI Messages'. When I open the 'Full-Featured user Interface' example and run the  'Updating the Status Bar Using UI Messages' sequence, I see that the Status Bar display the progress information as expected.

 

My question is, where is the handler of the UIMsg_ProgressPercent event in the Full-Featured User Interface example? From my understanding of the UI Message architecture, the UIMsg_ProgressPercent event is handled by a callback registered through the 'Reg Event Callback' function. But in the 'Configure Event Callbacks.vi' of the Full-Featured User Interface example, I do not see where these events (ProgressPercent and ProgressText) are registered. I must be missing something here in my understanding of the UI Message architecture.

 

Can anybody explain to me where or who the UIMsg_ProgressPercent event handler are in this example?   

 

I am using TestStand 2014 and LabView 2015 version.

 

Thank you for your patience.

 

Yours,

Huck

Adding additional result programmatically

$
0
0

Relatively new to TestStand, and struggling with a problem.

 

I want to "scan" a test sequence, and for every step in the sequence where the name starts with a 4 digit number (i.e. "0400 - Measure...") i would like to add an additional result with the name "StepNumber" and the value being the specific 4 digit number. I'm assuming that i should use calls to the TestStand API, but my experience with this is almost non-existing, so any advice on where to begin would be greatly appreciated.

TestStand Deployment Error -19000

$
0
0

Hello,

 

I am trying to build a Deploy for my TestStand application but I am receiving an error:

-19000 - The library created in the source distribution is not valid. Contact National Instruments for support. The file which was created is:

It does NOT specify the file after the ":"

 

I have already tried several fixes by looking through the Log generated by the Deployment Engine, but now it is not giving me any relevant information.

If you want to check, the Log is attached (it is a .xml file).

 

Any help is really apreciated.

Thanks!

daqmx vi's and teststand integration

$
0
0

So far i have been doing good on teststand using regular instruments as  scope, power supply, function generator, dmm and switches.

 

so i had to use a daqmx card  for a particular test. And i found that i cannot pass the reference of the task across teststand as it would be with a regular dmm, function generator instrument. the regular proces i am used to is to:

 

*init instrument(get reference)

*use Vi's to :

                 Configure

                 Read

                 Start

                 Stop

              

*Close reference

 

So what i had to end up doing for example in a test were i set analog ouput value to my DUT then  via serial port get the value that my DUT is reading. 

 

the ususal way will be steps:

-set daqmx

-start daqmx

-Read Serial DUT and do a limit test

-Stop daq

-Close task

 

but it doesnt work that way.

 

what i end up doing is run a vi on the background with the Daqmx task and have a notifier from testand closing my vi like the picture

 

daqmxexample.png

 

 

Teststand notifier

 

testandnotifier.png

 

is my statement about daqmx  correct?

 

is this one of the ways to do it with daqmx?

 

your input to improve the use of daqmx on testand will help me a lot. 

 

thanks 

 

 

3rd party software vendor need copy of TestStand to troubleshoot

$
0
0

Hi,

 

I am having an intermittent problem using TestStand to access (via COM server) another software (SmartBear TestComplete). This issue appeared when we upgraded the TestComplete software version. We have exhausted all our solutions thus far and still have same issue. The software vendor request if hey can get copy of TestStand to troubleshoot on their end.  What's the best way to do this?  Are there vendor to vendor cross testing platforms?

 

Thanks,

ph2

converting string that is 64 bit number to the an actual number

$
0
0

Greetings,

 

I currently have a string that represents a 64 bit number. Any way to convert that to the actual numeric value?

 

Val () only does 32 bit.

 

Thanks for any path you can set me down.

 

Chazzzmd

I cant edit a steps code any more

$
0
0

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


custom step properties window size

$
0
0

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 ?

$
0
0

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 :

 

Clipboard_20150827_115648.png

 

Clipboard_20150827_115555.png

 

Any idea ?

 

David Koch

unlock a lock on runtime error or abort termination

$
0
0

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?

$
0
0

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

$
0
0

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

$
0
0

1. I have a Custom Data Type called ConfigurePokaYoke.

 

Image1.png

 

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.

 

Image2.png

 

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.

 

Image3.png

 

Image4.png

 

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.

 

Image5.png

 

 

---

 

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.

Image6.png

 

 

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.

Image7.png

 

 Thanks in advance!

remove project from workspace

$
0
0

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

HuckRemoveProject.jpg


Process Model Selection for New Execution

$
0
0

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

$
0
0

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)

$
0
0

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

$
0
0

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

$
0
0

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

Viewing all 6224 articles
Browse latest View live


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