How to make a manager of UIMessage of PostStep of TestStand in LabWindows/CVI 8.1?

How to make a manager of UIMessage of PostStep of TestStand in LabWindows/CVI 8.1?

Hi all

I have a problem of capture UIMessages motor TestStand for a DLL called from a sequence.
A search on the forum gave rise to 2 posts on this topic or a similar problem, but with LV and unfortunately, they were not solved.

TestStand Event 13 - UIMsg_StartInteractiveExecution is not captured by LV operator Interface

Problems with ActiveX in LabVIEW 7 reminders

In detail, I want to activate a DLL access the TestStand SequenceContext (variables) in phase of execution of the step.
A pop-up Panel could then display variables such as the spy does, but more flexible user defined Panel window.

He is currently working with a periodic timer that causes racing with TestStand conditions while monitoring the variables.
It works 99%, but I want it to work 100%.

I found the
 TS_ExecutionAddPostStepCustomUIMessage()
to indicate to the engine, I want to be informed of one end of the stage with my private UIMessage.
Next is to implement a callback with
 TS_EngineRegisterUIMessageCallback()
to retrieve all UIMessages and filter my private.

Sounds good - works for the capture of events, but TestStand locks and does not continue execution and not to carry out handling
any operation of the user interface. I have tried 4 solutions (see code), no difference in the result.

I must kill TestStand to get out of it.

Attached you will find a stripped down a simple example to reproduce the problem.

I'd appreciate any help.
Thanks in advance.

Kind regards
Tom

TestStand 3.5.0
LabWindows/CVI 8.1.0

Hello Nick,

Thank you for your quick response!
Yes, you are right. That works, I tried today, but...
isn't this practice as I want it to be. The programmer of a sequence (not me) should take care of the good implementation of a reminder of PostStep to make it work, although he just wants to make a popup. It is not a real problem, but if you use a TestStand MessagePopup command, expected to implement another somewwhere command to make it work. Don't get me wrong, it's just that I don't think that it is a clean solution. And... at least, it is slower.
I found a tutorial OR a LabView solution for this and two people were asking a LabWindows version. Of course, some are
interested in this solution. These 2 functions, that I mentioned in my post should work somehow, otherwise they are fools.
I would really like to know how.

Thanks again anyway. I'll use your suggestion, if I don't get the problem solved at the root.

Kind regards
Tom

Tags: NI Software

Similar Questions

  • How to make local variables are as a whole in teststand

    Hello friends

    I m new to the Teststand. I have interest to learn the test bench and I know Somwhat.I of LabVIEW initialize the people of the country as a whole and pass it to the local population another it is an actual integer. The value is in variable value. For example I m dividing a number IE result 53/10. should 5.3, but I need only the integer only 5. I get when I changed the format in the locals, but it passes to another integer real loclas it shows like value of 5.3. How to convert.

    First TestStand supports only a single type of digital data and it's a float.

    So you can't convert entire TestStand, but you can round the number to an entire integer.

    Round (53/10.0)

    Number Round (Number number Number option = 0)
    This function rounds a number to an integer.
    Parameter 1: The number to be rounded.
    Parameter 2: An optional parameter: how to round.
        Pass 0 to rounds to zero (the default).
    Pass 1 to round away from zero.
    Go 2 to round towards positive infinity.
    Spend 3 to round towards negative infinity.
    Go 4 to round to the nearest integer. If the number is exactly between two numbers, rounded up to the nearest even integer.
    Returns: The number is rounded.

    Omar

  • How can a separator or the second column in the combobox with Labwindows/CVI?

    How can I make custom editable as attached file (Example.jpg) using the ICB library?

    The ComboBox to the figure of capture via MS tool.

    I am a novice in programming as well as the CVI. Please explain in detail if anyone knows.

    You can do this, but it will shows. You can add columns in the control ring menu, so you'll have to create your own popup with a tree control that replaces the menu ring. I have attached a sample program as proof of concept and you get started.

    Hope this helps,

    -jared

  • How to force the compilation released executable before running the distribution of LabWindows/CVI kit?

    I am new in 2015 of the CVI. I used CVI 7 and when I chose "Create the Kit of Distribution", when I was still in debug mode, Labwindows asked me to build the executable of setting before creating the Distribution Kit. This does not happen to CVI2015, and the Distribution Kit is created with the latest built executable version, although I made a few changes in my code! This is a problem since I work in debug mode and I usually forget to build the executable of liberation before calling the distribution kit, so I need CVI to do it automatically like CVI 7 did. I suppose that there is an option to do this, but I can't find. Can someone tell me please how to resolve this problem and force CVI to build the exe version before building the distribution kit? Thank you.

    Today, I've solved quite simply create a new distribution. The previous like unsing was automatically imported by CVI7 project. By creating a new distribution, now when I change something, CVI ask me if I want to build the release. So I did not understand the problem but I solved it by editing a new distribution kit.

  • How to pass the Visa Resource Name parameter to labview dll in labwindows/cvi

    Hello world

    I build a dll of labview, the prototype is: double getchannelpower (double f, uintptr_t * VISAResourceName);

    I don't know how to go from VISAResourceName to this function.

    Is it related to the ViPSession paremeter in function viOpen(REES ViSession, rn ViRsrc, ViAccessMode am, ViUInt32 ti,ViPSession vi)?

    BRs,

    lotusky

    Hey, guys:

    I figured out how to pass the parameter.

    In labview, you must replace the control of visa with string control. In this way, the generated dll function at the entrance of the string type.

    I hope this will help others!

    lotusky

  • I managed to remove the menu bar of NoScript and NoScript option when I right, click on a page, how to make them come back?

    I tried to allow a Web site in NoScript menu, when I must have accidentally pressed something and the bar menu all disappeared. While I was trying to fix it, I managed then to remove NoScript option in the context menu. So now I can't access my NoScript, and I tried to re - install but nothing works. How to make a comeback?

    menu bar is missing:

    https://support.Mozilla.com/en-us/KB/menu%20bar%20is%20missing

    You can see in TOOLS then modules noscript

    Thank you

    Please check 'Resolved' the answer really solve the problem, to help others with a similar problem.

  • S3000-514: how to make the secondary battery to unload everything first?

    Hello world!
    After I ve managed to charge my secondary battery on my laptop (see my previous announcement), I'm now getting another "strange" problem
    With my two batteries in and on the battery the first battery to discharge is the main battery - and not high school!
    This leads to a problem: when I want to change the secondary battery with my combo player, I'm not always have enough power in my battery.
    I have found how to make the battery discharging first of haven´t.
    Can anyone help?

    Hello

    Unfortunately, it is not for me and as much as I know it can not be changed. Probably the electronic power supply is configured to run on this path. Have you tried to remove the main battery and work by simply using secondary? What happens in this case?

  • How to make my $ 0 so I can Chang my store.  I cent.13 in my account and there is not any application at this price thank you

    How to make my $ 0 so I can Chang my store.  I cent.13 in my account and there is not any application at this price thank you

    How to manage unused card balances & iTunes gift

    Contact iTunes Support - http://apple.com/emea/support/itunes/contact.html - and ask them to clear your balance.

  • Satellite P200-13Z - how to make webcam work?

    Help, please.
    I've had this machine for 2 months and cannot find out how to make the webcam works.
    I've been in Device Manager that says that the cam doesn't work and I have the right drivers. What should I do now?

    Hello

    At first, I think you have Satellite L30 and not wx30. Am I right about that?

    Sorry my friend, but how to help if you didn't write what webcam you want to use. At this point, I can just read to you by s manuals you have with your cam and make sure that it is installed correctly.

    You have installed an application for the use of the webcam or you try to use it with a messaging like MSN, ICQ or Skype?

  • Pavilion g7-1281nr: how to make a record of the hard disk operating system

    I tried to google the answer and know how to make a disc of windows 7 operating system.  We are starting to see some problems with windows and I want a real physical disk in case we have a hard disk crash.  the problem is google and the hp support page says to click a shortcut in windows to start the process, but this shortcut does not exist. I have HP LaunchBox manager and HP Setup Manager.  What to do to make the drive o/s?

    I'm sorry, but your information is wrong.  The correct way to be able to burn the discs is:

    go to start

    find HP help and Support

    Click on the one here is the HP configuration manager

    run this program

    Click set up backup

    in the new window, you have 2 options

    Automatically back up files locally

    or

    Create recovery discs

    choose to create recovery disks

    Now click on

    Launch the HP Recovery Manager

    Now you can choose

    Recovery media creation

    It is not in the start menu as stated the help files you sent.

    I figured it out by just clicking things and fell into it.

  • How to make the bluetooth headset with as default playback device in Windows Media Player

    How to make my bluetooth plantronics backbeat 903 headset to the default listening on windows media player device

    Original title: how my plantronics backbeat 903 bluetooth headset to the device of listening by default on windows media player

    Hello

    What is the operating system that you are using?

    Perform the steps:
    a. click Startand then click Control Panel.

    b. in Control Panel, click hardware and sound.

    c. under sound, click manage audio devices.

    d. in the sound box, click the read tab, select the Bluetooth device, click on set as defaultand then click OK.

    e. reboot all media programs including Windows Media Player that are running and check.

     
     
    I hope this helps.
  • Wireless network is displayed with a cross and will not let me connect saying the settings for this network do not match the requirements of the networs and it is a hidden network how to make it visible again?

    hardware device

    my wireless network is displayed with a cross and will not let me connect saying settings for this network do not match the requirements of the networs and it is a hidden network how to make it visible again :(

    Hello

    What operating system installed on the computer?

    Note: Look for errors in the network card device manager.

    Method 1: Follow the article mentioned below, if you are using Windows 7 operating system.

    Using the troubleshooter from network in Windows 7

    http://Windows.Microsoft.com/en-us/Windows7/using-the-network-troubleshooter-in-Windows-7

    Method 2:

    He looks at the IP address and other parameters are not set correctly, I suggest you contact your Internet service provider or provider router wireless to help on this.

    For more information, follow the below mentioned article:

    Set up a wireless router:

    http://Windows.Microsoft.com/en-us/Windows7/set-up-a-wireless-router

    Follow the below mentioned articles and see if they help you:

    Set up a wireless network:

    http://Windows.Microsoft.com/en-us/Windows7/setting-up-a-wireless-network

    Wi - Fi and in Windows network connection issues:

    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

    Wireless network card: frequently asked questions:

    http://Windows.Microsoft.com/en-us/Windows7/wireless-networking-frequently-asked-questions

  • screen scrolls top down on its own how to make this stop

    my screen jumps up and down how to make this stop?

    Hi ssuueet,

    1. Have you tried the steps suggested?
    2. Have you managed to solve the problem?

    If this isn't the case, reply to the thread, then we can look for other options.

    Thank you!

  • How to make the darker text and how to get rid of the ads on my toolbar

    original title: GI 82 and my text is too light, how to make it darker also how can I get rid of the ads on my toolbar

    Just do my text coming or in your darkest records

    Hello

    1 are you referring to the ads in the Internet Explorer toolbar?

    2. are you referring to the policies of the Internet Explorer icons?

    Method 1: You can change the theme of the operating system Windows 7 high contrast themes that will make the text and the darkest record.

    Follow the steps below to change the high contrast theme.

    1. open Personalization by clicking the Start button, then Control Panel. In the search box, type personalization, and then click customization.

    2. under Basic and high contrast themes, click Windows 7 Basic or one of the high contrast themes.

    Method 2: In order to disable ads in Internet Explorer disable all modules and check if this is useful.

    No add-on, run Internet Explorer mode.

    a. Click Start, point to programs, point to Accessories and system tools

    b. click Internet Explorer (No Add-ons).

    If this resolves the problem, follow these steps to isolate the browser add-on that is causing the problem:

    a. click Tools and then click Internet Options.

    b. click on the tab programs, then click on Manage Add-ons.

    c. click an add-on in the name list and then click on disable.

    d. Repeat step c until you identify the add-on that is causing the problem.

    If this solves the problem, this could be caused by an adware installed as add-on. See the link below for more information.

    http://Windows.Microsoft.com/en-us/Windows/help/Internet-Explorer/slow-five-tips-to-boost-performance

  • Laptop Compaq Presario CQ60-300SO - how to make HDMI work with Win 7

    I've upgraded to Windows 7 from XP.

    I connect the HDMI cable to my TV.
    The PC displays both screens, but there is no signals reaching the TV.
    I uninstalled the software of the graphics card and let the Win Update to find the driver. Same results.

    Here's my setup.

    How to make it work? It works very well with a VGA cable. And I tried many televisions.

    Martin

    _________________________________________________________________

    Name of the operating system Microsoft Windows 7 Enterprise
    Version 6.1.7601 Service Pack 1 Build 7601
    Another Description of the OS is not available
    Manufacturer of operating system Microsoft Corporation
    Name of the MARTSHP system
    System manufacturer Hewlett-Packard
    System model Compaq Presario CQ60 Notebook PC
    System Type X 86-based PC
    Processor AMD Sempron (TM) TR-42, 2100 Mhz, 1 Lossnay, 1 logical processors
    BIOS Version/Date Hewlett-Packard F.54, 18.08.2009
    SMBIOS Version 2.4
    Windows directory C:\Windows
    System directory C:\Windows\system32
    Boot Device \Device\HarddiskVolume1
    The local United States
    Hardware Abstraction Layer Version = "6.1.7601.17514".
    MartsHP\Administrator user name
    Zone schedule Southeast Asia standard time
    Physical memory (RAM) 4.00 GB
    Total physical memory 2.75 GB
    1.60 GB available physical memory
    5.50 GB total virtual memory
    4.13 GB available virtual memory

    Hi realpommy. If you encounter problems with HDMI output and let Windows determine the pilots, who could be part of the issue.  First of all try to install these Windows 7 drivers provided by HP for your laptop: NVIDIA nForce Chipset MCP77MV graphics drivers

    After installation and reboot, if you still have problems with video output look in Device Manager, to ensure that there is no error, or "unknown devices".  The section "Understanding of the symbols of error Device Manager" in this document:
    Information from the Device Manager in Windows 7 to illustrate some possible errors.

    If there is no error in Device Manager, do through these documents for more information and the last for troubleshooting ideas:
    Connection of a monitor, projector or a TV (Windows 7)
    Overview of HDMI and DVI for PC connections

    HDMI display resolution and problems of his (Windows 7 and Vista)

    Let me know if it helps.

Maybe you are looking for