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

packed libraries taking long time to load

$
0
0

HI all,

 

I just upgraded my development machine to the most recent patch for Teststand and was wondering if anyone else is experincing extra load times for packed libraries for loading of modules.  I have a few packed libraries that are quite large and can take up to 5 minutes to load now.  Previously only the first load took awhile, then eveything would be fine.  Now every time I click on a sequence TestStand attempts to reload the packed libraries over and over again.

 

I also noticed that distribution execution with the new patch takes considerably longer as well within just the run time environment.

 

Any one else seen this issue with the most recent TestStand update?

 

-Andrew


Accessing properties of a sequence file from labview

$
0
0

I want to produce a report based on the sequence file data to alleviate my software documentation needs which need to be in a specifi format. In order to do this, I want to write a labview program and grab the various teststand sequence info paramters and put them into a specific format. 

 

Most of the labview tools for testatnd require a sequence context to operate.  Is there a way to do this without opening the entire teststand appliaction and laoding a specific sequence ??

Sequence Context Ref going bad

$
0
0

This may be a LabVIEW problem but since the issue is the Sequence Context ref going bad, I'm starating here.

 

I have a Step Type that calls a VI that in turn launches a VI dynamically. This VI is shown below. In this VI, the Sequence Context Ref is good as indicated by the Not a RefNum function.

 

Call DA.PNG

 

The very start of the VI that the above calls is shown below. Here, the Sequence Context is bad as indicated by the Not a Ref function.

DA Monitor.PNG

 

Right now the Sequence Context is not being accessed in the SubVI that it passes through, so the "StationGlobals" Property node generates the following error. 

"Error 1 occurred at Incorrect function in EDAT..."

 

This had been working for a while until I added the SubVI in the top VI that is receiving the "Status Text". As you see this VI does not use the Sequence Context.

 

Any ideas?

Property in parallel execution to see if all DUTs exited the Setup

$
0
0
I have an application, where it's important to know that all the DUTs (I have up to 24) have exited the Setup state, before some are allowed to enter the Cleanup? I was wondering if there's such a property, than I could querry on a lock in the Cleanup before executing. Would it be something to do with the Stepgroup?

How do you keep the Sequential Model from continuously looping

$
0
0

I have an ATE project where I am using a custom "Batch Model", but I have one sequence that is just a manual control. if I choose "No Model", it works exactly how i want it to, but when run from the TestStand UI after its been deployed, the "Run UUT" button goes away unless I select a process model in the Sequence File Properties. If i select SequentialModel.seq, it continuously loops, and I'm having a difficult time finding a programmatic way of making it only run 1 time.

obtaining the step limits out of a sequence from a labview program

$
0
0

I am writing a labview program to access teststand sequences' various properties to automatically grab the data out of the sequnce for documentation. 

 

The step.limits.high property is very difficult to retrieve from the teststand sequence programmatically using just the sequence file as the input.

 

Does anybody know how to obtain the limits on a step from a sequence file?

 

 

How to find the if RunState.Caller.NextStep property exists?

Paralell sequence basics

$
0
0

Hi all, I'm using  TS to run one instrument and 3 test sockets. The tests will be done in paralell and any UUT must be able to be removed at any given time. 

 

Now for my question, I placed the call to the instrument connection in the PreUUT, I understand this seq runs just the first time.  In the main seq I mainly have the instrument  move some relays arounds. I thought this setup would run if I changed the model to ParalellModel.seq, but keep getting the following error:

 

Type of argument expression 'Parameters.TestSocket.ContinueTesting' is incompatible with parameter 'FailName'. Expected String, found Boolean.

Location Smiley Frustratedtep 'PreUUT Callback' of sequence 'Test UUTs -- Test Socket Entry Point' in 'ParallelModel.seq'

 

 

FailName is a string I use to store any error messages in my tests. Any ideas what to do?

 

Also, I tried looking this up and mainly got info on "batch mode", which is not what I want (the tests are independent).

 

Thanks

 


TEST OK apres 3 failed

$
0
0

please i need you help

I have a table of values I have to compare each value to a limit template failed with a number 3 : if the number exceeds 3 thus failed the test will KO

 

 

thank you

Run continuous test for a week, recording data every 15 minutes

$
0
0

I have a sequence setup to read data off two burn in boards with 40 DUTs. The sequence works perfectly if I run it once, looping through every device, every board etc. My problem is I need suggestions on how to get the sequence to run, wait 15 minutes, run again (recording data), wait 15 minutes, run again, etc. for at least a week.

 

My first thought was simply calculate how many 15 min intervals are in a 7 day period and use that number as my for loop with a Wait sequence being the only thing in the loop. Seems like this would work but not very elegant.

 

My next conundrum is how to get the front panel to display throughout the entire test. I have a large front panel which displays all the useful information (temp, volt, current, peak detect, etc) and rather than only displaying every 15 minutes, I would like to keep this running the entire test. Is this a threading type problem? I'm a relative newcomer to TestStand so haven't dappled in that stuff yet.

Engine Callbacks Confusion question

$
0
0

Studying for the CTD

 

i am kind of confused on the callbacks.( i know how to use them and all that but that will not answer the CTD questions lol)

 

So please explain this for dummies

 

From the book: " you can override a SequenceFile Engine callbacks in any sequences file"...

 

From the Book leson 6 page 4...

 

Consider the following example"

A process model seq file, overrrides the X engine callback. A Client(my seqeunce?) seq file that uses the Process Model also overrides X callback. 

 

When the client sequence file executes using the process model, the X engine callback overriden in the process model executes after the execution of every step in the process model file. the X engine callback overriden in the client sequence file executes after the executiong of every step in the client sequence file. The X engine call back overriden in the process modes dos not execute for stepes withing the client sequence file.... Please explain me this...

 

what i understood is that X call back executes Twice, one on the process model and on for the sequence file client?

 

 

C# .NET DLL REMOTE (ON CENTRAL SERVER) ERROR

$
0
0

Hi,

 

I designed a DLL Library in C# .net framework 4.0 and made a sequence on teststand to use this library.

Everything works fine if I put the DLL locally to the PC running the sequence.

 

The problem comes here :

We have a centralized server that contains all DLLs related to the tests and they are loaded in memory from that server.

If I move this DLL anywhere on that server, and go into the tab to set the new path, it actually refuses it with a red-rounded affirmative symbol flashing me a problem with the path.

 

Here is the real scenario :

 

Our server is Linux and has a share on it :

\\192.168.3.49\CLIENTSHARE

The DLL is located here :

\\192.168.3.49\CLIENTSHARE\DLLS\dotnetdll.dll

 

Calling this directly makes the red-rounded affirmative symbol flash in the .net module tab of teststand indicating me that it has a problem but no pop-up message to tell what is failing.

 

Then I tried to map the network drive share to put aside the authentication process like this :

Y:\DLLS\dotnetdll.dll (with authentication already inside to avoid problems)

Still have the red-rounded affirmative symbol flash in the .net module tab of teststand indicating me that it has a problem but no pop-up message to tell what is failing.

 

I can't find any discussion on this issue and can't understand what I do wrong?

Why it would work locally and not remotly?

They call CVI DLLs from the same location without any problem.

 

Please help,

Thanks,

Eric

 

Proper use of database steps.

$
0
0

Hi all,

 

I'm working on a project where i'll be logging information to an Access database (.mdb). I am trying to determine the proper procedure for opening and closing the files. I apologize for my lack of knowledge on the subject, databases are a new thing to me!

 

In the past I have always wrote to text files, when I needed to write, I would open the file, write and then close immediately. Would this also be the correct approach with a database file? Or should I open my connection to the database on test start and keep it open during the entirety of the test?

 

 

I need to log to the database during the test, and these tests are extremely long, possibly 3-4 months long. I want to make sure that the database can be accessed by Access if possible during the test.

 

Thanks!

 

UI Message Post from Labview VI running on another thread

$
0
0

I have a Labview GUI that will display information about my oven. 

 

this is the thread that runs on the background, it querys my oven, then i save the variables to stationglobals and then send a UI message. this works fine.

 

ts ques.png

 

Now i made an improved OVEN that not only monitors but also controls the oven. It is written in labview.

 

on the example above i use a statement for the UI Message:

RunState.Thread.PostUIMessageEx(UIMsg_UserMessageBase + 1, 0, "",StationGlobals.ovenDatum, True)

 

Where StationGolbals.ovenDatum is a container with numbers and strings.

 

 

Now on my Labview code

tsques2.png

 

 

I have this already wire up in labview. So my question is... Can i just wire my ovenDatum Container into the ActiveXdataParameter or do i need to make some kind of conversion.? am i doing it right?

connecting teststand to remote database

$
0
0

I have a test station on the factory floor running teststand.  I want to log/query a database that is located on a network server in my facility over ethernet.  Can TestStand using its database step types address/access this database for posting and querying records ? 


Compare two changin arrays using multiple numeric test

$
0
0

I have an FPGA that is doing a loop test.  The FPGA will TX an array and will store the RX array to a variable.  I'd like to use TestStand to comare the TX array with the RX array.  

 

I know I can step through the elements of an array to compare each element with a Numeric Limit Test and I know I can do it with a multiple numeric limit test but with that I have to manually put in every index and the Array will not always be the same size.  

 

Is there a way in TestStand to say does Array = Array and then print the elements without doing the loop?  

testand scheduling events at absolute times

$
0
0

Is there a way to put a teststand sequence in a loop and when the time of day is at 8:30 PM the sequence executes? I am looking to do daily scheduled maintenance activities for my system using the tool...

Sequence context becomes invalid after callback invokes status sub-panel.

$
0
0

I'm trying to create a TestStand OI that is based upon the Simple OI example but has a tab control that allows me to display the sequence from a number of parallel test threads and a LabVIEW based status subpanel.  The idea of the subpanel is to provide a user friendly summary of each UUTs' test status, the time to completion of the test and also provide the means for the operator to abort the test on a single test socket if required.  I'm using TestStand property functions in LabVIEW to access the FileGlobals for a specific UUT. 

 

My problem is that in order for the status subpanel to operate I've implemented a PostUIMessageEx callback that opens the status VI in a subpanel on the main tab control and then passes the calling sequence context via the activeXDataParam.  My understanding is that this is passed as a variant type and so I pass it through my callback as a variant and then call my status panel vi using an asynchronous call (see Subpanel Callback.gif) after passing the vi reference to a subpanel within the main OI vi.  When my status panel opens it attempts to read a FileGlobal from the calling sequence (the time to completion) but the LabVIEW TSGetPropertyValue function generates an error -17306, which suggests to me that the context reference is no longer valid.  

 

The other variables (numeric and string) are passed correctly and if I call the status vi independantly of the callback it works correctly.  So it appears that the problem is confined to the sequence context.  If I probe the context wire there is a value on the wire but I don't know of a method to verify its validity. Has anyone got any ideas how to remedy this one?

 

Many thanks in anticipation

 

SimonC aka Sipic

 

LabVIEW 2013 SP1 f2

TestStand 2013 

Win8

 

 

 

 

 

 

 

How to detect first Enter keypress in reloaded VI

$
0
0

Hi.

I'm using popup information VI's in TestStand which I want the user to be able to exit/confirm by using Enter/Return, and I'm using a Key Down event in an event structure to detect they keypress.

But the problem is that when the VI is already loaded in TestStand, the event structure doesn't detect the first Enter/Return keypress.  If I detect the spacebar, it works fine.  But Enter/Return always needs a first keypress before being detected as a Key Down event.

Anybody know why this is?

 

Best Regards,

Øystein.

.net module. What is a name on an assembly instance

$
0
0

Hi,

 

Let assume I have a sequence consisted of two .net action steps.

 

The C# code of first step is like below:

 

namespace Common
{
    public class Addresses
    {
        public string add = "192.168.1.5";
        public string name = "IP Address";
        public int nbr = 3;      
    }
}

 

I instantiate this class like as below and as a return I have a reference to in TestStand.

 

ts001.PNG

 

And now, the question. What is a name of the .net object invoked externally from TestStand in the .net domain?

 

I'd like to access the module instantiated like that from the second .net step, but not by using the referece holding by TestStand but utilising .net space/environment with reflection.

 

In Visual Studio, if I'd instantiete this object I have a name I gave to this object, so I have a handler in .net space. In TestStand I have a reference to it, that is fine. But what is a name in .net space of the object instanciated externally by TestStand?

 

 

Viewing all 6227 articles
Browse latest View live


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