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

TestStand & Labview - Defining Labview Vi Inputs

$
0
0

Hi all,

 

I'm making a generic test that has "X" amount of flow inputs and "Y" amount of pressure inputs. These vary from test to test and the user selects the amount at the beginning of the test. The other thing that I'd like the user to be able to do is select which physical input on the cRio the 0-10v signal is coming from.

 

Is there a way of doing this easily in TestStand or do I need to cater for this in Labview?

 

TIA


Definition of Module Pathnames for substeps of new Step Types

$
0
0

Good morning,

 

I developed a DLL in CVI containing the functions called for Edit and Post substeps of new step types which work fine executing them from a sequence file but i have the following problem:

I created a new type palette file (*.ini) containing those step types and i harcoded the "Module Pathname" when specifying modules of those substeps in TestStand for my PC but i need the final user can define where the DLL is stored in other computer so that this DLL can be found by the type palette file and then, the sequence file can be run without any problem.

Regards, 

Alejandro

Additional Results step type doesn't log additional data in ProcessModelPostStep

$
0
0

I would like to log additional sting data that comes from a StationGlobals.string variable to every step in my xml report without having to modify the thousands of steps already written.  I tried to do this by adding a ProcessModelPostStep callback to my custom sequential model and placing an "Additional Results" step in the sequence.  I set the Name to "StringData" and value to log to "StationGlobals.string" but when I run the sequence this data never makes it to the report.  The sequence properties has the "Disable Result Recording for All Steps" unchecked and the "Additional Results" step has the result recording option enabled.  Is there something about process model callbacks that doesn't allow this to work?

TestStand LabVIEW User Interface Context Menu

$
0
0

Hello,

 

I am using TestStand 2016 and LabVIEW 2017. If I run the full-featured LabVIEW user interface (shipped example), I get the following context menu when I right-click on some test step.

 

ContextMenu.png

 

I wanted to get the same context menu on the basic user interface (another shipped example). I copied and slightly modified the SequenceView CreateContextMenu Event Callback from the full-featured example. Now I get the following context menu for the same test step on the basic user interface. It lacks many options.

 

ContextMenu2.png

 

Where does this difference come from? Any input will be appreciated.

Details on continuity test.

$
0
0

Continuity test:

While doing continuity test i.e assume a DUT with 12 pins and 2 supply pins. I am doing continuity test separately for each pin, Why should we ground the remaining pins other than supply, Gnd and adjacent pins of a DUT under test while checking continuity.  Because in the case of short circuit detection adjacent pins are enough. Is there anything that any pin might be shorted with other pins irrespective of location. 

 

Approach to report customisation: LaTeX

$
0
0

I'm wondering what approach would be the best in order to generate the TS report as .tex (test) file, to be easily digest by LaTeX compiler later on?

 

Shall I start with modification of the ASCII Text File report in Result Processing... window?

 

K.

 

 

Error when loading a vi module from teststand sequence but vi executable runs OK

$
0
0

Hi everyone!

 

I have developed a sequence in teststand 2014 that calls a labview module developed in 2015 SP1, On the development machine everything is OK but when I deploy the teststand and run it, I got an error saying that my first labview module on the sequence can't be loaded due either because it is broken or some subvi is missing. If I compile that module into an executable and run it on the deployed machine the VI runs without a problem.

 

The VI uses DAQmx, all tasks in NIMAX have been imported from the development machine and DAQmx 15.5 is installed with the LabView 2015 support. On my development machine I have DAQmx 15.0, but I'm doubtful that this can be the issue, I expect that the DAQmx 15.5 should work if the LabView 2015 support is installed and even more if the executable of the same vi module runs OK.

 

On the same error screen is recommended to change the VI loading to "dynamic loading", but I don't think this will help, the only difference is that I will get the error once it is called.

 

Thanks in advance and Best Regards.

Abel

Grab response (Text) From Device via Serial

$
0
0

Hi All,

 

I am currently using two type of microcontrollers (STM/NXP). I am trying to get their device IDs which come as text, will I be able to grab the response from the device using Teststand 2010?

Examp1.

Command Sent: FM COM(1H, 115200) DEVICE(LPC1754,0,0) READSI
GNATURE

Response From Device:

Connected
Device selected
Device ID: 620828450

Can Teststand 2010 grab some of the text in red? Any help would be greatly appreciated

Thanks


Extra Window for LabVIEW User Interface's Subpanel

$
0
0

Hello,

 

I am using TestStand 2016 and LabVIEW 2017. I have a similar problem described in the following thread. However, it didn't really help me solve my problem.

 

https://forums.ni.com/t5/NI-TestStand/Extra-Window-when-using-SubPanel/td-p/2705251

 

I have a user interface as shown below. I modified the shipped simple UI example. The Show Front Panel VI's front panel is inserted into the subpanel correctly but it's never active there. A window pops up instead and that's where the front panel is updated.

 

1.png

 

In the Initialize step, the subpanel reference is inserted into the TestStand UI Data cluster. 

 

2.png

 

This is the Register Event Callbacks step. I added the UI Message Event callback.

 

3.png

 

This is the front panel of the UI Message Event callback VI.

 

4.png

 

This is part of the block diagram.

 

5.png

 

If I use the interface from the following link (first ZIP file), the subpanel works just fine. I don't know what makes the difference.

https://forums.ni.com/t5/Example-Programs/Dynamic-LabVIEW-Subpanel-in-a-TestStand-User-Interface/ta-p/3635453

How to start/stop wireshark capture during a test sequence?

$
0
0

I'd like to start a Wireshark capture running from a command line, have it generate a capture file, and then save the file when the test sequence completes. 

 

Thanks in advance ...

 

Announcement: NI TestStand 2016 Semiconductor Module f3 patch

$
0
0

The NI TestStand 2016 Semiconductor Module f3 patch has been released.

 

Please refer to the NI TestStand 2016 Semiconductor Module f3 Patch Details page for more information.

 

Note: If you are using the recently released NI TestStand 2016 SP1 Semiconductor Module, you do not need to install this patch.

 

Thanks,
Trent
National Instruments

How to get socket Termination State in PostBatch callback?

$
0
0

Hi,

I would like to exit the batch loop when at least one execution have TermState = ExecTermState_Terminating (Value: 2). When a socket is terminated with RunState.Execution.Terminate() (e.g. because of error), the sequence goes to PostBatch, and after status dialog, I would like to set ContinueTesting flag to False (if any TermState = 2) to exit the batch loop and goes to ProcessCleanup.

 

 

I tried many things: storing RunState.Execution from socket MainSequence in an array and use it in PostBatch with GetStates method, I tried Parameters.ModelData.TestSockets[0].TermState, and some other weird ideas, but everything failed... 

 

This information is obviously stored somewhere because status dialog displays that socket is terminated, but I can't find it Smiley Sad

 

I would really avoid process model modifications.

 

An example in the attachment.

TestStand does not load .NET DLL from absolute path

$
0
0

Hi all,

 

I am developing a TestStand program using a .NET DLL for UUT communication. When testing the .NET DLL I noticed that the DLL does not work when called from a network share. Since all our test programs are deployed to a network share, the first steps of the ProcessSetup sequence copy the DLL from the deployed test program on the network share to an absolute path on the C:\ drive. Copying the DLL file works.

 

In my test program I adjusted all the steps using the DLL with the absolute path to the DLL on the C:\ drive. Using the sequence editor, this works perfectly. When I deploy the test and run it on another computer, I get the error message:

 

Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089' failed.

 

If I open the deployed *.seq file, the paths to the DLL are all absolute as set in the sequence editor. When I search for the DLL using ProcExp, I see that the DLL from the network share is used. Why is the absolute path neglected? How can I force TestStand to use the absolute path?

 

A topic I found via the error message proposed to recompile the DLL with a strong name. Doing this results in the same error message.

 

Using TestStand version 4.1

 

Thanks in advance,

Stef

RawLimits

$
0
0

Ref TestStand 2016

On my XML results file there appears extra rows titled 'RawLimits:' after each test, which is really annoying and taking up space on the report. How do I turn off this unwanted feature?

Facing Issues while updating Vis in Teststand

$
0
0

I have some VIs to be updated in my TestStand Workspace(Tools->Update VI calls).

Update VI calls is working fine if my current adapter is set to LabVIEW development system.

But it doesn't work when the adapter is changed LabVIEW runtime .

So, Is there any way to update VIs using LabVIEW runtime as adapter.

 

OR

 

share of there are some other advanced adapter settings.


[TestStand 2012] Create a custom step type without step in possibility

$
0
0

Hi,

I would like to create a custom step type based on the sequence adapter.

In my step type there two 2 steps.

 

I would like that teststand understand this not as a sequence but as a single step (prevent the user from doing step-in, for example)

Currently, in step-by-step, when I debug my sequence with F8 (step-in), teststand enter into the step type.

 

Do you have an idea or an example ?

Thank you

 

xpowaaa

In subsequence, a stepfailure aborts the subsequence.

$
0
0

In my MainSequence, I call a subsequence. 

Inside that subsequence there are a lot of tests/logic implemented, but when a step fails, the subseq is aborted directly and send me back to MainSequence. I do not want that behaviour, I would like that the subsequence performs until the end of it...is this possible?

A solution is of course to perform the steps in MainSequence, instead of calling a subsequence...but I´d rather see a solution that where I can use subsequences that not aborts when stepfailure occurs...

Flow control

$
0
0

Hi All,

Let's say I have some step which should establish connection with UUT. The step is not stable and fails sometimes. I want to adjust some parameter automatically and run the step  again. If the step passed after adjustment go to next test but if it failed after three attempts go to the cleanup. The question is: what is a proper way to implement this situation ?

Thanks

Unable to Launch 'LabView.Application'

$
0
0

Hello,

 

When I start teststand and load a vi, then teststand is not able to execute te vi.

Teststand notifies me that it is unable to load the 'labview.application'.

 

When I manually load labview  then the problem is gone.

Somehow teststand is unable to load the development adapter, which is set ok.

Using TestStand with ScanWorks

$
0
0

I am trying to integrate TestStand with Scanworks. If anyone has worked with ScanWorks from Asset, it utilizes boundary scan. I have two boards which I want to get tested, one uses the RIC-1000 via ethernet and the other USB-100. I want to have ScanWorks automatically recognize/switch between both of these hardwares depending on the TestStand sequence or by recognizing which board is connected without doing so manually. Does anyone know how to do so?

Viewing all 6239 articles
Browse latest View live


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