Replacements of NDIS 5.1 LBFO routines in NDIS 6.0

Curiously, what are replacements of following functions defined in NDIS 5.0? How can they be used in NDIS 6.0? Thanks!
- NdisMSetMiniportSecondary
- NdisMPromoteMiniport
JH

There's a few reasons these APIs weren't carried forward to NDIS 6.
LBFO stands for Load Balancing + Failover.  But the APIs don't actually help with Load Balancing -- when you mark a miniport as "secondary", NDIS removes all bindings from the NIC.  In effect, the NIC is forced to be a "standby"
NIC.
The Failover aspect doesn't work very well either.  In order to fail over, NDIS must build up all the bindings to the new miniport. This isn't seamless to applications; from their point of view, you just inserted a new network adapter, and need to
acquire a new IP address, etc.
If failover decisions are made by the link partner (e.g., LACP) then you don't want to entirely disable the standby NIC.  You need to send out a heartbeat so the switch doesn't conclude the standby NIC has failed.
Since the API is called by the miniport, the LBFO logic needs to be driven from the miniport driver.  But modern LBFO architectures want to separate out the NIC and the LBFO logic.  In the extreme case of Windows Server NIC Teaming feature, the
LBFO driver can team together NICs from unrelated vendors into the same team.
Modern LBFO architectures layer a MUX-IM driver on top of the NICs.  That architecture doesn't need APIs like these.
Are you asking because you have a solution that relies on this API, or just out of curiosity?

Similar Messages

  • Output Types Replacement of text symbols: program, FORM routine needed

    Hello,
    I'm searching for a program and/or FORM routine that will replace &EKKO-EBELN& and &EKKO-LIFNR& (from Mail title and texts) .
    Example: Hochland Rahmenvertrag &EKKO-EBELN& / &EKKO-LIFNR&
    Replaced with: Hochland Rahmenvertrag 4600012345 / 712888
    I have problems filling the eMail subject when creating a Outline agreement (Apllication EV)...
    For purchase orders it's working without FORM routine (Apll. EF) !!!
    SAP provides this (empty) fields in transaction NACE (or NACT).
    Output type > Detail
    General Data > Replacement of text symbols
    appreciating any hints in this topic
    regards
    Jörg
    from SAP F1 context help:
    Program for creating or changing an output text
    Use
    In order to analyse parameters in titles of e-mails or faxes, you have to store a special program and a form routine in the field FORM routine. System fields like SY-UNAME or SY-DATUM are are excluded from this: They will be automatically analysed by the system.
    Example
    On New Year's Day 2000, you send the purchase order 4711 by fax. The title of the corresponding output type is "Purchase order no. VBAK-VBELN on SY-DATUM" (put a "&" before and after the fields). In the outbound message you therefore have the output "Purchase order no. 4711 on 01/01/2000". The field VBAK-VBELN has been filled with global data by a form routine.

    shital phadake wrote:
    > here are some hints
    > PR - SAPMM06B - Include MM06BFTE_TEXT_EDITIEREN - ?????
    > PO - SAPMM06E - Include MM06EFTE_TEXT_EDITIEREN - Form text_symbol_replace
    Great - these where the hints i was searching for
    NACE ...
    program = SAPMM06E
    form routine = TEXT_SYMBOL_REPLACE
    ...now the eMail subject is filled with PO-number and supplier-number as demanded ... and all just using SAP standard
    thx to you guys assisting me
    special thx to shital phadake
    Jörg

  • Escaping certain specific special characters in SED routine

    My interest is to substitute for punctuation in a do shell script SED routine, but certain characters seem to be oblivious of the escape.
    For example:
    set T to "one two " & punct_
    do shell script "echo " & T & " | sed 's/\\" & punct_ & "/X/g'
    works with most punctuation, even ^ and $ which may cause issues in some usages if not escaped. But the following crash:
    "`"
    "<"
    Four of these are an unbalanced bracket or parenthesis issue, the rest ?
    Is there any general workaround? Or have I missed something here?

    Thanks Camelot --
    Once I replaced the escape in the substitute routine (see below) the -E switch certainly does it for the brackets, and for most everything else as well. Two characters (""" and "\") must be escaped in the text to be recognized, but that's no surprise, I think.
    with escape: . . . sed -e 's/\\" & punct_&"/X/g'"
    _But I might as well go for broke_: the single standard keyboard puctuation mark that doesn't get covered is a single quotation mark. I've tried a variety of things, but haven't been able to get it. Is there a solution for that?

  • NDIS Miniport on top of WDM - assertions on Ndismindicatereceivenetbufferlist()

    We have the NDIS miniport driver loaded on top of PDO created by a WDM driver.  When the NDISMIndicateReceiveNetBuffersList() function is directly called from the DPC that is initialized and scheduled by DPC and that executes code in NDIS miniport, we
    get assertion as below:
    Is it necessary that we have to complete it in NDIS context by doing it in NDIS Timer or NDIS Work queue item?
    Thanks
    Deva
    Assertion below:
    Debugging Details:
    PROCESS_NAME:  NTttcp.exe
    DPC_TIMEOUT_TYPE:  DPC_QUEUE_EXECUTION_TIMEOUT_EXCEEDED
    DPC_TIME_LIMIT: 784
    FAULTING_IP:
    nt!KeAccumulateTicks+57c
    fffff801`9327f2ec cd2c            int     2Ch
    ERROR_CODE: (NTSTATUS) 0xc0000420 - An assertion failure has occurred.
    EXCEPTION_CODE: (NTSTATUS) 0xc0000420 - An assertion failure has occurred.
    DEFAULT_BUCKET_ID:  WIN8_DRIVER_FAULT
    BUGCHECK_STR:  0x133
    CURRENT_IRQL:  d
    ANALYSIS_VERSION: 6.3.9600.17237 (debuggers(dbg).140716-0327) amd64fre
    DPC_STACK_BASE:  FFFFF80192440FB0
    LAST_CONTROL_TRANSFER:  from fffff801932b3f11 to fffff8019327f2ec
    STACK_TEXT: 
    fffff801`9243f2b0 fffff801`932b3f11 : 00000000`0000c60e fffff801`93504180 fffff801`9243f460 fffff780`00000320 : nt!KeAccumulateTicks+0x57c
    fffff801`9243f330 fffff801`932b4d98 : ffffffff`ffd0a4c8 fffff801`939a2502 fffff801`9243f460 fffff880`014440df : nt!KeUpdateRunTime+0x51
    fffff801`9243f360 fffff801`93978eba : ffffffff`ffd0a4c8 fffff801`939a2502 fffffa80`155a7870 00000000`00000a7e : nt!KeUpdateTime+0x3f9
    fffff801`9243f550 fffff801`93282bca : 0000000e`dd944296 fffffa80`0c879000 fffff801`939a2580 000007a6`00000000 : hal!HalpTimerClockInterrupt+0x86
    fffff801`9243f580 fffff880`0153e32b : fffff880`015474c9 fffffa80`00000000 fffffa80`00000006 00000000`00002238 : nt!KiInterruptDispatchNoLockNoEtw+0x1aa
    fffff801`9243f718 fffff880`015474c9 : fffffa80`00000000 fffffa80`00000006 00000000`00002238 fffffa80`155a7ae0 : NETIO!memcpy+0xab
    fffff801`9243f720 fffff880`01a7d4a0 : fffff801`9243f888 fffff801`9243f850 fffff801`9243f870 fffff801`9243f838 : NETIO!RtlCopyMdlToMdlIndirect+0xd9
    fffff801`9243f7a0 fffff880`01ab1355 : fffffa80`0c836d80 fffffa80`1526ae68 fffffa80`1526ad10 fffffa80`1526ae68 : tcpip!TcpSatisfyReceiveRequests+0x110
    fffff801`9243f9b0 fffff880`01ab8c60 : 00000000`00000002 fffffa80`155a7870 fffffa80`11f21c70 fffff880`05a01170 : tcpip!TcpDeliverDataToClient+0xd5
    fffff801`9243fb20 fffff880`01aa7f98 : fffff801`9243fe70 00000000`00000000 00000006`00000014 00000000`00000014 : tcpip!TcpDeliverReceive+0xa0
    fffff801`9243fc10 fffff880`01abf1e7 : 00000013`00000001 00000000`00000000 fffffa80`06a5dcc0 fffffa80`15165e40 : tcpip!TcpTcbFastDatagram+0x248
    fffff801`9243fdf0 fffff880`01abf8f3 : fffff801`92440398 fffff801`92440358 fffff801`92440378 00000000`00000000 : tcpip!TcpTcbReceive+0x207
    fffff801`9243ff50 fffff880`01ab9d01 : fffffa80`0c87d032 fffffa80`06ba28c0 00000000`00000000 fffffa80`06982f40 : tcpip!TcpMatchReceive+0x1f3
    fffff801`924400d0 fffff880`01a9de5f : fffffa80`06a5dcc0 fffff801`924403d9 fffff801`92440388 fffffa80`0c618300 : tcpip!TcpPreValidatedReceive+0x381
    fffff801`924401b0 fffff880`01a9d2a8 : 00000000`00063e83 fffff801`932b3f11 ffff7714`62904962 fffff801`93504180 : tcpip!IppDeliverListToProtocol+0x4f
    fffff801`92440260 fffff880`01aa2cb1 : fffff880`01bb7b90 00000000`00000000 41414141`41414141 fffff801`92440378 : tcpip!IppProcessDeliverList+0x68
    fffff801`92440310 fffff880`01a9c4c4 : 00000000`00000001 fffffa80`06a4ea00 00000000`00000000 fffff880`01bb7b90 : tcpip!IppReceiveHeaderBatch+0x211
    fffff801`92440440 fffff880`01aa7b4c : fffffa80`07cd9910 00000000`00000000 fffff801`9320e001 fffff801`93504101 : tcpip!IpFlcReceivePackets+0x8d4
    fffff801`92440660 fffff880`01aa7429 : fffffa80`150aa501 fffff801`0000000a fffff880`01aa7470 fffff801`00000000 : tcpip!FlpReceiveNonPreValidatedNetBufferListChain+0x29e
    fffff801`92440730 fffff801`932c9df5 : 00000000`00000000 fffff801`93506f00 00000000`00000000 00000000`0000003a : tcpip!FlReceiveNetBufferListChainCalloutRoutine+0x119
    fffff801`92440830 fffff801`932cad85 : fffff880`01aa7310 fffff801`924409a0 00000000`00000010 00000000`00000000 : nt!KeExpandKernelStackAndCalloutInternal+0xe5
    fffff801`92440930 fffff880`01aa75fe : fffff801`939a2580 41414141`41414141 00000000`0000226e fffff880`07e0f069 : nt!KeExpandKernelStackAndCalloutEx+0x25
    fffff801`92440970 fffff880`0143fe2e : 00000000`00000000 00000000`00000001 00000000`ffffffff 00000000`00000000 : tcpip!FlReceiveNetBufferListChain+0xae
    fffff801`924409f0 fffff880`0143f35d : fffffa80`0c832502 000005ea`00000000 fffffa80`00000000 00000000`0000000a : NDIS!ndisMIndicateNetBufferListsToOpen+0x373
    fffff801`92440a90 fffff880`0143fa05 : fffffa80`150ce1a0 00000000`00000000 00000000`00000001 fffffa80`1546f550 : NDIS!ndisInvokeNextReceiveHandler+0x25d
    fffff801`92440b60 fffff880`07e203e0 : fffff801`93506f00 fffff801`92440e00 fffffa80`066058e0 fffff801`92440f20 : NDIS!NdisMIndicateReceiveNetBufferLists+0xc5
    fffff801`92440be0 fffff880`07e1429d : fffffa80`078e01e8 fffff801`00000000 00000000`00000002 fffffa80`0000000a : liooctmp_W2012!ReceiveIndicate+0x260 [c:\users\rpm\documents\rpm\375\src\windows\liooctmp\octnic_rx.c @ 926]
    fffff801`92440c50 fffff880`07fdf3cc : fffffa80`078d8000 fffff801`00000000 fffffa80`1546f550 00000000`00000000 : liooctmp_W2012!OcteonInterruptDPC+0x1cd [c:\users\rpm\documents\rpm\375\src\windows\liooctmp\octnic_device.c @ 666]
    fffff801`92440cc0 fffff801`9327f498 : fffffa80`066058e0 0000057f`f80d8808 fffffa80`1546f550 00000000`00000000 : liooctvb!VbdPdoDpc+0x4c [c:\users\rpm\documents\rpm\375\src\windows\liooctvb\vbd_device.c @ 545]
    fffff801`92440d00 fffff801`932afd50 : fffff801`93504180 0000000e`607abb34 fffffa80`15117b00 00000000`00000025 : nt!KiExecuteAllDpcs+0x198
    fffff801`92440e40 fffff801`932af745 : 00000000`00000000 fffff801`93504180 fffff880`0fa7f050 000067ef`2aedbceb : nt!KiRetireDpcList+0xd0
    fffff801`92440fb0 fffff801`932af549 : 80000001`32f64963 fffff801`9334a398 00000000`00000000 00000000`00000000 : nt!KxRetireDpcList+0x5
    fffff880`0fa7efa0 fffff801`9334a398 : 00000000`00000000 00001f80`00000000 80000000`00000000 00000000`00000000 : nt!KiDispatchInterruptContinue
    fffff880`0fa7efd0 fffff801`932d9276 : 00000580`00000000 00000000`00000001 fffffa80`155ab010 00000000`00000000 : nt!KiDpcInterrupt+0xc8
    fffff880`0fa7f160 fffff801`9347c763 : 00000000`00000000 fffff880`0fa7f239 00000000`00000000 fffffa80`0631db50 : nt!ExpFindAndRemoveTagBigPages+0x116
    fffff880`0fa7f1c0 fffff880`01ab3772 : fffffa80`154f5000 00000000`00000000 fffff880`00000000 fffff801`4d446354 : nt!ExFreePoolWithTag+0x753
    fffff880`0fa7f2a0 fffff880`01a55c41 : fffffa80`06a03180 fffff801`9334a398 fffff880`0fa7f7f0 fffffa80`15210b80 : tcpip!PplGenericFreeFunction+0x46
    fffff880`0fa7f2d0 fffff880`01539291 : 00000000`00000000 00000000`00000001 00000000`00000000 00000000`00000000 : tcpip!TcpDelayedDeliveryCompletionRoutine+0x95
    fffff880`0fa7f310 fffff880`01a8447e : 00000000`00000000 00000000`00000000 fffffa80`08001700 fffff801`932d8446 : NETIO!NetioDereferenceNetBufferListChain+0x121
    fffff880`0fa7f3e0 fffff880`05d54305 : 00000000`00000000 fffffa80`1556a020 fffffa80`15359980 fffffa80`07f2d5d0 : tcpip!TcpTlProviderReleaseIndicationList+0x8e
    fffff880`0fa7f410 fffff880`05d924ef : 00000000`00000020 fffffa80`15721010 fffffa80`15457db8 00000000`00000000 : afd!AfdTLReleaseIndications+0x35
    fffff880`0fa7f460 fffff880`05d97cae : 00000000`00000000 fffffa80`07f2d5d0 fffff880`0fa7f5a0 fffffa80`07f2d5d0 : afd!AfdReturnBuffer+0xff
    fffff880`0fa7f4a0 fffff880`05d982f1 : 00000000`00000000 00000000`00000000 00000000`00000000 fffffa80`15721010 : afd!AfdBReceive+0x616
    fffff880`0fa7f6d0 fffff880`05d92320 : fffffa80`15457c10 fffffa80`15721010 00000580`00010000 fffff880`00000020 : afd!AfdReceive+0x301
    fffff880`0fa7f7e0 fffff801`936549e8 : 00000000`00000000 fffff880`0fa7f8c1 fffffa80`1509bf20 fffff880`0fa7f8a9 : afd!AfdDispatch+0xf0
    fffff880`0fa7f840 fffff801`935f9c13 : fffff880`05d76100 00000000`00000001 fffffa80`1509bf20 fffffa80`1509bf20 : nt!IopSynchronousServiceTail+0x158
    fffff880`0fa7f910 fffff801`93288053 : fffffa80`07cf5a40 00000000`000001b0 00000000`00000000 00000052`2d0880b0 : nt!NtReadFile+0x661
    fffff880`0fa7fa10 000007fc`33872c0a : 000007fc`30bfebb6 00000000`00000088 000007fc`321f26b4 00000000`00000000 : nt!KiSystemServiceCopyEnd+0x13
    00000052`2f77f6d8 000007fc`30bfebb6 : 00000000`00000088 000007fc`321f26b4 00000000`00000000 00000000`00000000 : 0x000007fc`33872c0a
    00000052`2f77f6e0 00000000`00000088 : 000007fc`321f26b4 00000000`00000000 00000000`00000000 00000052`2d0880b0 : 0x000007fc`30bfebb6
    00000052`2f77f6e8 000007fc`321f26b4 : 00000000`00000000 00000000`00000000 00000052`2d0880b0 00000052`2d8803b0 : 0x88
    00000052`2f77f6f0 00000000`00000000 : 00000000`00000000 00000052`2d0880b0 00000052`2d8803b0 00000052`00010000 : 0x000007fc`321f26b4
    STACK_COMMAND:  kb
    FOLLOWUP_IP:
    NETIO!memcpy+ab
    fffff880`0153e32b 4883c120        add     rcx,20h
    SYMBOL_STACK_INDEX:  5
    SYMBOL_NAME:  NETIO!memcpy+ab
    FOLLOWUP_NAME:  MachineOwner
    MODULE_NAME: NETIO
    IMAGE_NAME:  NETIO.SYS
    DEBUG_FLR_IMAGE_TIMESTAMP:  5010aa77
    BUCKET_ID_FUNC_OFFSET:  ab
    FAILURE_BUCKET_ID:  0x133_NETIO!memcpy
    BUCKET_ID:  0x133_NETIO!memcpy
    ANALYSIS_SOURCE:  KM
    FAILURE_ID_HASH_STRING:  km:0x133_netio!memcpy
    FAILURE_ID_HASH:  {917e6ce9-ee70-56c4-568f-37d2c398bb07}
    Followup: MachineOwner
    0: kd> g
    Continuing an assertion failure can result in the debuggee
    being terminated (bugchecking for kernel debuggees).
    If you want to ignore this assertion, use 'ahi'.
    If you want to force continuation, use 'gh' or 'gn'.
    0: kd> gh
    Trying to disable physical device not enabled in this session.

    Hi ,
    Thanks a lot.  
    We have modified the code to indicate the packets through work item by scheduling it from DPC that processes the packet. It works,. However, in HCK test for 1c_RSSBVT Test and 1c_RSSSendReceive , we get error stating that the packet with same header is being
    completed from different CPUs. This is because the work item scheduled from RSS CPU1 may get completed in CPU 3 and the next packet completed for the same RSS CPU1 be completed in CPU2, as the queued work item is arbitrary.
    Any ideas to avoid?
    Thanks
    Deva

  • Network Configuration Window Freezes When USB NDIS Internet Connection Sharing and Ethernet Port Are Used Simultaneously

    Current Setup:
    Asrock Extreme 4 Z77 mobo with built-in Broadcom NetLink (TM) Gigabit Ethernet.  Windows 8 Pro. Intel i5-3570k (using onboard Intel 4000 HD Graphics).  RAID0- 2 OCZ Vertex 4's.  
    I will refer to this setup as my tower.
    The Ethernet port works fine by itself.  When I use wired tethering with my Android phone (Droid 4 running on 4.0.4 Ice Cream Sandwich), it works fine when nothing is connected into the Ethernet port in the mobo.  
    The issue arises when I try to connect both simultaneously.  The network configuration window in windows basically freezes and I cannot really navigate it without a ~60 second delay at best.  
    I would like to be able to accept the internet from my Android via a USB tether and either bridge the connection or use the internet connection sharing service to route traffic through the unused Ethernet port on the mobo (either to another computer/xbox
    or more desirably a switch/router to spread to the entire home network).  I have extensively researched the issue of Windows 8 become slow and unresponsive when I attempt to do this and I have not found anyone with the exact problem.  I am able to
    do both the MAC bridge miniport (bridge 2 connections) and Internet Connection Sharing though a Windows Vista (home premium) Laptop I have. The difference between the laptop and the tower I am try to do this on is the laptop has a WIFI and Ethernet connection
    while the tower only has the on-board Ethernet. 
    Do I have all the necessary equipment to accomplish this, or do I need to buy a PCIe WIFI card?  If so could I get away with just getting a USB WIFI dongle?
    Any help would be very appreciated. 

    I had the same problem and came here by searching.
    Per Rosengren's method solved the problem, but he didn't say how to do it, so I'll try to explain step-by-step for anyone that may venture here.
    Open Device Manager (right click on Computer > Manage > on the left side, under System Tools choose Device Manager)
    Choose the problematic device in Network Adapters (for me it's called HTC Remote NDIS based device)
    Right click on it and choose Update Driver Software...
    Click Browse my computer for driver software
    Click Let me pick from a list of device drivers
    Uncheck the box Show compatible hardware
    For the manufacturer, choose Microsoft Corporation
    Now you will have two options:
    - Remote NDIS based Internet Sharing Device
    - Remote NDIS Compatible Device
    I chose the second one and it solved the problem, but if it doesn't work you could try the other one. In my case, the driver that was being used was neither of these, but a special driver from Android SDK ADT bundle.
    Pick one and click Next. If a dialog comes up, confirm by clicking Yes.
    Wait a few seconds for the connection to restart. If it doesn't work, try disabling and reenabling USB tethering on the phone, or reconnect the USB cable.
    I should also note that I'm using a custom Android ROM on HTC Wildfire S (unofficial Cyanogenmod). If you have a stock ROM with HTC Sense, maybe this method may not work and you'll need a proprietary HTC driver.

  • Using attribute variables in the planning folders

    Hi all,
    Is there way to use attribute variables in the planning folders?
    There is a following situation. We have a number of cost centers (0COSTCENTER). Cost center has responsible person (0RESP_PERS) as attribute.
    We planning some costs for cost center.
    To select certain cost center to cost planning we created
    variable ZVAR1 as type CHAR and placed this variable in the header of planning folder.
    Now we have to restrict list of cost center for selection according to selected responsible person.
    Of course, I can add 0RESP_PERS to my cube, create variable ZVAR2 as type CHAR based on this character. Then place this variable to folder. For variable ZVAR1 use type of replacement as "User Exit" and ABAP routine will restrict list of available cost centers based on value of ZVAR2.
    But... Is there way to use variable with type of attribute and place this variable to header of folder?
    Thanks in advance!

    Hi Dmitry,
        Yes, you can use the attribute variable in your folder.
        Just create attribute variable with 0COSTCENTER as the basic char and 0RESP_PERS as attribute.then when you create your folder with UPSPM, make sure to choose notweb-enable type then under the variable category you will see the the attribute vairable you just created at BPS0, just drug it to you folder, you are done.

  • Group Conditoin based on Customer Group

    Hi Experts,
    I have used a Group Condition feature of Pricing. (Group Condition tick mark in Transaction - V/06)
    Now actual use of this Group Condition is somewhat like mentioned below as per the F1 Help.
    "For a group condition to be effective, the items must belong to a group. You can freely define the group to meet the needs of your own organization. The items can, for example, all belong to the same material group."
    Now I want to know that what are the different groups which are considered for applying Group Condition concept.
    I want to apply this Group Condition concept for the line items with the same customer group. (material group can be different for them).
    Is it possible? If yes, how can I set / configure it? If not, is there any other alternative for that (like GrpCond.Routine)?
    Thanks in advance.
    Kind Regards,
    HP

    Hi Krishna,
    Thannks a lot for reply.
    Actually I am aware about VOFM and how to write Routines also. My problem here is that I dont know what Structure or Internal Table should I play with in the Routine.
    For Example if I write a routine for a normal pricing we use fields XKWERT, XKWART or Structure XKOMV with field KWERT, KWART etc.
    So in the same way what should I change or use or update to change the Group Condition Check base?
    Like as in F1 Help, it is mentioned...
    "For a group condition to be effective, the items must belong to a group. You can freely define the group to meet the needs of your own organization. The items can, for example, all belong to the same material group."
    Here if the material group (KONDM) is same, it the group condition will work. That means somewhere I need to replace KONDM by KDGRP in the Routine. Where do I find this and replace KONDM by KDGRP?
    Thanks in advance.
    Kind Regards,
    HP

  • Audio interupts/ISR/Dpc interupts and hard pagefaults

    I seem to be getting stutters/freeesin my audio (and my computer in general). This problem is system wide and it started after i upgraded to windows 8.1 pro from windows 7. I did some looking around which lead me to this program LatencyMon which could help
    identify the problem. seems like svchost.exe might be the main source of the problem but i dont know how to fix it.  
    I updated my network drivers already to the latest version but the problem persists.  Below is the results posted.
    CONCLUSION
    Your system appears to be having trouble handling real-time audio and other tasks. You are likely to experience buffer underruns appearing as drop outs, clicks or pops. One or more DPC routines that belong to a driver running in your system appear to be executing
    for too long. Also one or more ISR routines that belong to a driver running in your system appear to be executing for too long. At least one detected problem appears to be network related. In case you are using a WLAN adapter, try disabling it to get better
    results. One problem may be related to power management, disable CPU throttling settings in Control Panel and BIOS setup. Check for BIOS updates.
    LatencyMon has been analyzing your system for  0:28:11  (h:mm:ss) on all processors.
    SYSTEM INFORMATION
    Computer name:                                        CLINTONS-PC
    OS version:                                          
    Windows 8 , 6.2, build: 9200 (x64)
    Hardware:                                            
    Dell System XPS 15Z, Dell Inc.         , Dell Inc., 0XK6HV
    CPU:                                                 
    GenuineIntel Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz
    Logical processors:                                   4
    Processor groups:                                     1
    RAM:                                                 
    6038 MB total
    CPU SPEED
    Reported CPU speed:                                   2295.0 MHz
    Measured CPU speed:                                   323.0 MHz (approx.)
    Note: reported execution times may be calculated based on a fixed reported CPU speed. Disable variable speed settings like Intel Speed Step and AMD Cool N Quiet in the BIOS setup for more accurate results.
    WARNING: the CPU speed that was measured is only a fraction of the CPU speed reported. Your CPUs may be throttled back due to variable speed settings and thermal issues. It is suggested that you run a utility which reports your actual CPU frequency and temperature.
    MEASURED INTERRUPT TO USER PROCESS LATENCIES
    The interrupt to process latency reflects the measured interval that a usermode process needed to respond to a hardware request from the moment the interrupt service routine started execution. This includes the scheduling and execution of a DPC routine, the
    signaling of an event and the waking up of a usermode thread from an idle wait state in response to that event.
    Highest measured interrupt to process latency (µs):   117398.876663
    Average measured interrupt to process latency (µs):   27.809204
    Highest measured interrupt to DPC latency (µs):       76015.137878
    Average measured interrupt to DPC latency (µs):       7.914336
     REPORTED ISRs
    Interrupt service routines are routines installed by the OS and device drivers that execute in response to a hardware interrupt signal.
    Highest ISR routine execution time (µs):              1753.141612
    Driver with highest ISR routine execution time:       iaStor.sys - Intel Rapid Storage Technology driver - x64, Intel Corporation
    Highest reported total ISR routine time (%):          0.052493
    Driver with highest ISR total time:                   HDAudBus.sys - High Definition Audio Bus Driver, Microsoft Corporation
    Total time spent in ISRs (%)                          0.076265
    ISR count (execution time <250 µs):                   297917
    ISR count (execution time 250-500 µs):                0
    ISR count (execution time 500-999 µs):                2546
    ISR count (execution time 1000-1999 µs):              9
    ISR count (execution time 2000-3999 µs):              0
    ISR count (execution time >=4000 µs):                 0
    REPORTED DPCs
    DPC routines are part of the interrupt servicing dispatch mechanism and disable the possibility for a process to utilize the CPU while it is interrupted until the DPC has finished execution.
    Highest DPC routine execution time (µs):              35307.542484
    Driver with highest DPC routine execution time:       ndis.sys - Network Driver Interface Specification (NDIS), Microsoft Corporation
    Highest reported total DPC routine time (%):          0.169577
    Driver with highest DPC total execution time:         ndis.sys - Network Driver Interface Specification (NDIS), Microsoft Corporation
    Total time spent in DPCs (%)                          0.692319
    DPC count (execution time <250 µs):                   5181337
    DPC count (execution time 250-500 µs):                0
    DPC count (execution time 500-999 µs):                17222
    DPC count (execution time 1000-1999 µs):              3566
    DPC count (execution time 2000-3999 µs):              1097
    DPC count (execution time >=4000 µs):                 0
     REPORTED HARD PAGEFAULTS
    Hard pagefaults are events that get triggered by making use of virtual memory that is not resident in RAM but backed by a memory mapped file on disk. The process of resolving the hard pagefault requires reading in the memory from disk while the process is interrupted
    and blocked from execution.
    NOTE: some processes were hit by hard pagefaults. If these were programs producing audio, they are likely to interrupt the audio stream resulting in dropouts, clicks and pops. Check the Processes tab to see which programs were hit.
    Process with highest pagefault count:                 svchost.exe
    Total number of hard pagefaults                       23290
    Hard pagefault count of hardest hit process:          4926
    Highest hard pagefault resolution time (µs):          4855456.366885
    Total time spent in hard pagefaults (%):              16.745623
    Number of processes hit:                              36
     PER CPU DATA
    CPU 0 Interrupt cycle time (s):                       112.018745
    CPU 0 ISR highest execution time (µs):                1753.141612
    CPU 0 ISR total execution time (s):                   5.158930
    CPU 0 ISR count:                                      300472
    CPU 0 DPC highest execution time (µs):                35307.542484
    CPU 0 DPC total execution time (s):                   44.721783
    CPU 0 DPC count:                                      5081033
    CPU 1 Interrupt cycle time (s):                       17.847723
    CPU 1 ISR highest execution time (µs):                0.0
    CPU 1 ISR total execution time (s):                   0.0
    CPU 1 ISR count:                                      0
    CPU 1 DPC highest execution time (µs):                2732.360349
    CPU 1 DPC total execution time (s):                   0.495028
    CPU 1 DPC count:                                      32823
    CPU 2 Interrupt cycle time (s):                       12.275821
    CPU 2 ISR highest execution time (µs):                0.0
    CPU 2 ISR total execution time (s):                   0.0
    CPU 2 ISR count:                                      0
    CPU 2 DPC highest execution time (µs):                4835.378649
    CPU 2 DPC total execution time (s):                   0.725214
    CPU 2 DPC count:                                      38391
    CPU 3 Interrupt cycle time (s):                       18.133673
    CPU 3 ISR highest execution time (µs):                0.0
    CPU 3 ISR total execution time (s):                   0.0
    CPU 3 ISR count:                                      0
    CPU 3 DPC highest execution time (µs):                2950.756863
    CPU 3 DPC total execution time (s):                   0.88950
    CPU 3 DPC count:                                      51321
    .etl file dropbox.com/s/n7isxllmwpoanno/highCPUUsage.etl

    Hi,
    Generally speaking, this problem probably caused by Audio Driver Problem, please try to reinstall Audio driver for test.
    Roger Lu
    TechNet Community Support

  • Maxon EPOS Simulation Loop

    Hello,
    I'm using LabVIEW 8.5.1 and I have modeled and simulated a plant I'm developing within a Simulation Loop (attached) and now I want to go and implement the system, but it doesn't appear to be as simple as just dropping the transfer functions and putting DAQ Output and Input VIs in as specified in the "Introduction to LabVIEW in 3 Hours for Control Design and Simulation" tutorial for this particular system. I have a Maxon RE-40 brushed DC motor and a HEDS 5450 encoder interfaced with an EPOS 24/5 positioning controller that communicates with my PC through an RS-232 cable. Can someone talk me through how I can communicate with this system with the VI I already built for simulation purposes?
    Thanks,
    Brian
    Attachments:
    Control System V8.vi ‏215 KB

    Well you have the simulation running right? The point of the transfer function is to represent the response of the physical system right? Well replace the transfer function with the routines for writing values to the system and reading the response that relates to the transfer function output.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How to find hard code in Transformation?

    Hi,
       We are on a merge project and we want to find some hard code in Transformation to replace checking in each Transformation(start routine ,end routine),would anyone know how to find the hard code for examply through table or function module? thanks

    Hi Kenny,
    See if this is helpful for you.
    http://wiki.sdn.sap.com/wiki/display/BI/ABAPprogramtofindBIlookupsandcodePatterns
    Thanks and Regards
    Subray Hegde

  • Crackling/Popping sounds on Windows 10

    Hello everyone. I have recently upgraded to Windows 10 from Windows 7 (the problem I am about to say never occured on Windows 7). When listening to music, I now hear popping/crackling sounds. I use my headphones to listen to music but I checked using my speakers and the same problem occurs. My PC info is:System Manufacturer: Hewlett-PackardSystem Model: HP Pavilion dv6 Notebook PCSystem Type: x64-based PCProcessor: Intel(R) Core(TM)2 Duo CPU T6600 @ 2.20GHz, 2200 Mhz, 2 Core(s), 2 Logical Processor(s)Installed Physical Memory (RAM): 4.00 GB I have checked DPC Latency ( http://www.thesycon.de/deu/latency_check.shtml ) and there does seem to be a problem. The latency spikes very often. The latency that I always have is between 1000-1500us but it spikes very high. For some reason, right now it says my current latency is 1192us but my maximum is 908,300,885! This does not seem normal!  I don't know how to fix it! Has anyone else heard something like this and does anyone know a fix?  On device manager under "Sound, video and game controllers" there are two drivers. I have used Device manager to try to update the drivers but it is saying that I have the latest version for both.1. IDT High Defintion Audio CODEC2. Intel(R) High Defintion Audio HDMI Thank you.   

     Hello everyone, this is an update on my issue. So I just tried uninstalling the IDT High Defintion Audio Driver, rebooted my computer and reinstalled the IDT High Defintion Audio Driver and I have no luck. I can still hear the popping and crackling sounds. I thought I'd share some information on this fourm. I just did a DPC Latnecy test (from LatencyMon) with nothing running but the test for 2 minutes and this is the report I got. If anyone either from HP or other people can assist me on my issue, I would very much appreciate it._________________________________CONCLUSION:Your system appears to be having trouble handling real-time audio and other tasks. You are likely to experience buffer underruns appearing as drop outs, clicks or pops. One or more DPC routines that belong to a driver running in your system appear to be executing for too long. At least one detected problem appears to be network related. In case you are using a WLAN adapter, try disabling it to get better results. One problem may be related to power management, disable CPU throttling settings in Control Panel and BIOS setup. Check for BIOS updates.
    LatencyMon has been analyzing your system for 0:02:00 (h:mm:ss) on all processors._________________________________SYSTEM INFORMATION
    _________________________________Computer name: HP-COMPUTER
    OS version: Windows 8 , 6.2, build: 9200 (x64)
    Hardware: HP Pavilion dv6 Notebook PC, Hewlett-Packard, Quanta, 3627
    CPU: GenuineIntel Intel(R) Core(TM)2 Duo CPU T6600 @ 2.20GHz
    Logical processors: 2
    Processor groups: 1
    RAM: 3999 MB total
    _________________________________CPU SPEED
    _________________________________Reported CPU speed: 2194 MHzNote: reported execution times may be calculated based on a fixed reported CPU speed. Disable variable speed settings like Intel Speed Step and AMD Cool N Quiet in the BIOS setup for more accurate results._________________________________MEASURED INTERRUPT TO USER PROCESS LATENCIES
    _________________________________The interrupt to process latency reflects the measured interval that a usermode process needed to respond to a hardware request from the moment the interrupt service routine started execution. This includes the scheduling and execution of a DPC routine, the signaling of an event and the waking up of a usermode thread from an idle wait state in response to that event.Highest measured interrupt to process latency (µs): 4881.797689
    Average measured interrupt to process latency (µs): 9.510408Highest measured interrupt to DPC latency (µs): 4863.132815
    Average measured interrupt to DPC latency (µs): 4.939341_________________________________REPORTED ISRs_________________________________Interrupt service routines are routines installed by the OS and device drivers that execute in response to a hardware interrupt signal.Highest ISR routine execution time (µs): 30.082042
    Driver with highest ISR routine execution time: ACPI.sys - ACPI Driver for NT, Microsoft CorporationHighest reported total ISR routine time (%): 0.098991
    Driver with highest ISR total time: storport.sys - Microsoft Storage Port Driver, Microsoft CorporationTotal time spent in ISRs (%) 0.100910ISR count (execution time <250 µs): 27651
    ISR count (execution time 250-500 µs): 0
    ISR count (execution time 500-999 µs): 0
    ISR count (execution time 1000-1999 µs): 0
    ISR count (execution time 2000-3999 µs): 0
    ISR count (execution time >=4000 µs): 0_________________________________REPORTED DPCs_________________________________DPC routines are part of the interrupt servicing dispatch mechanism and disable the possibility for a process to utilize the CPU while it is interrupted until the DPC has finished execution.Highest DPC routine execution time (µs): 8072.636281
    Driver with highest DPC routine execution time: ndis.sys - Network Driver Interface Specification (NDIS), Microsoft CorporationHighest reported total DPC routine time (%): 2.597129
    Driver with highest DPC total execution time: ndis.sys - Network Driver Interface Specification (NDIS), Microsoft CorporationTotal time spent in DPCs (%) 3.116871DPC count (execution time <250 µs): 143550
    DPC count (execution time 250-500 µs): 0
    DPC count (execution time 500-999 µs): 3512
    DPC count (execution time 1000-1999 µs): 1284
    DPC count (execution time 2000-3999 µs): 463
    DPC count (execution time >=4000 µs): 0_________________________________REPORTED HARD PAGEFAULTS_________________________________Hard pagefaults are events that get triggered by making use of virtual memory that is not resident in RAM but backed by a memory mapped file on disk. The process of resolving the hard pagefault requires reading in the memory from disk while the process is interrupted and blocked from execution.NOTE: some processes were hit by hard pagefaults. If these were programs producing audio, they are likely to interrupt the audio stream resulting in dropouts, clicks and pops. Check the Processes tab to see which programs were hit.Process with highest pagefault count: ns.exeTotal number of hard pagefaults 1906
    Hard pagefault count of hardest hit process: 1545
    Highest hard pagefault resolution time (µs): 1651383.287603
    Total time spent in hard pagefaults (%): 17.899784
    Number of processes hit: 11_________________________________PER CPU DATA
    CPU 0 Interrupt cycle time (s): 7.863693CPU 0 ISR highest execution time (µs): 30.082042
    CPU 0 ISR total execution time (s): 0.223411
    CPU 0 ISR count: 25613
    CPU 0 DPC highest execution time (µs): 8072.636281
    CPU 0 DPC total execution time (s): 7.057330
    CPU 0 DPC count: 119643_________________________________
    CPU 1 Interrupt cycle time (s): 0.678025
    CPU 1 ISR highest execution time (µs): 20.907019
    CPU 1 ISR total execution time (s): 0.018838
    CPU 1 ISR count: 2038
    CPU 1 DPC highest execution time (µs): 441.333637
    CPU 1 DPC total execution time (s): 0.425156
    CPU 1 DPC count: 29253 _________________________________

  • Constrained lm fit: having problem

    So…
    Here is my problem (Using LabView 8.5) --
    I want to use constrained LM routine for iterative re-convolution
    fitting program (attached). I started with a simpler LM routine and it works
    well. It gives correct values for one exponential decay after re-convolution
    fitting.
    But when I replace this with a constrained LM routine and try to run
    it gives error: 
    (see the second LM is replaced with constrained LM and prameter bounds are also added)
    Error -20039 occurred
    at NI_Gmath.lvlib:LM get new coefficients.vi
    The number of columns
    in the first matrix is not equal to the number of rows in the second matrix or
    vector.
    I’ve put in three min and max array or vector (in the lower
    and upper bound of parameters).
    Looking forward for help to resolve this problem.
    Thanks in advance.
    Attachments:
    Fit_ExpDec1.vi ‏44 KB
    exp_decay.vi ‏30 KB
    flscn_lt_ph11.txt ‏12 KB

    The problem is in the model function.  After the convolution the size of the output array f(x,a) is not the same as the number of data points.  This causes a series of functions to fail in the contrained LM code, yielding a very unhelpful error message far away from the error condition.  We will fix that error handling.  The unconstrained LM code does not fail, but only uses the first 750 data points (arguably a worse behavior that is harder to debug, but seems to have worked for your problem).  The fix is to modify your model function to output the same number of points as your y-data.
    -Jim

  • Recursive repaint() calls

    im trying to draw a nice recursive fractal thing, but first im making some sort of testing program
    im trying to make a routine which draws some sort of "fan" thing, composed by several lines which share the same origin point but different final y-coordinate
    what should we expect when running something like this?
    import javax.swing.*;
    import java.awt.*;
    import java.awt.geom.Line2D;
    public class Hola extends JPanel{
         private int y2;
         private JFrame frame;
         public Hola(){     
              frame= new JFrame("FRACTAL");
              frame.pack();
              frame.setSize(800,600);
              frame.setVisible(true);
              frame.setContentPane(this);
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              lines(10);
         private void lines(int yf){
              System.out.println("hos "+yf);
              if(yf<60){
                   yf+=2;
                   y2=yf;
                   repaint();
                   lineas(yf);
         public void paintComponent(Graphics g){
              g.drawLine(10,10,300,y2);               
         public static void main(String [] args){
              new Hola();
    }i have seen this code paint nothing at all, painting all the "calculated" lines(i.e. all of them "showing" at the same time) and painting(showing) the last line, which i think is the expected behaviour (showing just the last line)
    now my question is
    how is supposed to be implemented any recursive painting algorithm?
    because i see that every repaint call will consequently "clean" everything already painted and replace it with the new painting routine, thus, making this kind of recursive approaches useless

    If you want all the objects drawn you must tell paintComponent to draw them all, so you must store all the previous values somewhere (in a hashtable, array or something) then iterate through them all in paintComponent

  • Report Painter (Message no. KH206)

    Hi Experts,
    I'm having problem in designing a report using report painter KE35. When i try to use formula containing some constant value; system throws following message:
    Element CM  is not defined correctly -> check definition
    Message no. KH206
    Diagnosis
    In element CM the system adds quantities and values or different currencies.
    Please guide,
    Br

    Hi,
       Just to add to what Sayujya has written and to make it more clear:
    Message KH206 usually occurs when there are problems with dimensions in a formula (e.g. you cannot add a currency value and a quota).
    Therefore, I would ask you to check the dimensions of the operators of your formula. If you need to add operators with different dimensions, please use operation 'NDI' (no dimension).
    The function NDI (= no dimension) ensures that there will be no problems if you calculate quantities and values.
    So NDI is the function and you have to use it like as explained by  Sayujya.
    Also check if note 817945 is applicable for you
    regards
    Waman

  • Audiophiles: Noisy USB Connections between Mac Intel and DJ Mixer

    Seeking experience/ help/ advice from DJs or audiophiles:
    I'm having trouble with noise in an audio system after connecting a Numark USB DJ mixer to my new iMac via USB.
    The noise is a steady, high-pitched tone with low amplitude that does not increase or decrease when the gain on the mixer is adjusted. In fact, the noise persists when all levels (channel and master) are turned all the way down. The noise only appears after making the USB connection and selecting the USB audio driver in the Sound panel in System Prefs. The sound does not persist if the cable is connected but some other device (eg Built-in audio out) is selected in the Sound panel.
    However, oddly, when I made a connection using a 1/4 to RCA cable from the audio out on the iMac to an available channel on the mixer, the noise was reduced (but not eliminated)when I selected the USB driver in the Sound panel.
    When I record the incoming USB audio signal using Peak 4.14, the noise is not captured by the software. It appears to be present only in the external stream/ speakers. The speakers are Samson 65a active studio monitors positioned more than 5 feet from the computer and audio system. None of the audio cables are touching any of the power cables in the setup.
    The only possible explanation I can think of is that the electrical outlet in my home is not grounded properly. But the audio system sounds fine on its own - no noise. If there were a grounding problem wouldn't noise exist regardless of whether or not a USB audio channel were open and active within the system?
    Has anybody experienced problems with USB-related noise in an audio system?
    The purist in me is going nuts!
    Thanks in advance for any help!
    iMac Intel Duo 20"   Mac OS X (10.4.4)  
    iMac Intel Duo 20"   Mac OS X (10.4.4)  

    I had the same problem and came here by searching.
    Per Rosengren's method solved the problem, but he didn't say how to do it, so I'll try to explain step-by-step for anyone that may venture here.
    Open Device Manager (right click on Computer > Manage > on the left side, under System Tools choose Device Manager)
    Choose the problematic device in Network Adapters (for me it's called HTC Remote NDIS based device)
    Right click on it and choose Update Driver Software...
    Click Browse my computer for driver software
    Click Let me pick from a list of device drivers
    Uncheck the box Show compatible hardware
    For the manufacturer, choose Microsoft Corporation
    Now you will have two options:
    - Remote NDIS based Internet Sharing Device
    - Remote NDIS Compatible Device
    I chose the second one and it solved the problem, but if it doesn't work you could try the other one. In my case, the driver that was being used was neither of these, but a special driver from Android SDK ADT bundle.
    Pick one and click Next. If a dialog comes up, confirm by clicking Yes.
    Wait a few seconds for the connection to restart. If it doesn't work, try disabling and reenabling USB tethering on the phone, or reconnect the USB cable.
    I should also note that I'm using a custom Android ROM on HTC Wildfire S (unofficial Cyanogenmod). If you have a stock ROM with HTC Sense, maybe this method may not work and you'll need a proprietary HTC driver.

Maybe you are looking for