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

How to run different sequences in 4 test sockets parallel model

$
0
0

I want to automate process for product testing using Teststand. Device that tests products has "4 test plates". Two of this 4 plates uses tests 1 and other two plates use test 2 for testing products. Tests 1 and Test 2 are totally different tests. All tests must run in parallel and they all need to communicate with device and a robot. The robot is putting products on this plates, so TS needs to tell robot that it can load/reload products for testing.

 

I can realize testing products on first two plates using test 1 - > I used Parallel process model. But how can I realize testing also other two plates with test 2 and with the same TS? 

I know I can realize it with using another PC with TS or to open two TS on the same PC. But what are other options?

 

I also read this:

https://forums.ni.com/t5/NI-TestStand/Independent-sequences-in-parallel/m-p/3575661#M53686

 


Looking for the NI TestStand 2014 installer

$
0
0

I'm able to download and install TestStand 2017.  For some legacy testing, I need to install and use TestStand 2014.  Is the installer still available?

Teststand Basic Questions

$
0
0

Hi,

 

I am new to TestStand and have few basic questions regarding the Step sequence executions.

From the forum, I got to know that the execution rate can be changed through: Configure -> Station Options -> Enable Tracing -> Speed.

But from that we don't know at what rate the execution is ran at.  In line to the rate of execution of Test sequences, I have below set of queries:

 

1. CAN Data is written from the device at every 10 ms. So test sequence needs to call the CAN_read function using dll at every 10 ms rate... can we specify rate of execution in Teststand sequence?

 

2. What is the fastest rate at which the teststand sequence can be executed?

 

3. Does Teststand support to execute each steps at different rate? This is required so that using CAN_write dll we can write different message ID at different rates (periodically) .

 

4. What is the best mechanism/feature that Teststand supports to read or write the data using the DLL periodically other than the looping (DO While, While, For... )?

 

I have one more question regarding the Step sequence execution -

How to stop the execution using manual intervention in Teststand?

Example Scenario: Prompt STOP should be displayed to the User and at the background periodic task be running to call function in DLL to read the data. This execution should be stopped upon selecting the prompt from the User.

An example for this scenario will really help me out.

 

Please clarify above queries. Thanks in advance.

 

Note: I am using TestStand 2017.

 

VI Broken in UI using LV RTE but not in SeqEdit using LV RTE

$
0
0

I'm at a bit of a loss on this one and I'm in need of some NI TestStand wizardry on how to resolve this problem.

 

Using the following:

Windows 10

LV 2016

TS 2016

NI WLAN Toolkit 16.0

 

I've got an issue that I've found in the niWLAN 80211b Generation and Measurements.seq that ships with the toolkit but it's also happening in my code that is derived from that example.

 

Once I reload the VI prototypes and update the types in that sequence I can run it fine in the LV dev adaptor as well as the LV RTE when I'm in the Sequence Editor.

 

However, once I switch to the UIs (and I've tried all of them in every language and full-featured as well as simple) and try to run the code with the LV RTE I get the classic error -17600 on the first VI called in the WLAN toolkit. I've tried reordering the sequences within the file and it follows that the first VI found will error out.

 

To repeat: running the seq in the Sequence Editor with the LV RTE as the adapter works just fine, zero errors. Running the exact same sequence in any UI results in error -17600.

 

I'm at a loss on how to even troubleshoot this issue and would appreciate any assistance as I've tried iterating as best I can and am at my wits' end.

 

 

Test Stand Running Sequence List

$
0
0

I am running test stand/labview set up on multiple machines.  I have one machine that will not display a sequence list while running (rest of them are fine).  The screen is blank until sometimes near the end of the sequence and even then it is not synchronized with what is happening.  The test sequence is doing what it is supposed to do otherwise

 

Hope this makes sense to someone, I can add some screen shots if it helps clarify.

 

Have a nice weekend

Background GUI VI with TestStand

$
0
0

I have a TestStand sequence that sets and reads values from several serial port devices during a lengthy test. The users would like a separate LabVIEW GUI that shows those values as the test progresses. This brings about two questions: 1) How do I launch the GUI VI from a TestStand step so that the sequence then continues rather than waiting? 2) How do I arbitrate the two pieces that will both want to read and write the serial ports perhaps even occasionally at the same time? Suggestions would be appreciated and example code is worth a thousand words.

slow loading of sequence files from Teststand gui

$
0
0

Hi,

 

I have few sequences written in test stand and i would like to run them through custom gui. The sequences all call VI-s from labview FPGA project. Problem i have encounter is that load times are substantially longer (~1 minute) if i run the same sequence directly from test stand or if i use any gui, example gui-s that came with test stand or my gui. I dont know how to debug this problem, i havent find anything relevant on the forums or internet.

I am using Win 7 professional 64 bit with teststand version 2016 f2 32 bit.

Can someone please give me some advice on how to tackle this problem.

 

Best regards

 

Toni

Unable to install Teststand - NI Uninstaller is higher version error

$
0
0

Hi,

 

I'm trying to install Teststand 2012 on an inherited company laptop, it has been running okay in the past,

but now if the Sequence Editor is run, a System Level Exception error occurs when the Login step (FrontEndCallbacks.seq) is executed, hence unable to login and use.

 

When I run the installer from the DVD I get the following message:

 

The "NI Uninstaller" installation has failed with the following error:

You have a higher version of NI Uninstaller on your system.

You must uninstall it before installing this version.

 

In the Win 7 Control Panel: Programs & Applications, there is no National Instruments option listed

to allow uninstall. The NI folder does not exist.

 

Using the Windows "wmic" command, I'm able to list the products installed on the laptop.

I find an entry listed as "NI Uninstaller", and the associated uninstaller file is: MetaUninstaller.msi .

But there are no details listed for the .msi file location so I can't run it, other NI products have full details.

The only other clue is that the wmic "InstallState" is given as "1", unlike the other .msi files

which have location info and an InstallState of "5".

Not sure what "1" means.

 

What is stopping from me from forcing a re-install of Teststand 2012 ?

Are there some registry entries which require deleting ?

 

(I also tried Teststand 2014 but the same error occurred.)

 

Regards,

 

Gary.

 

 

 

 

 

 

 

 

 


Send Data From SequenceFilePreStep To Main Sequence

$
0
0

I have my main sequence and then have a sequence file callback within that sequence which is SequenceFilePreStep.  Before every main sequence step, I collect data in the SequenceFilePreStep and want to send it to my main sequence file for use.  How can I do that?

 

Thanks!

ReportOptions in TestStand 2016

$
0
0

I am trying to migrate a TestStand sequence file from version 4.2.1 to 2016 (32-bit). We had customized the sequential process model a number of years ago and are now trying to get that cleaned up so that we can run our Test Program Set (TPS) with a TestStand 2016-compliant sequence file. I have a number of questions but will ask a couple to get things rolling.

While doing some digging related to Report Options, I came across an NI snippet that said that …

In TS2016, the result processing options move from the TestStandModelReportOptions.ini and TestStandDatabaseOptions.ini files into a single ResultProcessing.cfg file, located in the <TestStand Application Data>\Cfg\ModelPlugins directory

Since we are having reporting issues (i.e. there is NO HTML report seen), I made some updates (within the Configure::Report Options … menu. I closed/opened TS and the settings were indeed saved, but when I went to the ResultProcessing.cfg file, located in the <TestStand Application Data>\Cfg\ModelPlugins directory, the timestamp had not changed. Instead, the TestStandModelReportOptions.ini had changed. That didn’t make sense to me.

Secondly, when we run our test sequence, the step entitled, “New UUT for On-The-Fly Report Generation” (and the step before it “New UUT for Database Logging”) is skipped. A breakpoint reveals that the precondition is looking for Locals.OTFRGRef to be something other than Nothing. However, it is Nothing and therefore blow past these statements. Any idea how to set this variable? I assume this step is important to getting results to appear?

Message popup automatically cleared from display upon a event occurs

$
0
0

Hi,

 

I am writing an Test sequence where-in, I want to automatically clear the Message Popup from display upon occurrence of an event notification, so that the execution does not stop and please do note - I don't want to use the Timeout option available for the Message popup.

 

Scenario:

I have two threads running in parallel, where-in on one thread logic processing takes place and on the other thread Message popup along with other processing is in place.

I want to automatically clear the first Message pop upon notification of Button 1 pressed and display another Message pop up - Press Button 2. So that the execution does not stop and it completes without any manual intervention.

Note: Create, Wait step of the Notification is taken care.

 

Please suggest.

 

 Thread 1                                                                 Thread 2

Logic processing

Trigger Thread 2                                                   .........

.......                                                                      Display Message popup - Press Button 1

.......                                                                      Display Message popup - Press Button 2

Set Notification Button 1 pressed                         ..........

.......                                                                       ..........

.......

Set Notification Button 2 pressed

 

 

Thanks in advance for your suggestions.

Test Stand Simple user interface from top level vi error

$
0
0

I created an exe from labview which its start up VI is top level.vi which loads the sequence through test stand. I checked everything to make sure it works fine and then I removed the development license from the PC to prevent operators modification to the code, and I left the runtime engine for both Labview and TestStand. but now when I run the exe it gives the error of missing license for test stand. what I should I do in order to be able to run the code independent from development license?

How to automatically input TestStand's "Enter UUT Serial Number" pop up dialog with a vi that reads the SN

$
0
0

Hello,

I'm new to TestStand (2016 version) and I would like to find out how I may use a vi that reads a UUT's serial number to automatically input that result into TestStand's "Enter UUT Serial Number" pop up dialog box, thereby avoiding manual entry (which could avoid errors), then have it automatically run the test without clicking on "OK".

 

I searched this topic in the forum but I still cannot figure out how to set up the PreUUT Sequence Callback in order to achieve this. I would still like to have the serial number be written to the report. Thank you.

 

Sincerely,

Andie

How to pass parameters from processSetup to PreUUT sequence in ParallelModel

$
0
0

I have ParallelModel using 4 test sockets. 

I get references and statuses of hardware in process setup and I want to pass this to the PreUUT and then to MainSequence.

I have to use separate file globals for each of the testsockets so I cannot use file globals for solving my problem.

 

I tried to save references and statuses calculated in processSetup into Parameters, but when program goes form processSetup to PreUUT I don't know how to access parameters from here. They just dissapear.

 

Thanks for answers

 

Prevent xml stylesheet/teststand from creating tables for flow control steps

$
0
0

I have tried to master the customization in the stylesheet for xml reports which we use in our Teststand environment. I saw that there was an option to turn of indentation for subsequences and that I could set the "gIndentationWidth" parameter to 0 to remove indentations completely, but I would like to prevent the stylesheet from creating a new table when it detects a flow control step. I have tried to modify some steps in the stylesheet but it seems to be pretty deeply integrated in the report generation or something because I can't make it stop.

 

Apart from customizating the stylesheet it may be possible to do it in the reportgenerator but I haven't found a way to do it. So I wonder if someone have managed to make this change?


"Run Sequence" starts Analysis, complains about errors outside of the sequence

$
0
0

I want to test-run the sequence I am working on. It is not the main-sequence but a smaller sequence which does some sub-level stuff. There is no obvious error in this sequence.

 

When I click on "Run MyTestSequence" the analyzer starts and complains about an error in a different subsequence (there is a file missing). If I turn off the analyzer I am still being asked where the missing file is.

 

How can I tell TestStand to run the current sequence and don't care about anything else?

Generate sequence file from ATML 1671.1 file

$
0
0

Hello,

 

I'd like to programmatically generate a sequence file from an ATML Test Description file. I've looked at the SequenceFileXML Parser example, and that does a lot of what I need, but it's reading from a different XML format. Can anyone here point me in the right direction?

 

Thank you!

Python script (some) called from TS does not work

$
0
0

Now I have a *.py file, and it contains many functions that I have already wroten and tested. next step I want to call the functions from TestStand, and analyze the results. How can I tranfer the parameters between python function and TestStand Locals or Parameters?

Compatibility Issues (2016 v. 2017)

$
0
0

Just wondering if anyone had similar issues to attached image?

 

Just to give some background info:

I updated 2016 32b version to 2017 32b version. I saved the sequence from 2017 as 2016v, but it seems that when I open the file it could not be loaded.

I tried looking for the error code and no luck.

niScope_32.dll niScope_GetAttributeReal64 attributeID data type

$
0
0

Using TestStand 2010 sp1. Have niScope 15.0. Create action step using C/C++ DLL adapter and calling niScope_GetAttributeReal64 from niScope_32.dll to get device (PXIe-5160) temperature. Parameter attributeID in step settings show it is a long data type. NI-SCOPE documentation show it is a viAttr data type and it looks like I would pass a value of "NI_ATTR_DEVICE_TEMPERATURE" to get the device temperature.

Can I get TS to recognize a viAttr data type? What value would I pass to the parameter if TS is expecting to be a long data type?

Viewing all 6544 articles
Browse latest View live


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