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

Can I import module parameters to create variables automatically?

$
0
0

Hello All,

 

  I am attempting to re-use an existing Labview VI as a code module in TestStand.  There are alot of input and output parameters, and I need to create a seperate variable for most of them (probably file globals) so that I can change the values dynamically during the test sequences.  I see that when the code module is loaded, the associated parameters are automatically imported into the step settings, but I would like to know if there is a way to automatically create variables by "converting" the parameters from the code module.  I've read a few threads about dynamic variable creation, and the property loader steps, but these don't seem to have what I am looking for.  Please advise.  And, as usual, if it sounds like I am misunderstanding how TestStand operates, please correct me.  I'm only a few weeks into using it.  Thanks much.  

 

GSinMN


deactivate error dialog

$
0
0

Hi,

 

additional to my last post I have a question.

 

I heed the hints of the users reply my last post concerning "don't ignore run-time errors", I checked it if it's usable for my tests.

 

There is only one problem I can't solve...

If I don't ignore run-time errors I get the (default) dialog-box from TS where I can choose further flow of the sequence.

 

Can I deactivate or catch this dialog completely without activating "ignore run-time errors", "run cleanup" or "abort"?

 

Heiko

Writing Variables by using their Name from another string

$
0
0

Hey guys,

 

I just started to use TestStand and I have got the following question:

 

I have 2 fileglobals:

FileGlobals.Limit1 and FileGlobals.Limit2

 

The User will define the fileglobals in an INI File and the names and values from the files will first be stored in 2 Arrays.

Array of string: FileGlobals.ArrayNames  (Element 0 is "Limit1" and Element 1 is "Limit2")

Array of number: FileGlobals.ArrayValue (Element 0 contains value of "Limit1" and Element 1 contains value of "Limit2")

 

In one step I check if the name in the array is a fileglobals: In other words: Does FileGlobals.Limit1 and FileGlobals.Limit2 really exist.

PropertyExists("FileGlobals.ArrayNames[0]") and PropertyExists("FileGlobals.ArrayNames[1]") 

 

Now I know that the Globals exist. the next step is saving the values of the Array (FileGlobals.ArrayValue) in the FileGlobals Limit1 and Limit2.

 

Is there a possibility to avoid the following:

Fileglobals.Limit1 = FileGlobals.ArrayValue[0]

 

I would like to use something like this:

FileGlobals."FileGlobals.ArrayNames[0]" = FileGlobals.ArrayValue[0]

I know that the Fileglobal really exists and I know the name of it. This would make later changes in variable names more easier in this case...

 

I hope you know what I mean and you can help me.

Thanks a lot!

 

Walter 

TestStand 2012 SP1, Batch Model Error

$
0
0

I am getting an Error 509; User-defined error code.  Details says:  An error occurred while performing batch synchronization on the step.  Screen shots of the Sequence and Error Message that caused the error.  Only happens on/after the 3rd or 4th Batch, was happening on 4th now seeing on 3rd batch with this sequence.  The ScanWorksCOMServer.dll was not built by me, it was with ScanWorks for JTAG Testing.  Any ideas?

 

TestStand Sequence.jpgI

RuntimeError.jpg

How to implement the sequence view controls in the customized LabVIEW UI

$
0
0

Hi,

 

I'd like to use LabVIEW to run the TestStand Sequence, and show the execution windows in the UI.(something llike the attached image)

I followed my senior's method : connected the sequence view controls into the TestStand UI Execution View Manager as objects.

Then use the register event callback to build a callback VI.

The callback VI is checking which the RunState of the Execution Manager is stopped and assigning the execution to that Execution Manager.

Though it works, but really confuses me, needless to say to you all.

Could someone give me some suggestion how to show the execution windows in the LabVIEW UI? I'll appreciate your help.

 

Reporting mechanism on HTML report file, using TestStand 2012 SP1

$
0
0

Hi,

 

I am using TestStand 2012 SP1, where the reporting mechanism is configured to be in HTML format.

I am not getting the full report of the sequence file which is executed, however I get a part of it printed on the HTML file.

 

The following are the configured "Report options",

 

===========

Contents Tab:

===========

Report Format : HTML Document

Default Numeric Format : %$.13f

Include Step Result: Checked

              Result Filtering Expression : Result.Status=="Failed"

              Include Test Limits : Checked

              Include Measurements : Checked

              Include Arrays : Insert Table

              Filter : Include All

Include Execution Times : Checked

On-The-Fly Rporting and Only Display Latest Results : Checked

Select a Report Generator for producing the Report Body : DLL

 

===========

Report File Pathname Tab:

===========

 

Generate Report File Path : Checked

       File Name/Directory Options : Specify Report File Path by Expression

       Report File Path (Sequential Model) :

                        StationGlobals.TopLevelReportPath

                        +RunState.ProcessModelClient.AsPropertyObjectFile.DisplayName+"Report_[<FileDate>]<Unique>.<FileExtension>"

 

 

Please let me know a solution to this problem.

 

Thanks,

Dharani

       

TestStand Base Deployment License - Custom Process Model and Custom Report Generation

$
0
0

Hello,

 

One of my customers has created a custom process model from the default sequential process model. He's built an installer and wants to run this on a PC which has the TestStand Base Deployment License. He also wnats to do custom report generation. However, the sequence only picks up the default sequential model while it runs. It does not pick up the custom process model.

 

The question is - Is custom process model and custom report generation possible with the base deployment license?

 

Thank you,

Dhruv. 

How to get all step names within a group or a sequence?

$
0
0

Hi,

 

I'd like to show all the names of the steps within a sequence or a group.

I wonder if there is a simple function which can be used directly, such as RunState.PreviousStep.Name.

I tried via a foolish way to append each step name, though it shows all the step names but I still think there is a simple function can access all the step names.

Can anyone give me some suggestion, thanks a lot!!!


TestStand Results Database Logging

$
0
0

Hi, I am curious how many TestStand users configure data logging to a database and if so:

 

1) What database do you use?

 

2) Do you use the generic TestStand database schema?

 

3) What tool(s) do you use to review the data once it is stored in the database?

 

Thanks!

waveform log to database

$
0
0

Hi all:

    I had got a waveform from oscilloscope by a labview vi and saved it as labviewAnalog waveform type.   I want to log it to database (Prop_Analog Waveform tabel).  How can I do?

Forcing Single Pass entry point

$
0
0

Hi all

 

I have a sequence based on the sequential model that I only ever want to enter as single pass. I am driving myself slight crazy as I keep clicking “Test UUT(s)” rather than “single pass”. Is there a call back or expression I can add that will force the sequence to run as single pass regardless of which button I click?

 

Many Thanks              

Dave B

 

P.S Happy new Year

How to Put Serial Number in "UUT Information" Screen

$
0
0

 

Hi guys!

 

I'm reading the Serial Number using a Cemera and a 2D code on Units, and I would like to put the serial number in the corresponding box of "UUT Information".

At this time I'm puting the serial number on Report using "RunState.Caller.Locals.UUT.SerialNumber".

 

I need to keep the "UUT information" screen on front.

 

Thank you

Modify UUT.jpg

Is TestStand 2013 compatible with Visual Studio 2013?

$
0
0

Is TestStand 2013 compatible with Visual Studio 2013?  Has anyone used them together?

Creating exe TestStand interface - problem with rights

$
0
0

Hi,
I'm trying to make and exe file out of 'Teststand_interface_VI_.vi'. I found that interface somewhere on the internet. Although when I try to put it into the project and create an exe file after clicking 'build' I got and error that I have not needed rights. I also tried to log in on windows on administrator account.
Error:

Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:

Error 8 occurred at Copy in AB_Engine_Copy_Error_Files.vi->AB_Application.lvclass:Copy_Error_Files.vi->AB_Application.lvclass:Copy_Files.vi->AB_EXE.lvclass:Copy_Files.vi->AB_Build.lvclass:Build.vi->AB_Application.lvclass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller

Possible reason(s):

LabVIEW:  File permission error. You do not have the correct permissions for the file.
=========================
NI-488:  DMA hardware error detected.

C:\Program Files (x86)\National Instruments\Shared\LabVIEW Run-Time\2012\errors\CDTest-errors.txt 

 Do you know any solution to it?

 
Files are in the attachemnts.

Michał.

Some Executions Are Not Terminated by Using Terminate All in Parallel Process Model

$
0
0

Hi,

 

This issue confued me recently, I'd like to use a parallel model process, and to terminate all execution at once.

If there's some action steps in the sequence, it seemed all execution will be terminated.

However, I put a wait function instead of action steps, there are some executions not terminated while I pressed the Terminate All button in the toolbar.

Hope someone can give me some help. Thanks a lot.

 

ps. the number of testsockets is set to 9 in my teststand.


Temporary Result files (html, xml)

$
0
0

I find TestStand creates temporary .html and .xml files in the seq folder and also the directory where the results is saved.

This is when using HTML reports, and specifying the path (avoiding the temporary results check-box option)

 

Any one else also experiencing this ?

Problem by Message Popup Teststand

$
0
0

Hello

sorry my English ist not perfekt:smiley sad:

 

 I havecreatedan opportunityto make a choiceof 5elements on Message (Foto) sothat whenifyouselected  Can1,only Can1be executed andto achieve thisIhave to goonPropreties->Expression->Postexpression towriteacondition whereLocals.CanTypedeclaredisequalsone ofButtons

in an exampleTeststand"computer6"Isawitonwritingthis expressionattermPost Expression :

Locals.CPUType= ((Step.Result.ButtonHit== 2)"AMD": "INTEL") <<  this conditionisvalid for2buttons>>

 

Theproblemis:how canIwritea condition on thePostvalidexpression for5buttons  ie that wemust choose betweentheCanX,Can1,Can2,Can3orCan4.

thank you in advance

ProcessModelPostStepFailure finding Parameters Step Type

$
0
0

Hi all

 

Wondering if anyone can help. I am creating a custom process model based on the NI single pass sequential Model. I am currently working on a popup that is displayed in the 'ProcessModelPostStepFailure' callback. It will display to the operator the test results and allow them to select retest, ingore failure or quit. I have almost all the functionality i want however i would like to know what type of step has failed (action, numeric limit test ....) so i can display the results in a more meaningfull manner. Does anyone know how to get this property ideally from labview but if not a TestStand statement would be great.

I have attached a image that might better explain what i am after

 

Many Thanks  

 

 

 

 

Programmatically loop through multiple measurement limit tests

$
0
0

Hi all,

Its pretty common for me to have to check multiple voltages on a device in manufacturing.

 

I'm looking for a way to create a generic sequence, that I feed a file to that, governs how many times to loop though a voltage measurement subVI.

 

I'd like to pass an array like this via a file.

 

Testname  |  Voltage Limit High | Voltage Limit Low

Item 1       |    3.2                     I      3.4

Item 2       |    4.8                     |      5.2 

 

Which would cause the VoltageRead.VI sequence (Theoretical VI) to loop 2 times and report a voltage each time which gets evaluated against the upper and lower limits.

 

I can do it in labview with teststand passing the file name to a DynamicLoopVoltageRead.VI and spit out a boolean array of pass/fail but I would like to know if there is a more elegant method in test stand.

 

Any help is greatly appreciated.

 

Thanks,

_Chris

Sequence header at the end of the sequence in the report

$
0
0

Good afternoon everyone,

 

I have a strange issue with my TestStand Report (any kind of report type) : some time ago the headers (with the name, the parameter's values, the module time, the status) of the sequence and sub-sequence were at the begining. Now they are a the end of the sequence, which means instead of having the status of the sequence first, I have the status of all the steps contained in the sequence BEFORE having the status of the sequence.

 

I have checked and double checked the Report options : nothing tells that the headers must be at the end.

I have 2 bench on which my sequences are running and one of them has the sequence headers upside down in the report and the other has the headers in the proper order. Their report options are exactly the same and I can't find where the configuration is different !

 

Does anyone have some idea ? Please ?

 

TestStand revision : 2010

Viewing all 6527 articles
Browse latest View live


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