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

How to display Part Number in TestStand report header

$
0
0

Hello Community

 

This is my first question in forum and new to TestStand, currently using 2017.

 

I am looking for an example sequence that can show how to set the captured UUT part number , PartNumber, and display in the report header. I am using SequentialModel for my sequence.

 

Thanks in advance for your help.


Log Results to MySQL database

$
0
0

Hi All

 

I have a working Teststand that creates HTML reports.

Now I need to send it to a MySQL database.

 

I've read the following: Logging TestStand Results to a MySQL Database Tutorial

 

But it looks like they create a database on the local machine that is testing.

I have a MySQL database on a Raspberry Pi.

 

  1. So what do I need to install on the Testing Station (Deployed PC)? Only ODBC driver?
  2. What tables and entries do I create for my Teststand test in the database (Rasp Pi)? e.g., Test 1, low limit, high limit etc..

Some guidance will be helpful.

 

Marinus

 

modify steps in calling sequence from sub-sequence

$
0
0

Is there a way to view and modify the steps in the main sequence by way of a sub sequence?

 

What I'm currently doing is that I use a for-each loop to step through RunState.Sequence.Main and for each step in Main, I am looking to see if the step is a sequence file (RunState.Sequence.Main[i].isSequence).  If it is calling a sequence, I'm filling out an array with the name of the step which is used to make a list from which the user can select which tests (sub-sequences) will be run.

 

After the user selects the tests, I then step through my created array and assign Normal or Skip to each step based on the user input.

 

This works great when working in the upper sequence.  My problem is that I need to perform this same action on several sequence files and would like to make this a sub-sequence so that I don't have to copy and paste it in several locations (and have to worry about changing it multiple times if it becomes necessary).  I've tried looking through all the RunState.Caller methods/properties and can't seem to find anything that will allow me to step through the Main[i] array of steps in the calling sequence.

 

 

On a side note, is there a variable type that can be used to store the step information for the current element (i.e. Locals.CurrentElement = RunState.Sequence.Main[0])? Not important, nor needed, but I was trying to figure that out for a little bit before I realized it is not really necessary in this case.

Teststand 2013 download

$
0
0

I buy a license teststand since 2018.and complete install with teststand 2013. today I upgrade computer to windows10 and install Teststand 2013 again. but I cannot download Teststand version 2013 from NI website.

Dear NI

Could you help me about this ?

Scripting API Create Parameter Pass by reference

$
0
0

Hello everyone,

 

As part of a teststand sequence generation tool linked to DQMH modules, I am trying in vain to create a sequence parameter with the attribute "Pass by Reference" and not "Pass by value" via the TestStand API in LabVIEW.

 

extract.png

 

Result:

 

TeamJP66_0-1694003525769.png

 

Wish without manual intervention:

 

TeamJP66_1-1694003819478.png

Thank you in advance for your help.

 

VI not found in instr.lib when using Project path

$
0
0

Hello,

why can teststand not find the VI when i insert the project path to an instrument driver saved in instr.lib?

 

When i delete the project path then it can be found.

The blinking red error says

"Labview: (Hex 0x7) Datei nicht gefunden. Die Datei befindet sich an einem anderen Speicherort oder wurde gelöscht. Verifizieren Sie in der Befehlszeile oder im Datei-Explorer, dass der Pfad korrekt ist."

 

Also when i change from adapter=runtime to adapter=development it is working.

 

Thanks

 

 

Small Report Log

$
0
0

Hi,

 

I’d like to create a report, or also a simple TXT file in which I want to save the value of a container like Local_2 (but more populated and complex that Local_2:

 

Zuc_Lab_0-1694167875710.png

 

I want to save that report in the same folder of the automatic TS report which path is defined by expression runtime. The problem is that I can’t find that path run-time in order to pass it to LabVIEW. Or a way to access by labview to the name and the value of all the fields of the container.

 

It’s really important for me, is there some one who had the same problem?

 

Best regard, Zuc

Write UUT Serial Number scanned at beginning of test sequence to a text file

$
0
0

Is there a way to get the Serial Number string / value that every default test stand sequence scans and store it to a text file? What variable / parameter is that scanned value even stored in? 

 

I tried using a Call Executable function like in the screenshot attached. But whenever I go to that output file, it is blank. Am I calling the wrong parameter? 

 

 


teststand migration from 2019 to 2022

$
0
0

Hi all,

 

I'm migrating my .NET development arround TestStand plateform.

For that, I changed all TestStand API reference from 2019 to 2022.

I developed an assembly (DLL) which implement edit panel for StepType.

If I use TesStand 2019 with the new build (with 2022) I get an error :

maxmont_1-1694509879848.png

 

I would like to have only version of my DLL usable from TestStand 2019 and 2022.

 

Is it possible to do that?

 

Thanks in advance for your help

Unable to call Labview code module packed in lvlibp

$
0
0

Hi all,

I'm migrating my development from TS2019 to TS222.

I get an error on a san action step which call a VI packed in lvlibp file.

Error message says : 

"TestStand cannot browse into a LabView packed project library file. Ensure the file is a valid .livlibp file. You must use LabVIEW 2010 or later to browse into LabVIEW packed project library files".

 

So I installed Labview runtime 2010 SP1 without success (same error).

On my others PCs with TestStand 2019, it's working and I don't have labview 2010 but Labview 2018.

So I tried Labview 2018 with the same error.

 

Thanks in advance for your help

 

"Unknown variable or property name" error

$
0
0

Hello, im using teststand 2021 sp1 and the problem is the following: im using a custom steptype with some controls and im trying to write a pre-expression to assign a value to one of this controls.

It is a numeric and the name is Step.Parameters.Device_Select. Whenever i try to use this and this control only (there are many others but no problem with those) i get the following warning: Unknown variable or property name "Step.Parameters.Device Select"; If you are certain that the expression will evaluate correctly at run time, you may ignore the error or use th #NoValidation directive to suppress the error.

I double and triple checked the spelling and the labview code of the steptype in question and everything is correct. Anyone got any idea why this happens? and how can i fix it? 

thank you

Teststand batchReport not appending .html to S/N links

$
0
0

Good day folks,

 

So, we are running batch process model and get two versions of reports:

- xml reports (need to open in internet explorer or edge)

- html reports (can open in chrome)

now, there are two types of reports for batch process model as you know and for each, there are two types (xml and html) generated:

- batch report

- socket report

When we open the xml batchReport, we see several links of each socket's S/N that, when clicked, would open each S/N's xml test report.

Each xml file, also, opens normally, fine.

 

-----------------------------------

Now, here is the problem:

-----------------------------------

When we open the HTML batchReport and click the same S/N links that should take us to the each socket (S/N) HTML test reports, 

it does happen but when the link is inspected, the ".html" is missing from the filename.

separately, each socket's html test report, has the correct extension appended and opens fine.

 

T999_0-1694627034754.png

 

T999_1-1694627078725.png

 

The above table sn when clicked from xml batch report is fine BUT when clicked from html batch report, it tries to open the xml instead of html.

It seems that the .html batch report does not append the .html to the socket reports' filenames' extensions

 

T999_4-1694627409331.png

 

T999_3-1694627349304.png

I might be doing something wrong... please do let me know 🙂

 

Thank you!

Parralel Execution

$
0
0

Hi Friends

 

Can we execute 5 fixture Sequence in Parallel with no of testcases?

If Possible anybody please share some Examples which is helpful to develop Applications for Parallel Execution.

 

Thanks in Advance

Unable to create variables under Paramter.Model Plugin.AdditionalOption

$
0
0

Hello Everyone,

 

I m unable to create a variable under model plugin Parameters.ModelPlugin.AdditionalOptions. The insert field option is disabled here.

VipinAMP_0-1694707877463.png

Can you help me to enable this option.

or

is there a way to create the variable under AdditionalOptions?

 

-Vipin

facing errors in the test sequence

$
0
0

I created one test sequence for my project ,the sequence working properly but while I am analyzing in the sequence analyzer it is showing some errors but here main sequence working fine then what is the problem .

 


Labview running in TestStand creating Class not registered error when called repeatedly

$
0
0

Hi - I have a Labview program running in TestStand that launches another application, using automation open with an ActiveX class and pass the opened class out to a local in Test Stand.  Using that reference, I can login to the application, run some functions, then exit close the ref in Labview and set the reference to Nothing in TestStand.  Trouble is, next time the test is run, when I try the automation open, I get a class not registered error.  I end up having to close Labview and then next time, we're fine.  This happens in the dev environment and in a built application (which I exit the program to fix).  If I may have reference still open could this happen?  How can I find it?

Read and edit external calibration date via Test Stand

$
0
0

Hello,

I want to know if it's possible to read external calibration date of my NI instruments with a Teststand sequence.

I am using a PXIe 1085 and pxie-4070, pxie-5105 and pxie-4322.
I want to read external calibration to launch a message when expiration of calibration of some instrument is nearby.

How to continuously record signals

$
0
0

I know that using a for loop can record, but when using a for loop, I cannot perform other testing steps. For example, I want to keep recording a certain signal, and when recording this signal, I can perform other testing steps. However, when the signal exceeds a certain range, I stop testing.

UUT serial number scanned at beginning of sequence, what variable / parameter is it stored?

$
0
0

I've been seeing posts stating that this data gets stored in the "Runstate.Root.Locals.UUT.SerialNumber" parameter, but whenever I call this parameter in any expression I get the "Unknown variable or property name" error retruned back. 

 

Where is UUT serial number stored? I need to access that parameter as I need to write it into a text file for programming purposes later in the test sequence.

 

Thanks,

JD

Passing Callee sequence Local Variables to Calling Sequence

$
0
0

Hello all,

 

I would like to access callee sequence local variables from calling sequence without using any parameters passing method.

Could anyone please advise on this?

 

Best regards,

Thank you.

Viewing all 6256 articles
Browse latest View live


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