Windows device event notification

Does anybody know if it is possible to have a VI notified of a device insertion event in Windows? I have a VI that I would like to kickstart in the background if a USB keyboard is plugged in because I don't want it running all the time. It would also be useful if I could receive notification when a USB flash drive is plugged in.
Searching on MSDN's website I found out about the System Event Notification Service but I don't think that is going to do what I need. I also know that I can read and monitor the Windows Event Viewer but it does not log device insertion events from what I can tell.
Kyle

This has been asked before. Check out this thread:
http://forums.ni.com/ni/board/message?board.id=170&message.id=249567&requireLogin=False

Similar Messages

  • Windows 8.1 - Windows Couldn't connect to the System Event Notification Service service

    I have an issue that has been bothering me for a while on new 8.1 computers. Standard users are not able to log into the computer on the first try consistently. They receive the error message: Group Policy client service failed the sign-in access is
    denied. They are stuck at the logon screen.
    If an administrator logs in (local or domain), they can log in but get a black desktop with two error messages. The first is Location is Not available - C:\Windows\system32\config\systemprofile\Desktop is unavailable. The second error message is a popup
    balloon. It states "Failed to Connect to a Windows service. Windows couldn't connect to the System Event Notification Service service."
    When a standard user attempts to log in, event viewer records three warnings. They are listed in order from oldest to newest
    The winlogon notification subscriber <Profiles> was unavailable to handle a critical notification event. -Logged 9:14:44
    The winlogon notification subscriber <GPClient> failed a critical notification event. - Logged 9:14:44
    The winlogon notification subscriber <Profiles> was unavailable to handle a notification event. - Logged 9:14:49
    After a reboot, users still have the issue. I noticed that the user profile services and system event notification service are not running though their startup type is automatic. They start after a minute or two.

    Hi Joseph__Moody,
    Based on your description ,I assume it is a domain environment .First of all ,I would suggest you to try to update all the machine .
    "I have an issue that has been bothering me for a while on new 8.1 computers"
    Do you mean all the Windows 8.1 machine share the same symptom or just a specific one ?Did the machine work correctly before ?When did the issue start to occur ?Have you installed any third party software before ?Can we operate the machine when we login with
    an administrator account ?
    If the issue occurred with the specific machine :
    "The first is Location is Not available - C:\Windows\system32\config\systemprofile\Desktop is unavailable."
    Please try the following suggestions if we can operate the machine when we login with the administrator account :
    Open Windows Explorer and navigate to: C:\Windows\system32\config\systemprofile and verify if it has the Desktop folder there.If the folder doesn`t exit, we can copy from C:\users\Default\Desktop location(This folder is hidden by default).
    We also can try the following suggestions to have a troubleshoot :
    1.Run "sfc /scannow"or "dism /online /cleanup-image /restorehealth" to check the health of the system files.
    2.Perform a full scan with an antivirus software.
    3."They start after a minute or two."
    I suspect there is a third party service confilct here. Please perform a clean boot to verify whether there is a third party conflict here .
    How to perform a clean boot in Windows
    https://support.microsoft.com/en-us/kb/929135
    If the issue occurred with multiple machines in the domian ,I would suggest you to check whether you have configured any logon scripts and logon group policy .We can remove the machine from the domain to have  a troubleshoot .
    If the issue occurred recently ,we can perform a system restore to recover the machine to a previous normal point.
    Best regards
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].

  • Lion 10.7.2 On both mac book pro and iMac, both with Lion 10.7.2, obtain repeated iCal event notifications from calendar or address book.  Cannot turn these off.  They repeat several times per session and every time computer is used.  How to diagnose this

    Lion 10.7.2 On both mac book pro and iMac, both with Lion 10.7.2, obtain repeated iCal event notifications from calendar or address book.  Cannot turn these off.  They repeat several times per session and every time computer is used.  How to diagnose this?

    First, uninstall "SuperTV" (whatever that is) according to the developer's instructions. It isn't working and it's filling the log with noise.
    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Enter "BOOT_TIME" (without the quotes) in the search box. Note the timestamps of those log messages, which refer to the times when the system was booted. Now clear the search box and scroll back in the log to the last boot time when you had the problem. Post the messages logged before the boot, while the system was unresponsive or was failing to shut down. Please include the BOOT_TIME message at the end of the log extract.
    Post the log text, please, not a screenshot. If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message. When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    PLEASE DO NOT INDISCRIMINATELY DUMP THOUSANDS OF LINES FROM THE LOG INTO A MESSAGE. If you do that, I will not respond.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.
    Step 2
    Still in Console, look under System Diagnostic Reports for crash or panic logs, and post the most recent one, if any. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • JComboBox event notification when select first entry in pop-up menu JDK 6

    I recently began testing a Java GUI, I originally developed with JDK 1.5.0_11, with JDK 1.6.0_3. I have used the JComboBox in several applications developed using JDK 1.3.x and 1.4.x over the years. In every one of these earlier JDKs the JComboBox widgets all behaved the same. When you select the JComboBox widget, the pop-up menu appears and you can select any of the items from the menu list. Having made the selection with either a mouse click or a key press, an event notification is sent. Typically, an ActionEvent as well as either a mouse click event or a keypressed event may be sent. When testing with 1.6.0_x versions of the JDK and JRE, I can't account for any event notification being sent when selecting the first item at the top of the pop-up menu as the initial selection. If I select some other item on the list and then the first item, it works as it is supposed to work, but only after selecting another item first.
    I've placed the JComboBox in a JDialog and a JPanel. There are NO AWT widgets in any containers of the application. The same behavior seems to exist regardless of what other containing Swing component I place the JComboBox in. I'm running these applications on Windows XP, service pack 2. The system is an AMD 64 bit dual processor with 4Gb of RAM. The essential code follows:
    private JComboBox getJcboAlias()
        /* Note here that I am using a defaultComboModel as I have always done */
       jcboAliases = new JComboBox(urls);
       *jcboAliases.setEditable(false);*                               // Note here that the JComboBox is NOT editable
       jcboAliases.addActionListener(new ActionListener()   // ActionListener only receives a notification if the second or
       {                                                                            // another item in the pop-menu list is selected...but never the
          public void actionPerformed(ActionEvent ae)           // first item in the list
             String s = (String) jcboAliases.getSelectedItem();
             for (int i = 0; i < connections.size(); i++)
                conAlias = (String[]) connections.get(i);
                if (s.equals(conAlias))
    isSelected = true;
    break;
    jlblName.setVisible(true);
    jlblAlias.setVisible(true);
    jlblUID.setVisible(true);
    jlblPWD.setVisible(true);
    jtxtName.setText(conAlias[0]);
    jtxtName.setVisible(true);
    jtxtAddress.setText(conAlias[1]);
    jtxtAddress.setVisible(true);
    jtxtUID.setText(conAlias[2]);
    jtxtUID.setVisible(true);
    jtxtPWD.setVisible(true);
    jtxtPWD.setText("");
    jtxtPWD.requestFocus();
    return jcboAliases;
    }    I'm using a non-editable JComboBox because there is a pop-up menu with this and not with the JList widget.  JComboBox behaves more like the JList MicroSoft counterpart.  Another code snippet follows in which the JComboBox is editable.  The same errant behavior occurs when selecting the first item from the pop-up menu: private JComboBox getJcboPCMember()
    jcboPCMember = new JComboBox(PCViewerCustom.getCurrentMembers());
    jcboPCMember.setBounds(250, 103, 180, 20);
    jcboPCMember.setToolTipText("PATHCHECK(ER) member name - Example: CKPPTHCK");
    jcboPCMember.setSelectedIndex(Integer.valueOf(PCViewerCustom.getCurrentHost(3)));
    jcboPCMember.setEditable(true); // Note here that this JComboBox IS editable
    jcboPCMember.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    if (ae.getActionCommand().equals("comboBoxEdited"))
    boolean copy = false;
    for (int i = 0; i < jcboPCMember.getItemCount(); i++)
    if (jcboPCMember.getSelectedItem().equals(jcboPCMember.getItemAt(i)))
    copy = true;
    break;
    if (!copy)
    if (jcboPCMember.getItemCount() > 0)
    if (jcboPCMember.getItemAt(0).equals("No Entries"))
    jcboPCMember.removeItem("");
    jcboPCMember.removeItem("No Entries");
    jcboPCMember.insertItemAt((String) jcboPCMember.getSelectedItem(), 0);
    else
    jcboPCMember.removeItem("");
    jcboPCMember.addItem((String) jcboPCMember.getSelectedItem());
    enableJbtnOK();
    else
    if (jcboPCMember.getSelectedIndex() >= 0)
    PCViewerCustom.setCurrentHost(3, Integer.toString(jcboPCMember.getSelectedIndex()));
    enableJbtnOK();
    else
    JOptionPane.showMessageDialog(null, "Name not selected", "Error", JOptionPane.ERROR_MESSAGE);
    return jcboPCMember;
         I am able to add a new entry to the JComboBox, however, I am still unable to select the first item from the pop-up menu and fire any kind of notification event.  I have not seen this behavior before in any earlier versions of the JDK and it's playing havoc with my ability to deploy the application into a JDK or JRE V6 environment, without adding a bunch of additional code to pre-select the first item on the list, which pretty much defeats the purpose of the JComboBox.  I'll be the first to admit I've done something wrong, but i've built a number of test scenarios now on two systems runing Win XP SP2 and I get the same errant behavior.  I've also added in event listeners for a MouseListerner, a KeyListener and an ItemListener.  Still no event notification on this first item in the list.  Again, however, if I select one of the other items from the pop-up menu list and then select the first item, all is well.  Imagine selling that method of operation to a user....  It occurs to me that this must be a bug in the V6 JComboBox.  I wanted to post this here first, however, in order to determine if this is, in fact, a bug - in other words, am I the only one seeing this, or is this a more widespread issue?  Any assistance in making this determination is greatly appreciated.
    David Baker
    Edited by: Galstuk on Nov 27, 2007 12:21 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    here is the other file as well:
    Harold Timmis
    [email protected]
    Orlando,Fl
    *Kudos always welcome
    Attachments:
    VI2.vi ‏5 KB

  • Touchsmart 9100; error 0x80072ee4; troubleshooting wizard error; system event notif. svc. error

    HP Touchsmart 9100 all-in-one
    Windows 7 professional
    First I get a window that says
    failed to connect to a window service --windows could not connect to the system event notification svc. This problem prevents standard user from logging into the system. as an administrator you can review the system event log for details about why the service didn't respond.
    Windows help and support cant start.  There is a problem with Windows Help and support.  To view our online help content visit windows website;
    The Internet is not available and the troubleshooter does not work.  I get this error when I try to connect to Internet;
    ERROR 137 (net::ERR-NAME-RESOLUTION_FAILED) unknown error
    I cannot run any diagnostics. I get this:  
    An error occurred while troubleshooting. Then it says Diagnostics troubleshooting wizard has stopped working. A prooblem has caused the system to stop working correctly.  Windows will close the program and nootify you if a solution is available.
    I get this window:
    Package ID: Performance Diagnostic
    Path;  Unknown
    Error Code; 0x80072ee4
    User;  
    Context: Restricted
    I restarted with the same result.
    I tried to do a startup repair and it said no problem was detected.
    Yesterday I had a problem where the cursor moved but nothing was clickable. I could not detect a problem, so I did a system restore to oct. 1 and it seemed to work.  The only thing added yesterday was malwarebytes. I scanned with that program and removed one item, but I cannot remember what it was.  
    I ran an AVG virus scan and it detected no viruses.
    I have the same issues in safe mode.
     When I go to services.msc it says it is "starting" and I cannot restart it.

    Hello sallatticum:
              Welcome to Hp's forum .  This link is how to correct  your error. How it works on a business computer that I do not because you have a total different operating  system then home users computers do. http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/error-code-0x80072ee4-and-the... 
           You need to goto the HP's Business Support Forum with your computer issues. Next time or if this fix did not work for your issue. http://h30499.www3.hp.com/t5/Business-PCs-Compaq-Elite-Pro/bd-p/bsc-271 Please click on Kudos if this resolved your issue. Thank you frrw. 

  • Unknown Device Event Type Adobe?

    Starting yesterday I have about 60 notifications that state "Unknown Device Event Type" and the packet was dropped inline. The majority of the Raw message starts out with....P...L...E.... and has ...Adobe..d...in the message body. Maybe Adobe sent out an update that is causing this? Different Source, Destinations and Ports in the notifications. No virus or spyware on the network that I can find.

    They're apparently IPS alarms? Take a look at the raw message and it should tell you the signature ID. Then look that up on mySDN.
    http://tools.cisco.com/MySDN/Intelligence/searchSignatures.x

  • Can I connect window device like modem, mobile in oracle forms,if possible then how?

    Can I connect window device like modem, mobile in oracle forms,if possible then how?

    Hi Tony,
    So explain where you would see your notification?I just mention, Leave module, there are many other module. For example In Purchase Purchase Requigition , Production Module Production Complite , Delivery Module Delivery Ready.
    For this it will better to show at respective Menu.
    In the Window title?Another good Idea !
    You could have a timer trigger that runs every 5 minutes and checks a notification table, if there is an unacknowledged notifcation, then you could change the Window title of the formas app to show a (1) at then end of it.Timer has a bad this.. For example, if i make a timer and run every 5 min. then if user works on a form, timer will hide the form and show the timer window.
    Isn't it ?
    Would that do, or do you need more?Yea.. More..It will be like facebook. If any notified work is done by any person, light will go off.
    Thanks for your interest and suggestion...
    Ask2Learn
    Edited by: Asked to Learn on Jan 23, 2013 12:36 AM

  • Event Notifications: insufficient system memory

    I'm looking for a sanity check.  Service broker and Event Notifications are new to me, so it is possible I'm either abusing or incorrectly using the technology.  I'm experimenting with using Event Notifications and Server Broker to log error messages.  The process works pretty well as long as I don't do something stupid such as stressing the process by calling raiserror in a loop of a 100000 - twice.  It processed for a while, but eventual either SQL Server terminates (sev 25) or I had to force the SQL service to stop by killing it's process via task manager.  I could not connect to SQL Server or stop the service normally.  
    I have several general questions.  I think they are good questions.  Any thoughts or suggestions would be appreciated. 
    1) I'm looking into generating deadlock and blocking email alerts.  It appears that Event Notification is the way to go since there are very few events and I can respond to the event with an email.  Is there a better method to automate blocking and deadlock email alerts that include event details? 
    2) If I wanted to retain some history of errors for the developers, should Event Notifications be avoided if a high number of errors can be generated by a badly formed T-SQL?  Avoid TRC_ERRORS_AND_WARNINGS and USER_ERROR_MESSAGE?  (I could tell the developers not to be stupid, but why would that stop them if it does not stop me?)
    3) Is there a way to efficiently filter a Event Notification from entering the queue before the Receive statement is called?  I get some events that I throw away after receiving them.  For example, perhaps I want all events from all non-system databases without having to add a notification for each single non-system database.  Or I want all errors with severity 11-17 only? 
    4) Is there a trick to filter out events from the procedure activated by the event.  I tried using raiserror to debug a procedure without thinking.  The result was that the queue never was empty because the processing produced more events to process.  As a result, I don't use raiserror and use a try-catch to avoid raising errors in the procedure activated. 
    5) I can receive one message at a time using local variables or receive a batch of messages using a local table.  Is a small batch the best way even if there is memory pressure? 
    6) In the activated procedure I continue processing in a loop until there are no more messages.  This seems to be the most efficient.  Is this always the case?  Should I exit the procedure after a set number (large) of messages have been received?  The procedure would activate again to continue processing? 
    7) Is there any point to using the MAX_QUEUE_READERS setting when processing event notifications?  Should it be 1? 
    8) I currently get the next conversation group id and process its messages within a transaction.  Is this a bad idea with event notifications?  Should I just call Receive and get the next batch?  I don't really care if I lose some messages if things are going badly.  Should I avoid wrapping the receive in a transaction? 
    9) I could run a trace that starts with SQL Server; however, I think my only choice is to log to a file.  Is there a way to trace to a table using SQLTrace without running profiler?  I would like to automate the process and have the data in a table so that it can be easily queried and parsed for each database/team. 
    10) Is there a way to fix my process and handle 100000 messages a minute?  Is there a way to skip messages when it gets to busy?  Can the query generating the messages get throttled - perhaps along with the query designer - before the server gets into trouble?  Query the memory used by a queue and drop/create the queue with a delay if there is an issue? 
    I'm using a single CPU test machine with only 1 GB and 2 GB pagefile and a single disk.  OS: Windows 2003 R2 SP2.  SQL: 9.0.3054 and on 9.0.3228 (update package 6 just came out today).  I could add memory, but I think that would just permit me to queue more message before running into trouble. 
     I'll add code shortly - length limit.

    Here is the activation procedure to "receive" the messages.  I won't bother including the scripts for the two tables.  The 50000 char limit is trouble. 
    CREATE PROCEDURE [monitor].[prReceiveEventNotificationQueue]
    AS
    SET XACT_ABORT ON;
    BEGIN TRY
    WHILE 1=1
    BEGIN
    BEGIN TRANSACTION;
    WAITFOR(GET CONVERSATION GROUP @conversation_group_id
    FROM DBA.monitor.EventNotificationQueue), timeout 10000;
    IF @conversation_group_id IS NULL
    BEGIN
    ROLLBACK;
    BREAK;
    END;
    DELETE FROM @EventNotification;
    RECEIVE TOP (100)
    queuing_order,
    [conversation_group_id],
    message_sequence_number,
    NULLIF([service_name], @service_name_expected),
    service_id,
    NULLIF(service_contract_name, @service_contract_name_expected),
    service_contract_id,
    NULLIF(message_type_name, @message_type_name_expected),
    message_type_id,
    validation,
    CASE WHEN validation = 'X' THEN CAST(message_body AS XML)
    WHEN validation = 'E' THEN CAST('<empty />' AS XML)
    WHEN validation = 'N' THEN CAST('<binary><![CDATA['
    + CAST(message_body as varchar(MAX)) + ']]></binary>' AS XML)
    END,
    NULL,
    --NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    0
    FROM DBA.monitor.EventNotificationQueue
    INTO @EventNotification
    WHERE conversation_group_id = @conversation_group_id;
    SELECT @rowcount = @@ROWCOUNT
    IF @rowcount = 0
    BEGIN
    ROLLBACK;
    BREAK;
    END;
    -- preprocess some fields in the XML used in filtering and statistics
    -- insert new messages into the EventNotification table
    INSERT INTO monitor.EventNotification (
    queuing_order,
    [conversation_group_id],
    message_sequence_number,
    [service_name],
    service_id,
    service_contract_name,
    service_contract_id,
    message_type_name,
    message_type_id,
    validation,
    message_body,
    post_time,
    database_name,
    event_type,
    severity,
    error
    SELECT
    queuing_order,
    [conversation_group_id],
    message_sequence_number,
    [service_name],
    service_id,
    service_contract_name,
    service_contract_id,
    message_type_name,
    message_type_id,
    validation,
    message_body,
    post_time,
    database_name,
    event_type,
    severity,
    error
    FROM @EventNotification
    WHERE ignore = 0;
    COMMIT
    -- Gather statistics
    WAITFOR DELAY '0:00:00:01'
    END;
    END TRY
    BEGIN CATCH
    IF NOT(XACT_STATE() = 0)
    ROLLBACK;
    INSERT INTO DBA.monitor.ErrorLog (
    [number],
    error_message()
    END CATCH;
    RETURN 0;

  • Item state change events - notification not recd when run on nokia phone

    I have a Form which implements ItemStateListener and its registered to receive item state change events. The Form has a text field which needs to be enabled/disabled based on certain ChoiceGroup element being selected. The code works fine on emulator, however I don't receive event notification in itemStateChanged() on series 60 nokia devices when a new ChoiceGroup element gets selected. Has anyone faced a similar problem? Is there any solution for this? The profile used in my project is CLDC 1.1 and MIDP 2.0.

    I faced a similar problem on Motorola ROKR E6. Turned out that ItemStateListener was working only as long as the first form to be displayed remained current -- once I setCurrent another Form, the app stopped responding to itemStateChanged.
    The workaround I adopted was to remove Items from the Form and add new Items, giving the illusion of the next form being displayed. It would be interesting to know whether that works for you and whether anyone has faced the same problem with any other handset.
    I have subsequently come to know that Motorola have marked my bug report as "solved" -- but have not offered me any option to update my handset with a bug-free version.
    btw, calling setConstraints on a TextField can throw a NullPointerException. My workaround for that was to setText("") in the itemStateChanged in lieu of setConstraints (TextField.UNEDITABLE).
    luck, db

  • Decoding the Device Event log (LGLG)

    Not sure this is the best section to ask in, but...
    Is there a document that can help developers decode the device event log (the one you see with Alt - LGLG) ?
    We're trying to debug some connection issues and hope to find some help in the log.
    Thanks!
    Kev

    Hi,
    You may need to restore or re-issue your CALs.
    Detailed steps.
    The number of client access licenses may be reset to five in Windows Small Business Server 2003
    http://support.microsoft.com/kb/888818/en-us
    Hope this helps.
    Jeremy Wu
    TechNet Community Support

  • How do you disable all-day event notifications?

    I've already read the various threads about the issues with all-day events disappearing from the Today view and only appearing in the Notifications.  However, I am having an issue when trying to disable all-day event notifications.  I currently use my all day events from my work calendar (Lotus Notes 8.5) that is synched to my phone.  I have disabled the "Notify Me" option within Lotus Notes and changed the default all day event notification on my phone to "None".  The problem is that this has not disabled any all day event notification and I still get notified every night at midnight for the event.  This didn't happen on iOS 6 or any of the iOS 7 beta versions.  Is this something that can be fixed?  Thanks!

    the Automation quick access should be off by default. I don't think this is what will do it for you, but here is a description of it, Page 320 of the manual
    Automation Quick Access
    This feature makes Track Automation extremely fast and simple if you only have one hardware MIDI controller available (one fader on your MIDI keyboard, or maybe just the Modulation wheel). You can use this single hardware controller to access (and automate) the currently visible Automation parameter of the selected Track in the Arrange window.
    since it is midi messages that you do not want to send from your controller, I think you need to go to song settings an filter out incomming midi messages. File>song settings>midi>imput filter
    but really any messages being sent should only effect the channel you are playing. I am assuming you are playing one of logics instruments for live performance.

  • Windows Devices are Failing Log In

    I have several Windows devices failing log in on my network (according to the spice UI). 
    However when I check the event log on the individual machines I am seeing successful logons immediately followed by logoffs (in the same second).  The account I have set up on the machines is an Admin Level user account with the same User Name and PW across the network.
    Spice UI is also confirming that I have ports 445 (micro_ds), 3389 (rdp), 135 (wmi), 139 (netbios_ssn) open on the machines. 
    Majority of the machines are running windows 7 Pro or Ultimate, a couple are on windows 8.  I do have 4 windows 7 machines that are authenticating as expected.
    Any help would be appreciated.
    This topic first appeared in the Spiceworks Community

    I have several Windows devices failing log in on my network (according to the spice UI). 
    However when I check the event log on the individual machines I am seeing successful logons immediately followed by logoffs (in the same second).  The account I have set up on the machines is an Admin Level user account with the same User Name and PW across the network.
    Spice UI is also confirming that I have ports 445 (micro_ds), 3389 (rdp), 135 (wmi), 139 (netbios_ssn) open on the machines. 
    Majority of the machines are running windows 7 Pro or Ultimate, a couple are on windows 8.  I do have 4 windows 7 machines that are authenticating as expected.
    Any help would be appreciated.
    This topic first appeared in the Spiceworks Community

  • How to create event/notification in SAP using PI.

    Hi there,
    How to create the event/notification in SAP that triggered by the PI system. Any suggestion appreciated.
    Thanks

    Hi Mistry
    You call a bapi to add the event message to SAP EM.
    Below an example:
    SAP EM ABAP - Calling a BAPI to create an Event Message in SAP Event Management - Code Gallery - SCN Wiki
    Best regards
    Eduardo Chagas

  • Figuring out how to access a device using Windows.Devices.HumanInterfaceDevice?

    Before I start, I would like to share this link I used to access windows RT libraries from Desktop applications (only the ones stated in MSDN documentation that are accessible from desktop applications):
    http://blogs.msdn.com/b/cdndevs/archive/2013/10/02/using-windows-8-winrt-apis-in-net-desktop-applications.aspx .
    After following the above instructions you can import some of the windows RT libraries in references. I have been trying to use the Windows.Devices.HumanInterfaceDevice library. I think my UsagePage and UsageId are off though. I am wondering
    if someone good in hex can translate them from my report descriptor. I already have the VID and PID (this should be enough along with the path if I called write file or some of the other win32/OS api's). Here's the code I am using in VB.NET:
    Public Class VirtualMouseDeviceOpen
    Class Enumeration
    ' Enumerate HID devices
    Public Async Function EnumerateHidDevices() As Task
    Dim vendorId As UInt32 = &HBEEF
    Dim productId As UInt32 = &HFEED
    Dim usagePage As UInt32 = &HFF
    Dim usageId As UInt32 = &H1
    ' Create a selector that gets a HID device using VID/PID and a
    ' VendorDefined usage
    Dim selector As String = HidDevice.GetDeviceSelector(usagePage, usageId, vendorId, productId)
    ' Enumerate devices using the selector
    Dim devices As Windows.Foundation.IAsyncOperation(Of Windows.Devices.Enumeration.DeviceInformationCollection) = DeviceInformation.FindAllAsync(selector)
    Dim count As Integer = devices.GetResults.Count
    If count > 0 Then
    ' Open the target HID device
    ' At this point the device is available to communicate with
    ' So we can send/receive HID reports from it or
    ' query it for control descriptions
    Dim device As HidDevice = HidDevice.FromIdAsync(devices.GetResults.ElementAt(0).Id, FileAccessMode.ReadWrite)
    Await Vendor.ReadWriteToHidDevice(device)
    Else
    ' There were no HID devices that met the selector criteria
    MsgBox("MUTT HID device not found!", MsgBoxStyle.Exclamation)
    End If
    End Function
    Class Vendor
    Public Shared Async Function ReadWriteToHidDevice(device As HidDevice) As Task
    If device IsNot Nothing Then
    ' construct a HID output report to send to the device
    Dim outReport As HidOutputReport = device.CreateOutputReport()
    ' Initialize the data buffer and fill it in
    Dim buffer As Byte() = New Byte() {10, 20, 30, 40}
    Dim dataWriter As New DataWriter()
    dataWriter.WriteBytes(buffer)
    outReport.Data = dataWriter.DetachBuffer()
    ' Send the output report asynchronously
    Dim a As Windows.Foundation.IAsyncOperation(Of UInteger) = device.SendOutputReportAsync(outReport)
    ' Sent output report successfully
    ' Now lets try read an input report
    Dim inReport As HidInputReport = device.GetInputReportAsync()
    If inReport IsNot Nothing Then
    Dim id As UInt16 = inReport.Id
    Dim bytes = New Byte(3) {}
    Dim dataReader__1 As DataReader = DataReader.FromBuffer(inReport.Data)
    dataReader__1.ReadBytes(bytes)
    Else
    MsgBox("Invalid input report received")
    End If
    Else
    MsgBox("device is NULL")
    End If
    End Function
    End Class
    End Class
    Here's my report descriptor to avoid scrimmaging through everything trying to find it:
    HID_REPORT_DESCRIPTOR G_DefaultReportDescriptor[] = {
    0x06,0x00, 0xFF, // USAGE_PAGE (Vender Defined Usage Page)
    0x09,0x01, // USAGE (Vendor Usage 0x01)
    0xA1,0x01, // COLLECTION (Application)
    0x85,CONTROL_FEATURE_REPORT_ID, // REPORT_ID (1)
    0x09,0x01, // USAGE (Vendor Usage 0x01)
    0x15,0x00, // LOGICAL_MINIMUM(0)
    0x26,0xff, 0x00, // LOGICAL_MAXIMUM(255)
    0x75,0x08, // REPORT_SIZE (0x08)
    //0x95,FEATURE_REPORT_SIZE_CB, // REPORT_COUNT
    0x96,(FEATURE_REPORT_SIZE_CB & 0xff), (FEATURE_REPORT_SIZE_CB >> 8), // REPORT_COUNT
    0xB1,0x00, // FEATURE (Data,Ary,Abs)
    0x09,0x01, // USAGE (Vendor Usage 0x01)
    0x75,0x08, // REPORT_SIZE (0x08)
    //0x95,INPUT_REPORT_SIZE_CB, // REPORT_COUNT
    0x96,(INPUT_REPORT_SIZE_CB & 0xff), (INPUT_REPORT_SIZE_CB >> 8), // REPORT_COUNT
    0x81,0x00, // INPUT (Data,Ary,Abs)
    0x09,0x01, // USAGE (Vendor Usage 0x01)
    0x75,0x08, // REPORT_SIZE (0x08)
    //0x95,OUTPUT_REPORT_SIZE_CB, // REPORT_COUNT
    0x96,(OUTPUT_REPORT_SIZE_CB & 0xff), (OUTPUT_REPORT_SIZE_CB >> 8), // REPORT_COUNT
    0x91,0x00, // OUTPUT (Data,Ary,Abs)
    0xC0, // END_COLLECTION
    0x05, 0x01, // USAGE_PAGE (Generic Desktop)
    0x09, 0x02, // USAGE (Mouse)
    0xa1, 0x01, // COLLECTION (Application)
    0x85, 0x02, // REPORT_ID (2)
    0x09, 0x01, // USAGE (Pointer)
    0xa1, 0x00, // COLLECTION (Physical)
    0x05, 0x09, // USAGE_PAGE (Button)
    0x19, 0x01, // USAGE_MINIMUM (Button 1)
    0x29, 0x03, // USAGE_MAXIMUM (Button 3)
    0x15, 0x00, // LOGICAL_MINIMUM (0)
    0x25, 0x01, // LOGICAL_MAXIMUM (1)
    0x95, 0x03, // REPORT_COUNT (3)
    0x75, 0x01, // REPORT_SIZE (1)
    0x81, 0x02, // INPUT (Data,Var,Abs)
    0x95, 0x01, // REPORT_COUNT (1)
    0x75, 0x05, // REPORT_SIZE (5)
    0x81, 0x03, // INPUT (Cnst,Var,Abs)
    0x05, 0x01, // USAGE_PAGE (Generic Desktop)
    0x09, 0x30, // USAGE (X)
    0x09, 0x31, // USAGE (Y)
    0x15, 0x81, // LOGICAL_MINIMUM (-127)
    0x25, 0x7f, // LOGICAL_MAXIMUM (127)
    0x75, 0x08, // REPORT_SIZE (8)
    0x95, 0x02, // REPORT_COUNT (2)
    0x81, 0x06, // INPUT (Data,Var,Rel)
    0xc0, // END_COLLECTION
    0xc0 // END_COLLECTION
    My UsageId is the first Usage Hex value in the report descriptor I believe (I am still a little confused too). My UsagePage is the hex values in the first Usage_Page in the report descriptor.
    Note: the problem with the VB.NET code is that it returns 0 on the count above which means it did not find a device using my criteria.
    Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - Sherlock Holmes. speak softly and carry a big stick - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda. Blog -
    http://www.computerprofessions.us

    Before I start, I would like to share this link I used to access windows RT libraries from Desktop applications (only the ones stated in MSDN documentation that are accessible from desktop applications):
    http://blogs.msdn.com/b/cdndevs/archive/2013/10/02/using-windows-8-winrt-apis-in-net-desktop-applications.aspx .
    After following the above instructions you can import some of the windows RT libraries in references. I have been trying to use the Windows.Devices.HumanInterfaceDevice library. I think my UsagePage and UsageId are off though. I am wondering
    if someone good in hex can translate them from my report descriptor. I already have the VID and PID (this should be enough along with the path if I called write file or some of the other win32/OS api's). Here's the code I am using in VB.NET:
    Public Class VirtualMouseDeviceOpen
    Class Enumeration
    ' Enumerate HID devices
    Public Async Function EnumerateHidDevices() As Task
    Dim vendorId As UInt32 = &HBEEF
    Dim productId As UInt32 = &HFEED
    Dim usagePage As UInt32 = &HFF
    Dim usageId As UInt32 = &H1
    ' Create a selector that gets a HID device using VID/PID and a
    ' VendorDefined usage
    Dim selector As String = HidDevice.GetDeviceSelector(usagePage, usageId, vendorId, productId)
    ' Enumerate devices using the selector
    Dim devices As Windows.Foundation.IAsyncOperation(Of Windows.Devices.Enumeration.DeviceInformationCollection) = DeviceInformation.FindAllAsync(selector)
    Dim count As Integer = devices.GetResults.Count
    If count > 0 Then
    ' Open the target HID device
    ' At this point the device is available to communicate with
    ' So we can send/receive HID reports from it or
    ' query it for control descriptions
    Dim device As HidDevice = HidDevice.FromIdAsync(devices.GetResults.ElementAt(0).Id, FileAccessMode.ReadWrite)
    Await Vendor.ReadWriteToHidDevice(device)
    Else
    ' There were no HID devices that met the selector criteria
    MsgBox("MUTT HID device not found!", MsgBoxStyle.Exclamation)
    End If
    End Function
    Class Vendor
    Public Shared Async Function ReadWriteToHidDevice(device As HidDevice) As Task
    If device IsNot Nothing Then
    ' construct a HID output report to send to the device
    Dim outReport As HidOutputReport = device.CreateOutputReport()
    ' Initialize the data buffer and fill it in
    Dim buffer As Byte() = New Byte() {10, 20, 30, 40}
    Dim dataWriter As New DataWriter()
    dataWriter.WriteBytes(buffer)
    outReport.Data = dataWriter.DetachBuffer()
    ' Send the output report asynchronously
    Dim a As Windows.Foundation.IAsyncOperation(Of UInteger) = device.SendOutputReportAsync(outReport)
    ' Sent output report successfully
    ' Now lets try read an input report
    Dim inReport As HidInputReport = device.GetInputReportAsync()
    If inReport IsNot Nothing Then
    Dim id As UInt16 = inReport.Id
    Dim bytes = New Byte(3) {}
    Dim dataReader__1 As DataReader = DataReader.FromBuffer(inReport.Data)
    dataReader__1.ReadBytes(bytes)
    Else
    MsgBox("Invalid input report received")
    End If
    Else
    MsgBox("device is NULL")
    End If
    End Function
    End Class
    End Class
    Here's my report descriptor to avoid scrimmaging through everything trying to find it:
    HID_REPORT_DESCRIPTOR G_DefaultReportDescriptor[] = {
    0x06,0x00, 0xFF, // USAGE_PAGE (Vender Defined Usage Page)
    0x09,0x01, // USAGE (Vendor Usage 0x01)
    0xA1,0x01, // COLLECTION (Application)
    0x85,CONTROL_FEATURE_REPORT_ID, // REPORT_ID (1)
    0x09,0x01, // USAGE (Vendor Usage 0x01)
    0x15,0x00, // LOGICAL_MINIMUM(0)
    0x26,0xff, 0x00, // LOGICAL_MAXIMUM(255)
    0x75,0x08, // REPORT_SIZE (0x08)
    //0x95,FEATURE_REPORT_SIZE_CB, // REPORT_COUNT
    0x96,(FEATURE_REPORT_SIZE_CB & 0xff), (FEATURE_REPORT_SIZE_CB >> 8), // REPORT_COUNT
    0xB1,0x00, // FEATURE (Data,Ary,Abs)
    0x09,0x01, // USAGE (Vendor Usage 0x01)
    0x75,0x08, // REPORT_SIZE (0x08)
    //0x95,INPUT_REPORT_SIZE_CB, // REPORT_COUNT
    0x96,(INPUT_REPORT_SIZE_CB & 0xff), (INPUT_REPORT_SIZE_CB >> 8), // REPORT_COUNT
    0x81,0x00, // INPUT (Data,Ary,Abs)
    0x09,0x01, // USAGE (Vendor Usage 0x01)
    0x75,0x08, // REPORT_SIZE (0x08)
    //0x95,OUTPUT_REPORT_SIZE_CB, // REPORT_COUNT
    0x96,(OUTPUT_REPORT_SIZE_CB & 0xff), (OUTPUT_REPORT_SIZE_CB >> 8), // REPORT_COUNT
    0x91,0x00, // OUTPUT (Data,Ary,Abs)
    0xC0, // END_COLLECTION
    0x05, 0x01, // USAGE_PAGE (Generic Desktop)
    0x09, 0x02, // USAGE (Mouse)
    0xa1, 0x01, // COLLECTION (Application)
    0x85, 0x02, // REPORT_ID (2)
    0x09, 0x01, // USAGE (Pointer)
    0xa1, 0x00, // COLLECTION (Physical)
    0x05, 0x09, // USAGE_PAGE (Button)
    0x19, 0x01, // USAGE_MINIMUM (Button 1)
    0x29, 0x03, // USAGE_MAXIMUM (Button 3)
    0x15, 0x00, // LOGICAL_MINIMUM (0)
    0x25, 0x01, // LOGICAL_MAXIMUM (1)
    0x95, 0x03, // REPORT_COUNT (3)
    0x75, 0x01, // REPORT_SIZE (1)
    0x81, 0x02, // INPUT (Data,Var,Abs)
    0x95, 0x01, // REPORT_COUNT (1)
    0x75, 0x05, // REPORT_SIZE (5)
    0x81, 0x03, // INPUT (Cnst,Var,Abs)
    0x05, 0x01, // USAGE_PAGE (Generic Desktop)
    0x09, 0x30, // USAGE (X)
    0x09, 0x31, // USAGE (Y)
    0x15, 0x81, // LOGICAL_MINIMUM (-127)
    0x25, 0x7f, // LOGICAL_MAXIMUM (127)
    0x75, 0x08, // REPORT_SIZE (8)
    0x95, 0x02, // REPORT_COUNT (2)
    0x81, 0x06, // INPUT (Data,Var,Rel)
    0xc0, // END_COLLECTION
    0xc0 // END_COLLECTION
    My UsageId is the first Usage Hex value in the report descriptor I believe (I am still a little confused too). My UsagePage is the hex values in the first Usage_Page in the report descriptor.
    Note: the problem with the VB.NET code is that it returns 0 on the count above which means it did not find a device using my criteria.
    Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - Sherlock Holmes. speak softly and carry a big stick - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda. Blog -
    http://www.computerprofessions.us
    I forgot anyone wanting a picture of what the device hierarchy looks like in control panel here it is (HID compliant vendor device is the first one in the report descriptor above I want to access and then the mouse device): 
    Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - Sherlock Holmes. speak softly and carry a big stick - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda. Blog -
    http://www.computerprofessions.us

  • I switched my iPod Nano from a PC to my macbook air. The info and iTunes still shows it as a windows device, just want to confirm that is ok. Next issue, which is, as usual, my wrongdoing. When I locked my iPod it used to show the time, pls advise

    Hello to my always excellent community who always gives me the right answers. I switched my iPod Nano library from my PC to my new macbook air with the help of an excellent and courteous gentleman. The info on my Ipod and on iTunes still shows my Ipod Nano as a windows device, just want to confirm that is ok.  Next issue, which is, as usual, is prob my wrongdoing. When I locked my iPod it used to show the time of day, don't even know how I got it to do that and can't remember if it stopped doing so before or after the swith. Can anyone please advise or help? I hope Thank you and if you do reply, thank you in advance for my lack of tech terms and look at my username

    I see that there are a lot of views and no replies, so it's clearly a user issue...SHOCKER!!!
    In trying to figure out the above; I stumbled upon the link below which taught me how to change/update my iPod Nano to show Version 1.0.2. Mac rather than the windows version 1.x.xPC it was still showing after I transferred my itunes library from my old pc to my new macbook air......I didn't dowlnload the iPod updater 2006-06-28 for Mac and once I did....whoa!!! I got my calendar and reminders on my nano now it's like a new toy all over again, just follow the steps in the below article, if I can do it, a 2 year old can
    http://support.apple.com/kb/HT1339?viewlocale=en_US&locale=en_US

Maybe you are looking for

  • How to remove go button for prompt

    Hi everyone, I got a requirement from client asking to remove 'GO' button for prompts which has single value to select and have go button for those which need multiple select values. If prompt has one select value the report has to change based the s

  • Can't import .m4r file into iTunes 10.0.6.40

    Hi. I have a new iPhone 4S with AT&T (first iPhone ever!) and I'd like to create a custom ringtone. I have an .m4r file that is 29 sec long. I'd like to use it as my ringtone. Should be easy enough, right? I've tried dragging and dropping my file int

  • Beta Firmware for RG45GS

    Hi peeps, I am a technical Journalist from South Africa and have been using this product for a while now. Apart from the lack of certain feauters (I felt) mine also froze at random times. So being in the press I spoke to some people and one of the te

  • ADDING an INTERNAL ZIP to G4

    Hi everyone, I have a G4 gigabit ethernet, I had a problem with the power supply and bought a g4 tower with a zip drive in it. Can I just take it out of the G4 I bought on ebay and put it in my G4? I noticed the face plate will change over ok. But I'

  • 'Logical' DMZ?

    I have an ASA 5510 and I need to implement a DMZ.  I know I can either plug devices directly into a port on the ASA or use subinterfaces to create multiple DMZs with different levels of access if I don't have enough ports, and then use a switch.  So