Current stage of the display with API

Hello

I'm using LabVIEW 2009 AP1, and I call a sequence of TestStand 4.2 by using the API. I do not use the operator interface, because this isn't a graphical interface, but a module which runs just a sequence.

I have reproduced essentially calls listed here .NET:

http://forums.NI.com/T5/NI-TestStand/calling-user-created-TestStand-sequence-from-net/m-p/703125?Que...

Only with the engine of the activeX LabVIEW, properties and methods. So I have references to the TS engine, movie file, the process model and execution.

What I need is access to the current name of the step. I don't need the whole sequence Viewer, essentially just to access the 'Step.Name' property at any specific time. I guess it would be accessible through the reference of the performance, but I am unable to track him down. I suspect it will get a reference to a subproperty of the execution and then acting on it somehow, but I can't get there from here.

Any ideas?

Thank you

Tim

Hi Tim,.

Only two other solutions:

If you have a handle to the execution of your

you could use Execution.GetThread () Note: you collate property Execution.NumThreads how they are present.

lets hope there is only one!

Access the thread and get a context with Thread.GetSequenceContext

Now you should be able to access the name with SequenceContext.Step.Name

Another solution to this sort of thing might find:

http://forums.NI.com/T5/NI-TestStand/is-is-possible-to-retrieve-a-sequence-context-through-a-new/m-p...

related to this: http://forums.ni.com/t5/NI-TestStand/Marshalling-the-IEngine-object/m-p/666852

I hope this also helps

Jürgen

Tags: NI Software

Similar Questions

  • Cannot update the display with v.156.16 on the Satellite A100-599 Vista nVidia Driver

    I have Windows Vista Ultimate Edition in Satellite A 100-599. Update NVidia display with 156.16 version driver is not possible. A fact Vista Ultimate 32

    bit.

    Any solution to this problem?

    Thank you.

    Hello Kerim

    Can you please tell me what happening exactly when you try to install NVIDIA Driver 7.15.11.56.16 version. ?

    Do you have problems with the display only driver?

  • I have a dual monitor in the display with a different total 3 registered. How can I get rid of one of the duplicates.

    I accidentally added the same monitor in the display area where you can change the appearance.  I think this causes a problem when I click for a drop-down list, as the drop-down list will be grayed out until I put the mouse pointer in the drop-down list box list, so I'm able to use the right items listed lower down.  However, after I have click on the option I want to use, copy, paste, cut, etc, that particular item will remain on the screen until I have change the resolution and then go back to the original resolution.  I'm afraid to remove the monitor that I would delete that I'm not with my main monitor.

    Thank you for your time,
    Frank

    Hi Frank,.

    I suggest you to change the main view and check if that does the trick. To do this, follow these steps:

    a. click Start and select Control Panel.

    b. click view , and then select change display settings

    c. click the type of view you want as primary (or display 1) and select the option 'Allow this my main screen'

    You can also see the following articles for more information:

    Move windows between multiple monitors

    http://Windows.Microsoft.com/is-is/Windows7/move-Windows-between-multiple-monitors

     

    Work and play better with multiple monitors

    http://Windows.Microsoft.com/is-is/Windows7/work-and-play-better-with-multiple-monitors

    Hope this information helps. For any other corresponding Windows help, do not hesitate to contact us and we will be happy to help you.

  • Insert the process task in the process with API instance

    Hey gurus,

    Can you advise me if it is possible to insert a specific process in a process instance task to run it? I know a name of the task to be performed, but in tcProvisioningOperationsIntf there are a key to add/execute process task. I also suspect that it might be a key to a task that is already on a process instance, slightly re - run situation.

    Is there a way to do this through the API? I think I can go to IOM DB to search for a key in a table that contains the tasks of process definition, but:

    (1) I need to know what table is incorporated this information

    (2) I'm not positive that it is possible at all (to inject a new task into the existing process instance)

    Thank you in advance!

    Assuming that you have the processInstanceKey for the instance of the user:

    Map taskMap = new HashMap();

    String nom_de_tache = map.get('zoom') (resourceName);

    taskMap.put ("Definition.Tasks.Task process name", taskname);

    tcResultSet rs = taskOper.getTaskDetail (processInstanceKey, taskMap);

    long taskKey = rs.getLongValue ("process Definition.Tasks.Key");

    LOGGER.log (Level.INFO, "name of the task [" + TaskName + "] key task [" + taskKey + "]" "");

    long insertedTaskKey = provIntf.addProcessTaskInstance (taskKey, processInstanceKey);

    LOGGER.log (Level.INFO, "added task [" + insertedTaskKey + "]");

    -Kevin

  • navigation bar problem "bootstrap" in the display with an iPhone

    I made this website ~ http://steuarthall.com/index.html ~ using bootstrap components in Dreamweaver CC2015.1. The menu nav works fine on a desktop or laptop computer, but it does not at all appear on an iPhone. Does anyone have suggestions?

    The problem is caused by your button does not not the correct ID, this is why the menu does not open when you click on the button menu on mobile devices:

  • To access the display object on the stage of another class

    I Googled that nothing helps, I only found how to manipulate the scene itself and not a display on that object and I'm noob enough to not be able to figure it out from there. :/

    I have a clip on the main timeline with the instance name displayName. I created a button that should change this framework displayName will to (in order to... makes you guess? display the name of the button.) Awesome. )

    So, I'm trying to write the code in a reusable manner and have everything related to a class called GeoPuzzle buttons. Inside the GeoPuzzle I instantiate a touch event and run code. However, the function should be able to change displayName in the main part of the timeline and, of course, the compiler says displayName does not exist because I'm in a class and I don't mean the scene.

    Here's the code simplified in the class:

    package com.freerangeeggheads.puzzleography {}
    import flash.display.MovieClip;
    import flash.events.TouchEvent;

    SerializableAttribute public class extends MovieClip {} GeoPuzzle
    declaring variables

    public void setInitial (abbrev:String, fullName:String, isLocked:Boolean): void {}
    Set the parameters
    this.addEventListener (TouchEvent.TOUCH_BEGIN, geoTouchBeginHandler);
    }

    public void GeoPuzzle (): void {}
    }

    public void geoTouchBeginHandler (e:TouchEvent): void {}
    e.target.addEventListener (TouchEvent.TOUCH_END, geoTouchEndHandler);
    other methods
    nameDisplay.gotoAndStop (e.target.abbrev);
    }

    public void geoTouchEndHandler (e:TouchEvent): void {}
    other methods
    nameDisplay.gotoAndStop ("USA");
    }
    }
    }

    The lines in bold are my problem. Now this code does not actually as it is the case if you find an error in it, Yes, I have no idea what the problem is, but he DID run forward and these lines always gave me wrong so I'll try to help out on multiple fronts.

    How can I say displayName to change its current image within the display object class?

    Thank you!

    any display list object can refer to any display list object, but this is not necessarily good OOP.

    in any case, for your class reference displayName:

    . DisplayName MovieClip (this.parent)

  • Get the name of the current stage of MainSequence in parallel sequence

    Hello

    I starts a sequence in parallel of the MainSequence by "use new run." This parallel sequence is constantly in querying CPU performance data for my USE and records 'on the fly' an Excel file while the MainSequence turns the test scenario.

    To get a clear reference of the performance of the CPU DUT to test steps, I need to somehow get the name of the step of the test step currently performed in the MainSequence for saving it and the CPU performance data.

    Is it possible to identify the current stage of the main sequence in the parallel sequence (for example, property)?

    Thanks in advance,

    MRet

    Rette01 wrote:

    Hi Doug,.

    Finally, we have updated to TestStand 2013 and try to use your example.

    We have some problems to get the referral of wire, which is replaced by "threadToMonitor" in the expression you have posted, as far as I understand.

    The thread to monitor is the MainSequence. So, how can I get a reference to the MainSequence?

    Kind regards

    Rette01

    Pass RunState.Thread as a parameter to the call of the sequence. The parameter must be specified as an object reference variable.

    -Doug

  • iPhone 5s stuck on the loading with the apple logo bar

    my iphone 5 s is currently blocked on the loading with the apple logo bar, my home button does not work (I normally use assisstive-touch), ive tried connecting my phone to a laptop and then connect to itunes, but when I connect to itunes it say «to allow access, answer on your iphone» I don't know what to do and need my phone. Help, please.

    You must get the repaired Home button in order to connect to iTunes to sync or restore data.

    Help here > repair - official Apple iPhone Support

  • Time line / cut the sequence with the keyboard?

    Hi-

    I'm working on a rough Assembly of a long video and I would like to be able to create cuts (or slice?) with the keyboard at the current point in the timeline. I searched the documentation, web, and settings of the first keyboard shortcut and do not seem to see a way to do this.

    However, I thought I would ask my fellow users first to help you, then is it possible to use the razor to the current point in the timeline with the keyboard?

    Thank you

    Rich

    Windows:

    CTRL + K = runway (s) selected

    CTL + shift plus K is all tracks

  • Typing a wrong URL in the URL from Firefox 31.0 bar redirects me to us.yhs4 yahoo com search that displays the LAVASOFT logo. It is not the case with any of my

    Typing a wrong URL in the URL from Firefox 31.0 bar redirects me to us.yhs4 yahoo com search that displays the LAVASOFT logo. It is not the case with any of my other browsers (IE, Chrome, Opera, Safari). So this cannot be a problem ISP as shown in all current references to Firefox.
    This problem started after I uninstalled adaware from LAVASOFT. It itself instead of uninstall. Thus, it is malware behavior while LAVASOFT is pretending to protect against malware.
    Nevertheless, I would like to know how to get rid of this annoying 404 redirect hijack. My home page is about to startpage com, my default search engine is startpage com, all references to Lavasoft and adaware have been removed by subject: config and Windows registry...
    How to get rid of this spam redirect, please?

    Click Tools > Options, then general tab

    In the home page box, type the url you want to fire fox opens by default when you start the browser.

    KhalidXpert

  • Does anyone can help with the display settings on Satellite 4070?

    My brother gave me his old laptop, a Satellite 4070, I wrongly thought was of Wi - Fi enabled and it is connected to my library with poor results.
    The display settings are gone and continue to go haywire and display a message saying:
    There is a problem with your display settings, the adapter type is incorrect, or the current configuration does not work with your hardware.

    I tried to change the display settings but they go back - anyone got any ideas on that?
    I know there is a product recovery CD, but naturally enough I don't have that either.
    Thank you

    Hello

    I m not exactly on this fault, but it seems there must be something wrong with the graphics driver and display settings.
    That's why I recommend you first remove the old driver and after restarting again try to install the graphics driver from the Toshiba driver page.

    I think you are using the Win98. Am I wrong?
    Then visit Toshiba, download the Trident display driver and install it!

    Good luck and have a nice day ;)

  • How can I get a digital WDT which includes all samples, not only that of the current stage of time...?

    See block labeled "digital data" in my attachment for reference. Currently, we can consider that the point of digital data for the current time step (it is removed before the following appears). However, I like it showed all the samples in the table as in the example that appears on this link under "digital waveform control":

    http://zone.NI.com/reference/en-XX/help/371361H-01/lvconcepts/fp_controls_indicators/

    Thanks a lot for your suggestions! I am new to Labview, so I appreciate your help.

    Hey westerman111,

    If you are looking to produce your display includes information of the previous steps of Solver solution, you'll need to buffer the previous data. How to implement this in a loop of Simulation of design by & control uses the Memory.vi under control design Simulation & > Simulation > utilities > Memory.vi. It will allow you to save previous information generated in the simulation for letter simulation environment.

    I've attached an example that should help you get started using the Memory.vi.

    I'd also sure that what you are trying to achieve is suitable for the control loop & Simulation. I know you said that you were new to LabVIEW, so I wanted to make sure that you went to sea in the right direction. Is there a particular reason, why you use the control loop & Loop Simulation instead of a standard time or a forum? The loop control design simulation & is unique in that it calculates the solution of a dynamic system to a no prescribed time and the ODE solver. It also provides tools to interact with the model you solve during execution. However, if you are looking for measurements (instead of the simulation of the dynamic model) and data acquisition I advise to use the standard features of LabVIEW.

    Here are a few useful references for the departure with the two LabVIEW Control Design and Simulation Module.

    Tutorial: Introduction to Simulation (Control Design and Simulation Module)

    http://zone.NI.com/reference/en-XX/help/371894G-01/lvsimhowto/sim_h_gs/

    Getting Started with LabVIEW

    http://digital.NI.com/manuals.nsf/WebSearch/ba2fb433a7940e7a862579d40070cc2c

  • Help. the display on my Dell with Windows xp3 is upside down!

    I was playing with my machine, so it's "disorder finger." tried system restore, but it does not work. In addition, the machine seems to be otherwise functional.

    Retstart the widows logo and the movement points are the right way up, but as soon as the display goes to the 'Welcome' screen, the display is upside.
    Please can anyone suggest how I could restore my Dell healthy?   It's current state it is completely unusable.
    Thanks a lot for any assistance.

    Try pressing:

    CTRL + ALT + (at the same time)

    You may need do it more than once.

  • "A problem with the display driver.

    Recently, I get an error message whenever I open Photoshop CS4. It reads as follows.

    "As Photoshop has encountered a problem with the display driver and has temporarily disabled GPU enhancements. Visit the Web site of the manufacturer of the video card for the latest version of the software.

    "GPU improvements can be enabled in the Performance preferences panel."

    I checked the graphics cards in Device Manager, and when I tried to update the software, it told me that I was aware.

    • OS: Vista Edition Home Premium
    • Dell Inspiron 1520
    • Display driver: NVIDIA GeForce 8400 M GS

    Sincerely, Danny

    Hello

    Try to update your display manually driver and do not use the analysis of the drivers on the manufacturer's website either.

    This is my generic how updates of appropriate driver:

    This utility, it is easy see which versions are loaded:

    -Free - DriverView utility displays the list of all device drivers currently loaded on your system. For
    each driver in the list, additional useful information is displayed: load address of the driver, description,.
    version, product name, company that created the driver and more.
    http://www.NirSoft.NET/utils/DriverView.html

    For drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
    Control Panel - Device Manager - Display Adapter - note the brand and complete model of your
    video card - double - tab of the driver - write version information. Now click on UPdate Driver (this
    cannot do anything as MS is far behind the certification of drivers) - then do a right click - Uninstall - REBOOT
    This will refresh the driver stack.

    Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party with their
    own the software and drivers and all other main drivers that you have.

    Now go to the site of the manufacturer of system (Dell, HP, Toshiba as examples) (restoration) and then of the manufacturer of the device
    (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for the BIOS, Chipset and software)
    updates on the site of the manufacturer of the system here.)

    Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after each installation.

    Always check in the Device Manager - tab drivers version you install actually shows up. This
    because some restore drivers before the most recent is installed (particularly that audio drivers) so install a
    pilot - reboot - check that it is installed and repeat if necessary.

    Repeat to the manufacturers - BTW on device at the DO NOT RUN THEIR SCANNER - manually check by model.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    If you update the drivers manually, then it's a good idea to disable the facilities of driver in the Windows updates,
    This leaves ONE of Windows updates, but it will not install the drivers who are generally older and cause
    questions. If updates offers a new driver and then hide it (right click on it) and then go look for new ones
    manually if you wish.

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    Hope these helps.

    Rob - bicycle - Mark Twain said it is good.

  • I get an error message: The Nvidia OpenGL driver lost connection with the display driver and can not continue. Error code 8

    When I play the virtual Interactiver - Second Life Community. The screen turns white and windows tells me the display adapter stopped responding and has recovered. While the second life Viewer is still Virgin (white). I get the error in a box: The Nvidia OpenGL driver lost connection with the display driver and can not continue. The application must close. Please visit http://www.nvidia.com/page/support.html for help. Error code 8. Now, I worked with Nvidia to do a clean install of the latest version of the driver. a driver in safe mode installation. They suggested to try an earlier version of the driver. Nothing that they worked me and told me to see Microsoft. The pilot hangs every 30 min or so, all online in the second game of life. Can someone help me?

    Information System
    ------------------
    Time of this report: 13/06/2011, 19:40:20
    Machine name: BEN - PC
    Operating system: Windows 7 Professional 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_gdr.110408) - 1631
    Language: English (regional setting: English)
    System manufacturer: HP-Pavilion
    System model: GC670AA-ABA a6120n
    BIOS: Phoenix - AwardBIOS v6.00PG
    Processor: Intel (r) Core (TM) 2 Duo CPU E4400 @ 2.00 GHz (2 CPUs), ~2.0GHz
    Memory: 4096 MB RAM
    Available OS memory: 3582MB RAM
    Page file: 1690MB used, 5472 MB of available space
    Windows Dir: C:\Windows
    DirectX version: DirectX 11
    DX setup parameters: not found
    User DPI setting: 96 DPI (100%)
    System DPI setting: 96 DPI (100%)
    DWM DPI Scaling: disabled
    DxDiag Version: 6.01.7601.17514 64 bit Unicode

    Two monitors

    Display devices
    ---------------
    Card name: NVIDIA GeForce 7600 GT
    Manufacturer: NVIDIA
    Track type: GeForce 7600 GT
    DAC type: Integrated RAMDAC
    The device key: Enum\PCI\VEN_10DE & DEV_0391 & SUBSYS_201F19F1 & REV_A1
    Memory display: 1768 MB
    Dedicated memory: 248 MB
    Shared memory: 1519 MB
    Current mode: 1600 x 900 (32 bit) (60 Hz)
    Name of the monitor: generic PnP monitor
    Monitor model: G205H (Acer)

    Card name: NVIDIA GeForce 7600 GT
    Manufacturer: NVIDIA
    Track type: GeForce 7600 GT
    DAC type: Integrated RAMDAC
    The device key: Enum\PCI\VEN_10DE & DEV_0391 & SUBSYS_201F19F1 & REV_A1
    Memory display: 1768 MB
    Dedicated memory: 248 MB
    Shared memory: 1519 MB
    Current mode: 1280 x 1024 (32 bit) (60 Hz)
    Name of the monitor: generic PnP monitor
    Monitor model: NEC LCD7V

    Hello

    I suggest that you have watch the following link below:

    http://forums.developer.nvidia.com/index.php?showtopic=5331

    I hope this helps.

  • Maybe you are looking for

    • 26.0 FF doesn't support Download Statusbar. An alternative?

      You are looking for an alternative to add it on "Download Statusbar" that will work in Firefox version 26 - something that will show you the status of a download, and when it is finished. 7 Professional with all updates, Firefox version 26 widows.

    • How can I get the videos on you tube for the best resolution when I use firefox?

      My son has a laptop dell and watch and download videos on you tube and love it using firefox, but he has to turn the resolution to be able to do these things is possible to fix this?

    • Satellite A205 - repaired boot process problems

      My friend was a 0xc0000e9 error on his Toshiba Satellite so I followed the process to restore the default settings. When I arrived at the reset options screen, I saw the boot fix process was an option, so I decided to try first in order to back up yo

    • Welcome User icon screen help

      When I start my windows vista Home premium and get to the logon screen, even if I only have a single user account, the user/avatar icon is small, the same size such that it would be if there were two accounts available to choose. I have to click on t

    • Problem installing SP1

      Whenever I try to install SP1 for Vista, I get a code for loop on restart in GADGETS. XML file.  I also cannot install security update for Windows Vista - KB938123, which is an update to the gadgets in the sidebar. He get an error code of 8007643. I