Class to connect, manage and disconnect a DDBB

Hi I had posted this Topic in Java Programming forum, buit I have seen here is the correct.
I have a doubt about how to do this class:
I have a java class witch I use from jps pages to make differents querys throw Data Base.
In this class, I have a constructor method where I have the connection to the DDBB, So I hava difrents methods to make que differnts querys, and so I have a method to do disconnect form the DDBB
So I have something like:
public class SrvGestUsersService {
     Connection dbconn;
//CONTRUCTOR METHOD
public SrvGestUsersService() {
          try
               Class.forName("org.gjt.mm.mysql.Driver");
               try{
                    dbconn = DriverManager.getConnection("jdbc:mysql://localhost/paleodbTemp?user=XXXX&password=YYYY");
                                   }catch (SQLException s)
                    System.out.println("SQL Error "+s+"\n");
                    s.printStackTrace();
               }finally{
dbconn.close();
          }catch (ClassNotFoundException err)
               System.out.println("Class loading error "+err+"\n");
               err.printStackTrace();
         }finally{
dbconn.close();
          System.out.println("\nConexi�n a la DB conseguida.\n");
//METHOD TO DISCONNECT
public void desconnectDB() {
          try {
               dbconn.close();
          } catch (SQLException e) {
               System.out.println("ERROR dbconn.close(): "+e);
               e.printStackTrace();
//DIFFERNET METHODS
public FileVO[] getFilesVOfromUSER(Long idUser) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException{
          FileDaoImpl fileDaoImpl = new FileDaoImpl();
          FileCriteria criterio = new FileCriteria();
          criterio.setIdUser(idUser);
          List lFilesE = fileDaoImpl.buscar(dbconn, criterio); // devuelve List de Entities
          return aFilesVO;
     }Now in my jsp pages, I do:
//to create an instance of the class:
SrvGestUsersService instac = new SrvGestUsersService();
//I have create the connection to the DDBB, have not?
//to call a method to get information of the DDBB:
FileVO[] aFileVO = instac.getFilesVOfromUSER(22);
//to DISCONNECT
instac.desconnectDB();
Is correct this way to work??
The connectio to the DDBB is really closed?
Thanks very much

Hi duffymo,
If you're using Tomcat, wouldn't you be so much better off with a connection pool? Yes I use Tomcat. To make a connection pool, I must to have the server.xml (localed in CATALINA/conf/) like this, no?
<?xml version='1.0' encoding='utf-8'?>
<Server>
  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
  <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
  <GlobalNamingResources>
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <Resource name="jdbc/defaultDS" type="javax.sql.DataSource"/>
    <Resource auth="Container" description="User database that can be updated and saved" name="UserDatabase" type="org.apache.
catalina.UserDatabase"/>
    <ResourceParams name="jdbc/defaultDS">
      <parameter>
        <name>maxWait</name>
        <value>5000</value>
      </parameter>
      <parameter>
        <name>maxActive</name>
        <value>4</value>
      </parameter>
      <parameter>
        <name>password</name>
        <value>MYPASSWORDTOCONNECT</value>
      </parameter>
      <parameter>
        <name>url</name>
        <value>jdbc:mysql://localhost/DDBBNAMETOCONNECT</value>
      </parameter>
      <parameter>
        <name>driverClassName</name>
        <value>com.mysql.jdbc.Driver</value>
      </parameter>
      <parameter>
        <name>maxIdle</name>
        <value>2</value>
      </parameter>
      <parameter>
        <name>username</name>
        <value>USERNAMETOCONNECT</value>
      </parameter>
    </ResourceParams>
    <ResourceParams name="UserDatabase">
      <parameter>
        <name>factory</name>
        <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
      </parameter>
      <parameter>
        <name>pathname</name>
        <value>conf/tomcat-users.xml</value>
      </parameter>
    </ResourceParams>
  </GlobalNamingResources>
  <Service name="Catalina">
    <Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" port="8080" redirectPort="8443" maxSpar
eThreads="75" maxThreads="150" minSpareThreads="25">
    </Connector>
    <Connector port="8009" protocol="AJP/1.3" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" redirectPort="84
43">
    </Connector>
    <Engine defaultHost="localhost" name="Catalina">
      <Host appBase="webapps" name="localhost">
        <Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_log." suffix=".txt" timestamp="true"/>
      </Host>
      <Logger className="org.apache.catalina.logger.FileLogger" prefix="catalina_log." suffix=".txt" timestamp="true"/>
      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"/>
    </Engine>
  </Service>
</Server>where I must configure:
<parameter>
        <name>password</name>
        <value>MYPASSWORDTOCONNECT</value>
</parameter>
<parameter>
        <name>url</name>
        <value>jdbc:mysql://localhost/DDBBNAMETOCONNECT</value>
</parameter>
<parameter>
        <name>username</name>
        <value>USERNAMETOCONNECT</value>
</parameter>no?
My problem now is that I have not permits to write server.xml, because only root has (the server is in my Faculty and I have to ask it to the administrator)
When I will have this file configurated like I have post up, I�ll create a *java class to create the conecction*, some like:
public class ConenectionBD{
    private static DataSource src = null;
    private ConnectionBD()
    public static Connection connect() throws Exception
        Connection con = null;
        try{
            if(src == null){
                Context ctx = new InitialContext();
                src = (DataSource)ctx.lookup("java:comp/env/jdbc/defaultDS");
            con = src.getConnection();
            if(con == null)
                throw new Exception("Problemas con la conexion");
        }catch(NamingException ne){
            throw new Exception("Impossible to get java:comp/env/jdbc/defaultDS", ne);
        }catch(SQLException e){
            throw new Exception("Impossible get connection", e);
        return con;
    public static void disconnect(Connection con) throws SQLException
        if(con != null)
            con.close();
}Now, woth this class, I'll be able to get information of the DDBB from a Servlet or other java class, doing:
String userAux = "paul";
String pswAux = "paul2007";
boolean existAux;
existe = false;
Connection con = null;
        try
            con = ConnectionBD.connect();
            StringBuffer sql = new StringBuffer("SELECT * FROM USERSTABLE WHERE USERNAME = ? AND PASSWORD = ?");
            PreparedStatement pstmt = con.prepareStatement(sql.toString());
            pstmt.setString(1, userAux);
            pstmt.setString(2, pswAux);
            ResultSet resultQuery = pstmt.executeQuery();
            if(resultQuery.next())
                existAux = true;
                System.out.println("Loof for OK, user: " + userAux);
        catch(Exception e) {
            e.printStackTrace();
            throw e;
        }finally{
            ConnectionBD.disconnect(con);
...Now It�s rigth??
Thanks.
Edited by: jesusmgmarin on Dec 29, 2007 8:19 PM
Edited by: jesusmgmarin on Dec 29, 2007 8:21 PM

Similar Messages

  • Custom SSIS Source: How do I make it create a new connection manager and display its properties window?

    I am writing a custom SSIS source that uses a standard SSIS Flat File Connection Manager. I have got a working UI that shows all usable connection managers in a dropdown list and allows the user to pick one. I would like to be able to have a button that
    the user can click on to create a new connection manager, and it would open the properties window for the new connection manager so it can be set up.
    Abridged code:
    Public Class MyNewSourceUI
    Implements IDtsComponentUI
    Private MetaData As IDTSComponentMetaData100
    Public Function Edit(ByVal parentWindow As IWin32Window, _
    ByVal variables As Variables, _
    ByVal connections As Connections) As Boolean _
    Implements Microsoft.SqlServer.Dts.Pipeline.Design.IDtsComponentUI.Edit
    Dim UIwin As New MyNewSourcePropertiesWindow(MetaData, connections)
    Return (UIwin.ShowDialog() = DialogResult.OK)
    End Function
    Public Sub Initialize(ByVal dtsComponentMetadata As IDTSComponentMetaData100, _
    ByVal serviceProvider As System.IServiceProvider) _
    Implements Microsoft.SqlServer.Dts.Pipeline.Design.IDtsComponentUI.Initialize
    MetaData = dtsComponentMetadata
    End Sub
    End Class
    Public Class MyNewSourcePropertiesWindow
    Inherits System.Windows.Forms.Form
    Private _metadata As IDTSComponentMetaData100
    Private _cnxions As Connections
    Public Sub New(ByVal ComponentMetaData As IDTSComponentMetaData100, ByVal connections As Connections)
    InitializeComponent()
    _metadata = ComponentMetaData
    _cnxions = connections
    ShowConnections()
    'Setup Existing Metadata '
    End Sub
    Private Sub ShowConnections()
    Me.cboConnection.Items.Clear()
    Me.cboConnection.Items.AddRange((
    From i As ConnectionManager In _cnxions _
    Where CType(i.Properties("CreationName").GetValue(i), String) = "FLATFILE" _
    AndAlso CType(i.Properties("Format").GetValue(i), String) = "Delimited" _
    Select i.Name).ToArray())
    End Sub
    Private Sub btnNewConnection_Click(ByVal sender as Object, ByVal e as System.EventArgs) Handles btnNewConnection.Click
    Dim newconn As ConnectionManager = _cnxions.Add("FLATFILE")
    ShowConnections()
    Me.cboConnection.SelectedItem = newconn.Name
    End Sub
    Private Sub btnCancel_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnCancel.Click
    Me.DialogResult = DialogResult.Cancel
    Me.Close()
    End Sub
    Private Sub btnOK_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnOK.Click
    'Store any metadata changes '
    Me.DialogResult = DialogResult.OK
    Me.Close()
    End Sub
    End Class
    That's what I've got so far. I had assumed that adding a new connection would automatically display the properties window to the user (right?). However, in my tests, what actually happens is that it creates the new source with a random GUID for a name and no
    other properties set up, and puts it in the connections pane, and that's it. Not real useful.
    Obviously, something else is required to make the properties window appear, but I can't find what it is. There's no ShowUI() member on any of the classes I have, and I haven't been able to find out the name of the UI class that's used by the flat file source.
    Does anyone know how this is done? I know it can be done, because such a button exists in the normal Flat File Source UI.

    Yes, you need to drive the UI creation. I see you create a custom connection manager, in this case on how to build its UI please refer to http://kzhendev.wordpress.com/2013/08/07/part-2-adding-a-custom-ui-to-the-connection-manager/
    Arthur My Blog

  • PDW connection manager and Windows authentication

    I'm new to SSIS 2012, but I've got the SSDT BI 2012 (x86) installed. I'm also connecting to a SQL Server 2012 Parallel Data Warehouse. I've been able to connect to it via SQL Server Object Explorer with Windows Authentication. No worries.
    However, in setting up the PDW Connection Manager in my project, the dialogue won't allow for Windows Authentication.
    How do I connect with Windows Authentication?

    how did you set up the PDW Connection Manager in your project? i couldn't find the PDW Connection Manager in SSIS. could you please post more details?

  • Cannot Drag and Drop a Field from Connection manager to a worksheet.

    Hi
    I've recently installed the latest version of SQLDEVELOPER (1.5.3) onto winxp.
    I used to be able (previous version) to drag fields from the connection manager and drop onto a worksheet to save typing the field name when writing sql.
    This new version currently does not allow me to do this (it lets me drag, but not drop).
    I am able to drag a table object - and when I drop onto worksheet it creates a select statement with all fields.
    Is this by design, or is there a setting in preferences that I'm missing, or could there be something wrong with my installation ?
    Another not so good feature on this new version:
    When you Right-Click a package object on the connection manager and select "Run" : a window appears with automatically generated plsql block to run the package - great. However I used to be able to copy this plsql and paste it into anything I wanted (e.g. note-pad, or another application etc), but now I am unable to use the generated code unless I use the "Save File.." button. (Copy/paste etc is not available from either "right click", Edit menu or CTRL C).
    Again is this by design (I certainly used to be able to do it) or is it a problem specific to my installation.
    Any pointers much appreciated.
    jacr

    Jacr,
    We introduced the choice of drag and drop options in 1.5.0. Under preferences Database -> Worksheet Parameters, you can switch between the dragging on join clauses or individual statements including insert, update or delete. With this change and with the increase in code insight, we removed the ability to drag individual columns onto the worksheet. Have you tried the code insight feature in 1.5.3?
    I am able to use the copy and paste from the anonymous block to the worksheet works in 1.5.3. Are your copy and paste keys working else where? Perhaps resetting these keys to default in the preferences might help.
    Sue

  • HP CONNECTION MANAGER

    Received the following error message - HP connection manager service has stopped responding.  Please exit and restart the application''
    A fatal error occurred, check the HP connection manager in event viewer for  more details
    Retreiving the COM class factory for component with CLSID (24DB46C8-C842-4E91-9AC4-8A9525A551D) FAILED DUE TO THE FOLLOWNG ERROR:  80070422

    Hi
    Request you to try this step and see if this fixes your issue.
    Start -> Control Panel-> Program and Features-> Select HP Connection Manager and select Repair.
    Let us know how it goes!
    "I work for HP."
    ****Click the (purple thumbs up icon in the lower right corner of a post) to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    Regards
    Manjunath

  • Running package programmactically from console causes error if package uses connection in Connection Manager.

    Hello my friends:
    I attempted to run a few packages programmatically using the code and solution on this page:
    http://msdn.microsoft.com/en-us/library/ms136090.aspx
    I observed that the script and process failed when I use the connection in SSIS/SSDT connection Manager in Visual Studio 2013. Meaning if I create a Connection for the Project in the Connection Manager and use it on tasks.
    However, the project and packages will run just fine if I simply add individual connection to each task where needed and do not use the Connection manager.
    If I use the Connection Manager, I get this error: This only happens when I run the package programmatically,
    if I run the package directly from Visual Studio, I get no errors.
    Error Message:
    Error in Microsoft.SqlServer.Dts.Runtime.Package/ : The connection "{0E6E938E-B0
    84-45E6-9110-0D532BD61787}" is not found. This error is thrown by Connections co
    llection when the specific connection element is not found.
    Error in Microsoft.SqlServer.Dts.Runtime.TaskHost/SSIS.Pipeline : Cannot find th
    e connection manager with ID "{0E6E938E-B084-45E6-9110-0D532BD61787}" in the con
    nection manager collection due to error code 0xC0010009. That connection manager
     is needed by "SQL Server Destination.Connections[OleDbConnection]" in the conne
    ction manager collection of "SQL Server Destination". Verify that a connection m
    anager in the connection manager collection, Connections, has been created with
    that ID.
    Error in Microsoft.SqlServer.Dts.Runtime.TaskHost/SSIS.Pipeline : SQL Server Des
    tination failed validation and returned error code 0xC004800B.
    Error in Microsoft.SqlServer.Dts.Runtime.TaskHost/SSIS.Pipeline : One or more co
    mponent failed validation.
    Error in Microsoft.SqlServer.Dts.Runtime.TaskHost/ : There were errors during ta
    sk validation.
    Connection Manager Screenshot:
    I am using that connection in an SQL Server Destination Task:
    And here is the code:
    class Program
    class MyEventListener : DefaultEvents
    public override bool OnError(DtsObject source, int errorCode, string subComponent,
    string description, string helpFile, int helpContext, string idofInterfaceWithError)
    Console.WriteLine("Error in {0}/{1} : {2}", source, subComponent, description);
    return false;
    static void Main(string[] args)
    string pkgLocation;
    Package pkg;
    Application app;
    DTSExecResult pkgResults;
    MyEventListener eventListener = new MyEventListener();
    pkgLocation =
    @"C:\Users\Administrator\Desktop\ExampleConnectionMgr\DataExtractionB.dtsx";
    app = new Application();
    pkg = app.LoadPackage(pkgLocation, eventListener);
    pkgResults = pkg.Execute(null, null, eventListener, null, null);
    Console.WriteLine(pkgResults.ToString());
    Console.ReadKey();
    Thank you everyone!

    I have confirmed that this problem, at least on the surface is caused by the lack of reference to the Connection in the Connection Manager as indicated by the error message.
    The solution here will require that the Connection is set directly within each task.
    If I simply set the connection in each task then the page runs just fine programmatically:
    I am also able to convert the Connection in the Connection Manager to Package Connection as shown in the screen shot below. This will override all references to the Connection Manager and make the connection local within each package or package
    task.
    Is there any other solution out there?
    Thanks again!
    Synth.
    This is exactly what I asked for in my previous post. Sorry if it wasnt clear.
    I guess the problem is in your case you're creating connection manager from VS which is not adding any reference of it to packages which is why its complaining of the missing connection reference
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page
    Hi my friend:
    Do you know how I can include the connection programmatically in code?
    I found this article but it is not very clear to me:
    I do not want to create a package in code, just the connection so that the program can run.
    Here is the article:
    http://msdn.microsoft.com/en-us/library/ms136093.aspx
    Thank you so much.
    Patrick

  • [Load data from excel file [1]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009. There may be error messa

    Error
    [Load data from excel file [1]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009.  There
    may be error message
    I am using BIDS Microsoft Visual Studio 2008 and running the package to load the data from excel .
    My machine has 32 bit excel hence have set property to RUN64BITRUNTIME AS FALSE.
    But the error still occurs .
    I checked on Google and  many have used Delay validation property at Data flow task level to true but even using it at both excel connection manager and DFT level it doesnt work
    Mudassar

    Thats my connection string
    Provider=Microsoft.ACE.OLEDB.12.0;Data Source=E:\SrcData\Feeds\Utilization.xlsx;Extended Properties="Excel 12.0;HDR=NO";
    Excel 2010 installed and its 32 bit edition
    Are you referring to install this component -AccessDatabaseEngine_x64.exe?
    http://www.microsoft.com/en-us/download/details.aspx?id=13255
    Mudassar
    You can try an OLEDB provider in that case
    see
    http://dataintegrity.wordpress.com/2009/10/16/xlsx/
    you might need to download and install ms access redistributable
    http://www.microsoft.com/en-in/download/details.aspx?id=13255
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Smart View 11.1.1.2 Data Connection Manager empty

    Hi all,
    we recently trialled Smart View 11.1.2.1 with APS 11.1.1.2, only to find that combination is not compaitble.
    However when we now go into the Smart View Connection Manager, and select the "All" view, nothing is listed ( i'd normally expect the Essbase Server listed ), however if the user has favourites, they are listed and work OK. Existing sheets also work OK.
    I have the URL for the datasources as:
    http://{server}:13080/aps/SmartView
    If I browse to that URL with IE I get the confirmation page to say APS is running OK.
    If I look at the apsserver.log file I see the error:
    com.essbase.api.base.EssException: Common Provider null datasource error
    Can anyone advise on how I can reset this?
    Thanks

    you will most likely have to use the dropdown and add the server into the shared connections. Once done, it should be there for all users. It is best to add it usiing an ID with Admin access. I think there is a bug that would allow anyone to do it, but I'm not sure what version that was

  • Connection Manager Error

    I start the connection manager and listener in the same oracle database server. I use local server name service ( tnsnames.ora ). Unfortunately, I hit a oracle error in client side ) oracle 12202 : internal netvigation error ), when I invoke sqlplus in window 95.
    What is it mean? How can I make it? Are there any error that I make?
    null

    Hi,
    Try the following
    First of all, uninstall your current version of HP Connection Manager by using the Microsoft 'Fixit' on the following link - this is particularly useful in correcting issues that may prevent reinstallation on machines running a 64bit OS.
    http://support.microsoft.com/mats/Program_Install_and_Uninstall
    When this has completed, restart the notebook.
    Next download and install HP Connection Manager from the following link.
    HP Connection Manager.
    After the installation, restart the notebook again.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Usability of Connection Managers and Packages across different development users

    Hi All,
    I am new to SSIS. Currently we are doing the development in SSIS 2012 using the SQL Server Data Tools and there are two different Windows users who login to the server to work on SQL Server Data Tools.
    We have created one SSIS project and under that project we have created two different OLE DB Connection Managers to connect to the same database. We had to create two different Connection Managers as the Windows users were not able to connect to the DB using
    the connection manager created by the other user and users are also not able to execute packages created by the other user. The packages were developed with Protection Level set as "EncryptSensitiveWithUserKey". 
    Now at the end of development and before moving onto the testing phase, we have to integrate the packages that should run on a single Connection Manager. The Windows user should be able to run the SSIS packages using a single connection manager and also
    be able to execute the packages created by the other user.
    My question may sound silly. But since I am relatively new to SSIS, I need your help on above and also the steps for configuration and settings for deployment.
    Thanks in advance!
    Abhishek

    Hi Abhishek,
    If I understand correctly, a Windows user cannot be able to connect to the DB using the connection manager created by the other user and the user also cannot be able to execute packages created by the other user when the packages were developed with Protection
    Level set as "EncryptSensitiveWithUserKey".
    This behavior is by design. In an Integration Services package, the following information is defined as sensitive:
    The password part of a connection string.
    The task-generated XML nodes that are tagged as sensitive.
    Any variable that is marked as sensitive.
    EncryptSensitiveWithUserKey uses a key that is based on the current user profile to encrypt only the values of sensitive properties in the package. Only the same user who uses the same profile can load the package. If a different user opens the package, the
    sensitive information is replaced with blanks and the current user must provide new values for the sensitive data.
    To work around this issue, please refer to the following suggestions:
    If your issue is only related to the connection manager, we can use Windows Authentication log on the DB server. Then the other uses can still access to the DB and execute the package.
    Change the SSIS Package ProtectionLevel property to EncryptSensitiveWithPassword. This setting uses a password for encryption. To open the package in SSIS Designer (SSDT), the user must provide the package password.
    Use SSIS Package configuration files to store sensitive information, and then store these configuration files in a secured folder. You can then change the ProtectionLevel property to DontSaveSensitive so that the package is not encrypted and does not try
    to save secrets to the package. When you run the SSIS package, the required information is loaded from the configuration file. Make sure that the configuration files are adequately protected if they contain sensitive information.
    The following two documents are for your references:
    https://msdn.microsoft.com/en-us/library/ms141747.aspx
    https://support.microsoft.com/en-us/kb/918760
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • BT Connection Manager causing Bluescreen

    Just received a BT MF636 usb mobile dongle.
    Installed the BT Connection Manager and then the laptop bluescreened. Every time I load the Connection Manager, computer bluescreens and reboots itself. Usually about 5 seconds after initial load is completed.
    This is on a work computer that does have things like Hard Disk encryption and possibly (unkown) monitoring software installed and restrictions on certain items installing (e.g. flash updates)
    Could this be causing a conflict of some desctiption.
    Is there anyting obvious I'm missing? Will try to remove and reinstall.
    Cheers!
    Solved!
    Go to Solution.

    Turns out it's a known problem with Intel/Pro Wireless drivers on newer machines..
    patch here...
    http://connectionmanager.btcm.info/client/patch/cm _intel_wifi_12_4_4_5_patch.exe
    Make sure connection manager is installed, then download above and run... takes 1 min and fixes issue!
    Jamie

  • Mapping to Variables Using SIT Connection Manager

    Hello,
    I have a quick question regarding the SIT Connection manager and mappings.  I was wondering if it is possible to map to variables, using the SIT Connection Manager Wizard, that I can make in the Project Window and drop into my block diagram.  I have the SIT system buried under another VI and it is a hassle to keep having to connect the variables up to their values.  I would like to just be able to map directly to them.  If this is or is not a possibility please let me know.  Thank you.
    Michael B
    LabVIEW 8.5
    SIT 4.0
    Message Edited by Michael B on 11-30-2007 12:52 PM

    Hey Michael,
    Thank you for contacting National Instruments.  I am not sure if I completely understand your question.  Would it be possible for you to walk me through the process you are currently going through to set up these mappings?
    Also, I wanted to clarify what you meant by connecting to variables.  I know you can use the manager to map to indicators and controls, but I am not sure if this is what you are trying to accomplish.
    I look forward to hearing back from you.
    Regards,
    Kevin H
    National Instruments
    WSN/Wireless DAQ Product Support Engineer

  • Connection Manager Issue in SSIS 2008 version

    Hello Team,
    I'm facing weird issue in SSIS 2008 version. In one SSIS package, whenever I open the connection manager and point the DEV server abd test the connection it is working. When I open again, it is throwing the below error eventhough I have access to the database.
    "Test connection failed because of an error in initializing provider. Login failed for user"
    It's with Windows Authentication.
    Additional Details:
    Package configuration is disabled.
    Connection manager has expression which is gettiing the details from variables that has DEV server details.

    Are the variables having static values? or is the values getting passed through a parameter?
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Connection Manager for our Pre-Paid USB

    After trying for hours to set up a 4G pre paid broadband internet.  I was told by telstra to downland Connection Manager and run that.  Will try that the file will not run  on windows 8 but have try it on windows 7 and it run perfecctly. What else can I do 

    Hi Elise, What prepaid device did you purchase, so we can assist you better with that? What happens when you plugged the device into your computer? Did anything auto-run? Are you able to read the device's contents? There should be a file in it which you should be able to load as well.

  • Connection Manager for our Post-Paid USB Mobile Broadband devices

    Windows and Mac users can download the Telstra Post-Paid Mobile Broadband Connection Manager for USB devices.
    Download for the Telstra Post-Paid Mobile Broadband Connection Manager:
    Bigpond Mobile Broadband Users:
    For Windows users (ZIP, 33.9 MB) - Version 3.17.30227
    For Mac users (DMG, 11.4 MB) - Version 3.15.20905
    Telstra Mobile Broadband Users:
    For Windows users (ZIP, 33.9 MB) - Version 3.17.30227
    For Mac users (DMG, 11.4 MB) - Version 3.15.20905
    When downloading this update, your data allowance will not be affected. The Telstra Post-Paid Mobile Broadband Connection Manager can send and receive SMS. Just open your Connection Manager and click on the My Messages button to get started.

    Hi Elise, What prepaid device did you purchase, so we can assist you better with that? What happens when you plugged the device into your computer? Did anything auto-run? Are you able to read the device's contents? There should be a file in it which you should be able to load as well.

Maybe you are looking for

  • New photo albums not appearing in iTunes

    I upgraded to IOS6. Now when I create a new photo album in iPhoto it does not appear in iTunes when I sync my iPad. I am now no longer able to add photo albums to my iPad. I do not want to use the cloud to manage my photos.  Anyone else encounter thi

  • BreezySwing help requested (should be very simple)

    My final project for my beginning programming class is to create a calculator, much like the one built into Windows. It only needs to do what the basic one does, not the scientific. All I have so far is the GUI. The buttons do nothing yet. //////////

  • Best solution to import data from excel file

    Hello, I have a very large excel file with a list of companies in this format: company_category    company_name company_description   telephone   email In InDesign I have paragraph style for each one but I need a solution to import all this data and

  • Latest Premiere Pro CC update (7.1.0) may be the buggiest yet?

    I have been using Premiere for thirteen years and the latest update 7.1.0 (141) is perhaps the buggiest most frustrating yet. The list off annoying issues is long. Today I will start writing them down so I can be more spicific in my next post. I just

  • Integrate oracle applications attachment feature with Oracle iFS

    Hi Gurus, we have installed oracle contracts 11.5.8 and here is some overview on the issue we are facing. The contract creation and approval process is as follows. User creates contract header and attach contract word template document to the oracle