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

Best way to do a simple Boolean test?

$
0
0

Hello All,

 

  Trying to do a simple Boolean test, but it is proving to be more complicated than I would have expected.  Hoping that I am missing something simple.

 

I have a Labview code module that provides a Boolean value for the output.  I want to evaluate this value and provide pass/fail results to the report.  Sounds simple, but here is what I am running into:

 

-The built-in NI step type "Pass/Fail Test" will evaluate the Boolean directly with True=Pass, and False=Fail.  This would be fine, except that I have situations where I need False to equal Pass.  I've read a few posts that speak of inverting or negating the Boolean result, but they all involve passing the result to a parameter or variable, and then evaluating it outside of the test step.  This adds several layers that I don't think I should need.

 

-I have read a post that suggested I convert the Boolean to a numeric inside of the code module.  This does indeed make sense, but this is not practical in my situation because of the scale and implementation of my code modules.  I use custom type definitions for controls and indicators from a Labview project, and would have to create a new control/indicator for every one if I wanted to change the data type.  

 

-Next logical step was to see if the "Numeric Limit Test" would recognize a Boolean.  Turns out it doesn't.     

 

-After this, I looked into creating a custom step type.  This would probably be the most useful, but it is beyond my current ability to do so.  I got as far as making a copy of the built in step type and putting it in the custom "MyTypes" directory, but I have made very little progress in editing it to make it a work.  Additionally, I've read a few posts that recommend avoiding custom step types.  

 

Hoping someone can point me in the right direction.  Please advise.

 

Thanks,

GSinMN    


Create Custom Data Type from Labview Tab Control?

$
0
0

Hello All,

 

  I have a previously created Labview VI that I have been using for a TestStand Code Module.  I am trying my best to keep the front panel well organized and user friendly so that I can continue to reuse it for manual testing (outside of TestStand).  One issue with this is that I have a large number of controls organized in a Tab Control container.  TestStand does not seem to recognize a tab control as a container.  From what I can tell, it only recognizes it as the I32 enum that it uses to select tabs.  I have successfully created custom data types for TestStand from Labview clusters, so I know it would work if I pulled all of the controls and indicators out of the tab control and put them into a cluster, but I don't want to do this because it would make the front panel too big to view/use.

 

Any suggestions for either :

A.) An alternate Labview container type that TestStand will recognize, but still allow for "stacked" controls.

B.) A way to make TestStand treat a tab control more like a cluster when it is imported as a parameter.

 

Please Advise.

 

Thanks,

GSinMN 

how to click several buttons at once on Popup Message

$
0
0

hello
I havebeencreating5boutonsonPopupMessage[ "Can1", "Can2".....]andthatwe canclickonce toexecutetheprogrammegCan1SequenceorCan2Sequence.
  I 'like to know ifit ispossibletoclick on twobuttonsat a timethat is to saycan clickthe samebuttontwiceor clickingtwo differentbuttons andcanexecuteboth programsin parallel.

 

Issue with Sequence files Combobox loading all files

$
0
0

hi there,

 

In teststand Simple operator Interface  the Sequence files Combobox loads all the files on execution.

 

How do I  restrict it to 1 or  else disble from loading the same.

 

the reason this ? arises is bcos some Seqs have code in SeqfileLoad Callback   and this causes problem

 

The "ReloadSequenceFilesOnStart" Property  = 0 Reload_File_None

 

have anyone had  same Issue

 

regards

akshay

Parallel testing in TestStand.

$
0
0

Parallel testing in TestStand.

Hi,

I’m using the parallel process model testing multiple units which are the same (same type of card in a few different test fixtures). I see dependency between sockets. Test step just stops in one socket and will not continue until test step in another socket finishes. Also, test time for each socket increases up to 80% comparing to test time when I run only a single socket. I do not control any external test instruments.

Are there any hidden dependencies between sockets when I use the same test sequence in the Parallel process model? How can I improve test time?

Thank you,

Henry

How to display multi-line text in XML report?

$
0
0

Hello,

 

I am using the default stylesheet that comes with TestStand 2013 (TR5_Horizontal.xsl). Some of my test steps pass multi-line text to Step.Result.ReportText. I'm using a LabVIEW adapter, and the strings are cocatenated with the EOL constant.

 

Unfortunately, when I open the ATML report, the EOLs don't get printed -- the multiple lines get squashed into one long line.

 

How can I print multiple lines? I found a reference to RemoveIllegalCharacters in http://zone.ni.com/reference/en-XX/help/370052K-01/tsfundamentals/infotopics/report_stylesheets_details/ but can't figure out how to use it.

 

 

Thanks in advance!

Problems creating callback VI

$
0
0

Hi,

 

I stumbled over some strange behavior....

I tried to register a TestStand ActiveX callbacks, but I'm facing multiple problems:

 

Callback.png

 

 

My first attempt for assigning the callback VI was the right-click "Create Callback VI" which brings then up a template VI which in my case reports the following errors:

 

error.png

 

Albeit, both typedefs are considered ok (at least) for all the rest of this application....

So I manually deleted the "broken" controls and replaced them with the typedef'ed one and wired them up to the connector block.

 

The problem comes up at runtime: the Register for callback node returns Error 97: LabVIEW:  A null or previously deleted refnum was passed in as an input.

 

What am I doing wrong?

 

Cheers

Oli

 

2 Different Sequences in Parallel working as FIFO

$
0
0

Hello to all,

 

I would like to know, what is the best way of executing 2 different test sequences in parallel.

The Test Idea is Simple.

 

The picture below ilustrates what is pretended.

In order to improve Test Times on a DUT, the Test was Splitted in 2 (Teste2 and Teste1).

 

Test Procedure:

1- The Operator Receives the DUT, and Inserts the S/N.

2- If everything is OK with the S/N, then the Operator puts the DUT1 on Teste1, otherwise it goes to scrap and inserts a new S/N.

3- DUT1 is Submited to the Tests implemented on Test Socket Teste1

3- If Teste1 is Sucessfull, then Operator puts DUT1 on Test Socket Teste2, and inserts the S/N of DUT2, and puts the DUT2 on Teste1

 

So the idea is that a particular DUT is submited sequentally to Teste1 + Teste2, but these Tests run in Parallel.

 

What is necessary:

- Start and Finish Teste1 and Teste2 at the samme time

- Have a report per DUT S/N (eg. report is the sum of report of DUT1 in Teste1 and DUT1 in Test2)

- It would be nice to see progress of both sequences as they Run.

- Test2 should not start if DUT failed on Teste1

 

 

teste.jpg

 

Dificculties:

- The Parallel Process Models, only works nice for equall Sequences, and not different ones.

               Idea 1. Ideally the Main Sequence would be composed of both Teste1 and Teste2 Sequences (Since the DUT must be submitted to both Tests), and this Main Sequence Running in Parallel, while dinamically closing and starting new Sequences, between Teste1 and Teste2. The functionality would be similar to a FIFO of 2 running Sequences Composed by Teste1 + Teste 2

 

- If not using Parallel Process Model, one way to go would be to start one of the sequences in a new Thread, but altoutgh this works:

                - It's not an elegante Solution.

                - Only one of the Sequences is Showing Progress Status

                - Report will be a mess

               Idea 2. Run one or both Teste1 and Teste2 as new Threads, with Teste2 having the ability of append to previous Teste1 Report (same DUT, with same S/N).

 

Question: What is the best way to implement this (is there any other idea)? Is possible to Implement Idea1?

 

Thanks in advance.

 


How to manage a debug deployment in a production environment

$
0
0

One of the advantages of the Base Deployment is that the test station is locked down, for example operators cannot open and edit LabVIEW VIs. AFAIK a debug test station is wide open like a development machine, except for TestStand User Manager restrictions.

 

How can I have a test station that is locked down, and then open it up for debug as needed? Dual booting the computer seems like a solution. Or maybe just have an open debug station and trust the trained operators to not mess with it. Can anyone share their solutions? Thanks.

cc

Updating Test Limits within the Sequence

$
0
0

At the start of my sequence, I load all the test limits, for all 10 test items,  from a database, and save it in an array.

 

I now need to update the limits set in the seq, for all 10 test items.

 

Any one know what the best way is to scan through all the seq items until i find the correct test, and then update the limits ?

 

Many thanks

teststand 无响应

$
0
0

我的teststand 每次运行后到生成报告那里就没有响应了,重装也不行,请帮忙看看。谢谢

teststand no response

$
0
0

teststand no response after excution and before report created.please have a look , thanks.

Adjust limits on the fly ?

$
0
0

I need to adjust the numeric test limits of some of my steps in the sequence file.

 

Is is possible to create a VI at the start, which will allow me to adjust the values found in Runstate-Sequence-Main .... ?

 

Would appreciate any info and advice

 

Thanks!

 

 

如何音频无损失播放

$
0
0

我现有的设备是NI USB-4431,对采集的音频质量要求较高,请问应该如何搭建环境,才能保证播放出来的声音没有任何损失呢?重点是在音箱、声卡等设备选择还是参数设置上呢?

TestStand Report in xUnit format

$
0
0

Hello,

I need to get NI TestStand reports in xUnit format.
Is there any possibility to generate the reports directly in xUnit format or to convert already generated reports (XML or other format) to xUnit?


Thanks in advance


The following LabVIEW project items conflict. Open the project and resolve the conflict.

$
0
0

Hi all,

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

Error: The following LabVIEW project items conflict. Open the project and resolve the conflict.

 

DeploymentProject_00009.lvproj, C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Utility\error.llb\Error Cluster From Error Code.vi DeploymentProject_00009.lvproj, C:\Program Files (x86)\National Instruments\LabVIEW 2012\user.lib\maxon EPOS\EPOSLibrary.llb\Error Cluster From Error Code.vi DeploymentProject_00009.lvproj, C:\teststand_Nockengeber\teststand_Projekt\Resources\WAGO_UDP.lvclass DeploymentProject_00009.lvproj, de01d\OP-IE\Pruefmittelbau\Bibliotheken\Nockengeber\ProCamUSB\DLL2.3\ProCamUSB.llb\open_ProCamUSB.vi DeploymentProject_00009.lvproj, de01d\OP-IE\Pruefmittelbau\Bibliotheken\Nockengeber\ProCamUSB\DLL2.3\ProCamUSB.llb\getPosition_ProCamUSB.vi DeploymentProject_00009.lvproj,de01d\OP-IE\Pruefmittelbau\Bibliotheken\Nockengeber\ProCamUSB\DLL2.3\ProCamUSB.llb\getConfigData_ProCamUSB.vi DeploymentProject_00009.lvproj, de01d\OP-IE\Pruefmittelbau\Bibliotheken\Nockengeber\ProCamUSB\DLL2.3\ProCamUSB.llb\doPreset_ProCamUSB.vi DeploymentProject_00009.lvproj, Nockengeber_Programmierplatz:\Nockengeber Programmierplatz\B_Command-UDP\Seng\WAGO_EAL900_PRG Ordner\Wago_EAL900_PRG.llb\Close_UDP.vi DeploymentProject_00009.lvproj, C:\teststand_Nockengeber\teststand_Projekt\Resources\Close_UDP.vi DeploymentProject_00009.lvproj, de01d\OP-IE\Pruefmittelbau\Bibliotheken\Nockengeber\ProCamUSB\DLL2.3\ProCamUSB.llb\close_ProCamUSB.vi DeploymentProject_00009.lvproj, Nockengeber_Programmierplatz:\Nockengeber Programmierplatz\B_Command-UDP\Seng\WAGO_EAL900_PRG Ordner\Wago_EAL900_PRG.llb\ WAGO_EAL900_PRG.lvclass DeploymentProject_00009.lvproj, C:\teststand_Nockengeber\teststand_Projekt\Resources\Wago\WAGO_UDP.lvclass DeploymentProject_00009.lvproj, C:\teststand_Nockengeber\teststand_Projekt\Resources\ProCamUSB\ProCamUSB.llb\open_ProCamUSB.vi DeploymentProject_00009.lvproj, C:\teststand_Nockengeber\teststand_Projekt\Resources\ProCamUSB\ProCamUSB.llb\getPosition_ProCamUSB.vi DeploymentProject_00009.lvproj, C:\teststand_Nockengeber\teststand_Projekt\Resources\ProCamUSB\ProCamUSB.llb\getConfigData_ProCamUSB.vi DeploymentProject_00009.lvproj, C:\teststand_Nockengeber\teststand_Projekt\Resources\ProCamUSB\ProCamUSB.llb\doPreset_ProCamUSB.vi DeploymentProject_00009.lvproj, C:\teststand_Nockengeber\teststand_Projekt\Resources\ProCamUSB\ProCamUSB.llb\close_ProCamUSB.vi DeploymentProject_00009.lvproj, C:\teststand_Nockengeber\teststand_Projekt\Resources\Wago\Wago_EAL900_PRG.llb\ WAGO_EAL900_PRG.lvclass

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

 

above is the log from my Teststand Deployment utility 

1. does any one know "DeploymentProject_00009.lvproj"  how testsand assign these nos and where do I see this proj

 

2. If Icheck my labview projects there are no conflicts (everthing clean and clear ) only in teststand  deployment. Has anyone similar issues.

 

the testsand  finds the same file at a local and  server location  though i only use  the local  location in Labw Prj.

niScope Initialize.viThe specific niScopeDAQ or niScopeDMF dll could not be loaded.

$
0
0

I am getting this error when I try to use both IVI-SCOPE and NI-SCOPE in TestStand.  I make sure to close each reference before I use the next, but it seems like whichever one is called first will not release its reference unless I reboot the PC.  I wrote a LabVIEW VI that initializes the scope using IVI, then closes it and opens it wth NI-SCOPE and this seems to work fine  However, when I try to execute a sequence in TestStand that should effectively do the same thing, I get the following error when calling niscope Initialize. 

 

Details: "niScope Initialize.viThe specific niScopeDAQ or niScopeDMF dll could not be loaded."

Error Code: "-1074118608; User-defined error code."

 

I need to use both because the IVI drivers do not support phase measurements.  If anyone has any suggestions to fixing this, I would really appreciate it!  I'm using LabVIEW 2013 and TestStand 2013 and my scope is an NI PXI-5112.

 

Thanks

Develop and debug test scripts using National Instruments' TestStand language? 5 years experience

$
0
0

SYSTEMS INTEGRATION & TEST

 

Position Summary:

Analyze customer (commercial and military aircraft) requirements and develop system test documentation including test plans, test case descriptions, test procedures and test reports. Develop and debug test scripts using National Instruments'TestStand language. Execute system tests and analyze and document results.

 

Position Responsibilities:

. Support all phases of project development including design, reviews,

verifications, and test

. Develop test plans, test cases and test procedures per the

documented requirements and verifications plans to verify and validate the operation of aerospace avionics and software

. Develop and debug test scripts usingNational Instruments' TestStand

language including the development of the pass/fail criteria

. Analyze and resolve all test discrepancies

. Document all test results in test reports

. Interface with Systems and Software engineers to ensure that key

system features function as expected

. Prepare and present internal and external technical design reviews

 

Essential Skills and Experience:

. 5 years of aerospace system test experience including

hardware/software testing

. Knowledge of system hardware/software development and test for

aerospace applications

. Experience in scripting languages such as National Instruments

TestStand, Python, or Perl

. Experience using oscilloscopes, function generators and DMM

. Expertise on Agilent VEE or LabView software a plus

. Working knowledge of systems engineering tools such as DOORS,

Clearquest, and Rational Development Tools

. Previous experience in RTCA/DO-254/DO-178 processes and FAA

Certification

. Experience with Microsoft Office including Word, Excel, Powerpoint

and Project

. Excellent communication skills (written and oral)

. Strong attention to details, highly organized

. Ability to work in team environment

. Ability to work well in a fast-paced professional office environment

 

Minimum Education Requirements:

BS Computer Science, BS Software Engineering, BS Electrical Engineering

 

Duration: approx. This is an 8 month contract in Southern California.

Please let me know your thoughts? Give me a call to discuss in further detail. 813-854-1500 x33 (Richelle@Bentleygr.com)

 

 

How can i changed message popup coordinate?

$
0
0

 

 I want do parallel test so i want to change message popup coordinate. I found top coordinate and left coordinate tab but i dont know what to write there. Thanks for help.

get station model

$
0
0

Dear All,

 

I'm using c# user interface example and I would like to know what kind of station model and how many stations the sequence is configured.(before executing the sequence)

 

How can I get the type of station model (batch\sequential) and No. of stations with the relevant objects (axApplicationMgr\axSequenceViewMgr\axExecutionViewMgr)

Tnx

Viewing all 6525 articles
Browse latest View live


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