SCB-68 connection diagram for PXI-6225

Hi,
I have to connect a PXI-6225 board to a SCB-68.
I can't find anywhere the connection diagram of SCB-68.
Anyone can help me?
Thanks,
Federico

Hi Frederico-
The SCB-68 is just a connector block- the pinout of your PXI-6225 card will map directly to the numbered pins on the SCB-68.  This KB provides quick reference labels for the two connectors on your card.
Hopefully this helps-
Tom W
National Instruments

Similar Messages

  • DDK Example for PXI-6225

    Hello, I am trying to get the DDK AI examples working for a PXI-6225 board and always receive an output value of 10.599597. I have AI 0 (pin 68) shorted to AI 8 (pin 34) which should result in a value of 0.0 VDC. I have also tried to connect a 9V battery to the terminals and stilll get the value 10.599597. I know the board is working because I see all of the correct values in the Measurement and Automation Explorer. I have already programmed a PXI-6511, PXI-6513, and PXI-6704 board using the DDK examples so I am fairly familiar with the DDK example setup but I can't get this example to work no matter what I do. Please help!
    Solved!
    Go to Solution.

    Hi Computer Dude-
    Which MHDDK example are you using?  Make sure you remove the call to adcReset() as it is only applicable to 625x devices.  Also, make sure the convert output polarity (selected by aiPersonalize()) and the gain setting and scaling coefficient lookup (see ai.h and scale.h) match the values you're going for.
    I also posted some 6225-specific tips in this thread.
    Hopefully this helps-
    Tom W
    National Instruments

  • DAQ Asst Connection Diagram & Error 50103

    Hello LabVIEW Community,
    I am currently trying to integrate two different VIs which both require an AIGND on my SCB-100.
    The SCB-100 has two separate AIGNDs (pinouts 1 and 2), but in the two DAQ Asst VIs I am using, the connection diagram for both asks for pinout 2.
    I think this is leading to a Error 50103 about reserved resources.
    Is there any way to switch one of the DAQ Assts' AIGND to pinout 1?
    Thank you all for your help.
    Sincerely, 
    Sincerely,
    Ethan A. Klein
    SB Candidate in Chemistry & Physics
    Massachusetts Institute of Technology
    Class of 2015
    Solved!
    Go to Solution.

    Thank you very much, Mr. Knutson.
    I didn't do a thorough search. I assumed it had something to do with my two DAQ Assistants, and figured it was that they shared a pinout as the error said something about resources being reserved.
    Sincerely,
    Sincerely,
    Ethan A. Klein
    SB Candidate in Chemistry & Physics
    Massachusetts Institute of Technology
    Class of 2015

  • Grounding question using a PXI-6225 and an SCB-68 TB.

    Hi all!
    I'm using the configuration in the title of this post to apply signals to a test setup.  The SCB-connections have an analog ground that is placed next to each of the analog outputs (i.e. AOGND, AO0, AOGND, AO1...A0GND, AO7, AOGND).  I have connected an analog ground (SCB-68 pin 31) and a digital ground (SCB-68 pin 12) to the negative side of my power supply.  I belive this will give me a good ground reference for all the cards as I have my other cards grounds tied to this ground as well. 
    I'm just curious as to why they have so many grounds for the analog signals.  I can only assume that it is for EMI or susceptibility.  Are those grounds there to help keep the actual waveforms shielded?  If I just use the two grounds mentioned I should have a good enough reference, right?  I just don't want to mess up another card because I originally set this up and was driving signals with it, but didn't have any of the grounds hooked up to the 6713 card.  It worked for some time until the conditions were right and then I had some offset that occurred, which burned up my card.
    Any information is appreciated as to the use/need for all these grounds!
    Thanks,
    DB 

    First of all, be sure that you are using the correct pins for each of the analog output channels of the PXI-6225. The PXI-6225 only has 2 analog outputs, and the SCB-68 is a generic connector block for 68-pin cables. I have attached the pinout for the PXI-6225 for your reference when hooking up these grounds.
    After you are sure you are using the correct ground pins on the SCB-68, the grounds should be fine with that speed of signal. However, I would recommend using the individual grounds for the AO channels for continuity.
    Peter E
    Applications Engineer
    National Instruments
    Attachments:
    6225 Pinout.png ‏107 KB

  • Where can i find the chassis file for import in MAX for drawing connection diagram before purchasing

    where can i find the chassis file for import in MAX for drawing connection diagram before purchasing
    chassis: NI PXIe-1078
    thx

    This board is for an obsolete product called Measure - an add-on for Excel. Please repost with details on exactly what you mean by 'chassis file'.

  • DAQ Assistant Connection Diagram has different pinnouts than on the SCC-68

    When looking at the Connection Diagram on LabVIEW 8.2.1 (from DAQ Assistant) The diagram shows pins 34, 66, 31, and 63 ABOVE pins 68, 33, 65 & 30.  However, when looking at the physical layout on the SCC-68, these pins are transposed.  That is to say that pins 68, 33, 65 & 30 are ABOVE 34, 66, 31, and 63 respectively.
    Is this an error?  If not, what is the logic behind this?

    Hi RVallieu,
    I think the disprepancies in the connection diagram that you are seeing are related to the type of connection you want to do.  For instance, if you are doing differential measurements (good for rejecting Common Mode Noise Voltage), you would connect the positive lead to ai4 (pin 28) and the negative to ai12 (pin 61).  On the other hand, if you are doing Single-Ended Ground Referenced (RSE) using channel 4, you would connect the positive lead to ai4 (pin 28) and the negative to ai gnd (pin 64).  Whichever of these measurements that you choose, make sure that you configure the measurement type in MAX when you set up your task or in the VIs in LabVIEW under terminal configuration.  Here is a link to a document that describes the differences in these measurement types. Table 1 breaks the information down into Signal Type and Input Configuration.
    I opened up both the Device Pinouts in MAX for the 6221 and the manual for the SCC-68 (page 39) and compared the pins and they seem to correlate.  Since the SCC-68 works with multiple M and E series DAQ devices, they should be the same. 
    As far as your measurement value is concerned, Ben has a good point that you may not have configured the accessory correctly in MAX.  To do this, right click on your 6221 device and go to properties.  Then in the accessory tab, you can select the SCC-68.  This knowlegdebase describes the differences between SCB-68 and SCC-68 in case you were wondering. Hopefully this information will help!
    Regards,
    Vanessa L.
    Applications Engineer
    National Instruments

  • Generate E-R diagram for existing Oracle SQL Script

    Hi,
    We have some existed Packages,Procedures,Functions,Views and Materialized Views. We are planning to generate E-R diagrams for existed codes. Could you please suggest me how can we do the same.
    we are using Oracle SQL Developer and Oracle Version is : 11g.
    Thanks.
    Jai V

    Hi,
    I have already posted a thread regarding Data Flow diagram for existing source code. But I couldn't find find where exactly I have posted. So here I am posting my observations. I would like to prepare a Data Flow diagram for existing Source code. Using Visustin V7 I got the Data Flow Diagram. But am not able to export or Save or Print the diagram. As some one suggested it is possible to get the DFD using Visio. But am not able to get the DFD. Here am getting the problem like , Gave user name and Server name by connecting to ODBC. But still am not getting the required DFD.
    Can you please suggest me is there any way to get the DFD using Visio or any tool is there to get the DFD.
    Please advice.
    Thanks.

  • Can I make a simple voltage recording when SCB-68 is configured for Cold Junction Compensation?

    Hi everyone,
    I am using a 6221 PCI card and SCB-68 connection module. I have set the SCB-68 module switches so that the 5 thermocouples I have connected between AI1 and AI5 are using the Cold Junction Compensation of AI0. Everything works fine.
    Could someone tell me if the differential inputs left AI6 and AI7 can be used for recording another kind of sensor (nothing to do with a thermocouple) ? I suppose I just need to set those 2 inputs to a simple voltage recording function? The previous switches settings enable to do this simple recording ?
    Thanks,
    User
    Solved!
    Go to Solution.

    Hi Bruce,
    Thanks for your answer and your advice. So I will use my free channels for other sensors. 
    Concerning your other remarks , I have planned setting the DAQ assitant at 100 samples and 1KHz for the thermocuples. Making an average of the 100 samples for each channel gives a good result from what I have seen in my last test. After this, with another DAQ assistant I am making some other kind of recording at another speed. I know this is not optimized using DAQ Assistant but loss of time and simultanity isn't a problem for me in this project.
    However if I had used only one DAQ Assistant for my thermocouples and for the other sensors, a part from the rate vs thermocouples problem, not having the same ranges could have been a problem?
    I also don't understand the channel order you mentioned. Still using a DAQ Assistant in what way would this effetc the measures?

  • Solution Architecture diagram for a SP 2010 intranet portal

    hi,
    Can any one plz provide a  solution architecture  diagram for a SP 2010 intranet portal.
    want to use news , events, doc libs, Custom WPs, timer jobs, info.mgmnt policies,discussion forum.
    So how the diagram would be.
    also want to know whats the difference between logical arch.dgrm and soln. arch.dgrm 
    Are these two same?
    any links/sources  are highly appreciated. 

    Hi,
    Pls have you check this link :
    http://www.astaticstate.com/2010/06/sharepoint-2010-architecture-and-design.html
    http://blogs.technet.com/b/seanearp/archive/2010/07/09/technical-diagrams-for-sharepoint-2010.aspx
    http://sharepointmagazine.net/articles/best-practices-of-sharepoint-farm-configuring-and-deployment-part-1-architectural-and-logical-planning
    Book:
    http://www.scribd.com/doc/86735719/SharePoint-2010-Enterprise-Architect-s-Guidebook
    Logical architecture:
    The Logical Architecture is a definition (usually in the form of a diagram) of how your Portal is built, including hardware, software, services and other integrated components.   If it is required to make the “system” work, it belongs in this diagram.
      Your diagram should reflect how each component of the system “fits in”, and is connected with, each of the other components.  This map isn’t focused on “technology” or how it’s implemented.   Rather, it’s focused on how things “logically”
    fit together to make up the whole solution.
    Solution Architects:
    Solution Architects use the Logical and Physical architecture diagrams to effectively plan out their solution and make sure that everything is accounted for and has been thought through before they begin building the solution.
    thx
    iffi

  • SCB-68 Reference Label for M series devices

    What's the difference between the SCB-68 Reference Label M series devices connector 0 and connector 1? I'm installing a NI PCI-6221-M series Multifunction DAQ and the SCB-68 connector block, and I don't know how to make the physical connections. With the SCB-68 kit, I received the Reference Label for the E-series devices. In the NI site, there is info about the connector 0, but what is the connector 0 and connector 1?
    Thanks,
    ZeK

    Good question Zek. The M series family uses a smaller version of the 68-pin connector used on E series so that two connectors can be located on the same board. The second connector is available on certain M seriies boards in order to provide connectivity to additional channels. In the case of the 6221, there is only one connector.
    The 6221 is fully compatible with the SCB-68. The following link provides a revised version of the SCB-68 label adapted for M Series devices:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/61ed77983ad7cca386256f66008215f1/$FILE/SCB68%20M%20Series%20Connector%200.pdf
    For pinout specific to a particular M Series device, you can refer to the M series help available at either one of the following locations:
    http://digital.ni.com/manuals.nsf/websearch/9477D6DF1FE5A72986256FAB00633DE4?OpenDocument&node=132100_US
    http://digital.ni.com/manuals.nsf/websearch/3AE9D4533E03A6EF86256FE300809FE6 (HTML format)

  • Mating smb connectors for pxi-4472

    Where can I obtain mating smb connectors for pxi-4472 Dynamic Signal Analyzer. Prefer vendor and part number if possible. Also is this input a 50 or 75 ohm?
    Thanks.

    Here is a link to the SMB connectors that are sold through NI: http://sine.ni.com/apps/we/nioc.vp?cid=12702〈=US.
    The minus input of the PXI-4472 connects to ground through a 50ohm resistor. Impedence matching is usually only important when preventing reflection of high-frequency signals, and with this board all high-frequencies will be filtered out with the anti-alias filters.

  • Circuit diagram for FPS 2000 speakers

    Does anyone know where I could find a circuit diagram for the Cambridge Soundworks FPS 2000 speakers?I'm trying to find a way to keep the analog input working when I connect a digital source.

    I have this adaptor for sale, original and unused.

  • Connection Diagrams

    We are using an NI USB 6341 and I need to get the following information.
    I need wiring diagrams for digital Inputs and
    Digital outputs P0.0-3. These will be used for discrete status signals to the PLC. I will be using
    SSR's between the DAQ card and the PLC which is 24VDC. Also PFI8,9,10 for a
    linear encoder and AI0 for a 0-5vdc load cell. All powered from an external
    5vdc power supply. I have found some info in the manual but it
    is not clear.

    Hi,
    I tried to send to a screen dump via the email support route but do not know if I succeeded.
    I had some time today and created a dummy superblock and managed to recreate the problem. The essence is to connect a single output to a number of inputs where the input blocks are arrange in a horizontal line. A set of dots appear arranged vertically on the diagram. Obviously the connection editor is misplacing the dots. I have attempted to attach my example superblock for you to see the effect.
    During the experimenting, and previously, I have noticed that the connection editor does seem to have some trouble picking a simple route between two blocks, I presume it is trying to avoid label areas and the like even though they are not displayed.
    Regards,
    Tim
    Attachments:
    test stray blobs.txt ‏2 KB

  • Connection pool for ldap

    Hi
    My application is an interface to ldap directory. I have not used any ldap open source api to retrieve data from ldap. I have written connection pool that will help the application to connect to the ldap. It's working fine, but it's creating threads which are not invited.
    ConnectionPool class takes care of the connection storage and creation, while Housekeeping thread relases these connection when idle after a given time.
    Can someone please help in finding the problem in the code that creates additional threads.
    package com.ba.cdLookup.manager;
    import com.ba.cdLookup.exception.CDLookupException;
    import com.ba.cdLookup.server.CdLookupProperties;
    import java.util.Vector;
    import javax.naming.Context;
    import javax.naming.NamingException;
    public class HouseKeeperThread extends Thread {
             * Apache Logger to log erro/info/debug statements.
        protected static org.apache.commons.logging.Log log = org.apache.axis.components.logger.LogFactory
             .getLog(HouseKeeperThread.class.getName());
        private static HouseKeeperThread houseKeeperThread;
             * Close all connections existing.
             * @param connections
             *                void
        private void closeConnections(Vector connections) {
         String methodIdentifier = "closeConnections";
         int numOfConn = connections.size();
         try {
             for (int i = 0; i < numOfConn; i++) {
              Context context = (Context) connections.get(i);
              if (context != null) {
                  context.close();
                  context = null;
                  connections.remove(i);
                  numOfConn--;
                  log.info(" connection name:" + context
                       + " removed. Threadcount =" + (connections.size()));
         } catch (NamingException e) {
             String errMsg = "CDLdapBuilder connect() - failure while releasing connection "
                  + " Exception is " + e.toString();
             log.error(errMsg);
         } catch (Exception e) {
             String errMsg = "CDLdapBuilder connect() - failure while releasing connection "
                  + " Exception is " + e.toString();
             log.error(errMsg);
             * Thread run method
        public void run() {
         String methodIdentifier = "run";
         try {
             while(true){
              log.debug("house keeping :" + this + " ---sleep");
              //sleep(100000);
              log.debug("house keeping :" + this + " startd after sleep");
               sleep(CdLookupProperties.getHouseKeepConnectionTime());
              ConnectionPool connectionPool = ConnectionPool
                   .getConnectionPool();
              Vector connList = connectionPool.getAvailableConnections();
              closeConnections(connList);
         } catch (CDLookupException cde) {
             log.error(methodIdentifier + " " + cde.getStackTrace());
         } catch (InterruptedException ie) {
             log.error(methodIdentifier + " " + ie.getStackTrace());
         * @param connectionPool
         * @return
         * Thread
        public static Thread getInstance() {
         if(houseKeeperThread==null){
             houseKeeperThread = new HouseKeeperThread();
         return houseKeeperThread ;
    package com.ba.cdLookup.manager;
    import com.ba.cdLookup.exception.CDLookupException;
    import com.ba.cdLookup.server.CdLookupProperties;
    import com.ba.cdwebservice.schema.cdLookupPacket.LookupFailureReasons;
    import java.util.Properties;
    import java.util.Vector;
    import javax.naming.Context;
    import javax.naming.NamingException;
    import javax.naming.directory.DirContext;
    import javax.naming.directory.InitialDirContext;
    * ConnectionPool class manages, allocates LDAP connections. It works as a lazy
    * binder and retrieves connections only when required. It doesn't allow
    * connection greater then the maximum connection stated.
    * To retrieve a connection the singelton method getConnectionPool is to used,
    * which retruns thread safe singleton object for the connection.
    public class ConnectionPool implements Runnable {
        private int initialConnections = 0;
        private int maxConnections = 0;
        private boolean waitIfBusy = false;
        private Vector availableConnections, busyConnections;
        private boolean connectionPending = false;
        private static int threadCount = 0;
             * classIdentifier
        private final String classIdentifier = "ConnectionPool";
             * Apache Logger to log erro/info/debug statements.
        protected static org.apache.commons.logging.Log log = org.apache.axis.components.logger.LogFactory
             .getLog(CDLdapBuilder.class.getName());
             * To get the attribute a systemaccessfor out of the search result
        private String vendorContextFactoryClass = "com.sun.jndi.ldap.LdapCtxFactory";// "com.ibm.jndi.LDAPCtxFactory";
             * context factory to use
        private String ldapServerUrl = "LDAP://test.ldap.com"; // default ldap
             * server live used by default
        private String searchBase;
             * environment properties.
        private Properties env;
             * DirContext
        private javax.naming.directory.DirContext ctx;
             * default search base to be used in Corporate Directory searches
        private String defaultSearchBase = "dc=Pathway";
             * search criteria
        private String searchAttributes;
             * search filter to retrieve data from CD
        private String searchFilter;
             * CorporateDirectoryLookup Constructor
             * <p>
             * loads the setup parameters from the properties file and stores them
             * Makes a connection to the directory and sets default search base
             * @throws CDLookupException
             * @throws CDLookupException
        private ConnectionPool() throws CDLookupException {
         this.maxConnections = CdLookupProperties.getMaxConnection();// maxConnections;
         this.initialConnections = CdLookupProperties.getInitialConnection();
         this.waitIfBusy = CdLookupProperties.isWaitIfBusy();
         this.searchBase = CdLookupProperties.getDefaultSearchBase();
         //for local env testing
    //      this.maxConnections = 5;
    //      this.initialConnections = 1;
    //      this.waitIfBusy = true;
             * For keeping no of connections in the connection pool if
             * (initialConnections > maxConnections) { initialConnections =
             * maxConnections; }
         availableConnections = new Vector(maxConnections);
         busyConnections = new Vector(maxConnections);
         for (int i = 0; i < maxConnections; i++) {
             availableConnections.add(makeNewConnection());
             *  ConnectionPoolHolder provide Thread safe singleton
             *         instance of ConnectionPool class
        private static class ConnectionPoolHolder {
             * connection pool instance
         private static ConnectionPool connectionPool = null;
             * If no ConnectionPool object is present, it creates instance of
             * ConnectionPool class and initiates thread on that.
             * @return ConnectionPool Returns singleton object of ConnectionPool
             *         class.
             * @throws CDLookupException
         private static ConnectionPool getInstance() throws CDLookupException {
             if (connectionPool == null) {
              connectionPool = new ConnectionPool();
              new Thread(connectionPool).start();
              // Initiate house keeping thread.
              HouseKeeperThread.getInstance().start();
             return connectionPool;
             * Returns singleton object of ConnectionPool class.
             * @return ConnectionPool
             * @throws CDLookupException
        public static ConnectionPool getConnectionPool() throws CDLookupException {
         return ConnectionPoolHolder.getInstance();
             * getConnection retrieves connections to the corp directory. In case
             * there is no available connections in the pool then it'll try to
             * create one, if the max connection limit for the connection pool
             * reaches then this waits to retrieve one.
             * @return Context
             * @throws CDLookupException
        public synchronized Context getConnection() throws CDLookupException {
         String methodIdentifier = "getConnection";
         if (!availableConnections.isEmpty()) {
             int connectionSize = availableConnections.size() - 1;
             DirContext existingConnection = (DirContext) availableConnections
                  .get(connectionSize);
             availableConnections.remove(connectionSize);
                     * If connection on available list is closed (e.g., it timed
                     * out), then remove it from available list and repeat the
                     * process of obtaining a connection. Also wake up threads that
                     * were waiting for a connection because maxConnection limit was
                     * reached.
             if (existingConnection == null) {
              notifyAll(); // Freed up a spot for anybody waiting
              return (getConnection());
             } else {
              busyConnections.add(existingConnection);
              return (existingConnection);
         } else {
                     * Three possible cases: 1) You haven't reached maxConnections
                     * limit. So establish one in the background if there isn't
                     * already one pending, then wait for the next available
                     * connection (whether or not it was the newly established one).
                     * 2) You reached maxConnections limit and waitIfBusy flag is
                     * false. Throw SQLException in such a case. 3) You reached
                     * maxConnections limit and waitIfBusy flag is true. Then do the
                     * same thing as in second part of step 1: wait for next
                     * available connection.
             if ((totalConnections() < maxConnections) && !connectionPending) {
              makeBackgroundConnection();
             } else if (!waitIfBusy) {
              throw new CDLookupException("Connection limit reached", 0);
                     * Wait for either a new connection to be established (if you
                     * called makeBackgroundConnection) or for an existing
                     * connection to be freed up.
             try {
              wait();
             } catch (InterruptedException ie) {
              String errMsg = "Exception raised =" + ie.getStackTrace();
              log.error(errMsg);
              throw new CDLookupException(classIdentifier, methodIdentifier,
                   errMsg, ie);
             // connection freed up, so try again.
             return (getConnection());
             * You can't just make a new connection in the foreground when none are
             * available, since this can take several seconds with a slow network
             * connection. Instead, start a thread that establishes a new
             * connection, then wait. You get woken up either when the new
             * connection is established or if someone finishes with an existing
             * connection.
        private void makeBackgroundConnection() {
         connectionPending = true;
         try {
             Thread connectThread = new Thread(this);
             log.debug("background thread created");
             connectThread.start();
         } catch (OutOfMemoryError oome) {
             log.error("makeBackgroundConnection ="+ oome.getStackTrace());
             * Thread run method
        public void run() {
         String methodIdentifier = "run";
         try {
             Context connection = makeNewConnection();
             synchronized (this) {
              availableConnections.add(connection);
              connectionPending = false;
              notifyAll();
         } catch (Exception e) { // SQLException or OutOfMemory
             // Give up on new connection and wait for existing one
             // to free up.
             String errMsg = "Exception raised =" + e.getStackTrace();
             log.error(errMsg);   
             * This explicitly makes a new connection. Called in the foreground when
             * initializing the ConnectionPool, and called in the background when
             * running.
             * @return Context
             * @throws CDLookupException
        private Context makeNewConnection() throws CDLookupException {
         String methodIdentifier = "makeNewConnection";
         Context context = null;
         env = new Properties();
         log.debug("inside " + methodIdentifier);
         try {
             env.put(Context.INITIAL_CONTEXT_FACTORY,
                  getVendorContextFactoryClass());
             env.put(Context.PROVIDER_URL, getLdapServerUrl());
             env.put("com.sun.jndi.ldap.connect.pool", "true");
             context = new InitialDirContext(env);
         } catch (NamingException e) {
             String errMsg = "CDLdapBuilder connect() - failure while attempting to contact "
                  + ldapServerUrl + " Exception is " + e.toString();
             throw new CDLookupException(classIdentifier, methodIdentifier,
                  errMsg, e, LookupFailureReasons.serviceUnavailable);
         } catch (Exception e) {
             String errMsg = "CDLdapBuilder connect() - failure while attempting to contact "
                  + ldapServerUrl + " Exception is " + e.toString();
             throw new CDLookupException(classIdentifier, methodIdentifier,
                  errMsg, e, LookupFailureReasons.serviceUnavailable);
         log.info("new connection :" + (threadCount++) + " name =" + context);
         log.debug("exit " + methodIdentifier);
         return context;
             * releases connection to the free pool
             * @param context
        public synchronized void free(Context context) {
         busyConnections.remove(context);
         availableConnections.add(context);
         // Wake up threads that are waiting for a connection
         notifyAll();
             * @return int give total no of avail connections.
        public synchronized int totalConnections() {
         return (availableConnections.size() + busyConnections.size());
             * Close all the connections. Use with caution: be sure no connections
             * are in use before calling. Note that you are not <I>required</I> to
             * call this when done with a ConnectionPool, since connections are
             * guaranteed to be closed when garbage collected. But this method gives
             * more control regarding when the connections are closed.
        public synchronized void closeAllConnections() {
         closeConnections(availableConnections);
         availableConnections = new Vector();
         closeConnections(busyConnections);
         busyConnections = new Vector();
             * Close all connections existing.
             * @param connections
             *                void
        private void closeConnections(Vector connections) {
         String methodIdentifier = "closeConnections";
         try {
             for (int i = 0; i < connections.size(); i++) {
              Context context = (Context) connections.get(i);
              if (context != null) {
                  log.info(" connection name:" + context
                       + " removed. Threadcount =" + (threadCount++));
                  context.close();
                  context = null;
         } catch (NamingException e) {
             String errMsg = "CDLdapBuilder connect() - failure while attempting to contact "
                  + ldapServerUrl + " Exception is " + e.toString();
             log.error(errMsg);
        public synchronized String toString() {
         String info = "ConnectionPool(" + getLdapServerUrl() + ","
              + getVendorContextFactoryClass() + ")" + ", available="
              + availableConnections.size() + ", busy="
              + busyConnections.size() + ", max=" + maxConnections;
         return (info);
             * @return the defaultSearchBase
        public final String getDefaultSearchBase() {
         return defaultSearchBase;
             * @param defaultSearchBase
             *                the defaultSearchBase to set
        public final void setDefaultSearchBase(String defaultSearchBase) {
         this.defaultSearchBase = defaultSearchBase;
             * @return the ldapServerUrl
        public final String getLdapServerUrl() {
         return ldapServerUrl;
             * @param ldapServerUrl
             *                the ldapServerUrl to set
        public final void setLdapServerUrl(String ldapServerUrl) {
         this.ldapServerUrl = ldapServerUrl;
             * @return the vendorContextFactoryClass
        public final String getVendorContextFactoryClass() {
         return vendorContextFactoryClass;
             * @param vendorContextFactoryClass
             *                the vendorContextFactoryClass to set
        public final void setVendorContextFactoryClass(
             String vendorContextFactoryClass) {
         this.vendorContextFactoryClass = vendorContextFactoryClass;
         * @return the availableConnections
        public final Vector getAvailableConnections() {
            return availableConnections;
    }

    Hi,
    As the connection pool implmentation has the bug of not extending more than the min size, workaround I use is MIN_CONN=100 and MAX_CONN=101,and just waiting for the bug to get fixed. (using Netscape SDK for java4.0)

  • How to dynamically set connection string for report in C# code?

    Hi,
    I have installed CRVS2010. I have created new Crystal Report WPF Application and new report. I would like to set connection string for report in code dynamically.
    Is this possible?
    Thanks
    Ivana

    Lots of posts in this forum on how to set database connections. WPF should not be a consideration as it's just a viewer. The report engine is still the same. Search these forums. Use the search box at the top right corner of this page. Look at samples here:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    Note that none of the samples above are using WPF, but like I said, the WPF is just a different viewer and will not impact how the report engine logs on to a database. (I think of it as a gray car vs. a red car. Same engine, just the color is different)
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

Maybe you are looking for

  • My desktop is covered with Adobe Reader icons. Why? How to get rid of them?

    For some reason, my desktop recently become infested with Abobe Acrobat icons. I did nothing. one day I turned on my computer and of the maybe 100 icons on my desktop were changed to the Acrobat icons (or at least something that looks very much like

  • Min.order Qty from Info record in PR in MRP

    Hi, Is there any setting by which , while running MRP, system will take min.order quantity from info record (instead of material master) ?. If not , then is there any way to achieve the same?

  • Who can help me with my ORDER?!

    I had made an online order for my iphone 5s on 11/15 online. It showed that will be delivery by 11/19. I  had recived the email with conformation # as quickly, but it always show "being processed, check it back tomorrow" in my order status. I have ch

  • Downloading software updates or plug ins on Mountain Lion 10.8.4 including the recent a

    Some software dmg's download and install. Others end with an "unexpected error message". For example, update to my HP Printer from the app store installed with no problem.  The upgrade to Mountain Lion from the app store ended with the error message.

  • Little stuttering on 3e monitor

    After installing a 2 videocard to play the 3e monitor and some help from the forum this works principally. One problem in this setting stay's. It looks if ones or twice per seconde the picture on the monitor "freezes" shortly, or plays back two frame