Electrical start in test stand

Hi all - I wish to incorporate methods of electrically starting test stand in the future . Has allowance been made when waiting for the normal start keyboard keys in test stand to poll for another start signal eg using a callback routine etc.
can anyone point me in the right direction?
thanks dht

Hi,
the principal is not in TestStand. You would code this either into your operator interface, or the process model you're using before "mainsequence" is called, or the client sequence.
The "polling" you're referring to, I assume, is waiting for say F5 to run TestUUTs. This is built into the operator interface, or the sequence editor. If you wanted to add the functionality to monitor a digital line, or something similar, then add that into the operator interface itself. (You can't add it into the sequence editor directly, since you don't have the source code to modify!)
Hope that helps
Sacha Emery
National Instruments (UK)
// it takes almost no time to rate an answer

Similar Messages

  • How to get the value of the global variable of test stand in labview User interface?

    Hi.
     Can anyone Please share examples and tell me to how access the test stand global variable using labview user interface.
    Solved!
    Go to Solution.

    I'm not surprised that what you are doing doesn't work.  The Start Execution UI Message is triggered when the user clicks a button to start an execution.  Realize that most executions go through a process model.  So you could be looking at the sequence context of the process model and not your client sequence file.
    I recommend reading that link I posted above.  UI Messages are your best bet but you cannot just piggy back on an existing UI Message like this.  They may not be getting sent at the time you need them to be.  The only way to ensure you get what you want is to trigger one yourself at the right time.
    Regards,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Is there any way I can convert a Test stand sequence and corresponding vi's to an executable?

    I need some creative ideas on how I can convert a test stand sequence into an executable in the shortest possible time. I know that beats the entire purpose of using TestStand but I need to have a way to do this. Is there no other way i can accomplish this without writing a sequencer in LabVIEW and rewriting all of my code in LabVIEW??

    There is no way i know or can think of to move all components from a TestStand application into a single EXE. Running TS in an application means that you should/must work highly unitized during developement and deployment.
    In general:
    -> Custom UI will become "The EXE" for the enduser. This involves the link for startup on desktop/start menu.
    -> TS Engine, ActiveX Server, will be attached to the UI.EXE OS process when launched by the UI. Will never be part of the UI.EXE.
    -> TS Compontens (e.g. process model, language files, ..). Will never be part of the UI.EXE.
    -> Custom Components (e.g. modified process model components, reporting, ...). Very unlikely(never) to become part of the UI.EXE.
    -> Custom Sequences. Will never be part of the UI.EXE, but extension can be changed to other than .seq.
    -> Code modules called by custom sequences. Unlikely (but possible) to be part of the UI.EXE. Should be implemented and tested to run within the RTE (runtime engine) of the appropriate programming language. It is not par design, that the deployment system has the development environment of that programming language installed.
    -> License information. TS requires at least the Base Deployment License installed and activated (requires NI License Manager software). RTE of modules might also include licensing and possibly activation fees.
    Why is there the requirement to have a single, monolythic EXE (hard to handle!) at all? If it is about the deployment process, you know that you can provide a single MSI (Microsoft Installer) with all required components using the TestStand Deployment Utility?
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How can I get Test Stand to print failues only?

    Rather than getting a large report file with hundreds of passes and only one failure, how do I configure Test Stand to only print the failures to the report?

    Hi,
    the engine callbacks are simply a sequence that gets called when a particular thing happens (i.e. Post Step).
    There's three types
    SequenceFile (for steps that execute in that sequence file whether it's a client sequence file or a process model)
    ProcessModel (for steps that execute in the client sequence file run under this process model, but NOT the steps in the ProcessModel)
    Station (for all steps on that installation - found in the StationCallbacks.seq sequencefile)
    If the engine callback appears in more than one of the three places, then the lowest one (seq file->proc model->station listed lowest to highest)is used.
    In your case, you could use any of them depending on your architecture.
    Personally, r
    emoving from the resultlist is easier than working out whether to add to it, but that gets tricky when you have steps which loop.
    If you decide to make up your own add, then the PostStepFailure is the callback sequence to use (go to edit->sequencefilecallbacks). You'll have to add a new element to the resultlist, and start fleshing it out with the result container of the step (which you still have access to as a parameter) plus the TS container.
    This would go into the Runstate.Caller.Locals.ResultList[x]
    Also, don't forget to disable the result collection on all the steps in the test sequence, plus all the ones in your poststepfailure callback, since you're doing your own.
    I'm attaching what I've done so far as an example - not quite finished, but it's done the TS container. Just now need to do the actual result container.
    I'll keep working on it but for now you can see what I'm getting at.
    Hope that gives you a kick start with the callbacks bit
    Sacha Emery
    National Instrumen
    ts (UK)
    // it takes almost no time to rate an answer
    Attachments:
    collect_only_failures.seq ‏31 KB

  • Clearing Test Stand engine's internal cache

    I am trying to clear the TEST STAND ENGINE'S internal cache of past sequence files in a custom Operator Interface I am developing using VB.NET.  The scenario is as follows.   The Test Stand OI application is instantiated from a desktop shortcut that also has the sequence file as a parameter.  I am using only the "Single Pass" entry point.
    The problem is other sequence files appeared to be executing in addition to the sequence file passed in as a command line argument.  I checked this by creating an event handler for the openseqfile event and putting a VB.NET debugger breakpoint at its start.  In the case I checked the seq open event fired 3 times.  Once for each of the last 3 different sequence files I tried to run.   I checked each of the files as they were being opened and the 1st file opened was the one I passed in.  The second file opened was the one I ran prior to the current application instantiation.  I checked that file an the "e.file.IsExecuting" property was TRUE!  How could that file be executing when the application starts when it is not even the file I want to run?
    The third file was a file I ran 2 instances ago and its "IsExecuting" property was false and its "CanUnload" property was true.  I was able to remove that particular file with "Me.AxApplicationmgr.GetEngine().ReleaseSeqenceFileEx(e.file)" in the event handler.
    What is the proper way to remove (clear) the interneal cache.  So only the single file I want is opened?  Thanks

    You should call ApplicationMgr.OpenSequenceFile instead of Engine.GetSequenceFileEx (see TestStand Reference Manual>> Chapter 9 Creating and Customizing Operator Interfaces >> Using the TestStand API With TestStand UI Controls).
    If you want to close the file explicitly, call ApplicationMgr.CloseSequenceFile.  If you don't close the file, the ApplicationMgr will close the file automatically when your application shuts down.
    When you call ApplicationMgr.OpenSequenceFile, the file appears in controls that display the list of open files and your application receives an ApplicationMgr.DisplaySequenceFile event for the file.
    If you can't use the ApplicationMgr methods, then I think the place to call Engine.ReleaseSequenceFileEx would be in the ApplicationMgr.QueryShutdown event (also see TestStand Reference Manual>> Chapter 9 Creating and Customizing Operator Interfaces >> Using the TestStand API With TestStand UI Controls).

  • Test Stand and MAX Settings

    I am using test stand and Labview 7.1.  I used Express VIs to setup my RS232 communications in numerous VIs that I call from test stand for different types of tests.  I have the same product, but with different baud rates.  Is there a way in test stand to change the baud rate settings in MAX for Com1?  I tried to create a Labview program to do it, but once a sequence runs that has the Express VI I/O Control it must start a new VISA session and I loose what was set up and it reverts back to the MAX settings for Com1.  The only time The VISA setup vi I created appears to work is when I converted an Express VI (or opened the Express VI's front panel).  And messed with the code.

    Hey,
    I would suggest using the VISA Configure Serial Port to configure the port and then calling the Express VI using the VISA Resource Name Out from the configure VI.
    Regard,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~
    Attachments:
    setbaudrate.vi ‏36 KB

  • What is test stand ? Why is it used, how to get going ?

    Hello All,
    I am LabVIEW user and very new to test stand, have few basic questions,
    1. Why teststand was introduced ?
    2. In LabVIEW we write VI's and build a project to execute a big task, how is this done in teststand?
    3. I did download some of the pdf from NI website, but not able to visualise what needs to be done,
    Pls do share if you have more insight to Teststand.
    Thanks

    Hey systemcrash,
    I will try and answer your questions the best I can:
    1. http://www.ni.com/teststand/whatis/
    TestStand is an automated test executive (ATE).  It is an off the shelf solution which makes your life easier.  It handles report generation, user management, sequencing (i.e. test flow), result collection, pass/fail analysis, common User Interface, database logging, etc...  Basically, all the crap you don't want to develop in LabVIEW.  But it gives you consistency and commonality for all your tests.  If you look at the layers of the test system TestStand would be at the top like this:
    TestStand
    LabVIEW (or other software)
    Hardware Drivers
    Instruments
    UUT (unit under test)
    2. In TestStand you have the development environment (Sequence Editor) and the User Interface.  They can both execute tests.  The User Interface is an application written in LabVIEW (or other programming languages, ships with TestStand) which gets deployed to a test station so that testers can execute your test.  It does not have the ability to edit the test (in TestStand tests are called Sequence Files).  However, the Sequence Editor can edit the tests and would be used on the development machine.  There is a deployment utility in TestStand which allows you to create an installer.  In that installer you would include the TestStand Engine, the User Interface and all the dependencies for your test (Sequence File).  Then the user just opens the User Interface and runs it.
    3. NI does offer TestStand courses which can be helpful.  I recommend going through these PDFs though first:
    http://www.ni.com/pdf/manuals/373200c.pdf
    http://www.ni.com/pdf/manuals/323436a.pdf
    You will get more out of the classes if you have starting playing around with it first.
    Hope this helps.
    Regards,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Can labview call a test stand module

    Having problems with a test dll that runs in test stand, but I get errors when trying to use the wizard in labview, however I can use the call library function node to protypye it.  Problem - the function openComserialPort(char* comPort, ErrStruct & err), how do you difine the parameters for the ErrStruct & err part.
    next Question, since this Dll runs in Test Stand, is their anyway to export to work in LabVIEW. 
    Solved!
    Go to Solution.

    Here's a description of the dll, to start off, I have a circuit board with a microprocessor on it, that has control for a radio module.  During test I need to program this board serially through its' TX and RX lines on the processor.  The dll given to me, which was written for test stand, has functions to enable me to do this programming.  There are basically  11 function contained is this Dll. 
    Initialize Dll, (no errors),
    open serial port, (no errors), 
    getStandardTable, which sends a command for the microprocessor to send back its information-> get assertion error
    WriteHardwareVersion -> Sends the version and revision number -> assertion error.
    ColdStart -> Which resets board statistics variables -> assertion error.  Now, this function prototype is ColdStart (errStruct & err); So I prototype like I did for the above error struct, but still got an assertion error, which leaves me to believe, that , or vendor, has a bug communicating, or sending the commands via serially, to test this, I could use the serial examples contained in LabVIEW, however I don't know the command set of the microprocessor, or could there be something else wrong,  Any ideas will be appreciated.

  • How to Remove in/out port for Test Stand VI

    Ok - This is probably something stupid, but i can not really find a basic example to understand what's wrong.
    I just want to create a Test Stand VI, that in adition to the basic IO, use extra IOs for configuration for example. Here is what i do
    1 - Create a new Pass/Fail VI from Test Stand
    2 - LabVIEW start by itself, show my VI
    3 - I put a basic "Not" logic, and connect the input to the logic
    4 - Save
    5 - Reload the Prototype in TS, and here my new input does not shows up.
    I do not believe that i can make this any simpler. Could someone explained what is wrong here.
    Solved!
    Go to Solution.

    When you create a VI using the "Create VI" function in TS. Output ports are not connected and still shows up in TS.
    I attached the simplest example in the world. What i expect to get in TS after i update the prototype is to have the same output as the initial one + an new input that allow me to control my output flag.
    Attachments:
    PassTest.vi ‏9 KB

  • Test Stand Shut Down with no reason

    Hello ,
    I'm using Test Stand 4.2 & LabWindows CVI 9.0 .
    I'v created a program that checks 30 cards in Batch mode , using Test Stand as master that calls CVI functions from dll files i'v created .
    In the program there are no error nor warnings But i have a strange problem for every 50 runs of the program I'm facing 1 Complete shut down of TS with no reason or warning .
    TS simply shut down and not showing any message . This problem is very disturbing considering that full check for 30 cards using TS is Approximately 3.5 hours .
    The shut down can occur at any part of the run with no repeated pattern , It can happen after 3 min or after 3 hours And by doing so the user need to restart the entire test from the start because TS 
    didn't produced any Report .
    I'm not denying that the crash can be in the dll files written in CVI but thats in low possibility .
    I'm under Win Xp and using intel core2duo L7400 and 4 MB of RAM . 
    Is there any option to avoid this problem ??
    Thank You , Kobi . 
    Kobi Kalif
    Software Engineer

    Thank u Doug i will check it , for now i have pasted the at the bottom the event viewer application log maybe some as i suspected the problem is in the CVI DLL but i don't know what this Error means 
    Maybe You know ?
    The description for Event ID ( 0 ) in Source ( CVI ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: [11:22:25.140] [FATAL] [LRemoveItem] [..\james\list.c:543] Assertion failed: 0 (itemPosition >= kEndOfList && itemPosition <= (*theList)->numItems).
    The description for Event ID ( 0 ) in Source ( CVI ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: [11:18:43.140] [FATAL] [LRemoveItem] [..\james\list.c:543] Assertion failed: 0 (itemPosition >= kEndOfList && itemPosition <= (*theList)->numItems). 
    Kobi Kalif
    Software Engineer

  • Using Testexec user interface with test stand

    Hi,
    I want to use the testexec UIR (from cvi) with my Test Stand sequence. My goal is when this operator interface is opened directly, the specified sequence opens automatically.
    Any suggestion!
    Best Regards,

    You can approach this 2 ways:
    1- Hard code the name and path of the sequence file into the CVI code and rebuild testexec.exe.
    2- Associate .seq files with testexec.exe such that when someone clicks on an .seq file it opens in the UI.  Then place a shortcut to your sequence file on the desktop and have users start it by clicking on that.
    I recommend 2.
    As a side note: By default a UI will open the last sequence file that was opened.
    Regards,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Connect Test stand from Visual studio C#

    I m trying to start Test stand user interface component from C# Visual studio, but fails for some reason. Attached the error log here. Please help
    Attachments:
    failure.jpg ‏3841 KB

    Hi,
    Do you call this module from a network drive?
    BTW, You have call the mscorecnf.msc to make the permissions on your maschine.
    http://msdn.microsoft.com/en-us/library/2bc0cxhc.aspx
    Hope this helps
    Juergen
    =s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=

  • Testing & Controls Op In Southern WI (Labview / PLC / Test Stand Software & Hardware)

    We have
    a great opportunity at Cooper Power Systems for someone with experience developing electrical test
    stands for a manufacturing production environment.  This will be a great
    opportunity for someone with Labview, PLC, and Test Stand Software and Hardware
    experience.  If interested in this Milwaukee, WI metro area opportunity
    please email me at [email protected]
    Thanks!
     Matt

    Sorry.... I forgot to mention in the original post... this is a permanent position.

  • Good NI Test Stand Examples For a Beginner (Using LabVIEW)

    Hi everyone, I am new to using NI Test Stand.  I have gone through the "Getting Started with NI Test Stand" and "Using LabVIEW with Test Stand" documents.
    I know in the NI Test Stand Example folder there are many examples.  Are there any examples that cater to new users to Test Stand?
    Where can I find good examples (demos) for developing test sequences, local variables, parameters, etc...in Test Stand?
    Thanks so much!

    If you have the SSP you could access online training an do the exercises on the training.
    but the examples is a good way to getting started. just play around with all the options you have.

  • Control Test Stand

    hi,
    i have a main LabView VI which can starts Test Stand and run a sequence
    now i need a break button in LabView who break Tast Stand and i need a answer from Tast Stand that he is in "break mode"
    - how can i creat a break button in LabView?
    - how can i get the answer.... whats the name of the property node?
    thx for help
    rabber

    rabber,
    i understand that the VI you got is already a TestStand UI. So it already loads TestStand and is able to load and execute sequences, correct?
    In order to add a "break" functionality, you have to use the TestStand API. Therefore, you must be familiar with the "TestStand API for UI implemention", otherwise, you will likely fail to achieve your goal.
    I have the impression, that you are not familiar with the TestStand API. My recommendation was to look at shipped examples in order to learn how to interface to TestStand from a VI.
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

Maybe you are looking for

  • Can not refresh the metrics in schedular

    Post Author: sachinddalal CA Forum: Performance Management and Dashboards Hi, When I refresh the metric using schedular, the metric is not refreshed , nor schedular return any error. But when checked in metrics proparties, the last refresh date is no

  • Can i extract Windows XP pro from Virtual PC 7

    Just purchased a new iMac and have installed Lion.  I would like to load Windows and run Quicken 2009 using Bootcamp.  I have Virtual PC for Mac Version 7.  VPC7 has an embeded copy of Windows XP Pro.  Does anyone know how to extract Windows XP Pro a

  • Problem with norwegian 'special characters' (æøå) in LaTeX

    Having installed just about every latex-package in the repos I still cant get this to work. This is what I have in my .tex file: \documentclass[12pt,norsk,a4paper]{article} \usepackage[norsk]{babel} \usepackage[latin1]{inputenc} \usepackage[T1]{fonte

  • Trying to continue a download for a game cant find it

    Ok starting to annoy me. I purchase a game and it started downloading yesterday and it said 6 hrs it would take. I let it download till about 3 hrs were remaining and then I paused it or really stopped for time being. And closed out I woke the next d

  • APO Livecache DB Backup and Livecache Auto Log Backup

    Hi Guys, Could you please help me here which tranaction code we use to  check APO Livecache DB Backup and Livecache Auto Log Backup Thank you