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

Unable to load VIs in Run time engine

$
0
0

Hi All,

 

We are using 32 bit LabVIEW in 64 bit TestStand in our application.

32 bit LabVIEW is require because we have 32 Bit DLL that cannot be used in 64 bit LabVIEW and we are using Digital pattern instrument that require 64bit TestStand and TSM. So we cannot change the configuration.

 

Problem statement:

In run time engine we cannot able to load the VIs. please find the below error:

Run time engine error.png

 

I'd Appreciate any help on this issue.

 

Best Regards

Manasa M

 


Remove User From Group Programmatically Via LabVIEW

$
0
0

I'm using the below code to try and see if a user belongs to a group, if he/she does, then remove them.

 

Attached is a snippet of the code. The true case in the case selector is:

 Capture.PNG

Am I missing something? I can't work why the property object node returns "Members" all the time.

 

 

Issue in Organizing Insertion Palette

$
0
0
I would like to know what is the correct procedure to do the following.
  1. I have created a Types.ini file with one custom step. I have organized this custom step under Datalogging folder in insertion palette.
  2. I have distributed the package to the customer and he is using it.
  3. Now i want to change the way how it looks in the insertion palette. Instead of Datalogging  group it should be like TS Utilities->Datalogging.
  4. To do this I have change the structure and saved my Types.ini file. It looks fine in my PC.
  5. If I distribute the new package to the customer, the insertion palette looks like the older one. This is because the insertion palette info is stored in GeneralEngine.cfg. If i delete, GeneralEngine.cfg it is working fine.
I would like to know how to make TestStand understand that it should use the info from Types.ini file and not from GeneralEngine.cfg. Even if i remove the Types.ini file from disk and open TestStand, the info is not getting deleted from GeneralEngine.cfg. I would like to know when the info about the types files will be removed from GeneralEngine.cfg.
 
Any help in this regard will be really helpful!

TestStand 2017 Sequence Editor Missing from Windows 10 Start Menu

$
0
0

I installed TestStand 2017 on a Windows 10 machine. The installation was uneventful, except I cannot find an entry for the Sequence File Editor in the Start Menus. Searching shows Sequence Analyzer, Sequence File Converter, etc. I browsed to the National Instruments folder in the Start menu, but no entry for the sequence editor. In fact, all TestStand entries are in the top level 'National Instruments' folder, which makes for a very messy folder (see the screenshots below).

 

The Sequence Editor is installed and appears to work. I pinned it to the Task Bar once it was opened. 

 

Is this me, or is there a problem that the installer team should be made aware of?

 

Thanks,

 

Screen shot showing the results of a search using 'testst'

 

TS Start Menu.png:

Screenshot of the National Instruments Start menu folder:

 

TS NI Folder.pngNI Start menu folder.

 

Breakpoints do not work and icon is white TS2016f2 64-bit

$
0
0

Irrelevant how I got here but did delete MAX configuration about same time as problems began, but I have a white-outlined stop sign as the breakpoint icon and the breakpoints do not stop execution.

 

Have uninstalled TS and LabVIEW (both 2016, 64-bit) including drivers and reinstalled (a few tool-kits remained), TWICE and same problem remains.  Short of removing EVERY piece of NI SW (I know there is a command to do so, can't recall) I am out of answers.  Any takers?

 

Thanks, Dave

TestStand Version Selector Popup

$
0
0

Hello,

 

I am using TS selector from command line to switch between TS versions. 

I need to get rid of confirmation popup, it would be nice if response is passed from console output.

 

Anyone knows if it is possible?

Getting the saved status of a Sequence file Loaded in TS

$
0
0

Hi All,

 

Please let me know if there is any Sequence or Sequence File property to programmatically find if the current sequence loaded in teststand is saved or not.

 

Thank You,

Sree Ranjani.

Finish the test when a condition is not met in one of the sequences, using ATML Toolkit

$
0
0

Greetings ... I tell you that I am new to TestStand and I would like someone who has managed to generate sequences from the ATML Toolkit tool. A couple of days ago I have been doing a test system for electronic cards in TestStand 2012 and using the ATML Toolkit 2012. My question is how can I complete the whole test if one of the conditions is not met within a sequence, until now I have I tried to implement this process in the Test Description (XML) file in the TestGroups <Conditions> section but I did not achieve the result that I require. Someone who can help me with this doubt please, thanks in advance. I leave the file Test Description attached.


TestStand Not responding

$
0
0

Window 7 profession + Teststand 2017 Evaluation + LabVIEW 2017

I got intrested in Teststand as NI visited us and tried to sell it, so I'm evaluating it. 

 

Application "Not responding" happens when: 

1. Create new seq file. 

2. Create an action in the Setup group

3. In step setting select VI as absolute path. 

4. Run the test. 

5. Crash

 

Then teststand tries to open the lvproj file and it stays like this forever. The test doesnt even start. 

The VI im loading uses three GOOP classed and it is a UUT Configuration window. Very simple. The code works fine in LabVIEW. It is worth to mention that the VI which is called by TS is just a vi which creates instances of classes and opens different front panels as soon as it starts up.

The same happens when I try to do Class Member Call. 

 

Does Teststand have full support for addons like GOOP? What may be the issue here?  

Get the report of only one sequence in TestStand 2012

$
0
0

Greetings...I tell your that I am new to TestStand and I have been doing a test system consisting of 4 sequences. So far I have managed to run the UUTs test and I have obtained its respective report, now I would like to know if it is possible to obtain the report of only one sequence in TestStand 2012?

Simple user interface combo-box

$
0
0

HI,

 

I am using the labview simple interface for my teststand project in batch mode, my problem is how to update the combo-box during the run-time to show active socket (testing) automatically instead of just showing last socket (socket no. 2 in my case) as shown in the attachement.

Thanks in advance

Get data of the failed step that caused sequence failure

$
0
0

Hi!

I'm developing a test system that can measure a range of different products, one product at a time. The test system software consist of a main sequence and product specific client sequences which are loaded dynamically based on product identifiers.

If a test sequence fails, I would like to print the failed step name, parameters and results and their limits on a paper in PostUUT callback. Unfortunately I have not found a way to do this as I can't get the required data of the failed step.

 

 

What I've tried so far:

  • Use SequenceFilePostStepFailure callback. This is far from optimal since, as the name suggests, it affects only the sequence file where this callback is in. This means that I would need to have duplicate code in every single product specific client sequence and if I ever want to change something I would need to replicate the changes to all those client files again.
  • Create custom process model where I included the ProcessModelPostStepFailure callback. This way I could pass the failed step all the way to PostUUT callback but I couldn't find out how to access the parameters of the called step.

Is there any reasonable method to get the name, parameters and results from the failed step in PostUUT callback?

Using TS2014.

Serial batch synchronization opens multiple windows

$
0
0

I test 40 UUTs. When I enter certain sequence, a Labview VI function is called in a serial fashion for each UUT. Which is what I want and it works. However, the labview front panel closes and reopens 40 times. But in the example file A, only one window opens and shows a progress bar. How is that achieved? 

 

 

 

A: C:\Users\Public\Documents\National Instruments\TestStand 2017 (64-bit)\Examples\Parallel Testing\Testing UUTs in Parallel - Batch Model

On thy fly reporting - self made

$
0
0

I am trying to create a simple process model, which fires the "ProcessModelPostResults" callback, in order to log several data on the fly. I found some properties and methods for it, but the callback is not called. Following Expression is used as the first step in my entry Point:

RunState.Execution.EnableCallback(CallbackType_ModelPostResult,True),

RunState.Execution.EnableCallback(CallbackType_ModelPostResults,True),

RunState.Execution.MaximumResultsPerPostResultsCallback =10,

RunState.Execution.PostResultsCallbackInterval =1,

RunState.Execution.PostResultsCallbackOptions =0,

 

Similar commands must be used by the TS original model files, but I think they are coded in dlls, because I just can't find the right Settings in the subsequences.

 

So, if I enable the ProcessModelPostResults callback, and I set the interval and the max. number of results per callback, why is the callback not called?

LabView Runtime Engine Version Mismatch (Error -17600)

$
0
0

Setup:

I am working on a test system the base deployment of which was generated by another user with another version of Labview (I do have access to the base deployment engine licenses). The Labview Runtime Engine version on my development machine is 15.0.1f7 (lvrt.dll file version 15.0.1.4017) ; the Labview Runtime Engine version on the deployment target is 15.0f1 (lvrt.dll file version 15.0.0.4026). Both versions are 32-bit. Analysis of all test sequences on my development machine passes. I can successfully deleted cached data and mass compiled all VIs in my project on my development machine.

 

Error:

After installing my VIs and sequences on the deployment target (from a TestStand Deployment Utility installer), I run into error -17600 on the first VI executed. This VI does call sub-VIs from vi.lib.

 

Query:

I've combed through related threads in the forum and am a bit at a loss at this point. Should I try to update the runtime engine dlls so the versions match? Should I create vi pack? Any and all help is appreciated.

 

Thanks,

Alex


Cased Based reasoning

$
0
0

I want to run a sequence of 100 tests then collect the results into an array and then search a 2D Array of predefined fault signatures table to match the best pattern and therefore conclude that the 100tests that were run look like a specific faults signature. 

 

How do I implement this in Teststand?

TestStand C# adapter - Constructor not showing input variables

$
0
0

Using TestStand to test web pages using Selenium.  Tests are built using a Page Object model. The constructor call is:   "public LoginPage(IWebDriver driver) : base(driver)"

TestStand: Step Settings for Action.  Module: Assembly :

Root class is PageObjects.LoginPage and the .Net Invocation is LoginPage()  there are no arguments to be passed to the constructor.  I need to pass the IWebDriver to the constructor which passes the IWebDriver to the base constructor to initialize the driver instance in base & inherited classes. 

Why isn't the parameter list for the constructor of the LoginPage object showing the parameter list? Is it something I'm doing/not doing?  Test run in NUnit test.

 

Issue placing an image in a Teststand Report

$
0
0

Hello,

    I am having a problem attempting to get an image into a test report. I created a .vi to read the values in a TDMS file, plot it on a graph, take an image of the resulting graph, and then place the image into the test report. The strange issue I am having, is I can see the graph, but the plot seems to be missing. Stranger still, when I run the .vi by itself, it seems to work just fine. I am sure this is something small, I just cannot see it.

 

 

 

Dan

TestStand deployment: duplicate non-existent DLLs (-19035)

$
0
0

I'm unfortunately stuck with working with LabVIEW and TestStand again and stumbled upon a pretty interesting set of bugs this time.

I've set up a TestStand deployment to create installers for an automotive test sequence + corresponding LabVIEW library. In most languages, once you've set this up initially it works reliably thereafter, since it's just a case of editing text-based configuration files (directly or via a GUI). It's not much different with TSD files, except that like with every other type of file NI software works with, it's all binary, and NI binary files have a habit of self-corrupting themselves.

I discovered a while ago that LabVIEW lets you separate compiled code from the VI source code, which makes it play nicer with VCS and got rid of some of the grievances I had with the whole thing. However, source-only VIs cannot be executed by the LabVIEW runtime engine, which is what I'd need to use on the deployment machine. To workaround this, NI recommend creating a source distribution of the project files. I did this, specifying the source distribution to be generated under $PROJ_DIR/build/Source and updated my TestStand workspace (.tsw) to reference these VIs. I was able to create an installer and run it successfully on the deployment machine.

However, I made some changes to improve the reliability of the application and I've been trying to repackage them. For some unknown reason, both the "source distribution" build specification and the TestStand deployment have gone haywire. When I try to regenerate the source distribution, it now tries to preserve the VI hierarchy by generating the entire path under my C: drive to the VI under $PROJ_DIR/build/Source. In other words, it will try to generate something like $PROJ_DIR/build/Source/users/<me>/Documents/LabVIEW Projects/My Project/src/Some Library/Some VI.vi instead of just $PROJ_DIR/build/Source/src/Some Library/Some VI.vi as before. This then fails because the generated path of most of the VIs is too long (> 260 characters or so). I'm temporarily working around this by generating the source distribution under C:\Temp instead and stripping out the parts I need.

I've now tried to generate an installer from the TestStand deployment, but it fails with error -19035 because it seems to think there are duplicate DLL files being used by my project, even though one of the paths of the duplicates doesn't exist (it seems to think "Program Files" is under my user directory) and even though this process was working perfectly fine before.

DeploymentUtility_2018-07-10_08-43-00.png

I really don't understand why deploying applications has to be such a song and a dance compared with programs written in other languages. I'll try doing what I usually do when LabVIEW/TestStand screw these things up, which is checking out the last working revision of these binary files and re-attempting the same changes. But if there's a simpler way, I'd be happy to hear.

For what it's worth, I found this thread describing a similar problem and tried deleting my compiled object cache and mass compiling all my project VIs, but this didn't have any effect.

How to get back deleted Inbuild examples

Viewing all 6524 articles
Browse latest View live


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