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

ASAM XIL-API V2.0.0

$
0
0

Hi,

 

by the end of last year ASAM XIL standard was released. It was formerly known as ASAM HIL.

With it you are able to have a standardised interface from testautomation tool to HIL-systems.
Is it planned to implement XIL in TestStand as default step-type, like IVI or even a built-in one ?

 

As National Instrumtens is working as member on the standard, i would like to know what
NI is planning on other products that use XIL.

If some NI members are from Germany, i would like to get in contact with them, just to get more
information about the new standard.

 

Regards

 

Juergen


how to set result of a pass/fail sequence call

$
0
0

Hello all,

 

in my application I have a pass/fail test with the sequence adapter. The Data Source for the step is Step.Result.PassFail.

 

Is there any way to tell the caller (the pass/fail sequence call step) the result inside the sequence? I experimented with the RunState.Caller, but didn't find any property, which applies to the PassFail result.

 

Madottati

How to get the entry point in the ActiveX/COM adaptor

$
0
0

below is the description of the Demo of using the ActiveX/COM to call new seq . 

API Demo
1. Manually add a Message Popup step to the MainSequence of a
new sequence file. Save the sequence file as launch.seq.
2. Create another sequence file and save the file as caller.seq.
3. In the MainSequence of the caller.seq file, add Action steps
using the ActiveX/COM Adapter to call into the TestStand API and
launch the launch.seq file in a new execution.You might need the
following two methods to complete this step.
. Engine.GetSequenceFileEx
. Engine.NewExecution

 

so the question as follows:

1.i call the method of get sequencefileEx

2. call the method of getmodlesequenceFile

3.call the method of evalEntryPointNameExpression

4.call the method of NewExecution.

 

but at the step of 3. i haven't get the entry point.

so how to solve this issue? thanks

 

multiple sequence view to the same batch

$
0
0

Dear All,

When I use Batch model of two stations I would like to have two sequences view as I get two executions view or two reports view.

The main gold is to have for each Socket three tabs:Sequence view\Execution view\Report view.

 

Tnx

How to get the entry point in the ActiveX/COM adaptor

$
0
0

below is the description of the Demo of using the ActiveX/COM to call new seq . 

API Demo
1. Manually add a Message Popup step to the MainSequence of a
new sequence file. Save the sequence file as launch.seq.
2. Create another sequence file and save the file as caller.seq.
3. In the MainSequence of the caller.seq file, add Action steps
using the ActiveX/COM Adapter to call into the TestStand API and
launch the launch.seq file in a new execution.You might need the
following two methods to complete this step.
. Engine.GetSequenceFileEx
. Engine.NewExecution

 

so the question as follows:

1.i call the method of get sequencefileEx

2. call the method of getmodlesequenceFile

3.call the method of evalEntryPointNameExpression

4.call the method of NewExecution.

 

but at the step of 3. i haven't get the entry point.

so how to solve this issue? thanks

 

Verification of sequence testing

$
0
0

Hi

We have a sequence I would like to verify by running it in a loop (say 100 times) to check the results of the steps in the sequence are repeatable on one UUT.

I am aware you can configure a sequence call to loop 100 times, and record results of each itertation. However the question is how to go about getting a table of data out so we can do some statistics on it to figure out the repeatabiity and amount of noise in the measurements.

 

The standard report format creates a list rather than a table. We could log to a databse - but then have to write a report to get a table out... is there an easy way of tacking this problem? (Our Test results are just single numeric limit tests).

 

 

Regards

Nick 

TS2013 Reference Manual ?

$
0
0

Hi,

 

I just what to refer something in the reference manual on TS 2013

but i did not found it on my default installation.

 

Is there no Reference Manual.pdf on TS2013 ?

Regards

Juergen

Get the Number of test sockets by code

$
0
0

Hi All,

Is there a way to get the Number of test sockets when batchModel is configured by code before executing the batch?

 

 

 


Parallel test uut

$
0
0

HI,

I want to change parallel test uut screen. How can i do it?

Delay when calling functions in DLL

$
0
0

Hello,

 

I have a strange problem: it takes longer then usual to execute a function in the DLL.

The DLL is written in Visual C++ and was provided to me by my customer. It makes calls to a motor controller (serial) and talks to the DUT using CAN (PCI8512/2). When I reboot the computer it runs as expected. Once I stop it (using TerminateAll form TestStand) and re-run it, all calls take longer to execute. Like 3-4 times longer. My total test time goes up from 100 sec to 400 sec and more. 

I checked the Windows event viewer, ran self test on CAN cards, no indication of any problems.

When I shipped the tester 2 months ago it wasn't doing this, and I was integrating it for 3 or 4 weeks, so I would have noticed for sure.

Also, I shipped 5 systems like this and they all have the same problem that developed in the last 2 weeks. 2014 bug?

 

Any ideas appreciated.

 

Thanks

CT

Accessing properties from an Object Reference

$
0
0

I have a binary file that was created by a .net application.  The file was created using binary serialization.  This file contains relevant data needed at runtime in Teststand when running product.  We have a lot of experience interfacing TestStand with Labview, but not so much with .net.  I will first explain what I want to do and then how I achieved it.  What my question is, is this how TestStand was intended to interface with .NET, or am I missing some key features that make this process a bit simpler?  Here's what I did:

 

1. ) Added a .Net Adapter Action step and constructed an empty object.  Assigned the returned object as an Object Reference variable.

2. ) Added a .Net Adapter Action step and called a method passing parameters to deserialize the correct file into memory.  The empty object from the previous step was also passed in as a parameter, and the called method populates it with data.

3. ) Added six additional .Net Adapter Action step, each one referencing a property of the existing object reference and assigning the value to a local variable.

 

This takes 8 test steps to complete this task.  That seems way more than it needs to be.  Do I need to have to pull out each property value?  It seems like there should be a way to simply refer to a object reference's property much like you would refer to Step.Result.PassFail.  Am I missing something?

How to modify (not completely override) an engine callback sequence

$
0
0

I understand the general idea behind modifying engine callbacks, but how can I figure out what the original engine callback is doing? In other words, how can I see the steps involved in the default TestStand engine callbacks? Specifically, I am working with the SequenceFilePostStepRunTimeError engine callback. I want to add functionality that executes when a particular error code pops up, but have the engine callback run normally (i.e., have the "what do you want to do?" window pop up) for all other errors. I am confused because when I first "add" the SequenceFilePostStepRunTimeError callback to my client sequence file, the callback is empty. Does this mean that my specific-error handling code is the only thing that will execute? Or will it execute in addition to the default SequenceFilePostStepRunTimeError code? How can I see the code behind SequenceFilePostStepRunTimeError?

 

I appreciate the help!

 

-Bennett

object Oriented Class library issue in deployment

$
0
0

Hi all,

 

My  Project has many classes and Libraries. I am using Teststand for sequencing .

 

Well on the developmnent  maschine   all is OK  ( the classes are present in a library)

 

on the deployment  the only  items getting deployed are the  classes   abc.lvclass

 

the abc.llb  (available on Development )  files  are not included by teststand   in the Support VIs  directory.

               

all my classes are public in  development .

 

Solution - once i copy the            abc.llb file  to deployment machine and   choose it while opening the vis  everythings normal

 

else   labview searchesfor this  class abc.lvclass  (and shows it not compatible)

 

has any one had similar experiences

Extra Window when using SubPanel

$
0
0

First I have followed the example in: Dynamic LabVIEW Subpanel in a TestStand User Interface

I am using LabVIEW 2012, and TestStand 2012, a modified Full UI (LabVIEW)

 

I have followed the example from above to create a subpanel in my user interface.

I pre load all the available "tests" sequence files when the Full UI is launched.

Then the user picks from the ListBox and runs via "Test UUTs" or "Single Pass".

The appropriate Front Panels Populate in the SubPanel, but are not active.  At the same time a new window opens with the same VI.  This window is the active version of the Front Panel in question.

 

I have reviewed the Caveats described in the example:

1. The VI is not open in LabVIEW before executing.

2. I don't believe I'm running a seperate thread.

 

I've tried multiple settings for the individual steps in the sequence file with no difference.

 

Why does the second window open with the active VI?

Thanks in advance, Newb-D

 

 

MatrixCode read using .net

$
0
0

 

Hello.

I'm trying to decode a Picture (get it from WebCam) matrix code using the .net module in TestStand.

 

but it's my fist time using this .net Module.

 

I'm using test stan with LabView module, but the licence for vision pakage is too expensive and I'm going to put this Sequence in 4 testers.

 

I annexed the .net/dll than maybe work and a picture.

 

I can provide the Picture as a file or an array of numbers (24-bit pixmap from "Unflatten Pixmap" VI in Labview .

 

Please change .txt ext to .dll        in BarcodeLib.BarcodeReader file

 

 


Run-Time error details

$
0
0

Hello

 

I'm writing a dll in C# 2010 and i want to fill the "Details" box in the Run-Time error popup in case of an error

I fill the ErrorMessage string in Teststand but in the popup box "Run-Time Error" it says "No details available"

How can i sent the ErrorMessage string to the "Details:" box in the "Run-Time Error" popup

 

This is an example of my C# code

 

public void LABPRN_ExecuteJob(ref bool ErrorOccured, ref int ErrorCode, ref string ErrorMessage)

        {

           

try

            {

               

        if (_sTmpFileHandle != null)

                {

                    _sTmpFileHandle.Close();

                    _sTmpFileHandle.Dispose();

                }

               

        //Rename file from .tmp to .job

               File.Move(sTmpPathName, _sJobPathName);

                _sTmpPathName = System.String.Empty;

                _sJobPathName = System.String.Empty;

            }

           

      catch (Exception ex)

            {

                ErrorOccured =true;

                ErrorCode = -1;

                ErrorMessage = ex.Message;

            }

        }

 

thanks in advance

 

Tonnie

 

teststand 3.1 -> current teststand

$
0
0

After our IT-department now finally has decided to switch update from XP to windows 7, we now have to move our old teststations based on teststand 3.1 to the new OS. 

So far we have used minimal modified sequential or batch models from 3.1. Is there any guide to port such old sequences to a current version of teststand ?

One problem will be, that our QA department uses some applications, which read  result databases ( created with the old, pre 4.1 database schemas) . Does it make any sense to modify a current teststand to become  backward compatible ?

 

Any tips and tricks welcome.

Is it possible to add an additional Step Group?

$
0
0

I would like to add additional Step Groups, in an effort to better organize my test sequence.  This would be purely for visual organization purposes, and would not be related to calling sub-sequences.  I think the reports, as well as the documentation would be more easily read if there were a way to separate the sequence/groups into smaller sections.  I understand that this can be partially achieved by using sequence calls, but I have found that data logging is much more straight forward if I can keep the steps in the top-level sequence (I don't need to pass the data through parameters or variables).  

 

Please let me know if this is possible, or if there are other suggestions for better visual organization.  Thanks.

 

GSinMN          

Individual report path with defined file name from the report settings in Testsand 2012

$
0
0

Hi,

 

I have following task:

 

Iwanttotest stand2012 ineachsequenceto change the pathof thereport file.Butthe naming of thefile is to bemaintained asthesesettingscan be madefromTestStandinto the report(DisplayName+_Report_[<FileDate>] [<FileTime>]<unique>.<File Extension).I can not findnow, however, the/callbackparameteron which thecomponents are assembledpath andfile inTestStand.
While I canreadabout the callback"GetReportFilePath"the path andfile name, andwith the expression:Parameters.ReportFilePath= "c: \\electro\\SHARE\\test protocols\\ TestLogs \\"change the path, butthe file namewill no longer beformedfrom the settingsofTestStand.
Ihave the suspicionthat I'm justnotaccretingat the right place.Cansomeone pleasegive me a hint?
greetingMichael

Evaluation version for "Base Deployment Engine " available?

$
0
0

Hello,

we have one "Development-version" to develop testplans.

Now we are creating a cutom OPUI that calls the teststand-API. It works fine with the "Development-version".

 

Normally it should be enough to just install the "Base Deployment" to compile and use our custom OPUI.

The price is ~500EUR for the "Base Deployment"

 

Question is now:

Is there an evalution-download available to check if i can use our custom OPUI with the "Base deployment"?

I only find an evaluation-download for the full "Development-version"

 

Thanks

Viewing all 6526 articles
Browse latest View live


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