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

Calling a DLL in TestStand by reference

$
0
0

 Greetings-

 

I am writing a DLL for TestStand calling, but failed to call the DLL, please kindly find the attached Doc file and help me how to fix this issue.

 

Many thanks-

W


Cannot access TestStand Property

$
0
0

Hi

I have a Container of data stored under the 'Step' property in TestStand 2013 sequence (same location as the TS, Description and Result properties)  entitled 'Data' which contains various values such as Low_value, Upper_Value etc.

 

I am trying to construct a custom report generator using LabView (2012) and want to retrieve the values stored in the container, at runtime, and currently have no clue how to reach it. 

 

Any suggestions gratefully received.

 

 

 

 

Custom Model Plugin for non Result Processing Functionality

$
0
0

I have some functionality I wish to add to TestStand as a Process Model Plugin.  However, the functionality is related to how serial numbers are configured and parsed to extract UUT metadata and nothing to do with result processing.

 

Is it acceptable/recommended to create plugins that are not result processing specific?

 

I started by creating this plugin following the instructions here, which tell you how to make a plugin operate as part of the result processing - which means configuration info etc is held in 'ResultProcessing.cfg' and the config dialog I created for it is only accessible via the 'Result Processing' dialog.  I had this working successfully, but it just feels wrong that I am having to go into the result processing dialog to access functionality that is unrelated.

I have therefore been trying to create a separate model plugin to perform the Serial number formatting task.  Unfortunately there seems to be very little information about exactly how to do this.  I am finding snippets of information here and there but no definitive direction.

So far I have created a configuration entry point in my PM (which adds an item to the config menu) and can call my config dialog with a sequence call to my plugin sequence 'Model Plugin - Configure Standard Options'.  I realise that if a cfg file exists in the correct location, that modelsuport.seq will process it and the model plugin specific options become available in parameters - for use by the process model (more specifically the 'Model Plugin - pre UUT' sequence).  The bit I am really stuck on is how to create the cfg file in the first place (from the plugin options that my config dialog modifies) and I am certain there are other things that I am missing / need to consider - one of which is the purpose of 'category' (this plugin shouldn't have the 'result processing' category I am sure).

 

I am using TestStand 2017 and LabVIEW 2017.

 

Any information / links, words of wisdom would be most appreciated.

 

- Barry

issue with deployment utility

$
0
0

hello,

i tried to convert our project into deployment installer so that it can run on test system which has on Labview RTE and TS but it fails and shows an error on test sytem that missing sub vis. how can we include library vis (vi.lib, user.lib) to into installer as our vi use those as subvis. 

 

 

Remove Login at runtime

$
0
0

Hi

     I would like to remove the login option from File menu at runtime.  Essentially we are using the seq editor to run test and have found that when executing code the Login button is still active and can be used.  I am looking for the ability to programmatically modify the Teststand menus.    Currently using Teststand 2016.   Thanks    

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

Viewing all 6241 articles
Browse latest View live


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