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

Change text color in HTML report step headers and results

$
0
0

I would like to be able to change the color of the text that shows up in the step header and results boxes for certain steps. Currently black is the default color. I can modify the background colors using the report options but I can't find a way to modify the color of the text that shows up in those boxes. Is there a particular variable in the reportgen_HTML sequence in parameters.reportoptions.colors that I can change to modify the text color? 


Need help with Run-time error

$
0
0

trying to initialize keysight 34980A switch, the Teststand generates Run-time error with user-defined error code of -2147483648.  Does anybody know how to look up what this error means?  Is there way to look up any user-defined error code?

Thanks,

 

Run sequence(ConfigurationEntryPoint) by pressing save button

$
0
0

Hi all,

 

is it possible to run a sequence with type ConfigurationEntryPoint in the stationmodel by pressing the save button in the standard toolbar of a client sequence file ? 

 

Best regards!

Convert relative VI paths to absolute paths

$
0
0

Hi all,

I found utilities to convert absolute path for VIs called in test stand into relative paths but not the other way round. The problem is my sequence has calls to a lot of VIs in a directory which is very broad and has at least 6 levels of depth which makes development painfully slow as test stand finds it quite a task to locate these VIs. Since I'[m not planning to move this project to deploy it to another system and modularity is not my concern is there any way to convert these relative file paths to absolute file paths without doing it manually?

 

Thanks in advance! 

Create Seq file via PLC and HMI

$
0
0

Hello,

I have a PC running TestStand interfaced with a Beckhoff CP6607-0001-0020 PLC and HMI. The PLC controls a press that moves the PCB I want to test against a nailbed, as well as the test itself. The thing is that there are many PCB models, and for me it's a problem to constantly need to open TestStand and modify the test sequences. For that reason I'm interested in opening XML Seq files with the PLC and modifying them via the HMI (I would program a graphic interface to do this) so this way I could add steps or modify testing values. Is this possible? And if not, have you guys done anything similar than can help me for this specific application?

 

Thanks in advance

Error "Not enough memory to complete this operation"

$
0
0

Hi,

During the measurement of my chip devices, data logging of measured data in a my sequence stopped with error that "Not enough memory to complete this operation". The execution of teststand sequence was still happening after the "Not enough memory" error but the at the step of logging data, it was taking a very long time and also the measured data after this error, was not getting saved in the text file.

Total time that has run through the sequence till this error is 3.42 hours and maximum saved text file size is 176 MB.

I have set of measured arrays of current and voltages that I am storing every single value of array one by one by running through a for loop.

Anyone can help or give suggestion how I can avoid this error.

 

 

why do we use can breakout box???

Create a source distribution

$
0
0

Hello all,

In Projects of LabVIEW you can create a source distribution builder.

With that I can save all VIs that my Main source code uses (Dependencies field of project contains the directories of all VI's).

 

I want to do the same in TestStand, that is to say, I have a big sequence with a lot of Vis and SquenceCalls in the some places of my computer. My idea is extract only the sequences and VIs to the one folder, such as i do it in labview project.  

 

Thanks!

 


How to show only certain custom step types in run time

$
0
0

I am using the TestStand API in my LabVIEW GUI. This is what I want to do.

 

1. The user launches a splash screen VI where they can select the test type.

2. Depending on the selected test type, the GUI only shows the appropriate custom step types in the palette.

 

Is there any way to do this? Any tips will be appreciated!

Need “zNI TestStand Database Options"

$
0
0

I recently migrated from TestStand 2012 running on Windows 7 to TestStand 2016 SP1 running on Windows 10.  In TestStand 2012, I was able to make an ActiveX call to the Automation Server “zNI TestStand Database Options”.  In both the 32-bit and 64-bit versions of TestStand 2016 SP1, “zNI TestStand Database Options” Automation Server is not an available option.  How do I add “zNI TestStand Database Options” to TestStand 2016 SP1, or is there a replacement Automation Server for TestStand 2016 SP1 that I should call instead?  Thank you

Calling dll from shared network resource.

$
0
0

Hi

 

I am a problem when i try to Load a .Net DLL that is located on a shared drive on the network, I get the error: "Could not load assembly".

 

When I try to load the same DLL but from a Local resource e.g C:/Documents. the program runs normally.

 

Do you have any idea about how to solve this?

 

Thanks in advance.

 

 

2020-02-06 19_09_37-TestStand.png

runtime error code -17600 when using packed libraries - bug?

$
0
0

Hello,

 

What might cause error 17600 - failed to load module?

pawhan11_0-1581103659888.png

 

This error happens only sometimes, tends to appear when using multiple UUT entry point. First execution is always ok, next one is problematic

All code modules used in sequences are packed project libraries and there is no possibility that module is missing.

Module that throws error uses factory pattern to load other modules also in packed libraries. 

Why from TestStand perspective this function might appear broken for next execution? 

Error loading VI in run Time Engine 2018

$
0
0

Hi,

 

I am using Teststand 2016 64 bit and LabVIEW 2018 64 bit. i am trying to load Agilent 3446 labVIEW drivers in test stand using LabVIEW run time engine. i am getting the following error

 

" Failed to load VI 'C:\Program Files\Teststand Scripts\DMM_Measurement.vi' in the LabVIEW Run-Time Engine version '18.0'."

 

I have many other VI's called in the same Sequence. i am able to successfully load the other instrument driver VI's but not the Agilent one. Any idea what i am missing?

 

Thanks,

 

 

No details in report for new execution sequencen call - just pass/fail

$
0
0

Hello,

 

I have a main sequence which calls many sub test sequences as new execution, because I want to have for all of these sub sequence an own report. Now I don't want to have these detailed report anymore in my main sequence report. There I just want to have a pass/fail for each sub sequence.

Does anybody has an idea, how to achieve this?

 

With best regards,

max

Setting RunState.Caller.Runstate.SequenceFailed = False in SequenceFilePostStepFailure

$
0
0

Hi All,

 

I'm trying to use a suggestion from another post in the forum to reset the Main Sequence to a pass during a special condition where we try again after reinserting our DUT which requires us to power down and start the whole main sequence again (hence not using looping):

 

"The RunState.SequenceFailed property is set if the "Step Failure Causes Sequence Failure' property is enabled in the Run Options section of the step settings. If you're manually changing the step status, you should also set the SequenceFailed property appropriately. Try something like 'RunState.Caller.RunState.SequenceFailed=False' in the SequenceFilePostStepFailure callback."

 

My problem is that when I try to implement this 'RunState.Caller.RunState' is an unknown variable or property name. I'm wondering if this has to do with the version of Teststand that I'm using, which is TestStand 2016 SP1 (16.1.0.52) 32-bit. If this is not a version problem what might I be doing wrong?

 

Steps Taken

1) From Main menu bar I click EDIT>Sequence File Callbacks>SequenceFilePostStepFailure and then EDIT

2) Once inside the callback I create an IF condition with a statement inside of it that says 'RunState.Caller.RunState.SequenceFailed = False'. As I'm creating this I notice that the second 'RunState' is not a property option from the autofill box that pops up.

 

I've also tried just 'RunState.Caller.SequenceFailed = False', and while this is allowed with no errors it does not achieve the intended functionality.


PXI-4110

$
0
0

Hello,

 

We are using NI TestStand for testing micrphones.

Our PXI-4110 is actually broken. There is no output voltage - 0,2 VDC.

Is there a possibility to repair the part or we should buy a new one?

Could you be so kind and send me price offer for repair and a price offer for a new PXI-4110  unit?


Thank you.

Best regards

Jozef Bebej

mail:

jozef.bebej@eu.panasonic.com

Configure a "SequenceCall" step with Labview

$
0
0

Hi, 

 

I'm working with TestStand API for LabView.

For the moment, I can only create  a new Sequence File, create some sequences , add them to my sequence file.

I can also create some step,  as "action" or "Sequence Call'. And add them to a sequence.

But i'm unable to configure my new Step "SequenceCall", and select an other sequence to call.

 

Could somebody explain me how to do it ?

 

 

Package Installer: How to include Recommended and Optional dependencies?

$
0
0

I'd like to create a Package-Based Distribution (Package Installer) with the TestStand 2019 Deployment Utility. I specified a number of Required, Recommended, and Optional dependencies.

 

When click "Build", the final distribution includes all of the Required packages, but none of the Recommended or Optional packages. Furthermore, when I run the Package Installer on the deployment machine, NIPM does not prompt me to download any of the Recommended or Optional dependencies.

 

How do I make the Recommended and Optional packages part of my Package Installer?

TestSand SequenceFile LoadModules function

$
0
0

I have an C++ application interacts with TestStand engine callback through C/C++ dll adapter, which needs to migrate to TestStand 2019 from version 1.0. The application uses Microsoft MFC Wrapper (Ole Automation) to interact with TestStand engine for building and executing TestStand sequence files through MFCCOleDispatchDriver class. First, it creates TestStand Engine

d_engine = new Engine;

rtnVal = d_engine->CreateDispatch(L"TestStand.Engine");

There is a “template.seq” sequence file defined all the application custom test steps with its defined properties and default modules to call for each test step, it is loaded into the TestStand engine

IDispatch *d_templateSeqFileDisp = d_engine->GetSequenceFile(L"C:\\Temp\\Template.seq", 0x10);

Next, when create a new sequence file and insert a step which is already defined in the template.seq, the corresponding properties and default modules of that step was copied to the newly inserted step when defined the module load option = 4 in the original application and as below:

The original call was: d_newSeqFile->SetModuleLoadOption(TS_LoadOption_UseStepLoadOption);

Constant LoadOption_UseStepLoadOption = 4
Member of TS.ModuleLoadOptions
(Value: 4) Loads each code module according to the load option for the step that uses it. This option is valid only for the SequenceFile.ModuleLoadOption property.

 

However, the SetModuleLoadOption function no longer existed in TestStand 2019 and seems it is replaced by another function named "LoadModules" in SequenceFile as below :

Member of TS.SequenceFile - 

Function LoadModules([ByVal loadOptions As Long], [ByVal sequenceContextParam]) As Boolean
Loads the code modules for all steps in all sequences of the sequence file.

 

Purpose: Loads the code modules for all steps in all sequences of the sequence file.

Parameters - loadOptions As Long

[In] Specifies one or more LoadModuleOptions using the bitwise-OR operator to modify the behavior of this method. This parameter has a default value of 0.

 

- sequenceContextParam As Variant

[In] [Optional] If you are passing the LoadModule_EvaluateExpressions flag to the loadOptions parameter, pass a SequenceContext object for this parameter to use when evaluating the expressions. Also, if you are calling this method from a step in an execution, pass the sequence context of the execution.

 

LoadModule_EvaluateExpressions–(Value: 0x4) Loads modules of Sequence Call steps that specify the module by expression. Pass a sequence context to the method when using this option.

 

Question :
I think the loadOptions still be LoadOption_UseStepLoadOption = 4 in the first parameter, but not sure how to create and pass the sequenceContextParam as the second parameter in the LoadModules.

TestStand execution does not continue after a popup is closed.

$
0
0

Hi, I needed to replicate a tester that was built a few years ago.  The original tester is running Windows 7.  The new tester is running Windows 10.  I'm having an issue on the new tester (Windows 10) that sometimes after you login, Test Stand hangs after you close a pop up window with an image.  Sometimes I can get around this by waiting a couple minutes before starting Test Stand or closing out Test Stand.  I haven't found a definite sequence of how to get this to work every time.  This never happens on the older tester running Windows 7.  Both testers are using the same version of Test Stand 2014.  The only difference should be the newer version of Windows and a newer PC.  I'm trying to keep the software the same on both testers without updating the original tester.  Anyone know of a differences from Windows 7 to Windows 10 that may be causing Test Stand to not recognize when the pop up window is closed?

Thanks

Gary 

Viewing all 6584 articles
Browse latest View live