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

Report Too Big. Internet exploring Crashing

$
0
0

A report is to big to open 64mb and internet explorer just crash everytime i try to open.

 

any ideas or suggestions?


Can not find station global in labview user interface

$
0
0

Hi, today I was trying to use labview user interface to execute a program i wrote in Teststand, but I encountered an error: "Unknown variable or property name 'StationGlobals.TesterProperty". I couldn't figure out why because the sequence run fine in Teststand.

Since this step is run in the property loader step(I tried to load values into the station globals variables using the property loader step), I put a wait statement after the property load step and rerun it in Labview(thinking it might be a timing issue), the same still occured. I think there's something related to the global.ini file somehow not loaded from Labview interface... But that's just my theory. Can anyone please help? Thanks a lot.

Update "Default Additional Results"

$
0
0

We have a several sequences already built and for several of the custom step types, we've added some "Default Additional Results". These do not seem to automatically get added to the steps that are already in a sequence. If we drag in a new instance of the step from the Insertion pallett, it does have the additional results. 

 

Am I missing something or is there not a way to have these update from the Step Type? It will take A LOT of work to find and update all the steps.

List all steps in a sequence file

$
0
0

Hi Guys,

 

I am new to NI Teststand forum, so this my first topic here. The situation is the following:

Currently I am developing a LV operator interface and I need to have a list of all test step in a sequence file.

I am able to list all steps in a sequence, but in the whole sequence file.

 

Is there any possibilties to do it?

 

Thanks in advance!

Corrupted header in csv file when test errors , or fails first time

$
0
0

Hello,

 

I am having an issue with a corrupted header when my test errors out or fails the first time the file is created.

What I can see is when the sequence context fails, or errors out, the csv file header will stop at that step.

 

Looking into the subVI, there is a For Loop that creates the header of the file.  NumberOfSteps in the test stand sequence are counted and are entered  into the number of iterations for the  For loop to create the header.  

 

 

This vi runs of off LabVIEW 2013.

 

Any help would be appreciated.

 

I have attached the vi in question.

 

Thanks,

 

AlphaDg

 

 

Does TestStand deployment overwrite station globals of stations?

$
0
0

I just want to make sure before I get myself in trouble. Does TestStand deployment overwrite station globals of test stations?

 

The test stations have their individual calibrations stored as station globals, so I would not want to overwrite them.

 

Stephen

Progress Data to LabVIEW UI

$
0
0

Hello Collegues,

 

I am currently working on a minimal LabVIEW GUI for TestStand. The idea is to completely hide TestStand and only showing the LabVIEW FrontPanel with native controls and indicators. This has been working out well so far: I am able to Execute SequenceFiles and Run Sequences. One part that is still missing however is the progress bar. Despite many threads and examples I have been struggling to get progress information from TestStand to LabVIEW. What is the approach here?

The first try was to count the total amount Steps and then compare this value to the executed steps. Since I have been unable to find the number of executed Steps I simply would have polled the ResultList and use the Size of the array to determine how many steps already have been executed. However I failed to get the correct Sequence context and recieved errors when trying to get the ResultList. How do I get the correct sequence context?

The second try was to use the UIMsg_ProgressPercent–(Value: 11) to get the progress information. But the event never fires? As far as I have read, this is an Event TestStand fires automatically or am a wrong in this assumption? If not, on what occation does the event fire? Since we have a respectable amout of Steps and Sequence(File)s it would be a real pain to manually insert steps wich post said Message.

What is your advice? Which path should I continue?

Thanks in advance
Tarik

Numeric Limit Test result recorded to database in different manner dependent on adapter used.

$
0
0

1.0   Problem statement:

If a step using the Adapter: Sequence, uses the Type: NumericLimitTest, its results are not logged to the database in the same manner as a step that uses the Adapters:  LabVIEW or <None> (other adapters may fall in this bin but these are the only others I use). This forces data associated with NumericLimitTest to be retrieved in different manners, duplicating the effort of data analysis tools.

 

2.0   Details

2.1     Steps that use:

  • Adapters: LabVIEW or <None>
  • Type: NumericLimitTest

 

Log measurement results in the following manner:

 

Measurement information is stored in an explicit column for its type (high low limit, compare operator) this is the desired method for ease of data retrieval and analysis.

 

DB Table [PROP_RESULT] (Stores measurement name and measurement value)

 

ORDER_NUMBER

NAME

PATH

CATEGORY

TYPE_VALUE

TYPE_NAME

DISPLAY_FORMAT

DATA

0

Numeric

Numeric

2

0

NumericLimitTest

 

0

 

DB Table [PROP_NUMERICLIMIT] (Stores limit test specific information)

 

COMP_OPERATOR

HIGH_LIMIT

LOW_LIMIT

UNITS

STATUS

GELE

11

9

NULL

Failed

 

2.2     Steps that use:

  • Adapters: Sequence
  • Type: NumericLimitTest

 

Log measurement results in the following manner:

 

All step information is logged to the [PROP_RESULT] table in an Entity Attribute Value model format. (Difficult to work with from a SQL retrieval perspective)

 

DB Table [PROP_RESULT] (Stores data a measurement name, measurement value, measurement attribute(s) name and attribute(s) values)

 

ORDER_NUMBER

NAME

PATH

CATEGORY

TYPE_VALUE

TYPE_NAME

DISPLAY_FORMAT

DATA

1

Numeric

Numeric

2

3

Number

%#.2f

14.95969

2

Units

Units

2

1

String

NULL

V

3

Limits

Limits

2

0

Container

NULL

NULL

4

Low

Limits.Low

2

3

Number

%#.2f

14

5

High

Limits.High

2

3

Number

%#.2f

16

6

Comp

Comp

2

1

String

NULL

GELE

 

 

3.0   Suspected causes  

  1. It is suspected that this might be related to the fact that Sequence Call steps appear to not only be Adapter based but also have a type associated with them, aka SequenceCall type. This type is changed to NumericLimitTest when it desired to evaluate a measurement associated with the sequence call.

 

4.0   Development Environment Configuration:

  • TS Version: Confirmed issue using both, TS2012 and TS2014
  • Database Schema (result recoding config): Using a slightly modified version of the Generic Insert routine (see mod schema attached). I feel this is not related to the mods however I have not had the time to confirm at this point.  The mods are only to add additional information to the UUT_Resutls table.

 

 

5.0   Desired Outcome:

To be able to use steps with the adapter: Sequence of type: NumericLimitTest that log data in the same format as described in part 2.1 of this document.

 

The following workaround could be used but an alternative is desired so that this could be corrected at the test station level so that existing sequence file would not have to be individually updated and validated.

 

 

6.0   Known Workarounds

Use only steps of adapter: Sequence of type: SequenceCall and pass values from sequence call to steps of an adapter: <None> of type: NumericLimitTest for evaluation and logging of the measurement.

 


Test socket does not show as disable

$
0
0
I run batch model and skip socket 1 during the run. Teststand 2014 does skip the socket but when the batch is completed. The display does not the test socket as disable but has a green check mark as the picture show Teststand 2010 working does show the socket was disable while teststand 2014 does not.

VI is not executable in EXE

$
0
0

I am using TestStand 2014 and LabVIEW 2014 SP1 (both 32-bit versions) for my project. We are also using the LabVIEW OI to run the test sequences. One functional global is used in both the code modules called from TS & LV Operator Interface. The global is essentially some settings read from INI file and used by both TS & LV. The LV2 global is used only as a subVI from either the code modules or from the OI. The code is working well with the TestStand Sequence Editor and LabVIEW development system.

 

Before building the executable for Operator Interface, I mass compiled the entire folder that contains the code modules as well as the folder containing Operator Interface code. And then the executable was built. I changed the LabVIEW adapter in TestStand to use the LV RTE. Now when I ran the exe, I got an error.

 

"Failed to load VI <VI Name> in the LabVIEW Run-Time Engine version '14.0.1f1'.

LabVIEW: The VI is not executable. This error may occur because the VI is either broken or contains a subVI that LabVIEW cannot locate. Select File>>Open to open the VI and verify that you can run it."

 

where the VI name is the actual VI name that failed to load and this VI reads the LV2 global mentioned above. Once I put a disabled structure over the LV2 and try to run the sequence, it seems to load this VI but failed at some other VI that tries to load the LV2.

 

Then I changed all the code modules to "Load dynamically" (Before this, the step load option was "Preload when execution begins"). Now when I run the exe, I get the following error: 

 

Failed to load VI <VI Name> in the LabVIEW Run-Time Engine version '14.0.1f1'.

LabVIEW: The VI is not executable. This error may occur because the VI is either broken or contains a subVI that LabVIEW cannot locate. Select File>>Open to open the VI and verify that you can run it.

Error Code: -17600; Failed to load a required step's associated module.

 

 

What am I missing and how can I solve these errors?

 

Thanks,

Saranya

Can TestStand compare two text files

$
0
0

Is there a way for teststand to compare two text files without Labview?  I'm doing some loop testring and I just want to check that FileA is the same as FileB and show the differences if they're not the same.  

Keep Offline Results Processing Utility minimized

$
0
0

I've been using the "Offline Results Processing Utility" to upload data to a database but the utility has the anoying feature of poping up infront of the executing teststand GUI.  I minimize it (to the tray or taskbar) but as soon as a new result is in the inbox to be processed it pops back up.  How do I keep it minimized?

Terminate execution based on step output

$
0
0

Hi all,

 

I am looking for a cleaner way to terminate an execution based on the output of a step. I have a few simple VI's that prompt the operator, these give the operator the ability to cancel the execution as well as continuing the execution.

 

Up until now, I have been setting a local boolean (Locals.TerminateSequence) with the boolean output of the VI. I then check this with an if statement, and run RunState.Execution.Terminate() to terminate the execution if required.

 

I'm fairly certain that I can do this all in the steps post expression, but I cannot seem to figure out the syntax. If my VI has a "cancel" boolean output,what would be the correct syntax?

 

if(Runstate.Step.???"Cancel" ==  True) RunState.Execution.Terminate()

 

Getting the output of the VI is the confusing part for me, but I assume this is actually pretty trivial, and that my google fu is lacking.

 

Thanks!

 

how to acquire the revision of the deployment on the test certificate?

$
0
0

how to acquire the revision of the deployment on the test certificate?

TestStand reference in custom OPUI only valid for special version?

$
0
0

Hello,

i created a custom OPUI with C# that contains a reference to the installed TestStand 2013. Everything works fine.

Now i tried to execute the compiled program on another pc that has only TestStand 2010 - not working any more.

 

Do i have to compile a special OPUI for each TestStand-version? Or is there a trick to avoid this?

 

Thanks


While Loop with Status Expression to Fail the Loop

$
0
0

I'm trying to get a While Loop step to throw a Pass/Fail.

Basically we want to loop on some steps a max of 'X' number of times.

If the Loop condition goes False before the set number of iterations, we want the step to Pass.

If not, we want it to Fail.

It's a Loop Timeout based on the loop counter.

 

I've created a custom While Loop step with the Status Expression enabled so we can build an expression.

 

For testing, the While Loop Condition is simply "RunState.LoopIndex < 10"

The Status Expression is "RunState.LoopIndex == 10 ? Step.Result.PassFail = Evaluate(RunState.LoopIndex == 10) : False, Step.Result.PassFail ? "Passed" : "Failed" "

 

When this runs, the opening While step immediately fails, presumabely due to RunState.LoopIndex not equaling 10. This seems to override the Loop Condition statement.

 

Is this even possible or do I need to build some other logic to make this work?

HTML file path in property somewhere?

$
0
0

Hi,

I know that teststand derives the full html filename and path from the report options.  I'm trying to figure out:

1. Where in the process model the reporting is actually compete, as it appears to create a 0kb file prior to actually populating it.  I know this because I enabled the "generatereportpath" callback, put a breakpoint in there, and it had by that time already generated a placeholder for the html file 0kb long, but hadn't actually populated it yet. 

2. Where in the runstate tree this complete path might be stored.  I've hunted around the runstate tree while paused in the above callback but could not find it.

 

Anybody know?  Would appreciate it,

 

Thanks

David Jenkinson

TestStand UI SequenceView Control background color

$
0
0

Hi, 

 

(I use LabVIEW 2013 SP1, Teststand 2014)

 

I would like to edit the visual properties of the TestStand UI SequenceView Control. (and specifically the background color)

 

I have found this Help page - http://zone.ni.com/reference/en-XX/help/370052N-01/tsuiref/infotopics/seqview_proppage_font_color/

 

Indeed, when right clicking the control and selecting SequenceView >> Properties I am able to access some of the properties of the control in edit mode.

I also set the ApplicationMgr.UseStepListConfigurations property to False as suggested so the properties apply in Run-Mode.

 

What is working -

When I Removed some of the columns, the change also remains in Run-mode,

What isn't working -

When I change the background color (to blue in the attached VI), It applies only in the Edit-mode. In Run-mode it returns to the default grey color

 

Please open the VI attached and see that if you run it, the number of columns is 2 (in Run-mode), and when you set the ApplicationMgr.UseStepListConfigurations property to True, the number of columns (in run-mode) is 4.

 

Questions -

Do you know how can I make the background color apply in run-mode as well ?

Can I access the control properties programmatically ?

 

Amitai.

TestStand UI SequenceView Control and parallel threads

$
0
0

Dear NI community!

Could you, please, help me with the following - how to display test sequence results on LabVIEW operator interface, using TestStand UI SequenceView Control, when there are two parallel threads running? I'd like to use Parallel Process Model, and have on operator interface two separate TestStand UI SequenceView Controls. And, to display on each of them, correspondetly, one or another thread execution. How to assign this control to one of parallel threads?

Thanks a lot in advance!

Custom Operator Interface to show multi-thread results

$
0
0

Dear NI Comunity,

 

let me describe my problem:

 

The test in TestStand should be tested paralell, i need to use model based on Parallel Model.seq.

The executed test steps from all threads needed to be tracked in Operator Interface as shown on the picture below (in one VI).

 

 

Thank you for any recommendation!

Viewing all 6227 articles
Browse latest View live


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