DAQmx Register Event Name

I have two DAQ tasks that I'd like to register for the Every N Samples Acquired Into the Buffer event.  I can do this no problem but this thing that bugs me is that the task name is "task out" in both cases of the event structure.  Is there a way to rename this so that they can be differentiated in the event structure?  The user event can be renamed using the Coerce to Type as shown in my snippet but the DAQ task name cannot be done in the same way.
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.
Solved!
Go to Solution.
Attachments:
Example_VI_BD.png ‏28 KB

Dangit I swear I tested that.  Thanks.
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

Similar Messages

  • Cl_gui_alv_tree no child nodes after registering event

    Hey guys,
    I have an uncommon problem with cl_gui_alv_tree.
    My tree has 2 layers, Root and child. Both of them have layout-class  cl_gui_column_tree=>item_class_checkbox.
    Everithing works fine! (without_events.jpg)
    But if I register event "checkbox_change" with method SET_REGISTERED_EVENTS the childnodes disapear! (with_events.jpg)
    Does anyone know a solution?
    here's some code:
    data; gr_alv_0200 type ref to cl_gui_alv_tree.
    METHOD init_dynpro_0200.
         DATA: ls_hierarchy_header TYPE treev_hhdr.
         IF gr_cont_0200 IS INITIAL.
           CREATE OBJECT gr_cont_0200
             EXPORTING
               container_name              = 'CC200'
             EXCEPTIONS
               cntl_error                  = 1
               cntl_system_error           = 2
               create_error                = 3
               lifetime_error              = 4
               lifetime_dynpro_dynpro_link = 5
               OTHERS                      = 6.
           IF sy-subrc <> 0.
             MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
           ENDIF.
         ENDIF.
         IF gr_alv_0200 IS INITIAL.
           CREATE OBJECT gr_alv_0200
             EXPORTING
    *         lifetime                    =
               parent                      = gr_cont_0200
               node_selection_mode         = cl_gui_column_tree=>node_sel_mode_single
               item_selection              = 'X'
               no_toolbar                  = 'X'
               no_html_header              = 'X'
             EXCEPTIONS
               cntl_error                  = 1
               cntl_system_error           = 2
               create_error                = 3
               lifetime_error              = 4
               illegal_node_selection_mode = 5
               failed                      = 6
               illegal_column_name         = 7
               OTHERS                      = 8.
           CHECK sy-subrc EQ 0.
           ls_hierarchy_header-heading = 'Hierarchy Header'.     "#EC NOTEXT
           ls_hierarchy_header-tooltip =
                                  'This is the Hierarchy Header !'. "#EC NOTEXT
           ls_hierarchy_header-width = 100.
           ls_hierarchy_header-width_pix = ''.
            tree_create_fcat( ).
           CALL METHOD gr_alv_0200->set_table_for_first_display
             EXPORTING
               is_hierarchy_header = ls_hierarchy_header
               i_background_id     = 'ALV_BACKGROUND'
             CHANGING
               it_outtab           = gt_treenodes
               it_fieldcatalog     = gt_fcat_0200.
           DATA: lt_events TYPE cntl_simple_events,
                     ls_event LIKE LINE OF lt_events.
           ls_event-eventid = cl_gui_column_tree=>eventid_checkbox_change.
           APPEND ls_event TO lt_events.
           CALL METHOD gr_alv_0200->set_registered_events
             EXPORTING
               events                    = lt_events
             EXCEPTIONS
               cntl_error                = 1
               cntl_system_error         = 2
               illegal_event_combination = 3.
           SET HANDLER me->on_tree_checkbox_change FOR gr_alv_0200.
         ENDIF.
       ENDMETHOD.
    METHOD tree_add_node.
         DATA: ls_node_text TYPE lvc_value.
    * set item-layout
         DATA: lt_item_layout TYPE lvc_t_layi,
               ls_item_layout TYPE lvc_s_layi.
         ls_item_layout-fieldname = gr_alv_0200->c_hierarchy_column_name.
         ls_item_layout-style   = cl_gui_column_tree=>style_intensifd_critical.
         ls_item_layout-class   = cl_gui_column_tree=>item_class_checkbox.
         ls_item_layout-editable = 'X'.
         APPEND ls_item_layout TO lt_item_layout.
    * add node
         ls_node_text =  is_data-name.
         DATA: ls_node TYPE lvc_s_layn.
         ls_node-n_image   = space.
         ls_node-exp_image = space.
         CALL METHOD gr_alv_0200->add_node
           EXPORTING
             i_relat_node_key = iv_parent
             i_relationship   = cl_gui_column_tree=>relat_last_child
             i_node_text      = ls_node_text
             is_outtab_line   = is_data
             is_node_layout   = ls_node
            it_item_layout   = lt_item_layout
           IMPORTING
             e_new_node_key   = ev_node_id.
       ENDMETHOD.
    in my current class I've method on_tree_checkbox_change to handle the event. If the event is registered, the method gets called.

    Solved by my own:
    I had to implement method get_registered_events( ), append the new event to the table and call set_registered_events( ).
    The table from get_registered_events( ) is already filled with events.

  • Portal Event name and namespace (ECM)

    Hi Experts
    I want to register for the Portal Event that gets triggered when an employee is selected.
    In the Compensation Information page, there is an employee search iview. I need to know what Portal Event name and namespace is triggered when an employee is selected.
    Does somebody already know what the name and namespace is?
    thanks in advance
    Anton Kruse

    Found the solution here: Parameter Passing from WDJ iview to WDABAP Iview
    call function 'HR_ASR_WDA_GET_EMPLOYEE'
       exporting
          id = 'MSS01'   "ABAP Memory ID To get the PERNR Selected.
       importing
          pernr = gv_pernr.

  • Register event in producer consumer design pattern

    Hello wire workers,
    I am fairly green when it comes to dynamic event registration, so my understanding of it is probably quite flawed, but what I have implemented seems to work fine.
    Assuming a fairly typical queued producer/consumer state machine architecture.
    Up till now, I have done the dynamic event registration outside (i.e. to the left of) the UI loop, so all events get registered before the UI loop starts to run.
    My question is:
    How can I register events from inside one of the consumer loops? I cannot wire it...
    Maybe an example will make my scenario more clear.
    I have a DAQ loop (queued state machine). In the init state of this loop I want to register a digital input such that changes on a line are handled by my main event structure (in the totally separate UI loop). Is this possible?
    I look forward to hearing positive answers
    nrp
    CLA

    The best way to send data from the Consumer Loop to the Producer Loop is through User Events. What you will want to do is create a User Event whose data type is the registered DAQmx event refnum. Then when you register the DAQmx event in the Consumer Loop, fire the User Event with that new refnum and update the registration in the Producer Loop. That's probably hard to wrap your head around in words, so I'll attach a dummy example and pic below. Hope this helps!
    VI Saved in LV85.
    Message Edited by Jarrod S. on 04-21-2008 12:54 PM
    Jarrod S.
    National Instruments
    Attachments:
    DAQmx Event.vi ‏30 KB
    DAQmx Event Pic.PNG ‏38 KB

  • Each time I try to synch photos from my Windows 7 PC to my iPad2, iTunes stops working, and the error report says Problem Event Name:     APPCRASH   Application Name:     iTunes.exe   Application Version:     10.3.1.55   Application Timestamp:     4deec35

    Each time I try to synch photos from my Windows7 PC to my iPad2, iTunes stops working and the error message is:
    Problem Event Name:                          APPCRASH
      Application Name:                             iTunes.exe
      Application Version:                           10.3.1.55
      Application Timestamp:                    4deec351
      Fault Module Name:                          ntdll.dll
      Fault Module Version:                        6.1.7601.17514
      Fault Module Timestamp:                 4ce7ba58
      Exception Code:                                  c0000005
      Exception Offset:                                0002e3fb
      OS Version:                                          6.1.7601.2.1.0.768.3
      Locale ID:                                             1033
      Additional Information 1:                  0a9e
      Additional Information 2:                  0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:                  0a9e
      Additional Information 4:                  0a9e372d3b4ad19135b953a78882e789
    I reloaded iTunes 10 (64 bit) successfully, but the problem remains the same.
    Any suggestions?

    I looked in the folder from which I want to synch photos, but there is no such thing as an "ipod photo cache" in that folder, or sub-folders, as suggested in the link which you were nice enough to provide.
    I have also tried removing photos from my iPad2 Photos App, and "iTunes has stopped working" shows up  again as soon as I click on the "Synch photos from" button.

  • Need help trying to create a ActiveX registered event

    I am trying to create a register event for an ActiveX component. The problem I am having is creating the callback vi. When I right click on the VI ref and create the callback vi it is created with the user parameter as a variant. I would like this to be a control refnum. If I open the callback vi and replace the user parameter variant with a control refnum the wire from the callback vi to the VI ref is broken. How do I change the user parameter?

    Joe is correct on this one. The callback where designed to take variants as their inputs, so that they are more flexible. In addition Variants are used through out ActiveX programming.
    If you have a control reference that you want to pass into the VI, all you need to use is the "To Variant" function in the main VI to turn the reference into a variant. You can then inside the Callback VI you can use the Variant to Data VI to change the variant back to a reference; you simply where a constant of the reference type to the "Type" terminal.
    Evan
    National Instruments

  • Can't download iTunes to new PC lap top. "Itunes has stopped working, event name APPCRASH"

    Hi
    On hols my lap top died and I replaced it while away - so Lap top is Fijian, but my Apple I Tunes account is British - in case that's relevant.
    Trying to download iTunes to the lap top, (windows 7) but I get the same error each time.  I have tried uninstalling and reinstalling the software several times.
    Error message says "iTunes has stopped working" and the details says the following...
    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: iTunes.exe
    Application Version: 10.6.1.7
    Application Timestamp: 4f71aced
    Fault Module Name: QuickTime.qts
    Fault Module Version: 6.0.0.71
    Fault Module Timestamp: 3d2d0310
    Exception Code: c0000005
    Exception Offset: 0013afd8
    OS Version: 6.1.7600.2.0.0.256.48
    Locale ID: 2057
    Additional Information 1: 87ab
    Additional Information 2: 87abfdde4e44868a2d32f6948e899598
    Additional Information 3: c382
    Additional Information 4: c382d1e4d72a2899b9052b0e96ec9563
    Really appreciate any advice, as I NEED to download thepetebox and the new Spiritualized albums for my beach time !!
    Thanks

    Fault Module Name: QuickTime.qts
    Fault Module Version: 6.0.0.71
    Taken at face value, that's an exceptionally old version number for that QuickTime component.
    Do you have the QuickTime Player installed on your system at the moment? If so, is that also currently failing to launch (with or without an error message)?

  • Error message: "application.exe has stopped working" under BEX event name on Windows 7 64-bit.

    I am trying to run a third party program on my Windows 7 64-bit. It has an executable file.
    1. When I double click on this file (appname.exe), I will see a GUI window.
    2. In this GUI window, I will have to select a dynamic link library file (appDLL.dll) to load into the appname.exe that will run the application. This DLL file is compiled in Visual C++ 2010 Express based on a C source code under the Release Win32
    mode. 
    3. It is supposed to run after step 2. Instead it give the BEX error message saying "appkernel.exe has stop working." There is no online solution at this time when I select that option to search for an online solution.
    I can run this program on my Windows 7 32-bit computer. What does this error message mean? Why is there an issue like this on Windows 7 64-bit? How can I fix this issue? The detailed description of the problem is below.
    Problem signature:
      Problem Event Name:    BEX
      Application Name:    appkernel.exe
      Application Version:    0.0.0.0
      Application Timestamp:    4f06397d
      Fault Module Name:    MSVCR100.dll
      Fault Module Version:    10.0.40219.325
      Fault Module Timestamp:    4df2be1e
      Exception Offset:    0008af3e
      Exception Code:    c0000417
      Exception Data:    00000000
      OS Version:    6.1.7601.2.1.0.256.1
      Locale ID:    1033
      Additional Information 1:    81c8
      Additional Information 2:    81c8f46ed31e8fb8b45fcb166d97e96d
      Additional Information 3:    eec1
      Additional Information 4:    eec16e1825ff7aa9948f00b1f285bbaa
    Thanks in advance!
    LDL

    Hi Brian,
    Thank you for the reply!
    The third party software provider wrote the source code in C. When I compiled this source code, the DLL file will be created in store in the Release folder in the same project directory of the source code.
    I just double check my computer, I have the following Visual C++ packages installed on it:
    1. Microsoft Visual C++ 2005 Redistributable
    2. Microsoft Visual C++ 2005 Redistributable (x64)
    3. Microsoft Visual C++ 2008 Redistributable - x64 9.0.21022
    4. Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.17
    5. Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.4148
    6. Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.6161
    7. Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.4148
    8. Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.6161
    9. Microsoft Visual C++ 2010 x64  Redistributable - 10.0.40219
    10. Microsoft Visual C++ 2010 x64  Runtime - 10.0.40219
    11. Microsoft Visual C++ 2010 x86  Redistributable - 10.0.40219
    12. Microsoft Visual C++ 2010 x86  Runtime - 10.0.40219
    13. Microsoft Visual C++ 2010 Express - ENU
    14. Microsoft Visual Studio 2010 Service Pack 1
    15. Microsoft Visual Studio 2010 Express Prerequisites x64 - ENU
    16. Microsoft .NET Framework 4.5.2
    17. Microsoft .NET Framework 4 Multi-Targeting Pack
    From what I understand the Visual C++ 2008 Runtime is included in the Redistributable package.
    Leo 

  • Quicktime has stopped working message when I open that. Error message: Problem Event Name: BEX

    When I try to open Quicktime I get a message saying it has stopped working. The error message says:
    Problem Event Name: BEX
    Application Name: QuickTimePlayer.exe
    Application Version: 7.73.80.64
    Application Timestamp: 508900dd
    Fault Module Name: QuickTimePlayer.dll
    Fault Module Version: 7.73.80.64
    Fault Module Timestamp: 508900c0
    Exception Offset: 00005b6d
    Exception Code: c0000409
    Exception Data: 00000000
    OS Version: 6.1.7601.2.1.0.768.3
    Locale ID: 3081
    Additional Information: 9da7
    Additional Information 2: 9da7586a62744150d954cf6a5ec876d1
    Additional Infromation 3: db4f
    Additional Information 4: db4f7e51c3cffddbf929f5acfefa97e3
    Similarly, when I try to play media on iTunes, or when my iPhone is backing up, I get a message saying iTunes has stopped working with the error:
    Problem Event Name: BEX
    Application Name: iTunes.exe
    Application Version: 11.0.1.12
    Application Timestamp: 50c8fc7e
    Fault Module Name: StackHash_0a9e
    Fault Module Version: 0.0.0.0
    Fault Module Timestamp: 00000000
    Exception Offset: 0800a3bc
    Exception Code: c0000005
    Exception Data: 00000008
    OS Version: 6.1.7601.2.1.0.768.3
    Locale ID: 3081
    Additional Information: 0a9e
    Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
    Additional Information 3: 0a9e
    Additional Information 4: Same as 2

    We'd better check to see if some other application has stashed old versions of QuickTime componentry down in your system files.
    So we'll go looking for the older QuickTime componentry in the most common locations for it to be stashed.
    First we'll need to change some view settings.
    In your Start menu, open Computer.
    In your Organise menu, select Folder Options.
    In the View tab, make sure that "Show hidden files and folders" is selected, and Hide extensions for known file types is unchecked.
    Click OK.
    Now in Computer, open your C:\ drive (or whichever drive you have your operating system installed on).
    Open the "Windows" folder.
    If you have a 32-bit version of Windows, open the "System32" folder.
    If you have a 64-bit version of Windows, open the "SysWOW64" folder.
    What files and folders can you see in there with QuickTime in the title? (In a standard installation of Quicktime you should be seeing precisely two files ... QuickTime.qts and QuickTimeVR.qtx ... and no QuickTime folders whatsoever.)

  • HP OJ4680 Problem Event Name APPCRASH -after Vista- Win 7 upgrade

    Upgraded a Toshiba Satellite U400 to Winows 7 32-bit from Vista. Connected to my HP Officejet J4680 to print some documents and printer has troubleshooting flag. Windows was unsuccessful at searching for a driver so  I downloaded full software and driver to address this. I get a Runtime error window for Microsoft visual basic C++ "This application has requested the Runtime to terminate in an unusual way. PLease contact the application's support team for more information" and the following problem signature:
      Problem Event Name:                        APPCRASH
      Application Name:                             Setup.exe_HP Installer
      Application Version:                           14.0.301.0
      Application Timestamp:                     4b614229
      Fault Module Name:                          Setup.exe
      Fault Module Version:                        14.0.301.0
      Fault Module Timestamp:                  4b614229
      Exception Code:                                  40000015
      Exception Offset:                                000a75ef
      OS Version:                                          6.1.7601.2.1.0.768.3
      Locale ID:                                             6153
      Additional Information 1:                  67d9
      Additional Information 2:                  67d918b5d2dc6eb7485f13ad2e1b79c1
      Additional Information 3:                  4df0
      Additional Information 4:                  4df0906aa94db94f5f5df73d2e886c50
    Need an urgent solution to print my boarding pass.
    Thanks

    The only solved thread on this I could find on this error is here.
    From what I read, the steps are very lengthy, but they do work.
    Most important thing to do before you continue, is to follow the steps to back up all your files before proceeding.  That being said however, as you need to urgently print a boarding pass, I would suggest borrowing another computer, or printing them out at an airport kiosk if available. The troubleshooting provided in the link above looks like it's a few hours worth of steps.
    Regards, Wally
    *** If my reply was helpful, please click on the "Kudos Thumbs-Up" on the right, as a way to say "Thanks!".
    If this reply also fixed your issue - please click the "Accept as Solution" button, so that others can find the same answer. ***

  • Default event names in iCal?

    Is it possible in iCal to set default event name per calendar, so that when I put in my work schedule each event is titled "work" without me having to type it in each time?

    No (unless you use Automator), however, you could create an additional calendar, one that would represent your work schedule.
    You could also use the (32 year old) Copy-Paste feature.
    If you really have big schedule, you should consider making an automator workflow which would create events with a default name
    Cheers.

  • My itunes will not work and this is the error message. Problem signature:   Problem Event Name:     BEX   Application Name:     iTunes.exe   Application Version:     11.0.1.12   Application Timestamp:     50c8fc7e   Fault Module Name:     QuickTime.qts_un

    Problem signature:
      Problem Event Name:          BEX
      Application Name:          iTunes.exe
      Application Version:          11.0.1.12
      Application Timestamp:          50c8fc7e
      Fault Module Name:          QuickTime.qts_unloaded
      Fault Module Version:          0.0.0.0
      Fault Module Timestamp:          4ea5d609
      Exception Offset:          653f1040
      Exception Code:          c0000005
      Exception Data:          00000008
      OS Version:          6.1.7601.2.1.0.768.3
      Locale ID:          1033
      Additional Information 1:          0a9e
      Additional Information 2:          0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:          0a9e
      Additional Information 4:          0a9e372d3b4ad19135b953a78882e789

    I am encountering the same thing as I am trying to restore my iPhone. How to fix this? I tried repairing iTunes. Still having the issue.

  • Problem with register event callback in use of instrument control

    now, i use the register event callback to register a value change of a boolean control on the front panel, and wire the cluster's ref of the instrument control parameters to the user parameter input, then create the callback vi. In the callback vi, i select the pump-control subvi, and pass the user parameter to the subvi. The problem is that,  when i press the boolean control, the instrument (here is pump) can act, but immediately, the code crashes.
    I use labview 8.6
    Attachments:
    callback vi.png ‏8 KB
    register event callback.png ‏8 KB

    You would wire the event registration wire that comes out of the Register for Events node into an event structure.  You will need to right click on the event structure and check off "Show Dynamic Event Terminals" and it into that.  Then you can create a new Event Case that uses the dynamic event.  You can place your subVI in that event in whatever way you want.  (Just drop the subVI in or do a Call by Reference there, or whatever.)  Look in the Example Finder for "Dynamically Register for Events.vi".

  • Why does iPhoto (9.0/11) not retain the Event name when exporting more than one event? (using File - Export - Album name with number).

    Why does iPhoto (9.0/11) not retain the Event name when exporting more than one event? (using File -> Export -> Album name with number).
    Exporting a single Event retains the Event name which is what I'd expect. But highlighting more than one event and exporting it renames the images to Events 001.JPG, Event 002.JPG etc.
    I was recently on holidays and had all my events nicely split on Dad's computer but when I went to export it I couldn't retain any of this information. Now I have to replicate this all again on my computer.
    It wasn't possible to export the entire library as the external drive was fat32 format an I didn't want all of it. It would be nice to export a bunch of events to someone and have it retain the name.
    Does anyone have a work around or will this be fixed at some point by Apple?

    Why does iPhoto (9.0/11) not retain the Event name when exporting more than one event? (using File -> Export -> Album name with number).
    Exporting a single Event retains the Event name which is what I'd expect. But highlighting more than one event and exporting it renames the images to Events 001.JPG, Event 002.JPG etc.
    I was recently on holidays and had all my events nicely split on Dad's computer but when I went to export it I couldn't retain any of this information. Now I have to replicate this all again on my computer.
    It wasn't possible to export the entire library as the external drive was fat32 format an I didn't want all of it. It would be nice to export a bunch of events to someone and have it retain the name.
    Does anyone have a work around or will this be fixed at some point by Apple?

  • Can't install netbeans 8 on windows 7 ultimate 32 bit (Java Platform SE binary has stopped working), problem event name : BEX

    I can't install netbeans 8 on my windows  7 ultimate 32 bit. Please help me.. This is the error message :
    Java Platform SE binary has stopped working
    Problem signature:
      Problem Event Name:    BEX
      Application Name:    java.exe
      Application Version:    8.0.5.13
      Application Timestamp:    53280287
      Fault Module Name:    StackHash_2264
      Fault Module Version:    0.0.0.0
      Fault Module Timestamp:    00000000
      Exception Offset:    00000040
      Exception Code:    c0000005
      Exception Data:    00000008
      OS Version:    6.1.7600.2.0.0.256.1
      Locale ID:    1033
      Additional Information 1:    2264
      Additional Information 2:    2264db07e74365624c50317d7b856ae9
      Additional Information 3:    875f
      Additional Information 4:    875fa2ef9d2bdca96466e8af55d1ae6e
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt

    1. I had similar problem and upgrade of BIOS has helped.
    2. Try Oracle support forum if 1 does not help.
    Rgds
    Milos

Maybe you are looking for