Running a Labview VI illustrated alongside Teststand


This sounds like it could be a good use case for synchronization objects. I enclose an example that uses a notifier to do something similar to what you described. I wouldn't recommend handle like that serial numbers, but it gets the point across. You can also find a better example on notifiers here.

I hope this helps!

Trent

Edit: Code attached

Tags: NI Software

Similar Questions

  • How to check if an Excel Application is open, and if so to close before running a labview VI

    Hi all

    I have a VI that takes measures and store them in one worksheet Excel after a few digital manipulations. I was very careful to close whatever it is in the correct order before making a "Quit Application" at the end of the Labview VI

    The VI works well and as many times as we want as long as no Excel application has been left open (open hand to check the data for example) before running the labview VI.

    So currently, I have to be careful that no Excel application is open before starting the VI.

    Someone can tell me how my Labview VI can detect (at startup) If an Excel application is already open, and then close in case Yes?

    Thank you

    Youki

    Here you go,

    see you soon

  • Is it possible to find in which case is run in LabVIEW VI programmatically and display it...

    Is it possible to find in which case is run in LabVIEW VI programmatically and display it...

    I have published earlier the plugin Quick Drop here - https://decibel.ni.com/content/docs/DOC-38903#comment-36562 there is more information on how install or use it.

  • Running a Labview VI automatically enforcement in TestStand

    I try to have a VI run immediately when the step is called in the TestStand sequence editor.  Basically, I don't want to press the button "run" on the VI and have it start loading the inputs connected to be called by the Publisher.

    Are you even scroll through the sequence?  The only time where I have seen this problem is when I'm alone walk and I hit step by detailed step.  In this case, I don't want it still works.  Sometimes, I need to change the entries because of a stupid programming error.

  • How can I set default values in the Labview Advanced Settings the TestStand step settings tab to run a VI on a remote PC?



  • How to use LabView created notifiers in Teststand?

    Hello

    I have created a big enough sequencer with LabView engine and I start by creating a bunch of reporters, clusters, and queues.

    You can see in the first screenshot. See to see how I did it:

    http://forums.NI.com/T5/LabVIEW/unmatching-notifier-vs-type-declaration/m-p/3058887

    Then I tried to re - use these components with Teststand in a separate thread in order to control the background running the thread using notifications and messages.

    But where created Refnum LabView, Teststand await strings or object references.

    See the other 5 screenshots.

    No idea how the two match without having to rewrite all to help continue of Teststand?

    David Koch


  • How to close a pop-up open running in the new thread in Teststand without manual intervention?

    Hello

    I'm keycycle in infinite while loop. There are two ways to break out of the loop

    1. click on the 'OK' button on the pop-up that says "complete the event. The pop up is running in a new thread.

    2 increase the value of the parameter "Reset_Count".

    If I choose the first way the sequence runs completely, but if I choose the second way then execution gets stuck in cleaning and waiting for me to click on the button 'OK' Popup.

    So my question is, is there any way by which I can close the popup without manual intervention?

    I have attached the seq, in case you want to see exactly what is happening.

    Thank you

    Hello.

    Yes, replace the TestStand popup a dialog box with custom of LabVIEW.  Here are my first thoughts on a simple method...

    a.) replace the TS popup with a LabVIEW dialog box.  The LabVIEW dialog box contains an OK button and a loop waiting for an LV notifier.  Simply wait for the notifier of LV (with a timeout of 100 ms) as well as the OK.button.

    Then when you get your external reset to end the test, create an another VI to SET the alert (with data as a Boolean value) system to stop the dialog box.

    Let me know if this can work.  I could put something togther for example, if any.

    Thank you
    PH

  • How to avoid the launch of Labview when called by Teststand VI

    Hi, friends.

    I am a student of teststand. I wrote a few screws by Labview. Now, I want to invoke in teststand environment. But when I run the sequence. LabVIEW automatically launches. How to avoid the launch of Labview when I run the sequence?

    Thank you.

    I'm not sure that I follow what you're saying...  But it seems that when the VI is called, the LabVIEW Development software is started and you want to avoid this.

    If you create an executable file or a dll and that any call within TestStand, she should not call the development environment.  You must have the LabVIEW runtime engine installed on the target computer.

    For several years I used TestStand with LV, if my memory does not have to be precise.  I think that the above worked for me.  However, it seems that I remember something to have the LV code in debug mode, causing to open development environment... but it's a distant memory.    You do not use breakpoints where the LV VI is called, are you?

    R

  • Analyzer of sequence running from the command line in TestStand 2010

    Hello

    I would like to be able to run and control the stand-alone command line sequence Analyzer.  I can do that in 2014 TS (and it seems that I could patch versions as soon as 2012 TS to give them this ability), as described here: http://digital.ni.com/public.nsf/allkb/B927893F26BFB64A86257ECE006E442D

    However, I work with a large existing codebase in 2010 TS (with no intention to migrate to a newer version, in the foreseeable future).  Is it possible to get the same functionality from command line in the 2010 version of the parser?

    I know that I can open the command line parser, but are the commands, I am interested in: analyze, report, / save, /clearMessagesOnSave, / minimize, / help, / / leave.

    Thank you!

    Thanks Ryan, Jigg,

    Yes, I can run the parser (and opened a project), but basically, I can't run anything.

    I realized what I do by writing a TestStand sequence that calls the parser to sequence through its API (attached).  I can then run TestStand (and call this sequence) from the command line.

  • How to run the stages of synchronously in Teststand?

    Hi all

    I want to run a few steps synchronously, such asno step for affecting some conditions to DUT input, and a step for a few tests of measurement points under the conditions.and of the measurement is in real time.

    So I would like to know if this function can have do this.and how to do.

    Thank you.

    BR

    Johnny

    Hey Johnny,

    Here's a simple example in TS 4.1.1.  I would use a Rondezvous.  You simply create the Rondezvous with 2 threads.  Then spawn you a sequence in a new thread (Set DUT).  Inside of there, you have a step value Rondezvous Rondezvous.  Then another called sequence acquire data with a step of Rondezvous value Rondezvous.

    How works the Rondezvous is that first create you and set the number of threads.  Then TestStand expected at each stage of the Rondezvous he meets until the number you have set has been encountered.  Be careful because you may have a condition where you can't meet enough steps Rondezvous.  In this case you can set the time-out period to it will just continue or terminate if they are never met.

    I hope this helps!

  • is there a minimum set of windows services that can be run under Labview?

    I need more cpu resources to perform my VI, is there a list of Windows resources that I can disable that will not affect the VI?

    Hello

    I would like to know if there is a minimum of services set in really need of LabVIEW. Not because my VI needs more CPU, but because I don't see why I should have 10 services OR running in the background even when LabVIEW is not working.

    The list of services OR that I have running on my Vista 64 bit system when LabVIEW is not running is:

    national instruments tagsrv.exe 1 k 9 996 variable motor

    2 nisvcloc.exe NOR 0,920 k service locator

    3 NOR-PAL 3 492 k nipalsm.exe service manager

    4 NOR-Pal 7 468 k nipalsm.exe service manager

    5 nipalsm.exe service manager OR-Pal 21 356 k

    service of National Instruments Zeroconf nimdnsResponder.exe 6 k 1 924

    7 niLxiDiscovery.exe National instruments LXI Discovery Service 1 592 k

    nidmsrv.exe 8 nidmsrv 3 492 k

    lktsrv.exe 9 iktsrv.exe 3 480 k

    10 lkads.exe lkads 3 124 k

    TOTAL 56 844 K

    Anyone know which of these I really need? I do not connect any equipment data acquisition on this machine. It is purely used for writing vi which are then transferred to another machine where they are tested. I have installed DAQmx and LabVIEW 8.6.

    Thank you.

    J

  • Applications with the same resources of project running in LabView

    Hello

    is there a way how to force LabView running screws (apps) that share resources (screw controls etc.) as independent.

    I have a project with TCP/IP networking, it is better being debugged localhost, and two applications share a reusable code that I use (report errors, typedefs), synchronization of threads

    If I run both as screw, she eventually of course dysfunction, because both applications share a memory, which is supposed to be the current process.

    Now I have to build these Apps with debugging turned on to solve this problem, it's a lot of your time, because every code change must be to rebuild

    You have both of your applications in the same project?

    If so, try to put in different projects.  LabVIEW will create spaces separate memory for them.

  • Cannot run executable LabVIEW on desktop connection remote

    I have a couple of executable files, which are compiled using a LabVIEW 2011 development system, installed on a Windows XP computer.  These programs run fine when I double-click the icon while sitting at the computer.

    If I connect to the phone remotely from another Windows XP computer using Remote Desktop connection, I can use the remote computer normally except for the executables LabVIEW.

    When I double-click on one or the other, I get the error message displayed in the attached file. The part of the text of the report has no useful information, just two lines that seem to be field for e-mail names.

    What gives?

    Remote debugging is not a good substitute because it requires the executable file already be running.

    I was able to run two executables LabVIEW on desktop connection remote to a virtual machine of Windows 7 with 2 GB of RAM, running on a MacBookPro using Parallels Desktop.

    This confirms that the problem was insufficient for memory resources.

  • Can we run a LabVIEW VI and downloaded at the same time on Arduino code map Arduino?

    If we use LabVIEW to write data in series to an Arduino, can send us on the Arduino code before you run the VI so that the Arduino has something to do with the signals it receives from LabVIEW? Specifically, we want to use the digital IO pins to read into a signal on the Arduino (provided in series by LabVIEW) and do something with the signals as a LED lights up. Is that what most people do?

    Our project includes a parking meter and we want to use the Arduino by itself, but first we want to simulate the code using some signals that we want to move through LabVIEW. Basically, the meter said the Arduino, if they are paid, and if there is five minutes or less remaining on time. Based on this information and data from a PING sensor, we will determine which exit to turn off (a flashing LED to different frequencies to designate two different messages).

    Sorry if my question is not clear or if it is trivial; my partners and I are very new to LabVIEW and the Arduino, and we try to get this working soon.

    The LabView VI Arduino library is designed to work with the Arduino as a USB DAQ/DIO.

    This isn't really what you're after...

    I don't really know how LabView would be useful in this project.

  • Best way to run a LabVIEW VI, written for Windows in a MAC OSx environment

    I've written a VI in LabVIEW 8.6 Windows XP and it compiled into a .exe.  Now, I want you to run this executable on a MAC OS x computer.  What is the best way to do this without having to buy a LabVIEW for MAC license or machine virtual Windows for MAC software?

    Thank you

    CJL

    CJL,

    Yes, that should run.   Except... Your show is there any material?  To use all the functions that are specific to Windows (from the platform folder)? It relies on a video driver specific or sound card? It relies on mouse right click action?  All these kinds of things may or may not work because they are closely linked in the Windows operating system and the underlying hardware.  While the software itself will problaby execute, the programmay does not work as expected if some of these dependencies are handled differently by the Apple hardware.

    I have not used VM but native running under Bootcamp works fairly well, again allowing the issues mentioned above.

    Lynn

Maybe you are looking for

  • Version Numbers

    Just the last few days with the fact that I was not able to open a worksheet is protected by password. When I try to open it it said "it is time to upgrade. To open this spreadsheet you need the latest version of numbers"- so, I go to the App Store,

  • Network options

    I can't connect to the internet. In Control Panel, under network connections, there is no option of connection shown. They seem to have disappeared.

  • HP 15 laptop: turn on the keyboard

    I wanted to install a replacement on my labtop that makes lightweight keyboard when I type in low light situations. Please help me letting me know that this is possible or where I can get a. Thank you in advance. -Samuel

  • I lost the product key stickers

    Good day to all, I have WIN 7 HMPREM SP1, after I installed the software, I lost the product key stickers. I have all the information with the CD but the product KEY not here. can you help me with this issue please.

  • Change of the Windows experience index

    Hi there, my Pc has pre installed Windows 7 installed. Now, one day when I play VICE CITY. My computer is same trolling even if I play in this situation of delay, it will stop. Because of that I got my PC Factory Condition but still the game is late