Problems during execution of a LabVIEW VI in a new thread under TestStand sequence and execution of the MainSequence in step by step mode

Hello

We want to run a VI in LabVIEW (LV2011) at the same time to the execution of a sequence of test of TestStand (TS2010). The VI should view the condition of the equipment, while the test sequence is written in TestStand. It would be a nice feature of debugging the TestStand sequence while watching the State of the material in the LabVIEW Panel, too.

This is where it's our problem. Imagine that you have a MainSequence calling a subsequence in a new thread, which runs the LabVIEW VI. After the call, the MainSequence continues its progression, as it is configured to do this. But if we want to execute the MainSequence in step parallel execution of VI mode, we can do that. The controls for "Step Out" etc. are grey.

I tried to build a very simple example to explain what I mean. It's just a sequence and a LabVIEW VI, no real functionality, just take as an example for our problem.

Any tips? What we're doing wrong? Is there something that needs to be changed in the LabVIEW VI?

Best regards

Manual

You should use the monitor of the termination and the ExternallySuspended APIs for the EIS to running asynchronously. There are screws of wrapper around these APIs in the LabVIEW TestStand palette.

For more details see using the API for the following:

Thread.ExternallySuspended

Execution.InitTerminationMonitor

Execution.GetTerminationMonitorStatus

Unless I am struggling to understand what you're asking, if you are using these APIs, you should be able to make it work as you are eager to do things.

-Doug

Tags: NI Software

Similar Questions

  • Problem during execution of the xml in simultaneous program report

    Hello

    In EBS r12, we need to have a standard report output in excel.

    I myself report output xml to create the xml template (.) Presentation of the RTF) using BI Publisher.
    I created the. Available RTF and it works very well on my laptop using Bi Publisher... the XML load in it and I can get an overview of the xml data on layout with all formats (Excel, PDF...)

    I downloaded the layout at EBS and he attributed to the standard State.
    I changed the standard report out put in XML format

    When I go to submit the request for a report, the model is assigned with report and everything seems OK.

    But after I run the report.
    The report ended with the warning state... and the output is only XML with error message:
    This XML file does not appear to have any information of style associated with it. The document tree is shown below.



    The log file says:
    ---------------------------------------------------------------------------
    Options, AutoComplete, the request for enforcement.

    (1) PUBLISH.
    Post-processing of application 2350601 on node CLONE from April 13, 2011 09:03:47.
    Post processing of request 2350601 failed to April 13, 2011 09:03:48 with the error message:
    Failure of one or more shares of post-processing. For more details, see the OPP service log.
    --------------------------------------

    ------------- 2) PRINT -------------
    Does not print is not the output of this application because the post-processing has not.
    --------------------------------------

    End of query options AutoComplete.


    The post-processing of the output assembly Manager log file shows that:

    Model code: LATE_PAID
    App model: SQLAP
    Language: en
    Territory: 00
    Output type: EXCEL
    [21/09/11 10:59:39] [UNEXPECTED] [1273372:RT4463274] java.io.FileNotFoundException: /data1/EBSR120/inst/apps/oravis_hschbscgn20076/logs/appl/conc/out/o4463274.out (no such file or directory)
    at java.io.FileInputStream.open (Native Method)
    at java.io.FileInputStream. < init > (FileInputStream.java:106)
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:230)
    at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:166)

    [21/09/11 10:59:39] [1273372:RT4463274] Over the actions of post-processing to request 4463274.
    [21/09/11 11:33:17] [OPPServiceThread0] Post-processing application 4463327.
    [21/09/11 11:33:17] [1273372:RT4463327] The execution of the actions of post-processing for request 4463327.
    [21/09/11 11:33:17] [1273372:RT4463327] From XML Publisher postprocessing action.
    [21/09/11 11:33:17] [1273372:RT4463327]

    Hello
    Thanks for your reply.
    I got the output. This error was by the path of the invalid temporary directory in XML Publisher administrator. (Administration-> properties-> general)

    Thank you
    Catherine

  • An error [-5005: 0 x 80070002] occurred during execution of the installation of magictune

    Original title: uninstall magictune

    I am running Windows 7 64 X.  By mistake I have install MagicTune Premium.  My laptop is Toshiba Satellite P799 with Nvidia GT 540 M.  I tried to uninstall it using the program and functionality but receive the following error message:

    An error [-5005: 0 x 80070002] occurred during execution of the installation

    When I click OK, it brings me to the Samsung download web site.  I repeat the download and then restart.  The coup explore whenever I try to run.

    I always unable to uninstall it.

    Grateful for the help

    Thank you and best regards,

    JC

    Hello
     

    Follow these methods and check if that helps:

    Method 1:

    Try to uninstall the program in clean boot mode and check if it helps.


    How to troubleshoot a problem by performing a clean boot in Windows Vista and Windows 7.
     
    Note: Don't forget to reset the computer to start as usual when you have found the culprit. Follow step 7 on top of the kb article.
     
    Method 2:

    I suggest you follow the troubleshooting steps form the article and check if it helps.

    How to solve problems when you install or uninstall programs on a Windows computer
    http://support.Microsoft.com/kb/2438651
  • During execution of the backup and maintenance on one of my computers, I noticed a folder and the file that I can't identify me...

    Original title: identity of unknown folder

    During execution of the backup and maintenance on one of my computers (Windows xp home, sp3), I noticed a folder and the file that I can't identify.  The name of the folder is cc68f6b7a7ca948eefb018f001 and the name of the update.exe file.  The properties of the file that it is a Windows Service Pack installation.  I tried Googling the name of the folder, but found nothing.

    Can you tell me with regard to this issue, and what, if anything, I have to do?

    Thank you.

    When some programs (including Windows) installs things, it can create a temporary folder composed of 20-30 random letters and numbers or random numbers and letters in the root of the drive of the volume with more free space.

    This explains why the records are sometimes on your C drive or any other drive - the most space?

    For example, you can see a similar to or called folder:

    D:\9470bb12e8a4f3447657236478e41c5

    There may be other folders and files in this main temporary folder such as amd64 and i386 platforms.

    They should normally be deleted when the installation is complete, but sometimes they are not - especially if the installation fails.  They are harmless but annoying.  You can think something is wrong when there are no or fear, that the files are really necessary.  To avoid confusion, you can delete the temporary files.

    If your installation has failed or the installation does not remove the folder to the random name when it finishes running again installation will be another folder at the random name.

    You may be able to identify installation (out of curiosity) by looking at some of the contents of the folder and decide if this installation was not serious, just remove the files/folders.  If the installation does not work for some reason, run again just installation will create a new temporary folder to the random name so the old temporary folder is really useless.

    Records are sometimes tough to remove.  Even if you are an administrator on the system, you might get a "sharing violation", "access denied", "used" or type similar message when you try to delete temporary folders.  Facilities sometimes use different permissions that can have a regular user with the administrator group.

    There are many methods to try to remove the folders, and some require third party programs to install or change some windows settings that could compromise the security of your system if you do not change them back when you're done.

    Start your system in Mode safe mode (by pressing the F8 key several times just before XP attempts to load) is one good method to try to remove the files because it does not have to make any changes to your system configuration or by downloading third-party programs.

    If you are running XP Home Edition, the following section on turn off "Simple file sharing" does not apply to you since in XP Home, Simple file sharing is always turned on.  If you are running XP Home Edition, skip the next few paragraphs and resume where it says:

    "If no part tool above work try a third popular called Unlocker.

    If Safe Mode does not work you can change the security of the folder when you start in Normal Mode to give your username full control over the files by navigating to it in Solution Explorer, click on tools, Folder Options, view and in the advanced settings window, uncheck (at the bottom of the list) use simple file sharing (recommended) and click OK.  This disables him recommended simple file sharing on your computer if you want to turn it back on when you're done to make everything you do.

    Right-click on the files of interest, click Properties and click the now visible security tab.  Change the properties, but you need (for example, select your user name, and check the box to allow full control), click OK to apply the changes.

    With usage share of active simple files (recommended) the checked the properties of the folder tabs are:

    General, sharing, customize

    With the use of sharing files simple disabled (recommended) box unchecked, the properties of the folder tabs are:

    General, security, customize

    Now, try to manipulate/delete the folder.

    It's a good idea to go back to the Explorer and the cheque in the box easy to use sharing files (recommended) when you have finished making everything you do.

    If none of the above works, try a popular third-party tool called Unlocker.

    Unlocker can be downloaded here:

    http://www.emptyloop.com/Unlocker/

    If you use Unlocker, be sure to install because he wants to add a bunch of options, addons, shortcuts and other extras that you don't need.

    You must add the shell extension so when you right click on the offending file, you will have a Unlocker option to choose.  I would just install it long enough to clean up the leftovers and then, I usually just uninstall and all parts of it.  You can always install it again another day if you like.

    Unlocker can be uninstalled when you have finished using it.

    Reboot when finished to ensure that boring records are really missing.

  • during execution of the page, I got the below error

    Hi gurus,

    During execution of the page, I got the below error.

    Error (14.8): wnsgs.oracle.apps.pa.projectinfo.server.NewManagerCustomTableEOImpl of the class should be declared abstract. not setLastUpdateLogin (oracle.jbo.domain.Number) method defined in the class oracle.apps.fnd.framework.server.OAEntityImpl


    Please help me its very urgent

    Thank you
    Sandrine

    Hi Liza,

    Please check your columns WHO that u added correctly or not in your OT If not added you please define the setLastUpdateLogin() method in the java file NewManagerCustomTableEOImpl.

    Thank you
    Deb

  • If I started a project in first Cs5 and want to finish it in first Pro CC it causes problems exporting my sequence and get into the new software?

    If I started a project in first Cs5 and want to finish it in first Pro CC it causes problems exporting my sequence and get into the new software?

    Better is to import the cs5 project in the new project of CC.

    And Yes this could have problems, he could not.

    I would have ended up in CS5. Export to the lossless format and encode with SOUL CC until the final destination.

  • Error during execution of the event handler

    Hello

    I've implemented a before update event handler (made sure the name is true, the package is right, file loaded on the server, the java code compiled in jdeveloper) but had this error during execution. -What this means and how can I solve this problem?

    Thank you

    ERROR, 4 June 2009 17:25:32, 701, [XELLERATE. SERVER], class/method: tcDataObj/eventPreUpdate some problems: Event handler com.oracle.events.UcdCheckAndSetSponUserExpDate has no name assignedjava.lang.RuntimeException: Event handler com.oracle.events.UcdCheckAndSetSponUserExpDate has no name assigned
    at com.thortech.xl.client.events.tcBaseEvent.run (unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.runEvent (unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.eventPreUpdate (unknown Source)
    at com.thortech.xl.dataobj.tcUSR.eventPreUpdate (unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.update (unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save (unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save (unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.updateUserData (unknown Source)

    In your constructor did you set the name of the event handler?

    Something like:

    setEventName("Enter-a-name-here");

    Best regards
    / Martin

  • C# takes arguments & reporting during execution of the text file

    I have a text file with the following text:

    int A = 5;
    Dim str As String = "tempstring;
    15, 16, 20, 22 DosomeMethod str.

    When you read the text through my program file, I want to declare int A = 5 & Dim Str as string = "tempstring" during execution.

    It can be as

    String [] st = freader.readline ().split(' ');
    If (st [0] is "int")
    {
    Str [0] str [1] = str [4];
    }

    I know that the above is the wrong syntax, but I want to do something like that with a few references.

    Can someone help me without using the .net irony?

    Hello

    The question you posted would be better suited in the MSDN Forums. I would recommend posting your query in the MSDN Forums.

    http://social.msdn.Microsoft.com/forums/en/categories/

  • How do you change the display screens during execution of the program?

    I would like to have a LabVIEW screen with a list of test Vi to run, and then select one to display.

    In addition, then return to the main screen.

    Thank you

    Looks like a project...

    Side main VI:

    Creata a dropdown list (use ring/enum control) with list of the test screw...

    now, create an event "value change" for control... to capture the current value of the control.

    use of the VI attached as main VI...

    and sub VI

    on close event, get the reference of the main VI and use the property node 'open front'... to return to main VI

    or you can close VI main when you cal a test Vi and re open the main VI when you close any criterion VI...

  • VI LabVIEW Report Generation Toolkit elements in a TestStand sequence does not work with a LabVIEW 8.5 run-time engine

    Hi all

    I'm using LabVIEW 8.5.1 and TestStand 4.1. I did a sequence TestStand with a VI in this document, which uses items Report Generation Toolkit. On my machine I use LabVIEW and TestStand development system license. On another machine I use TestStand with basic deployment license and I chose the LabVIEW 8.5 run-time engine in the Configuration of the adapter. Everything works well except this VI with elements of Report Generation Toolkit. The error message shows that the VI is not executable. It works well only after I installed with a trial license and selected LabVIEW LabVIEW 8.5 development system in the Configuration of the adapter.

    I found other posts and a document in the knowledge base with a similar problem: http://digital.ni.com/public.nsf/allkb/8A0E6274D9BD7B1986256F62006AD402?OpenDocument but I am not no EXE files in my sequence, so I do not know how to fix mine. Someone has an idea?


  • How can I prevent the shutdown task scheduler engine, get the new display detected to work and avoid receiving the message "Internet Explorer has encountered a problem and stop"? __

    My laptop is a Dell Inspiron 1520, running Windows Vista Home Edition Premium and Internet Explorer 9.  My extra monitor is a Sharp Aquos LED HD - TV, the model LC-46LE700UN.  I've been using a VGA cable to me onnecter the laptop and TV.

    The laptop seems to operate normally when not connect to the TV.

    As soon as the VGA cable is connected to the laptop (without being connected to the TV), the following message appears:

    'Microsoft Windows - Task Scheduler engine has stopped working.  A problem caused the blocking of the program works correctly.  Windows will close the program and notify you if a solution is found. »

    When initially, I connected the laptop to TV, "new display detected" was automatically acti EV.  Soon, it was activated is no longer automatically.  I was able to activate manually using Windows Mobility Center during automatic activation failed initially but now Windows Mobility Center no longer detects the new view.

    Using Fn + F8, I can view the image on the laptop or TV, but not both simultaneously.

    The message "Internet Explorer has encountered a problem and stop" appears intermittently, but I can still make internet sites and show the content after the message.

    I have download software, myp2p.eu, a site for watching TV programs "streaming", including PPStream, Sopcast, Live, Stream Torrent Sina, a Swarm, TVAnts, UUSee, VGO and Veetle player and canceled downloads for PPL (who failed an integrity check), PPMate (corrupted) and (blocked) TVKoo.

    Norton Security quarantined the installer of UUSee, indicating that it was a high risk of program with many users.

    To a computer repair shop and using a different additional display flat screen, I could not duplicate the problems yesterday (4 October 2010), when the "new detected display" has been activated automatically, and I could see the photo or the other and both screens.

    I tried to restore the system to a date (on the list) before when the problems occurred first - failure of the restoration of the system.  I tried to use scandisk, but received no indication that he had performed and corrected all errors found after restarting Windows.  I looked at responses from forum, the display setting and the new display detected support literature.

    How can I avoid these problems?  Help!

    Hello

    Restoring the system end up with any error message?

    This could also happen if one of the substantive programmes is in conflict with the proper functioning of your computer. To troubleshoot error messages and other issues,
    You can start Windows Vista by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    Steps-
    1 log on to the computer using an account with administrator rights
    2. click on start, type msconfig.exe in the start search box and press ENTER to start the System Configuration utility.
    If you are prompted for an administrator password or for confirmation, type your password, or click on continue
    3. on the general tab, click Selective startup, and then clear the check box load startup items. (The check box use the file Boot is not available.)
    4. on the Services tab, click to select the skin all the Microsoft services check box, and then click Disable all

    Note: Following this step lets services Microsoft continue to run. These services include networking, Plug-and-Play, record of events, error reporting, and other services.
    If you disable these services, you can permanently delete all restore points. Do not do this if you want to use with existing restore points system restore utility

    See this article-
    http://support.Microsoft.com/kb/929135

    This should solve your problem.

    -Robert

  • How can I track SequenceFailed from my LabVIEW GUI during execution of the sequence?

    I develop a LabVIEW graphical user custom interface, and I want to have a big success/failure seeing that reflect the current state of success or failure of the test sequence runs. My test application is a Burn-In that takes 8 hours. He could shut up red on the first step that fails.  I noticed there is a Boolean RunState.Root.SequenceFailed in TestStand, but I don't know how to work of LabVIEW, or if there are other, better as well.  This should be easy!

    Thank you

    OK, I'm really close, I think I have almost, but I have one last question, you are invited to do so by your last response. Where can I access engine callback 'SequencePostStepFailure '?  I can see "SequenceFilePostStep", but this isn't the same thing I think (?).

  • How to change input during execution of the VI values?

    Hi, I am involved in a project of I am responsible to implement the code for a stepper motor. A problem that I face is how to do a "update" button, I have 5 input values that I need, but is it possible to change the values without having to restart the VI? Basically I'm looking for a way to update my variables and run the same block of code every time.

    At first I thought to use a for loop and have a each press on the button update a new iteration of the loop with the updated values but that doesn't seem to work, can someone point me in the right direction?

    Thank you.

    In my view, that a simple event structure you get. Check out the attached VI. If you need additional assistance, please your postal code. Note that this code uses a button (update) to update all 5 digital inputs. You can simply right-click in the structure of the event and select "Change events managed by this case" to make sure that change the any digital inputs generates the event.

  • Error: The drive cannot find the sector requested: 0x8007001B) during execution of the backup on DVD

    I tried to backup using a DVD, as usual, but without success. Back to the high status and Configuration States:

    Upward did not complete successfully
    Original title: back to the top has not completely filled.

    An error has occurred. The following information can help you resolve the error:)

    The drive cannot find the sector requested:
    0x8007001B)

    I've looked everywhere for this problem... need help :)

    Babette

    Hello

    1. have you done any software or hardware changes on your computer before this problem?
    2. have you checked with another DVD drive?
    3. using the Windows backup feature to backup?
    4 do you have third-party backup programs installed on your computer?
     
    To work on the issue, refer to these methods.
     
    Method 1:
     
    Step 1:
     
    If it's a DVD I suggest trying to backup to an external hard drive and check to see if you get any errors.

    Step 2:
     
    Temporarily disable the antivirus software and check if you are able to perform the backup.

    Caution:
    Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.
     
    Back up and restore: frequently asked questions

    Set up or change automatic backup settings
    Method 2:
     
    I suggest you check for errors of hard disk on the drive you want to back up.
     
    Check your hard drive to find errors in Windows 7
    http://support.Microsoft.com/kb/2641432
     
    NOTE: the steps also apply to Windows Vista
     
    CHKDSK warning:
    Important: When running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.
     
    Hope the information is useful.
  • ORA-00904 during execution of the functions and procedures (IDE version 4.1.0.19)

    Recently, I updated my Oracle SQL Developer to the latest version (see below) and now when I try to run the function or procedure of the IDE, I had an alert with the error: "ORA-00904:"OBJECT_ID": invalid identifier." Code provider 904 ". Previous version of IDE works pretty well. What is the problem?

    Oracle SQL Developer 4.1.0.19

    Version 4.1.0.19

    Build a HAND - 19.07

    It seems that OBJECT_ID added to ALL_PROCEDURES for the 10g DB version, but after the version you have (10.2.0.1.0).  I don't have a link to the documentation specific to hand Oracle, but see the last comment by Steven Feuerstein in the next blog...

    PL/SQL challenge: ALL_PROCEDURES changes over version (5980)

    Typically when generation SQL for a particular version of the DB with SQL Developer, only major (10) and (more rarely) secondary numbers (2) gets checked, if your problem is one of those borderline cases that are easy to miss and less likely to get fixed. Whenever a customer has a specific need to use an older version, Oracle expects usually only the last set of patch (for example, 10.2.0.5) would be used.

Maybe you are looking for