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

Simple Gui Start Button

$
0
0

I'm using the TestStand 2010 simple gui, (Labview).

 

Problem I have with it is that it allows you to press the "Start Test" button multiple times, creating a instance of the test seq each time the button is pressed.

This causes a big problem for my system.

 

Is there anyway to disable the "Start Test" button after it has been pressed once, or only to allow one instance of the sequence to run ?

 

Thanks


Need new result file for each iteration of a loop

$
0
0

I am using TestStand 2010 SP1.  I have a main sequence that essentially does the following:

Initialize the test equipment and set up the test environment [Sequence Call]

Start Loop

Run Tests [Sequence Call]

End Loop

Because testing can continue for hours, the resultant report file is enormous and difficult to evaluate. I need to create a new result file for each loop iteration.  I know that starting a new execution of “Run Tests” will create a result file for each iteration of the loop, but the new execution will not have access to the handles to the test equipment that were made during initialization.  The testing is time critical, therefore initializing the test equipment and setting up the test environment must occur outside of the loop. 

 

How can I programmatically create a new result file at the beginning of the loop and close the result file at the end of the loop?  I am open to any other suggestions.  Thank you in advance for your help!

how to access file globals of a sequence file from within a different sequence file

$
0
0

I have a SeqA.seq with a number of subsequences that I access by checking the "Use Current File" box.  However, we had developers creating two other sequence files (B, C).  SeqA is the primary sequence file and calls SeqB and SeqC (as part of its Setup stage).  SeqB performs a number of RF Normalization tests that store path loss information in file globals (within SeqB.seq).  My question - Can SeqA.seq access the file globals within SeqB.seq?  If so, how is that accomplished?  I don't want to have to embed SeqB inside of SeqA if I don't have to.

Property Loader SQL

$
0
0

Hi,

 

We are loading the Limits from Access with 'OpenDatabase Step', 'OpenSQLStatement Step' and the 'Property Loader'. This worked fine for years. Now we moved the Limit-Database to an SQL-Server. The SQL-Querry remained absolutly the same because the Database Schema is the same:

 

SELECT Tbl_Stepname.Stepname, Tbl_StepLimit.LowerLimit, Tbl_StepLimit.UpperLimit, Tbl_StepParam.ParaString
FROM Tbl_StepParam INNER JOIN (Tbl_Stepname INNER JOIN (Tbl_StepLimit INNER JOIN Tbl_SeqProperty ON Tbl_StepLimit.StepLimitId = Tbl_SeqProperty.StepLimitId) ON Tbl_Stepname.StepNameId = Tbl_SeqProperty.StepnameId) ON Tbl_StepParam.StepParamId = Tbl_SeqProperty.StepparamId
WHERE Tbl_SeqProperty.LimitParamSetId=112;

 

For Loading the Limits and the InBuffer the Step-Property-Loader needs !!! 17.257 sec !!! when we are working with the SQL-Server (to load 143 Steps). 

The Same  Data with the Access-Database needs 0.154 Sec.

 

I don't unterstand what the Step-Property-Loader is looking for.

Of Course in the SQL-Server-Database are much more data, but the result of the mentioned querry is 143 Records.

 

The previous Open SQL-Statement-Step works very fast and the local variable 'NumRecords' has the value of 143 as expected.

 

I tested the Querry with the Database-Viewer-Tool in TestStand. No Performance Problem occured. I also tested the Querry in the SQL-Server-Managment Studio and

everthing works fine.

 

 

We have installed:

-SQL-Server 2008

-TestStand 4.2 (Engine 4.2.1.83)

-CVI-2010 10.0.1 (419)

 

Does anybody know these problem? Perhaps we have to update TestStand to a newer Version?

 

Thank you for your help

 

Best Regards

 

Paul Bühlmann

I reported a bug, can i track its progress?

$
0
0

A while back I had an issue with TestStand/LabiVIEW integration. After talking to support they said that it was a bug and gave me a Corrective Action Request (CAR) number.
I was curious if i view the progress of my request? or perhaps be notified if its ( confirmed / rejected / escalated / fixed). 

 

In my case the CAR was 415334. I did a few searches and I can't seem to find any tracking system available to the general public. Perhaps I am not looking in the right place.

PreBatch Callback not executing in TestUUTs

$
0
0

Using and OI I call Teststand and run a single sequence. It is an extremly simple seq. 

 

it contians a callback to PreBatch.

-Call a VI (show the front panel)

-Statment (continuetesting= false)

and a MainSequence

-it is empty.

 

when i use this sequence on the development pc it works as expected i can press testUUTs and it pulls up the VI, i can push buttons (life is good).

But when i deploy it and pust (testUUTS) it skips the Prebatch stuff and asks for serial numbers (its not using my callback).

I have to select prebatch and run prebatch in order for it to work.

 

Any Ideas?

testing please disregard. Question mark?

Close reference in postUIMessage

$
0
0

I pass a big container as an ActiveX parameter of the PostUIMessageEx from TS to the UI, as a property object.

 

I typecast the ActiveXData variant to TS.PropertyObject, then I process the data. The question is, do I have to close the PropertyObject reference after processing?


TCP Callback function passing data to teststand

$
0
0

Hi,

 

I'm trying to pass data via a TCP Callback function to teststand using the TCP steptype that I downloaded from Ni.

When I open a connection, container data is passed to the dll on which it creates a connection, the dll in part creates a TCP Callback function.

The handle obtained from the connection is then passed back through the container data, and the dll returns back to the sequence editor which will execute the next steps.

 

The problem is that when the TCP Callback function gets an TCP_READY event it can not pass data to TestStand because it can not access the container data.

 

How can this TCP Callback function pass/alter data to/in Testand?

 

Thank you...

Using the sequence analyzer in a Teststand custom editor

$
0
0

We have written a Teststand custom editor in C# and want to add the sequence analyze functionality. I have a few questions about that.

1/ I do not find information in the Teststand API concerning the sequence analyzer, except that the executable can be launched. Does this mean that it is not possible to integrate this functionality in a custom editor? Are there plans to do this in the future or for a next release?

2/ After launching the AnalyzerApp.exe from a C# project with as argument the default tsaproj file, I have to manually specify my sequence file to analyze. Is there a command line argument available to specify the sequence file to be analyzed. Can I get a complete list with all available command line arguments?

3/ After analyzing a sequence, the result window is stuffed with all messages. When a message is double clicked in the analyzer result window, the default SeqEdit.exe is launched, even in case the SeqEdit is not running. After logging in, the correct sequence is loaded and the applicable step in the sequence gets the focus. Is it possible to set our custom editor as default for the analyzer and get the result messages in the custom editor?

4/ If question 3 is not possible, is there another way to get the result messages from the AnalyzerApp exe in a C# application?

Best regards

Patrick

 

 

Realesing objects in Teststand

$
0
0

 

Using TestStand 3.5 with the debugging options on, I get the following debug message when exiting the

CVI Test Executive after running a program.

 

--------------------------------
Reference to PropertyObjects
42
4 Top Level

Type Definitions : FCParameter
Type Definitions : Expression

PropertyObject
Name : Hidden
Type : Boolean
Value : False

and the following uncategorised objects
DllParameter (FCParameter)
---------------------------------


Any ideas as to what objects I haven't released? The Test Executive has worked fine in the past but

seems to be showing this behaviour after Printing via the ReportView ActiveX Print button and then

exiting. Is this possibly a known issue with TestStand 3.5?

 

 

save report in TDM format

$
0
0

hi,

 

my org. needs the report to be saved in TDM format (standard format in our Org.)

 

we have recently implemented teststand

 

is there a TDM plugin available for   teststand  which i can use in Result processing (teststand)

 

or has anybody other workaround for the same

How to get test result by each step

$
0
0

I want to use c++ builder just use TS Engine to build a UI interface.

I create a sequence file and use call backs(SequenceFilePostResultListEntry) to call PostUIMessageEx method(Set activeXDataPara is Parameters.Result).

The question is how to get step result by UI side, like numeric test value, test staut("Done"/Pass"/"Fail") etc.

if (!Engine1->IsUIMessageQueueEmpty)
 {
  UIMsg = Engine1->GetUIMessage();
  vMesCode = UIMsg->Event; 

  if(vMesCode == 10001)
  {
    sStringData = UIMsg->StringData; //return step name
    dNumericData = UIMsg->NumericData; //return 0
    //how to  analytic ActiveXData? type is IUnknow.


    }
  UIMsg->Acknowledge();
 }

 

Many thank

 

loss of labview step references in teststand

$
0
0

My technician was working on updating some steps in a teststand sequence and when he went to run the test again, he noticed an error when steps that were supposed to run labview have suddenly not showed labview as the chosen adapter and when we choose the labview adapter, we have to reset all module settings.  Is there a way to get them all back without having to go through the entire process again?

Loading sequence dynamically causes deployment of shared variables to fail?

$
0
0

It seems when I use have TestStand load a VI  that references shared variables it gives me the error message.

 

Unable to load LabVIEW Project '<PROJECT LOCATION THAT IS CORRECT>'

TestStand failed to automatically deploy the shared variables found in project libraries in the specified LabVIEW project. Please ensure that the project library only defines shared variables and does not contain any VIs. Also, make sure the host exists and it is in the network.

LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS X, and / on Linux. Verify that the path is correct

 

 

Is this behavior to be expected? Or is this a bug?


Array out(dynamic size) from Labview module adapter

$
0
0

 

hi guys,

 

the array  output from a Labview VI (module adapter),  how can the teststand  consider this Input to be dynamic in size

& do  the  needed (allocation of mem etc) during runtime based on the input.

 

I need to report these array values in ATML report and expect them to be visible similar  in a tdm report.

 

thanks for ur suggesions

multiple access station globals

$
0
0

I have written a TS UI, where I registered a UserMessage event. I pass a station global through the ActiveXDataParam as property object. In the UserMessage callback I just read the station global and writhe its values to the UI's indicators. I'm not sure, whether this has an influence to my problem.

 

The problem is,when I try to write the station global values in another code module, which is an engine, started in the Process Setup Callback in my process model. I pass the same property object reference to this module (labview VI), and I try to write new values in the station global on triggered events. In this code module, I get an error code 1 from any attempt to call any method of the property object, as GetValString, GetNumSubProperties etc.

 

If I run my Test UUTs from the sequence editor, I don't get this error, so I access the station globals always without error. The error occures only if I run it from my UI.

 

I would appriciate any ideas and hints to overcome this problem.

 

 

PXI 5124 positive polarity video trig

$
0
0

Hi

I'm working on measuring a differntial video signal.  I use PXI5124.I measure them individually the High component as one measurement and negative component as another measurement.Probe ground is connected to PCB ground.

 

I set the trig as TV-> NTSC-> Field 1-> DC coupling->ref Pos %10. polarity is set to negative by default.Everything is ok with the negative sync component of the diffenetial signal High level component. I get the correct triggered signal an get the snapshot of the signal.But when I try to  set the trig for positive sync I get a run time error.when I try to set the same trig settings an negative polarity, I always get the sync trig at different places of the snapshot. Triggering at the same place of window is important for me because I ask the operator to compare the measured waveform to a given before waveform.So st be sure that the trig will happen at the same delay time on all measurements for all samples of my UUT.

As a result is positive polarity video trig possible in PXI 5124 or How can I set the TV trig for a signal with positive sync for stable triggering.

Waiting for your immediate reply.

Regards

Handle selected errors

$
0
0

I've read the examples about error handling and created an example that allows me to handle errors.

 

What I'm not sure of and have not found any discussion about is:

 

How do I turn it back over to TS to handle errors I am not specifically interested in?

 

The attached example (if I understand correctly) makes my error handler THE error handler. It uses the same dialog the TS examples show that is similar to the TS default error handling dialog. I would like to handle particular errors (as the example shows) and then leave the rest to TS's normal error handling.

 

Regards,

Mac

how do I get the length of time of a step in the report?

$
0
0

heyy,

 

I noticed that the time a step needs for termination is listed in the report. But just for few steps. How can I manage this for the other stepts??

Thanks for your help!

 

Carlos

Viewing all 6563 articles
Browse latest View live


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