Channel has reached maximum concurrency (5,000 concurrent messages)

Hi Experts,
I have executed a scenario: IDocs to AS400 (JDBC Adapter). Some IDocs were processed succesfully but some are giving the following error.
"com.sap.aii.af.ra.ms.api.RecoverableException: Channel has reached maximum concurrency (5,000 concurrent messages) and no free resource found within 5,000 milliseconds; increase the maximum concurrency level"
Can any one faced this problem? Please do needful...
Regards,
Ramesh.

Hi,
This error occurs when the channel has only few (minimum 1) resources in the pool(to connect the DB in parallel) and the messages load to that channel is high. Hence, channel will reach to maximum concurrency( minimum 1, by default). In this case, you can increase this maximum concurrency value to higher value (could be 3 to 5) and check whether the issue is happening still.
Hope this feature implementation will solve your problem.
Regards,
Soorya

Similar Messages

  • JDBC reveiver channel has reached maximum concurrency

    Hi Guys,
    We have an XI environment with around 50 Proxy - XI - JDBC scenarios, all using the same JDBC receiver communication channel that has been set up to update a Microsoft SQL DB. It may be the case that some scenarios are running concurrently, and we get the following error in CC Monitoring:
    "Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Channel has reached maximum concurrency (5,000 concurrent messages) and no free resource found within 5,000 milliseconds; increase the maximum concurrency level"
    However, after some retries, messages are processed successfully at the receiver DB side.
    After some research, I found out that I have to change Maximum Concurrency Parameter, in JDBC receiver CC configuration. Currently this is set to default value "1".
    Do you have any ideas what value I have to insert ? Are there any other parameters e.g. in VA, that have to be changed in order to overcome this issue ?
    Thank you.

    One more JDBC channel
    Do not create another channel for the same DB/ scenario.....you will be increasing load on XI/ PI server for no use....and it wont help you either.....you will end up having one more channel fighting with other channels to get resources

  • Why am I getting a "Adobe Creative Cloud Membership has reached its limit for hosted sites" message?

    I just tried to push my FIRST "free" Creative Cloud site live and got the message "Your Adobe Creative Cloud Membership has reached its limit for hosted sites. To push this site live you will need to purchase an additional hosting plan." I thought CC membership was supposed to give you 5 free hosted web basics sites?
    I am a premium BC partner and so far have my partner site and a paid Webcommerce site . In addition to the site I'm trying to put live I have 2 other trial sites (think they are designated as WebMarketing sites) of which one is expired. So where does the limit come in as this is so far my only WebBasics site?
    Please help as I need this live urgently (without additional expense).

    Hi Judy
    Appologies for this un-answered post, if any related issue is still active please reach out to our support directly.

  • Ironport WSA reached maximum failures querying DNS server

    I have been seeing an increased number of critical alerts on my Ironport indicating that it has reached the maximum number of failures querying the DNS server. 
    Has anyone seen this alerts before and/or know what causes them? I have not been able to find any information on the alert.
    Thanks

    We are seeing this alert as well, but we haven't had any complaints from the users.
    I had a TAC case in July this year due to "Application Fault Errors", and my TAC engineer told me I was experiencing bug CSCzv44813. The solution was to change to Google DNS and reboot the appliance.
    Now we are getting the "Reached maximum failures querying DNS server" messages from time to time.
    Are you also using Google DNS (8.8.8.8 and 8.8.4.4.) by any chance?

  • This user is allowed a maximum number of 5 concurrent shells, which has been exceeded.

    I have a C# component which executes Powershell scripts in powershell environment. Suddenly it started to show some issues, Now, when I try to execute the following, it shows exception
        Enter-PSSession -ComputerName 192.21.10.71 -Credential abc\admin
    The exception is given below...
        Enter-PSSession : Connecting to remote server failed with the following error message : 
        The WS-Management service cannot process the request. **This user is allowed a maximum 
        number of 5 concurrent shells, which has been exceeded.** Close existing shells or raise 
        the quota for this user. For more information, see the about_Remote_Troubleshooting 
        Help topic.
        At line:1 char:16
        + Enter-PSSession <<<<  -ComputerName 192.21.10.71 -Credential abc\admin
            + CategoryInfo          : InvalidArgument: (192.21.10.71:String) [Enter-PSSession], 
        PSRemotingTransportException
            + FullyQualifiedErrorId : CreateRemoteRunspaceFailed
    I fear, this is because I haven't properly closed / disposed the runspaces created in c# component.
    Here is the code extracted from my component
    Collection<PSObject> objPS = new Collection<PSObject>();
        PowerShell powershell = PowerShell.Create();
    PSCredential credential = new PSCredential(strUserName, password);
        objRunspace = RunspaceFactory.CreateRunspace();
    objRunspace.Open();
    objPS = powershell.Invoke();
    finally 
                    objRunspace.Dispose();
    I am beating the bush, instead of finding the root cause of this issue.
    Thanks...

    Hi,
    Even I am facing the same issue while trying to open session in my C# code. 
    I have created and using one System.Management.Automation.Runspaces.Runspace object. Which is created by calling Open() method.
    At the end while exiting the program I am calling Dispose() method.
    Initially when I wrote this client, I was able to run powershell commands without any issue. After some days of use I got this below exception.
    Result Message: Assembly Initialization method 
    InitializeLyncTestSuite threw exception. System.Management.Automation.Remoting.PSRemotingTransportException: System.Management.Automation.Remoting.PSRemotingTransportException: Connecting to remote server failed with the following error message : The WS-Management
    service cannot process the request. The maximum number of concurrent shells for this user has been exceeded. Close existing shells or raise the quota for this user. For more information, see the about_Remote_Troubleshooting Help topic.. Aborting test execution.
    Result StackTrace:
    at System.Management.Automation.Runspaces.AsyncResult.EndInvoke()
       at System.Management.Automation.Runspaces.Internal.RunspacePoolInternal.EndOpen(IAsyncResult asyncResult)
       at System.Management.Automation.Runspaces.Internal.RemoteRunspacePoolInternal.Open()
       at System.Management.Automation.Runspaces.RunspacePool.Open()
       at System.Management.Automation.RemoteRunspace.Open()
    After restarting all the Lync Server services I was able to avoid this exception. But after using this client couple of times now, I am facing the same issue again.
    Does calling Dispose() method is not enough for closing a session from C# code? Or should I use something else to close session from C# client?

  • 20,000 concurrent viewers in live streaming

    Hi, excuse me, do you think that only one server could handle 20,000 concurrent viewers in live streaming?
    The stream will be in 500kbps. The server could have 1Gbps of port speed.
    What else should i care? Do you know what resource is more important: CPU or RAM to handle this kind of load.
    We plan to use RTMP to play on FLASH an HLS to play on IOS devices.
    Thanks a lot.

    Hi, we have not deployed it yet. We need to know if onlyone server could handle this or if it will be needed more than one server. We have thinked to deploy it on Softlayer because they have the option of ports of 1Gbps and dual 1Gbps. But we dont know if we need the more powerfull server available, or if we need a configuration with a decent CPU but more RAM. I cant find any info from Adobe about load testing results, or maximum RTMP and HLS connections to only one server. If you know something about it and can share with us ill thank you a lot.

  • Every time I go to loge in icloud it sends me a message tha t free creating emails has reach the maximum how can I reset this?????

    Every time I go to log in I cloud it tells me that my phone has reaches the maximum free account uses!!!!!!!!!!!!how can I reset this?????

    Have you had a look at this?
    iCloud: Mailbox size and message sending limits

  • My iphone has reached the maximum number in this iphone free accounts, What is can i do to fix this problem

    I can not sign in to my iphone because it has the maximum number of free accounts have been activated on my iphone, How can i fix my iphone account settings

    As Csound1 said, you cannot create a fourth new account on the same device, but this should not prevent you from signing onto an account you have created previously.

  • DB2, Log File has reached its saturation point" DIA8309C Log file was full,

    Hello Experts,
    I have successfully installed a ECC 6.0 System-ABAP + JAVA (DB2 v9.5 windows server 2008-x64 bit).
    Kernel: 700 , Patch: 185 ; SP level : rel 700 , level 17.
    However now i suddenly cannot connect to database and SAP is down.
    C:\Users\dsqadm.DUCATI>r3trans -d
    This is r3trans version 6.14 (release 700 - 16.10.08 - 16:26:00).
    unicode enabled version
    2EETW169 no connect possible: "DBMS = DB6                              --- DB2DB
    DFT = 'DSQ'"
    r3trans finished (0012).
    db2diag.log:-
    ADM1823E  The active log is full and is held by application handle "51886".  Terminate this application by COMMIT, ROLLBACK or FORCE APPLICATION.
    "Log File has reached its saturation point" DIA8309C Log file was full.
    "Backup pending.  Database has been made recoverable.  Backup now required."  DIA8168C Backup pending for database .
    Also, regarding DB2 licensing,i have a query:
    db2licm -l gives the following:
    C:\Users\db2dsq.DUCATI>db2licm -l
    Product name:                     "DB2 Enterprise Server Edition"
    License type:                     "CPU Option"
    Expiry date:                      "Permanent"
    Product identifier:               "db2ese"
    Version information:              "9.5"
    Enforcement policy:               "Soft Stop"
    Features:
    DB2 Database Partitioning:        "Licensed"
    DB2 Performance Optimization ESE: "Licensed"
    DB2 Storage Optimization:         "Licensed"
    DB2 Advanced Access Control:      "Not licensed"
    DB2 Geodetic Data Management:     "Not licensed"
    IBM Homogeneous Replication ESE:  "Not licensed"
    Product name:                     "DB2 Connect Server"
    License type:                     "Trial"
    Expiry date:                      "10/19/2009"
    Product identifier:               "db2consv"
    Version information:              "9.5"
    I have applied both sap and DB2 license. Is everything ok regarding licensing of DB v9.5 for using with SAP?
    I am new to DB2 database and looking for expert guidance regarding the above mentioned issues.
    Thanks,
    Rakesh

    C:\Users\db2dsq.DUCATI>db2 get dbm cfg
              Database Manager Configuration
         Node type = Enterprise Server Edition with local and remote clients
    Database manager configuration release level            = 0x0c00
    Maximum total of files open               (MAXTOTFILOP) = 16000
    CPU speed (millisec/instruction)             (CPUSPEED) = 4,723442e-007
    Communications bandwidth (MB/sec)      (COMM_BANDWIDTH) = 1,000000e+002
    Max number of concurrently active databases     (NUMDB) = 8
    Federated Database System Support           (FEDERATED) = NO
    Transaction processor monitor name        (TP_MON_NAME) =
    Default charge-back account           (DFT_ACCOUNT_STR) =
    Default database monitor switches
       Buffer pool                         (DFT_MON_BUFPOOL) = ON
       Lock                                   (DFT_MON_LOCK) = ON
       Sort                                   (DFT_MON_SORT) = ON
       Statement                              (DFT_MON_STMT) = ON
       Table                                 (DFT_MON_TABLE) = ON
       Timestamp                         (DFT_MON_TIMESTAMP) = ON
       Unit of work                            (DFT_MON_UOW) = ON
    Monitor health of instance and databases   (HEALTH_MON) = OFF

  • Outlook 2010 Data files have reached maximum size and can't delete.

    This is the message I get whenever I try to send/rec mail.. it is also the message that I get when I try to delete any messages, whether from inbox, sent items, or deleted... just seems locked up. This is not enterprise or Exchange server this is from my
    wife's home office. I have been playing around with this for hours, and still get the same message and still dead in the water.. Please help! I am running windows 7home.
    I was attaching the photo.. but won't take it until verified. "The Outlook data file C:\Users\Owner\AppData\Local\Microsoft\Outlook\Outlook.pst has reached the maximum size. To redude the amount of data in the file, permanently delete some items that
    you no longer need. You could also consider using the new Outlook data file (.pst) introduced with Outlook 2003 that provides greater capacity for storing items and folders.
    Thanks,
    Cashmando07

    Hi,
    You can try compacting the data file:
    Go to File tab -> Account Settings -> Account Settings
    -> Data Files tab, double click on the data file -> Under
    General tab, click on the Compact Now button ->
    OK.
    This will reduce the size of your Outlook data file. Then you can test if any items can be deleted from the .pst file.
    More information about the size limit for both (.pst) and (.ost) files in Outlook, please refer to the kb below:
    http://support.microsoft.com/kb/832925
    Regards,
    Melon Chen
    TechNet Community Support

  • RfcAdapter: receiver channel has static errors: can not instantiate RfcPool

    HI,
    While transferring the project from SAP system to PRIMVERA (third party system) system, iam getting the following error:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.adapter.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.adapter.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=192.168.215.138 SYSNR=02 GWHOST=192.168.215.138 GWSERV=sapgw02 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '192.168.215.138apgw02' not reached TIME Sun May 01 06:10:03 2011 RELEASE 710 COMPONENT NI (network interface) VERSION 39 RC -10 MODULE nixxi.cpp LINE 3133 DETAIL NiPConnect2: 192.168.215.138:3302 SYSTEM CALL connect ERRNO 10060 ERRNO TEXT WSAETIMEDOUT: Connection timed out COUNTER
    experts, kindly help me out in resolving this issue.
    Regards,
    Sai

    partner '192.168.215.138apgw02' not reached
    Well if you ask me, theres something seriuosly wrong with above "partner", review the config of the RFC/JCO,
    also you could add more details as above info on its own is not enough to give you and objective answer
    Regards
    Juan

  • LocalStorage reach maximum size while there are only 800 Kb data in it.

    I met an localStorage exception when I call API "localStorage.setItem()"<br>
    we are developing a web site, we used host like aaaa.bb.com the case is :<br>
    the local storage has about 560KB Data in localstorage and then I want to set an item into localStorage, the size of the new item is 301KB<br>
    then the browser throw exception, the content of the exception is as follows:<br>
    <br>
    The way I used to test the size of localStorage is: JSON.stringify(localStorage).length<br>
    <br>
    "Persistent Storage maximum size reached" code:"1014" nsresult: "0x80530f6(NS_ERROR_DOM_QUOTA_REACHED)"<br><br>
    I tested this function in other machines and in chrome, this exception will not occur, I want to know why this exception occurs on the machine, if there is any settings in firefox? or if there is any relationship with the cache size?

    the root cause is found.
    the reason is that aaa.domain.com and bbb.domain.com, the two sub domain will share the same space of localStorage because they are under the same top level domain domain.com.
    aaa.domain.com reach maximum size when there is only 500KB data in localStorage because there is already 4.5MB data in localStorage of bbb.domain.com.

  • Delete session after error 023 and WP has reached abap/heaplimit = 40000000

    Hello,
    I had upgraded my system's kernel to 7.21 401 last weekend and started getting below errors.
         "Delete session after error 023" and "WP has reached abap/heaplimit = 40000000"
    When I change the abap/heaplimit parameter to 6000000000 program runs without error.
    This parameter value is out of max value of this parameter.
    I donot want to give the parameter over max allowed value.
    I also changed dbsl patch to 7.21 418 but no solution.
    I searched through sap notes and scn but could not find an answer to my problem.
    What could be the relation between kernel upgrade and this parameter?
    Why the program was working with Kernel 7.21 316 and not working with 7.21 401?
    I inserted SM21 and developer trace file below.
    Can you help about the issue, please?
    Thanks and Regards,
    Yuksel AKCINAR
    SM21:
         11:56:52 DIA  010 200 USER1 TX01          R4  7 Delete session 004 after error 023
    dev_wx:
    L Fri Mar 13 11:52:31 2015
    L  EVTSDL: Begin of FORM PROCESS_EVENT_TRIGGERED_JOBS
    L  EVTSDL:    Event raised: SAP_END_OF_JOB
    L  EVTSDL:    Event parameters: SLCA_LCK_SYNCHOWNERS            10523100
    L  EVTSDL:    Begin of FORM SELECT_EVENT_TRIGGERED_JOBS
    L  EVTSDL:      Eventhistory > There are no active profiles of criteria type 'EVTHIS'
    L  EVTSDL:    End of FORM SELECT_EVENT_TRIGGERED_JOBS
    L  EVTSDL: End of FORM PROCESS_EVENT_TRIGGERED_JOBS
    L  TIMESDL: CLEANUP_MUTEX try to grasp for server:
    L  TIMESDL: arq01_ARQ_10
    L  TIMESDL: CLEANUP_MUTEX not grasped (is busy)

    A Fri Mar 13 11:56:35 2015
    A  WP has reached abap/heaplimit = 40000000 bytes

    A Fri Mar 13 11:56:39 2015
    A  SelMemClass: heap quota (DIA) exceeded 2000000000 2000030480

    A Fri Mar 13 11:56:40 2015
    A  TH VERBOSE LEVEL FULL
    A  ** RABAX: level LEV_RX_PXA_RELEASE_MTX entered.
    A  ** RABAX: level LEV_RX_PXA_RELEASE_MTX completed.
    A  ** RABAX: level LEV_RX_COVERAGE_ANALYSER entered.
    A  ** RABAX: level LEV_RX_COVERAGE_ANALYSER completed.
    A  ** RABAX: level LEV_RX_HOTSPOT_TRACE entered.
    A  ** RABAX: level LEV_RX_HOTSPOT_TRACE completed.
    A  ** RABAX: level LEV_RX_SAVE_SHMLOCKS entered.
    A  ** RABAX: level LEV_RX_SAVE_SHMLOCKS completed.
    A  ** RABAX: level LEV_RX_RESET_SHMLOCKS entered.
    A  ** RABAX: level LEV_RX_RESET_SHMLOCKS completed.
    A  ** RABAX: level LEV_RX_ROLLBACK entered.
    C  Call to DbSlRollback96 while DBIF already active in DbSlExeRead96
    B  ***LOG BZY=> unexpected return code 1 calling DbSlRollback [dbcon        3820]
    B  ***LOG BYJ=> database function ROLLBACK for connection R/3 failed [dbcon        3823]
    B  *** ERROR => DISTRIBUTED_TA_FAILED:
    [dbcon.c      2029]
    B  {root-id=0050569300301EE4B2AC40086FE743BF}_{conn-id=00000000000000000000000000000000}_0
    B  00: name=R/3, con_id=000000000, state=ACTIVE      , tx=NO , bc=NO , hc=NO , perm=YES, reco=NO , info=NO ,
    B      timeout=000, con_max=255, con_opt=255, occ=NO , prog=
    M  ***LOG R39=> ThIRollBack, db_rollback ( 016384) [thxxhead.c   14956]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThIRollBack: db_rollback (step 4, th_errno 18, action 2, level 1) [thxxhead.c   11560]
    M  {root-id=0050569300301EE4B2AC40086FE743BF}_{conn-id=00000000000000000000000000000000}_0

    Hi Yuksel ,
    From the trace file it seems  it is a parallel processing Jobs . Has anything changed  ( In terms of number of parallel background work  process ) in this Job .
    If this relates to only one job  dont think this  increased memory could be because of the kernel patching .
    The only thing i could think of is the following ( 1713986 - Installation of kernel 721 (EXT) ) - The note is valid for 721 als
    5.6 Dynamic work processes (NetWeaver 7.00/7.01)
    The 720 and 721 kernel versions support the dynamic increase of the number of work processes at runtime. However, this function is not fully compatible with NW 7.00 and NW 7.01. To prevent errors from occurring, deactivate it by setting the following parameters:
    rdisp/wp_no_restricted = 0
    rdisp/configurable_wp_no = 0
    rdisp/dynamic_wp_check = FALSE
    rdisp/wp_max_no = Sum of:( rdisp/wp_no_dia + rdisp/wp_no_vb2 + rdisp/wp_no_btc + rdisp/wp_no_vb + rdisp/wp_no_spo + rdisp/wp_no_enq ).
    Mind that rdisp/wp_max_no has the default value DEFAULT, which will add two unwanted dynamic processes if not set the number of configured, classical wp types.
    Check the parameters and try again after a restart .
    Believe have seen in many projects  functional consultants complaining  the issue is after the patch upgrade . Does this fall in that category
    Thanks ,
    Manu

  • Problem with reached maximum number of connections to database

    Dear Experts,
    Our Production system was not responding properly last week.
    The below was the reply from the Basis team.
    "It seems that we have again problem with reached maximum number of connections to database. We have extended this number to 100 this year and now it seems that it’s not enough again. It seems that something is running on Production, which takes over too many connections."
    They have increased the number to 200 as a work around.
    Do we have any means to find out, which component or application is causing the issue.
    Please advise me if any better way is available to correct the issue.
    Please see the below trace.
    From default trace:
    ======
    Caused by: com.sap.engine.services.dbpool.exceptions.BaseSQLException: ResourceException occurred in method ConnectionFactoryImpl.getConnection(): javax.resource.R
    esourceException: (Failed in component: dbpool, BC-JAS-TRH) Cannot create connection. Possible reasons: 1)Maximum allowed connections to DB or EIS is reached. You
    can apply CSN Note 719778 in order to check and resolve connection leaks. 2) Configuration to DB/EIS is wrong or DB/EIS is temporary unreachable. 3) Connections ar
    e not enough for current load.
            at com.sap.engine.services.dbpool.cci.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:60)
            at com.sap.security.core.persistence.datasource.imp.J2EEConnectionPool.getConnection(J2EEConnectionPool.java:205)
            ... 61 more
    Caused by: javax.resource.ResourceException: (Failed in component: dbpool, BC-JAS-TRH) Cannot create connection. Possible reasons: 1)Maximum allowed connections to
    DB or EIS is reached. You can apply CSN Note 719778 in order to check and resolve connection leaks. 2) Configuration to DB/EIS is wrong or DB/EIS is temporary unr
    eachable. 3) Connections are not enough for current load.
            at com.sap.engine.services.connector.jca.ConnectionHashSet.match(ConnectionHashSet.java:230)
            at com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:343)
            at com.sap.engine.services.connector.jca.ShareableConnectionManager.allocateConnection(ShareableConnectionManager.java:54)
            at com.sap.engine.services.dbpool.cci.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:52)
            ... 62 more
    Caused by: com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException is thrown by the pooled connection: com.sap.sql.log.OpenSQLException: No c
    onnection to data source SAPEPPDB available. All 100 pooled connections are in use and 70 connection requests are currently waiting. The connection pool size might
    need to be adjusted.
            at com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:192)
            at com.sap.engine.services.connector.jca.ConnectionHashSet.match(ConnectionHashSet.java:221)
            ... 65 more
    Caused by: com.sap.sql.log.OpenSQLException: No connection to data source SAPEPPDB available. All 100 pooled connections are in use and 70 connection requests are
    currently waiting. The connection pool size might need to be adjusted.
    ======
    Thanks and Kind Regards,
    Jelbin

    Stop all instances(including DB) and start again, Hope it should work.
    It may happened that jar has not been synchronized with the database and may be version mismatch with the java.
    719778 - Data Source fails to return connection
    1650472 - Transactions are interrupted due to database connection periodically failing to establish
    1138877 - How to Deploy External Drivers JDBC/JMS Adapters
    Change the connection pool so that it can connect to DB as per the note 719778
    Regards
    Vijay Kalluri

  • How to get a callback when a counter has reached a certain value

    Hi, I'm trying to figure out how to hook up an event to be fired when a counter has reached a specific value.
    We have a counter hooked up to an encoder a constantly counting encoder pulses. I want to set up a counter task to give a callback
    as soon as a certain encoder value is reached. I.e give callback when countervalue is 1000. This value should be dynamically changable so next time the countervalue to generate a callback could be any value.
    I understand there's workarounds like polling and/or read current values and subtract with offsets from a zerolevel... and so on, but to minimize complexity I'd like to just hook up a Task callback with a changable countervalue parameter.
    I'm using DaqMx and have a 6220 but any card can be used.
    /J

    In that case you should do something like this;
    Task.CIChannels.CreateCountEdgesChannel(
    "/Dev1/Ctr0",
    "SomeName",
    CICountEdgesActiveEdge.Rising,
    iTerminalCount - iTrigcount,          //iTerminalCount is the maximum value of the counters register, these things are                                                           // probably board dependent but constant. iTrigcount is the variable you pass (e.g. 1000)
    CICountEdgesCountDirection.Up);
    Then you can hook up an eventhandler like so;
    Task.CounterOutput += new CounterOutputEventHandler(Task_CounterOutput);
     And the eventhandler;
    void Task_CounterOutput(object sender, CounterOutputEventArgs e)
         // Do stuff. Probably the first thing to do here is stop the Task...
    You can fill this in however you please...
    I never used this but it should work I think. Also have a look here to see how you can calculate Terminal Count;
    Info on TC
    Now here's to hoping you like C# (because I absolutely hate VB
    If necessary and you provide more feedback I can also build you a class that handles the job you need... Let me know!

Maybe you are looking for

  • Trying to retrieve all the records from the file on desktop

    HI All I have one particular problem. I was given a text file which as 7000 records with length 512 each in a continues string. I Changed begining of each record with comma  in that text and saved it in .csv , when I try to upload the file into my pr

  • Outlook 2011 for Mac suddenly requiring passwords

    I've had Outlook 2011 for Mac installed on my Pro (Operating System: Mavericks) for 5 months now and all of a sudden, it's requiring that I enter my password for each email account (I have 4) every time I log in to the program. I've typed in the pass

  • Adding filters to styles and effects

    Photoshop Elements 3, Windows XP I have attempted to install downloaded filters, extension .8BF. I placed them in C:\Program Files\Adobe\Photoshop Elements 3.0\plugins\filters. Some show up when I open the Editor, others don't. I did empty cache fold

  • ITunes and QuickTime Player give me a QTCF.dll error when trying to launch

    When i try to open iTunes on my laptop it gives me an error saying: iTunes.exe - entry point not found The procedure entry point QTCF_CFUniCharGetUnicodePropertyDataForPlane could not be located in the dynamic link library QTCF.dll i also get a error

  • JSR portlet works via WSRP locally but not remotely

    Dear gurus, I have Webcenter with WebLogic Server Version 10.3.4.0 and I'm trying to deploy a portlet so it can be consumed from another Webcenter instance remotely. I have deployed a JSR 268 portlet from a WAR file using JDeveloper and the following