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?
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?
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!
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:
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
thanks a lot for your help!!
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?
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?
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.
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?
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.
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
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.
Please do needful.
Thanks
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:
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:
There are a few possibilities of how you can deploy software. These are two setups I've tried:
solution | description / preparation | pros | cons | |
1 | TestStand Deployment Utility |
|
|
|
2 | Clone git repository on each production station |
|
|
|
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.
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.
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.
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
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
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
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.
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.
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.