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

Labview hangs when application manager is pressed

$
0
0

Whenever I open up a TS user interface example in Labview (Top-Level VI) and double clicked on the Application Manager icon, Labview hangs. What is the problem?

 

reww23_0-1600323363795.png

 


Teststand guides/tutorials?

$
0
0

Hi guys,

I am trying to get started with parallel testing in TestStand. Do any of you know of any good resources for this? I have looked around and it doesnt seem like there is much information out there for parallel testing. I found lots of examples of what it can do, but not how to implement it.

Specifically, im trying to figure out how to allocate specific IO, AI etc to each station. For example, I have 8 stations that all have individual analog inputs and digital IO. How can I tell test stand that on station 0 it should use AI0, DI0 and DI0? I have been under the impression that my code should be generic and station independent. Is that not true?

Thanks!

Access DB not updating intermittenly, UNTIL next unit runs or TS shutdown

$
0
0

 

Intermittenly, TestStand will not populate the record in local database (Access) UNTIL the next unit runs OR TS shutsdown. 

 

Sometimes it works just fine, sometimes this error. Tried different connection strings, no luck. This is causing problems with other steps that run in PostUUT that depend on the current MAX(ID) to be the unit under test. 

Anybody else seen this one? 

 

Using OTF logging. 

 

 

see examples below here: 

 

mwatkins_0-1600369822878.png

 

mwatkins_1-1600369864682.png

 

Array settings meet warning

$
0
0
 

There's no problem for the Array settings, but still meet abort during evaluation.

 

so How to use "#NoValidation" directive to suppress this kind of error

image.png

 

thanks a lot for your help!!

Overwrite multiple lines in 2D array

$
0
0

Hello guys,

 

I need help with the following topic: I have a bigger 2D array and I want to replace directly in TestStand 4 lines in the middle of the array (positions 25-28) with the elements from another 2D array.

For example, I have Array1[50][1000] and Array2[4][1000]. I need to overwrite lines 25-28 from first array with lines 0-3 from the second. Any idea how can I do this directly in TestStand?

TestStand training error

$
0
0

I am currently doing the Developing Test Programs Using TestStand course and following the provided Exercise Guide. The guide tells me to run two setup files. I have tried running both but I get 'invalid path' errors when I run them. They are looking for this path: C:\Program Files (x86)\National Instruments\Shared\CVI. I can find the Shared folder but it contains no CVI folder. Does anyone know why I don't have the CVI folder? And how do I get it?

How to get the None adapter properties of TestStand in LabVIEW ?

$
0
0

I'm trying to create a custom XML file by reading an existing .seq file, I can read the LabVIEW step types but for step types like (wait, message popup, if/else etc.) which are belonging to None adapter, I cannot find any way to get the input parameter's names and values.

How to load the equivalent of a DLL, but LabVIEW, into Test Stand?

$
0
0

So I was working on a project where I used LabVIEW to communicate with a device and wrote a bunch of commands in a Functional Global and used Test Stand to select the Action of the FG and so forth...  And I got to thinking, is this really the best option?

 

Here's my thoughts:

LabVIEW is my native language, so I would prefer to code in LabVIEW.  But loading a FG into Test Stand has its limitations/faults.  Really the biggest flaw/fault is that your data inputs are static.  I put a detailed How-To in the description to explain which data types are required for which actions.  But at the end of the day, a FG is not the same as a DLL where I can create a massive DLL, load it into Test Stand and I now have access to every function and its related data types.  I won't have some Double that's meaningless for some actions.  Now, no, I would never compare a FG to a DLL, but I was thinking, in LabVIEW, what's the equivalent?

 

How can I write a complete driver for a device in LabVIEW and be able to load a single item into Test Stand?  I don't want to load individual VIs and be sure to carry them around.  Would I load a LLB?  I've been trying but Test Stand is giving me issues with LLBs and from what I'm reading, they're frowned upon anyways.  Would a Polymorphic VI complete this task?  That seems like a lot of tedious work.  Any thoughts?  Is the answer pretty simple?


chosing between labview driver vs labwindows cvi driver for keysight powersupplies

$
0
0

I am working on designing a new test system and we are planning on using some Keysight Precision Power supplies N6700, N6900 and N5700 series. I was wondering if I should chose the labwindows cvi drivers or the labview drivers for the project.

 

 

 

my main concerns are:

long term support

availability of functions

reliability of using LabVIEW vs lab windows cvi

instrument drivers vs direct scpi commands on LabVIEW vs lab windows cvi

compatibility with test stand

overhead difference between lab view and labwindows

hardware requirements for labview driver and test stand based system vs labwindows cvi and test stand based system

 

anyone have any experience or technical insight into the pros and cons of chosing labwindow cvi/ivi drivers vs labview drivers for third party instruments?

 

I have attached screesnhots of the drivers available for the power supplies for reference.

 

 

Running step with PPL if source code is not provided option

$
0
0

In our future system we would like to run test sequences using PPL's but for debugging purpose it is often needed to run the source code of a single step.
It is possible to configure the LabVIEW adapter to "Always run VI in Packed Project Library". In this way it is easy to switch between source code and PPL. Problem is we don't always have the source code in correct version to all steps.
Instead it is possible at each step to set the "Always run VI in Packed Project Library" in the "Override Module Settings".

When developing test sequences we want to run all steps using source code to be able to debug through the sequence. But it would be quit annoying afterwards to go through all steps and change this setting. (It is probably possible to make a tool to execute this function.)

Does anyone know if it is possible to change to wanted behavior (or should I post this feature in TestStand Idea Exchange)?

 

Regards Vagn

TestStand error [1003] while testing DUT in TestStand User interface with LabVIEW runtime engine 2018

$
0
0

Hello,

I am facing 1003 error while testing DUT in TestSTand user interface with LabVIEW run time engine 2018.But when I am testing with LabVIEW development system no error generate. Error description : Test vi is broken or contains SubVI than LabVIEW can not locate. 

I have deploy Image and it contains all support  VIs and required files. 

I am performing DUTs tests : Visa serial communication test and AI,DI,DO test with cDAQ 9189.

Serial communication test passed without error, DO test passed , other DO test vi generate above errors. 

I have attached error description.

 

NareshNI_0-1601052149221.png

Please do needful.

 

Thanks

Deployment methods for distributing test stations - discussion

$
0
0

Hi,

 

I'm wondering what's the most proper method of code deployment in my case and I hope we can have a good discussion about it here.

 

Quick introduction:

 

I have one development test station + few production ones. They're identical in terms of the hardware.

Regarding the software, there are:

  • TestStand as the test executive with my custom process model, plugins and step types
  • GUI (LabVIEW) using TestStand Engine
  • Test procedures calling :
    • Hardware drivers API (LabVIEW)
    • Custom test-specific Vis

 

Most of the work is done on the development station, creating test procedures, hardware drivers, testing them, etc.

There are production stations in factories where we run actual production tests.

 

Now, the point of the discussion is: how should the deployment process and project structure look like!

 

My [R]equirements:

  • [R01] I have only one set of development licenses (LabVIEW + TestStand), so production stations should normally run with TestStand Base Deployment license and LabVIEW adapter set to RTE
  • [R02] The deployment process should be easy and traceable
  • [R03] There should be the possibility to activate the development license on the production station to debug/modify test procedure or hardware drivers and commit changes as a bugfix to the git production branch, so other stations can be updated
  • [R04] There should not be much overhead to the project that makes it too complex. Let's KISS!

 

There are a few possibilities of how you can deploy software. These are two setups I've tried:

 

 solutiondescription / preparationproscons
1TestStand Deployment Utility
  • compile GUI to EXE
  • change LV adapter in TS to RTE
  • use built-in deployment utility
  • probably recommended by NI
  • all dependencies included (in theory)
  • fully automated process
  • the deployed app is not linked to the repository any more [!R03]
  • compilation takes a lot of time in case of my project (~30min)
  • the deployed app has to be copied manually to target [!R02]
  • actually, there are sometimes problems with dependencies
  • you can specify a Workspace to include, but it does not handle auto-populating directories, so adding each sequence file has to be updated manually [!R04]
  • sequence files in the deployed app are a bit different than the original ones (e.g. paths are updated). You can't modify the sequence and then copy it to the source project. [!R04][!R03]
  • any change introduces a lot of potential issues. To modify, one needs to: modify the VI, test it, once it works, reproduce on the development machine, test in there, which is not always possible due to external factors, once it works, compile using the deployment utility, update the deployed app manually to all machines...

2

Clone git repository on each production station

  • compile GUI to EXE.
  • change LV adapter in TS to RTE.
  • don't separate compiled code from the block diagram for hardware drivers and test-specific VIs.
  • use PPL for modules called in the process model
  • make sure that password is required each time somebody wants to do a git action
  • the app is linked to the repository, can pull/push/commit easily [R02][R03]
  • code update is very quick and easy [R02]
  • actually, there is no much preparation work
  • you have to be careful what you pull/push/commit
  • full source code is present at the production site
  • PPL required for some modules
  • probably it's necessary to include compiled code in Vis, at least for hardware drivers and test-specific Vis
  • sequence loads slower, because it takes LabVIEW more time to find and load dependencies from vi.lib, instr.lib and few other place

 

After experiments with various configurations, now I'm in favor of option 2). It's not tested 100% yet, but I'm open for feedback and I'm curious how you do it in your projects.

 

NI TestStand roadmap

$
0
0

Is there an official roadmap avaliable for TestStand product? What functionalities or changes can we expect in next year or two? By looking at Idea Exchange there is 6 items under consideration. One could get an impression that there is no plan for new major features.

TestStand deployment Warning Substep as absolute path

$
0
0

Hi,

I'm trying to build an install (msi) trought teststand for the first time. I also added  a Packed Project Library for all the VI used.

 

The problem i have is a warning when building. It said that all my substeps (Labview) are configured to call a code module using an absolute path when it's not. For information, all my step are LVOOP developed. 

Database Schema

$
0
0

Hi, can someone post here the Database schema of Teststand pls?

 

I need to know the relational model, the table names.

 

I need the standard database, the one with UUT_RESULT, STEPS, and the PROPERTY tables.

 

If you have a SQL script to create it on SQL Server it would be the best

 

thanks


Error when trying to import .nce file

$
0
0

I am trying to reconfigure my MAX configuration and I am attempting to use some previously developed .nce files to create the Switch virtual devices.  I ran the Switch device importer with the latest .nce file and I encountered an error. It looks like a syntax error in Endpoint1 but I don't know what I need to do to fix.  I tried to attach the full configreport but this website would not allow me to.

 

NI Switch Executive 3.6:
SwitchRelays
Note: Changing the port requires a restart of the RIO server or a reboot on the destination system.
Note: Select View>>Refresh or press F5 in MAX to see any settings that have changed.
Fatal Error: SwitchRelays failed to import. An error occurred while attempting to read from the file.
Invalid Endpoint1 "A35_VDD_10V " for Route Name "A35_VDD_10V-to-4113B1_6"

The channel specification string contains invalid characters or could not be understood. No match could be found for the given channel alias name or IVI channel name. Channel:A35_VDD_10V

*** Import FAILED ***
NI Switch Executive 3.6: error code 0xffff8e9

Different behaviour of DotNet-DLL in console than in teststand

$
0
0

Hello,

i created a Dotnet-DLL-library with some functions that i tested with a VisualStudio console-program. -> Runs fine

 

When execuing the functions in TestStand as DotNet-steps then it fails. But can see inthe created log4net logfiles that the problem is in the different order where the resource DLLs (sub dlls that my dll is using) are loaded.

 

In the console program all needed resources are loaded at the beginning but in teststand only at the function.

 

I tried to chage the LoadOptions in the Run options of the steps. But this does not change anything.

 

My question is: is there another hidden menu where i can the loading order of the resource dlls?

 

Thanks

DeQueue called in AnyCPU .NET assembly times out

$
0
0

Here's my setup:

Custom .NET AnyCPU (inspecting the assembly shows that it supports addresses larger than 2GB) monitoring application that uses SyncManager API (TSSync.Interop) to dequeue a SequenceContext object.  During the dequeue, the destination object is of type PropertyValueTypes.PropValType_Reference.

The Enqueue (by reference) of the SequenceContext happens from a model plugin sequence executing with the TestStand 2017 64-bit engine. 

The Enqueue happens with no issues.  The DeQueue times-out.

 

Summary of Results:

If I run the .NET application as a x64 with 64 bit engine, then the DeQueue operation works

If I run the .NET application as AnyCPU with 32 bit engine, then the DeQueue operation works.

If I run the .NET application as AnyCPU with 64 bit engine, then the DeQueue operation times out.

 

In all cases the TSSync.Interop assembly is the same, which is a 32 bit assembly which can handle 32-bit words according to the PE header Flags.

 

Load Dll from custom UsertInterface and use insequence (TesStand)

$
0
0

Can I load a Dll in user interface (ActiveX for example), previously to load the sequence, and after continue using the dll in the testand sequence?

I want to charge some parameters in Dll and init some serial ports before to run the sequence.

 

 

Can't Dequeue Queue of Enum - Possible Bug

$
0
0

When trying to Dequeue TestStand Enums from a TestStand Queue, I get a type mismatch error.  A demo sequence is attached.  I have tried this in TestStand 2016 f2 32-bit and TestStand 2019 f2 64-bit.

I can work around this by using strings or numerics, but this seems like a bug to me.

 

Queue Enum Error.png

Viewing all 6529 articles
Browse latest View live


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