How to pragmatically set the name of the user event?

In LabVIEW 2010, I register a user event during execution by using the function of events Reg, but I want to put the name of the user event, according to the runtime. LV said "If wire you a cluster at the entrance to the data type of the user events , LabVIEW uses the type name of the cluster in the event user name." But I need set the name of the event based on the data that is generated during execution.

How can I pragmatically set the name of a user with data from cluster event at run time?

I can do this by changing the text of the label of the bunch before I use Reg events function?

How will I know what name the user never received?

Thank you.

I found a viable solution. I can create a user with a name known event. The event that is sent with the event data will include a Source DN string that identifies the sender of the event. The event handler can then handle each event based on the name of the Source. This is equivalent to have several unique named events, is only right they all share a common event data format, which is OK in my case.

It works very well.

THANKS for all the suggestions.

Tags: NI Software

Similar Questions

  • How to set the user name and password when you use the class for SOCKS5 Proxy?

    Hi all

    I use the proxy class for SOCKS5, so need to set the user name and password, I can't find where I put the value. If the API support.

    Thanks in advance!

    Exactly how to repeat the question five times ater, we told you the answer would erase anything? A: this isn't. This irritates just the hell out of people. Irritating the hell of those who's trying to help you is not rational behavior either.

    I have no idea on the support of third-party for transmission by proxy via NIO.

  • How can I set the default download locations

    How can I set the default download locations?

    You can watch here:

    • Tools > Options > general: downloads
  • How can I set the time axis on my waveform table to show run time that is to say whenever I start the program I should have 0 as the starting point

    How can I set the time axis on my waveform table to show run time that is to say whenever I start the program I should have 0 as the starting point. I've been messing around with the without success. I'm under Labview 2012.

    Thank you!

    Townes wrote:

    I can't understand what you mean. I have no formal training with labview. It took me a long time to write the simple program that I joined. Any guidance would be greatly appreciated!

    Its pretty normal for a beginner to take the time to write code. Right-click the map of waveform > Create > property node > historical data, you will get a property node, keep this at the beginning of the code and create a constant. You can also go to the VI properties and > run and select "clear indicators when it is called.

    I recommend you to go through the basic materials of LabVIEW which will give you an understanding on the basics of bases/components of LabVIEW.

  • How can I remove the user name and the image of Windows XP new Start Menu

    Two questions:

    1. How can I delete the user name and the image of Windows XP new start; and

    2. my computer keeps asking me to press the F1 key to start Windows.  How to skip this part?

    Thank you.

    Hello

    The image of user account can be removed by disabling the Welcome screen. Or, by opting for the classic Windows theme. Follow the method described in this article, if you want to remove the user name and the picture in the Start Menu, without disabling the Welcome screen and Windows XP theme.

    For those who want to delete the user name and the image of user account from the Start Menu, in order to have a blue white Panel at the top, try this:

    Registry warning
    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    How to back up and restore the registry in Windows
    http://support.Microsoft.com/kb/322756/

    Step 1:

    a. start Windows Explorer and go to this folder:
     
    C:\Documents and Settings\All Users\Application Data\Microsoft account images

    b. in this folder, rename the BMP file that corresponds to your user account.
     
    (For example, if your user name is Robert, rename Robert.bmp to old_Robert.bmp)

    c. then rename the following folder:

    C:\Documents and Settings\All Users\Application Data\Microsoft account Pictures\Default pictures
     
    to something else, for example,.
     
    C:\Documents and Settings\All Users\Application Data\Microsoft account Pictures\No_Default images.

    Step 2:
     
    To remove the user name, follow these steps

    a. Click Start, click "RUN" and type "regedit.exe" and navigate to this key:
     
    HKEY_CURRENT_USER-Software-Windows Microsoft\------CurrentVersion-policies-Explorer

    b. in the right pane, the value NoUserNameInStartMenu-value data 1.

    c. close Regedit.exe and restart Windows.

    You'll find yourself with a blue area at the top of the Start Menu.

    Regarding the pressing 'F1' to start Windows, you have made no changes or was there a system crash after which the problem started?

    You may need to change the boot sequence in the BIOS to the default settings. I recommend you contact your PC vendor for this.

    Warning of the BIOS:
    BIOS change / semiconductor (CMOS) to complementary metal oxide settings can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the configuration of the BIOS/CMOS settings can be solved. Changes to settings are at your own risk.

  • How can I set the default font size and type for the outgoing Hotmail mail?

    How can I set the default font size and type for the outgoing Hotmail mail?

    Hi Dale,

    What is the email client do you use?

    Outlook can be configured per - start Outlook-> Tools-> Options-> mail-> fixed Format and fonts... Select the font and size you need... Click ok on all screens.

    I hope this helps.

  • How do you set the time and date on fax for hp officejet 4622

    How do you set the date and time on the fax for hp officejet head 4622

    Hi Chrisharrison23,

    Date and time should be under configuration tools or fax setting in the printer control panel.

    OfficeJet 4620:

    1. click on the key icon on the control panel of the printer

    2. go to tools

    3 scroll to the date and time

    I would like to know if you are able to locate the setting?

    Officejet 4622: Set the date and time

     
  • Sleep Timer Pavillion DV 7 - How do you set the timer for a different time setting?

    Sleep Timer Pavillion DV 7 - How do you set the timer for a different time setting?

    Hello Pidcock,

    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the Forums of HP, I would like to draw your attention to the Guide of the Forums HP first time here? Learn how to publish and more.

    I understand that you want to change on your computer sleep timer. I'll be happy to answer that question for you. Now you have not specified what operating system you are using, so I guess it's the same operating system provided with your computer (Windows 7). I will provide you the HP support document: Management of power (Windows 7 and Vista) Options, which will guide you in how to set the power of your laptop. Just in case you have upgraded to Windows 8 I am also including the HP Support document: Manage the power (Windows 8) Options. This document will guide you through the same steps in Windows 8.

    I hope that I have answered your question to your satisfaction. Thanks for posting this question on the Forums of HP. Have a great day!

  • How can I set the format of Windows Media Center at 16:10 in other than the full screen?

    How can I set the format of Windows Media Center in Vista at 16:10 in other than the full screen? I use a screen as secondary display 1680x1050px.

    Hello, YPOC

    It is not possible to change the proportions for Media Center in windowed mode.

    The aspect ratio has been changed in Windows 7 and uses a format screen mode to windowed.

  • I have my printer connected to my router via a usb cable... I also have my (Vista) computer connected to the router by ethernet cable. How can I set the computer to print on my prints through the router?

    I have my printer connected to my router via a usb cable. I also have my (Vista) computer connected to the router by ethernet cable. How can I set the computer to print to my printer via the router?

    Usually, you need to install the printing software / drivers on your PC, configured / installed specially for a printer "remote" (its an option in the installation of the printer software)

  • How can I set the time on the toolbar of the low wing? When I click on the taskbar do a right-click and then click Properties, it does not give me the option to display the time?

    How can I set the time display on the toolbar of the low wing?  When I click with the right button on the taskbar, and click show properties, it does not give me the options to display the time?  Where should I go in windows 7 to do this?  I clicked on the date and time also, and it does give me an option to add there either. Please help.

    Thank you

    How can I set the time display on the toolbar of the low wing?  When I click with the right button on the taskbar, and click show properties, it does not give me the options to display the time?  Where should I go in windows 7 to do this?  I clicked on the date and time also, and it does give me an option to add there either. Please help.

    Thank you

    Right-click the taskbar, and then select Properties. On taskbar you of the tab, click Customize. Scroll to the clock and change the "behaviours" on it.

  • How can I set the pointer or mouse to do only the things when I double click?

    Original title: my highlites pointer without clicking, opening up much more often.  How can I set the pointer or mouse to do only the things when I double click?

    How can I configure my pointer/mouse to do only the things when I double click?  Currently, it has a mind of its own, putting highlight and things that I don't want to open.

    Hi George,.

    Try the following steps to disable the functionality of hover and check if it helps.
    a. Click Start and select Control Panel
    b. click on ease of access and select make the mouse easier to use
    c. If there is a check box for activate a window by hovering over it with the mouse uncheck it.

    You can also read the following article and check.

    Change the settings of the mouse

  • How can I set the scope of the attributes are incompatible error in Windows 8 pro?

    How can I set the scope of the attributes are incompatible error in Windows 8 pro?

    Whenever I try to run a setup.exe file, it gives me this error. What can I do to fix this?
    Help, please!

    WOAH ARE RESISTING NOT EVERYONE!

    THERE IS A MUCH EASIER WAY TO DO THIS!
    Well, I looked for a solution on google (Yes google) for 20 minutes and found four sites that had a bajillion ways to solve this problem.
    Dang, I was wrong.  So, when I dropped, I searched it on youtube, and here's what I got it is frighteningly SIMPLE!
    These are the? indications that I give to you people of the video (easier to look at):
    1 right-click the volume in the taskbar icon, and select sounds
    2. scroll down about 3/4 on the events program: the list and select the option that says Windows user account control
    3. change the sounds: option ( no), and then click OK
    YOU ARE FINISHED NOW, AND THE PROBLEM IS SOLVED... I have no idea how it works, but it doesn't... I AM IN AWE IN FRONT OF
  • How can I set the first row is 0, depending on the text box

    How can I set the first row is 0, according to the text box selected_text_to_inlineobj.jsx


    https://gist.github.com/milligramme/9368861@

    Try this,

    function boooxed (object_style_name) {
      if (app.selection.length !== 1) return
      var doc = app.documents[0];
      var sel = doc.selection[0];
      if ('baseline' in sel) {
        var bx = sel.insertionPoints[0].textFrames.add();
        bx.appliedObjectStyle = doc.objectStyles.item(object_style_name);
        bx.geometricBounds = [0,0,5,30];
        sel.duplicate(LocationOptions.AT_END, bx.parentStory);
        bx.insertionPoints[0].firstLineIndent=0;
        bx.fit(FitOptions.FRAME_TO_CONTENT);
        if (sel.contents.length) sel.remove();
      }
    };
    
    var object_style_name = "AAA"; //set anchored object settings, textframe preferences, and more
    boooxed(object_style_name);
    

    Vandy

  • How can I set the jumpers on a (thin) teac cd-244e?

    I have an optiplex gx240-SFF I installed a thin teac cd-244e on (pc seems to have had no prior installation CD-ROM). I am running win2000pro. My system does not recognize the cd-rom drive in the BIOS or anywhere else.  Some say it is due to the configuration of the jumpers on the drive, but I don't see any rider on this SLIM drive. How can I set the jumpers?


Maybe you are looking for