Changer la sequence model de Teststand avec Labview

Bonjour,
Je lance une séquence avec LabVIEW mais il faudra que j'utilise une autre SequenceModel. Je voudrai changer la SequenceModel utilisé par Teststand avec LabVIEW. J'ai commencé par faire ça :
Mais rien ne se passe.
Merci.
Résolu !
Accéder à la solution.

Merci mais j'ai trouvé la solution :
Je charge la séquence de test puis je charge la SequentialModel choisi.
Voilà merci pour ton aide.

Similar Messages

  • Rapport et Message Pass / Fail de Teststand avec LabVIEW 8.0.

    Bonjour,
    J'ai deux problèmes avec l'OI Teststand avec LabVIEW. J'ai modifié l'exemple présent de l'OI Teststand pour le piloté comme sous VI avec LabVIEW 8.0. Les problèmes étant que je n'arrive pas à afficher le rapport en dynamique pendant que les séquences sont lancées et dans le même les messages popup Pass ou Fail en fin de séquence ne s'affiche pas.
    Merci,
    Résolu !
    Accéder à la solution.

    Voici quelques commentaires et questions car tout n'est pas clair:
    -dans le VI TS OI: LoginOnStart est à False, par contre je ne vois pas d'appel à la front end callback loginlogout (du coup tu n'es pas logé sauf si j'ai raté quelque chose)
    -Il y a des indicateurs (containeurs activeX entre autre) qui semble être invisibles (propriétés?)
    -Le code gagnerait à être plus ordonné (il y a déjà les commentaires sa c'est bien)
    -il y a un start de l'application manager, mais ou est le start de la séquence? normalement c'est un appuye sur un entry point qui le gère (testUUT par exemple)
    -Il y a une méthode open sequence file, mais la reference du sequence file n'est pas utilisée...(c'est après qu'il faut faire une méthode pour lancer la séquence)
    -la méthode Run sur le sequence file view manager sert à quoi?
    -pas mal de fonctions mériteraient un sous VI
    -Les fichiers séquences ne sont pas fournis donc je ne peux pas donner d'indications, par contre dans le VI les chemins pour appeler les séquences sont en dur, donc il y aura des problèmes pour exporter le projet sur une autre station.
    J'espère que sa pourra t'aider, et je reste disponible pour d'autres infos.
    Rodéric L
    Certified LabVIEW Architect

  • Lire variable locals de teststand dans labview par activeX

    Bonjour,
    Dans le cadre d'un projet interne, je crée une application sous labview qui servira d'interface utilisateur et autres choses.
    Le problème est que j'ai besoin de lire les variables locals de teststand avec labview sans que le programmeur teststand se soucie de faire appel à une fonction spécifique.
    Pour faire simple l'idée est d'utiliser l'activeX sur labview pour lancer les fichiers séquences etc. ça ne me posse pas se soucie à ce niveau-là.
    Mon problème est que j'aimerais lire les variables locals de teststand dans labview, j'avais l'habitude de lire les variables StationGlobals par cette méthode mais pas moyens de faire la même chose pour les locals.
    En gros, il faudrait que j'ai accès à sequenceContext par activeX mais sans faire un appel d'un VI dans teststand comme dans l'exemple proposé dans teststand.
    Cordialement.

    Bonjour Steve,
    En effet, ceci n'était pas aussi simple qu'il n'y paraissait...
    Voici un exemple:
    L'astuce étant de récupérer le Sequence Context depuis l'Executionview manager, on notera qu'il faut passer par l'exécution puis le thread car la propriété qui devrait renvoyer le SequenceContext directement ne fonctionne pas et renvoie une erreur... 
    Rodéric L
    Certified LabVIEW Architect
    Pièces jointes :
    récuperer locales depuis IHM.png ‏14 KB

  • Développement de Banc de Test de Production avec LabView et TestStand

    Bonjour,
    je dois réaliser pour un client un banc de test de production pour tester la rigidité diélectrique de plusieurs de ses produits.
    On a donc pour résumer, un appareil de mesure (diélectrimètre) à piloter par GPIB, de l'automatisme à gérer par soft (environ 32 Sorties 24 volts, 32 entrées 24 V), des rapports à imprimer/sauvegarder, les résultats à renseigner en base SQL Server 2000...
    Le client veut que j'utilise LabView (>= 8.0) et TestStand (>= 3.0) . Je connais bien LabView, par contre je n'ai jamais utilisé TestStand.
    Je sais ce qu'est TestStand (séquenceur de test).
    Il s'agit d'un vrai banc avec interface spécifique à développer, niveaux d'utilisateurs à gérer ...
    Quelle est la méthode/architecture à utiliser pour pouvoir développer ce banc/interface : utilisation d'api TestStand sous labview, tout faire à partir de TestStand qui appelle des Vi de LabView (à afficher ou non) ... ? J'ai du mal à voir comment développer l'IHM en liaison avec TestStand.
    D'avance merci.
    Eddy DUCHENE
    12 F Chemin de Boutary
    69300 CALUIRE ET CUIRE
    [email protected]

    Bonjour,
    Développer sa propre IHM n'est pas chose facile.
    Pour cela tu peux partir des exemples se trouvant dans le repertoire d'installation de Teststand à ces adresses:
        C:\Program Files\National Instruments\TestStand 3.5\OperatorInterfaces\NI\Simple\CVI
        C:\Program Files\National Instruments\TestStand 3.5\OperatorInterfaces\NI\Full-Featured\CVI
    Tu peux également te référer au teststand reference manual, chapitre 9.
    Tu peux trouver ce manuel à cette adresse:
        C:\Program Files\National Instruments\TestStand 3.5\Doc\Manuals
    .NIDays2008 {font-family:Arial, Helvetica, sans-serif; font-size:12px; color: #065fa3; font-weight: bold; text-decoration: none; text-align: right;} .NIDays2008 a, a:hover {text-decoration: none;} .NIDays2008 a img {height: 0; width: 0; border-width: 0;} .NIDays2008 a:hover img {position: absolute; height: 90px; width: 728px; margin-left: -728px; margin-top:-12px;}
    >> Avez-vous entendu parler de NI Days ?

  • Change client sequence file when Ctrl F5

    I have a teststand 2010 and labview 2011 based test system. I have modified the 'Single Pass' sequential model so that when Ctrl+F5 is pressed, 'main sequence' from a self test sequence is run, not the 'main sequence' from the currently loaded test sequence. It all seems to work but when the test report is created it contains the name of the loaded test sequence, not the name of the self test sequence...
    Is there a way in teststand to say that the client sequence is the self test sequence not the test sequence loaded into teststand when Ctrl+F5 was pressed, therefor the report filename will contain the name of the self test sequence not the name of the current loaded test sequence ???
    Any help or pointers would be very helpful...
    Cheers
    Derren Price
    Solved!
    Go to Solution.

    Rather than modifying the model to change which sequence is called, you should modify it to change the client sequence file. Look at the DynamicClientSequenceFile example in the TestStand examples directory.
    Hope this helps,
    -Doug

  • Round table sequence model

    Hello All,
    I am going to ask your advice.
    I have a test station controlled by 2 PCs. The task of this station is to make some electrical tests on electronic sensors. The machine has a round table. There are a load position, a barcode reading position, measuring position 1, measuring position 2, print pos. and unload position. The table rotates when all of the positions finished the current operation. The supervisor PC controls the barcode reading, printing, communication with traceability system. The tester PC controls the test measurement positions. 
    When the supervisor and the tester PC also send a signal to the test station, the station rotates the table and send a signal about the rotation. Beside this there are some signals from the station which have to be watched. (Emergency stop, station error) 
    I am going to modify the system. 
    I am going to make an application based on TestStand which can control this cell and make the measurements only with one PC and one application, since it can improve the stability and robostness of system. 
    I plan 3 layers.
     - User interface where the user can see the state of units, barcodes, actual state of robot and so on.
     - TestStand layer: A sequence and a model file which manages the UUTs
     - Measurement layer: A CVI dll which makes the measuremens and pass the measured values to the testStand layer.
    I think the base of the used sequence model file will the Parallel Model, since max. 6 units are present on the table. 
    My questions are around the communication between the test station and the PC. 
    How can i listen to the station signals continously and respond to the signal changing?
    Which is the simplest way to start a Testsocket execution after every rotation?
    If You have some ideas please do not hesitate to write them.
    Best regards:
      Laszlo Gosztola  

    Dear Gosztola László,
    I would like to discuss some details with you but your phone numbers in our database are not online.
    I wonder if you could contact me by:
    [email protected]
    or
    +36-23-448-922 (my direct number)
    Regards,
    Litkei Márton
    NI Hungary

  • Modal message popup hangs parallel model in Teststand 4?

    Hi:
    I'm having a problem using the 'Make Modal' option on message popups. It is hanging the user interface.
    Here is what I've done:
    * created a sequence with just a message popup in it (using Teststand 4.0 editor)
    * set the popup to be modal
    * set the sequence to use the parallel model
    * recompiled Full Featured CVI User interface for teststand 4.0 (using CVI 8.0.1)
    * run sequence in the recompiled user interface
    * popup is displayed
    * after acknowledging the popup, the popup and the user interface freeze
    If I change the sequence to use the batch model, everything works.
    If I don't recompile the user interface project that came with Teststand and just run the exe, everything works.
    What am I missing? Sequence file attached.
    Thanks,
    Dave
    Attachments:
    modalpopup.seq ‏6 KB

    Hi dseel,
    After I copied over your version of modelsupport2.dll, I see the attached error message for every test socket, basically saying that TestStand can't find a certain function in modelsupport2.dll.
    What modifications did you make to the dll?
    One thing though, I notice the same error message even with the Simple OI... Where are you putting modelsupport2.dll? In the same folder as the CVI Executable, or in <TestStand>\Components\NI\Models\TestStandModels?
    Jervin Justin
    NI TestStand Product Manager
    Attachments:
    TSErrorMessage.jpg ‏56 KB

  • User event from TestStand to Labview

    Hello all,
       I have some question regarding Labview-TestStand
       We have a large application written in Labview, user interface separated from the actual
    core using  User Events. Now we consider to automate some repeated actions with slightly
    different parameters. Is the TestStand sutable option for thi case? Can it send the "User event" to
    Labview?
     Thanks
    Michael.
    LV 8.2 at Windows & Linux

    Hi mishklyar,
    tbob makes a good point, and I will try to elaborate a little bit. TestStand is test executive software. It works by executing a set of predefined steps in sequence. These steps can be LabVIEW code, C code, etc. You can pass parameters into the LabVIEW code that you call, but you cannot directly send "user events" the same way that user events are created in LabVIEW by interacting with front panel controls. The traditional design with TestStand is to create a LabVIEW code module that does a particular thing, and have other modules (VIs) that do other things. Then, call each module from TestStand as needed. As the name implies, TestStand is often used for testing products, but could be used for other purposes as well. If your application could be modified to fit this model, then TestStand could probably be used. However, you would probably want to architect your LabVIEW application differently than it is right now.
    Best Regards,
    John M
    National Instruments
    Applications Engineer

  • Continously changing input in FPGA in teststand

    Hello All,
    I am a n00b at both TestStand and LabView.  Below is what I want to do, but it is not obvious to me where to get help or look to find the answers:
    I have a FPGA project, with host vi's and fpga vi's.
    I have managed to put the host vi in the main sequence in TestStand, and run it.
    So now, when I run the sequence in TestStand, the host VI control panel pops up, and I can adjust the inputs in the VI.
    But, I want to automate this.  I want TestStand to read a file with a list of many many inputs.  Then, open the host VI, and change the inputs according to the file every one minute.
    I have a feeling that I am going about this completely wrong, because this implies that all TestStand is doing is just opening my host VI, which makes using TestStand  pointless.

    Bladhart,
    It may be possible, but I would advise against it for two reasons.  First of all, it will most likely require that you launch an application that runs constantly in the background and interacts with TestStand through its API.  It would have to manage the timing mechanism, file i/o, and aforementioned communication with TestStand.  This can be fairly complex and will also impact the performance of your overall test application. 
    Second, it does not seem like the best programming practice to change the variables at pre-determined time intervals.  A different approach that you might consider would be to have an early step in your sequence file call a code module which pulls data from the different files into TestStand variables as we discussed before.  Then, you could either loop through a subset of steps (including the "load" step just described) or run your sequence file in its entirety several different times to achieve different test results based on each of the different variable values. 
    This is one way of accomplishing something very similar to your goal, but it is easier, more efficient, and arguably somewhat better programming practice.
    Matt G.
    National Instruments
    Applications Engineering

  • Deploy teststand with labview ui

    Hi,
    I'm using teststand now since 9 months and now I have to distribute my application to a testing machine. I have some questions about this process. But first I discribe my application:
    I have a labview ui, which has 3 main tasks:
    1.) Start selected teststand sequences for automatic testing.
    2.) Give operator the possibility to manually control the testing environment (purely written in labview)
    3.) Run continous data aquisition, which provides data for teststand and manual testing.
    Sharing data between labview and teststand is done mainly via global variables (e.g. reference to tdms file). Because of 1.) and 2.) above teststand and labview share a lot of VIs for communicating with the testing environment.
    OK, now my questions:
    I'm searching for the best way to deploy this application via an installer. I know, that there is a teststand deployment tool (which I havn't used, yet) and I know how to build installers with the labview project manager.
    1.) What about sharing of VIs and global variables between my teststand sequences and my generated labview exe? When I place my sequences in the workspace file for the teststand deployment tool, all referenced VIs are included in teststand. But Some of these VIs are also included in my generated labview ui. Will this generate a conflict?
    2.) I was thinking about to create a teststand deployment without a workspace file. The sequences and all required VIs would be placed in the generated labview ui instead. Will the teststand sequences find the VIs inside of the ui exe?
    3.) What about required drivers (e.g. daq-mx)? Should I create a labview installer of my ui with the required drives and install this, then create a teststand installer (perhaps including the ui, too) and install this, too?
    Thanks for any help in advance.
    Marc
    CLD

    Hi,
    I would recommend the Deployment Tool for your TestStand and OI. I would also keep your Test Sequence files seperate from your TestStand Engine amd UI deployment.
    [1.) What about sharing of VIs and global variables between my teststand sequences and my generated labview exe? When I place my sequences in the workspace file for the teststand deployment tool, all referenced VIs are included in teststand. But Some of these VIs are also included in my generated labview ui. Will this generate a conflict?}
    This is going to cause you a problem because LabVIEW doesn't like / will not load the same VI into memory from two different locations.
    The Deployment Tool will probably object as well therefore you will not beable to create a deployment package.
    The Deployment Tool will place all the VIs that are called directly from TestStand Sequence Files as seperate VI's (not in a LLB) into the target folder. It will then create a support LLB containing all the subVI's used by the directly called VI's. If you have VI's that are called directly from TestStand and are also used as subVI's you will again have problems because the same VI can be loaded from two different locations. 
    2.) I was thinking about to create a teststand deployment without a workspace file. The sequences and all required VIs would be placed in the generated labview ui instead. Will the teststand sequences find the VIs inside of the ui exe?
    No Teststand will not beable to find your VI's in the EXE. If you need to use the same VI's in both your OI and TestStand sequence file then create a DLL.
    But I would recommend you keep the OI code seperate from your Test Code.
    3.) What about required drivers (e.g. daq-mx)? Should I create a labview installer of my ui with the required drives and install this, then create a teststand installer (perhaps including the ui, too) and install this, too?
    Install your drivers first. The IO should be installed as part of the TestStand deployment as this will register the various components correctly.
    Regards
    Ray Farmer
    Message Edited by Ray Farmer on 08-06-2008 01:02 PM
    Regards
    Ray Farmer

  • How to disable the run-time popup menu in the sequence display on TestStand Operator Interface, that allow the use to skip the test?

    How to disable the run-time popup menu in the sequence display on TestStand Operator Interface, that allow the use to skip the test?

    Hello,
                  Regarding the skip/force pass/force fail options, when I set the ControlExecFlow to True in Teststand 3.1 and 3.5, in the Sequence Editor the menu options for skip/force pass/force fail are not active for Technician but, when I launch the Operator Interface logged with Technician the options are active. The problem is that if the technician sets one step to one of these options, and change the user to Operator, the test step remains skip/force pass.
                  Is there any possibility without modifying the Operator Interface (at programming level), to reload default values of the steps when changing the user to Operator?
    Thank you,
    Best regards,
    paio

  • How do you get a station global or any variable to be read across UUTs executing in the parallel Sequence model?

    Dear  Support,
    I have two questions regarding the parallel sequence model:
    I am trying to find a global variable or any variable that can be universally read from any thread / step .   For instance:
    - Parallel sequence Model
    - 2 UUTs
    - The main sequence has 20  steps
    - I am looking for a variable that can be read universally across both UUTs in any step.  I have tried many, even the station global variable - as a Boolean - for "Abort" .  But that did not work either.
    Question TWO:   How can I bring out this universal variable to the UI ?  Can you point me to an example?    Do I use the "Lookup"  ,.  I could not get that to work.  Can I use the "Label"  ?  I could not get that to work neither.
    Thanks! Brad
    Brad Whaley
    LabVIEW Certified Engineer

    1. http://digital.ni.com/public.nsf/allkb/21368C716B06780A86256A5C007075DB
    2. Post UI Message http://zone.ni.com/reference/en-XX/help/370052K-01/tsapiref/reftopics/engine_postuimessage_m/
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

  • How to load programmat​ically from CVI the specific sequence file in TestStand 3.1

    I am trying to implement TestStand from Windows/CVI 3.1. I need to insert a specific sequence file in TestStand, with all other sequences unloaded. I used TSUI_ApplicationMgrCloseAllSequenceFiles() and TSUI_ApplicationMgrOpenSequenceFile(), but after Username/Password prompt, the TestStand loaded all the old sequences. How to eliminate this?

    Hello,
    I created a function that calls those two methods. When I made a simple CVI button and in a callback for it, I call my function, it does successfully close all open sequencefiles and then load the one I specified; however, it does not work when I call the function just before the call to RunUserInterface! I am very surprised by this and will be bringing it up with our R&D department. There is a simple work-around. Instead of closing all open sequencefiles at the beginning of the OI, close them at the end instead. I have modified the full-featured OI for you and tagged in the code where I made changes. This should do exactly what you want (you may want to change the code around to make it a little cleaner...I left more in code in than I needed for instructive purposes). Please let me know if you have any questions about this. Take care!
    Regards,
    Aaron B.
    National Instruments
    Attachments:
    TestExec.c ‏55 KB

  • Lire l écran LCD avec Labview(NI Vision)

    Salut,
    je suis étudiante et en faite nouvelle dans le traitement de l image avec labview. Dans mon Projet a l' uni je dois pouvoir lire les chiffres qui s affiche sur un écran (la photo est en pièce jointe) et qui change après 5 minutes. Après recherche j ai trouve un exemple dans les Exemples propose par Labview qui pourrait peut être m aider mais la différence avec mon image c est les chiffres dans l exemples sont en segment et les miens sont composes de points. Mes Problèmes sont les suivants:
    - j aimerai tout d abord remédier aux distorsion de non linéarité qui apparaissent sur l image
    - ensuite adapter l exemple LCD ou Classification a mon problème de manière a pouvoir lire les chiffres de tous les nombres possible (allant de 000-999).
    - enfin j aimerai aussi un tutoriel qui détail comment les exemples cités plus haut ont été construit.
    Bien de choses à vous
    Carine
    Pièces jointes :
    display.JPG ‏187 KB
    LCD Example.vi ‏57 KB
    Classification.llb ‏120 KB

    Bonjour,
    Je vous conseille d'utiliser NI Vision Assistant pour voir quelles sont les différentes étapes pour améliorer le contraste de votre image.
    Voici le lien vers la documentation (elle n'est pas à jour mais les fonctionnalités sont presques les mêmes)
    http://www.ni.com/pdf/manuals/372228h.pdf
    Cordialement
    David S.| Certified LabVIEW Associate Developer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Journées Techniques LabVIEW 2012 : du 27 septembre au 22 novembre
    2 sessions en parallèle : Débuter a...

  • Toolkit matlab avec labview

    bonjour à tous et merci d'avance ,
    je cherche un lien(ou bien une idée) pour télecharger le toolkitmatlab compatible avec labview 2011 (sinon 2009).
    l'objectif c'est que je veux transformer un code matlab vers labview.
    merci les ingénieurs du ni et tout les membres de forum.
    amicalement

    Hi khadija,
    You should be able to find the 2011 version of the mathscript-RT toolkit on ni.com/downloads. The download site has recently undergone a lot of changes and the search may not be up to speed yet. A direct link to the 2011 mathscript-RT toolkit is here: http://joule.ni.com/nidu/cds/view/p/id/2558/lang/en. 
    However, it sounds like you are using Matlab toolkits. The mathscript-RT toolkit re-compiles .m code into labview source code. However, the mathscript-RT toolkit will not work with any of the Matlab® toolkits, such as a vision processing toolkit. A list of commands the mathscript node can use is given here. 
    You also might try using the Matlab Script node, which is separate from the Mathscript-RT node, the Matlab Script node uses activex to call into the Matlab runtime engine. It should be able to utilize any toolkits that the mathscript-RT toolkit can't. However, the Matlab Script node will be slower and will require an installation of Matlab on each computer that your application runs on. 
    MATLAB® is a registered trademark of The MathWorks, Inc. Other product and company names listed are trademarks and trade names of their respective companies.
    Jesse Dennis
    Design Engineer
    Erdos Miller

Maybe you are looking for