VIX file in the user interface designer receives the data from the Web service application that communicates with the SQL server database

I created the Web service VI ("Mt-insolacije.vi"), which has two terminals of the input string (FROM / TO) for the dates of arrival and exit of two data terminals (table 1 d) from database (MS SQL server). This VI communicates with the database with functions of the database with a DSN and SQL query appropriate palette. There are two tables with two data (time and Insolation) columns in the database.

This VI works when you run in Labview 2010, but when I used it as VI in UI Builder it returns no data.

Could you please help me find a solution. Is it possible to communicate with the SQL server database in this way or there is another way?

There are two files attachmet: Image of .vix file in Interface builder and .vi file ("Mt-insolacije.vi")

Please help me ASAP!

Thank you

Ivan

I found the solution problem is in the DSN. I've been using the user instead of DSN system DSN.

It's important to create the system DSN if you want your VI of web service to communicate with the database.

PS Please put feature bundle format timestamp and XY graph in the web user interface designer. It's complicated to trace data with datetime on X axis without them.

Tags: NI Products

Similar Questions

  • access the sql server database in my widget

    I just started to build widgets for blackberry in visual studio 2008 and I want to know if its possible to use data from the sql Server database server in my widget and how can I do?

    You can consume data in a WebWorks app server-side.  One way to do this is to build a Web Service that, when it is called from your application, queries the database and returns a list of results (for example in XML or JSON format).

    You already have the data in your available through Web Services SQL Server database?

    Another way is to produce a web page server that displays the data from your SQL Server database and load this web page from your application WebWorks.

  • Problem connecting SSO using SDDM 4.0 to import the SQL Server database

    I installed the new production version.

    It migrated the connections of preference and db 3.3 very well.

    This figure includes several SQL Server databases, where I worked with for a while.

    3.3, I was able to add the correct driver and the related standards ntlmauth.dll body so that I could import of SQL Server (and even with SQL Developer 3.x, I could connect to and query SQL Server)

    The 4.0 update, the driver and database connections migrate very well but I can't connect. I get the old error "Library SSPI has not loaded". Where is this dll must go to 4.0? I tried to copy it to the same relative locations used by 3.3, but nothing helped.

    Help!

    Finally got it - had upgraded to 1.3.1 JTDS

  • Deploy the error because the sql server database adapter

    I'm new to BEPL, I tried to transfer data from the Oracle SQL Server. To establish a connection with sql server, I used database adapter and driver is MS JDBC 2.0 that works very well in Jdeveloper and compiled with success but everything by deploying a Jar file to the output folder in SOA server I am getting an error, below is this error message

    Deploy the new BPEL process
    • bpel_WhiToEbiz_v2009_10_27__45671.jar failed to deploy.
    Could not initialize the agent of activation. An error occurred during initialization of an activation of process agent "WhiToEbiz", "v2009_10_27__45671" for review. Please ensure that the agents of activation are configured correctly in the bpel (bpel.xml) deployment descriptor. oracle.tip.adapter.fw.agent.jca.JCAActivationAgent: java.lang.reflect.InvocationTargetException

    kindly help me someone

    As stated on the http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/adptr_db.htm#CHDCAEGH, section "4.6.7 location files JAR JDBC Driver and setting the path of the class ' drop the JAR files in the following directories:

    For the Oracle BPEL Process Manager, go to Oracle_Home/bpel/system/appserver/oc4j/j2ee/home/applib

    For the Oracle BPEL Process Manager to install the OracleAS middle tier, go to Oracle_Home/j2ee/OC4J_BPEL/applib

    As a practice you need to create the factory of conn, conn on server and source database...

  • Developer SQL to connect to the SQL server database

    Hi friends,

    I have a 3.2 sql developer. I have download jtds1.2 as a driver to window thirty part. It works and tab SQL Server appear in the login window.

    But consultation of database button does not work and not able to enter a sql database name.

    Without the database name, I got the error message as failure 0 test failed: 'CACI1111\SQLEXPRESS', the name of the server host unknow. I use the port 1433 defolt.

    However, I open SQL server 2008 express in my local PC.

    What should I do?

    Thank you

    newdba

    I corrected the problem that results from disable TCP/IP in SQL Server.

  • Reading the data from a Web service

    Hi all

    I have a webservice that returns the square of the number.


    < s0:ZJK_FLEX_TEST.Response xmlns:s0 = 
    "urn:sap-com:document:sap:rfc:functions" 
    xmlns:SOAP - ENC = 
    "http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
      
    <DATA1>0000016</DATA1>
    </s0:ZJK_FLEX_TEST.Response>
    
    

    the data1 contains the value.


    but I am not able to set this value in the text field in the flex.

    function() {return A.apply (null, [this] .concat ($A (arguments)))}

    public void result_getAll(event:ResultEvent):void

    {

    Alert.Show (Event.Result.ToString ());

    Here, I would like to put the value in the text field.

    }

    What do you see with this:

    Alert.Show (Event.Result.ToString ());

    What happens if you do the following:

    Alert.Show (Event.Result.Data1.ToString ());

    If this post answers your question or assistance, please mark it as such.

    Greg Lafrance - Flex 2 and 3 certified ACE

    www.ChikaraDev.com

    Support services and training, tutoring, Contracting, Flex

  • Confused about the bar mentioned in user interface designs

    I was reviewing the instructions for user interface design, and he mentions a menu bar:

    "Use a menu bar to move user interface components off the screen.
    The application menu can include primary or secondary
    The menu when you drag from the top of the screen.

    The menu bar is built in? Or it simply means, I can create an and show it when the 'swipe_start' event fires?

    What does primary and secondary? This means main and submenus?

    If there is a menu built in, how I add to it? If I created one, what would be the best approach to design? I saw a QNX class for menus. How the menu disappear? Would it not as simple as when something is clicked?

    If the best way to get the menu bar to slide downwards to activate it? It is implying that the menu bar is the Menu bar main application and dialog boxes in the frame actions app to be managed by popups, buttons etc and do not use a menu bar always visible because it uses valuable screen realestate.

    I understand that these are guidelines, there are always exceptions to the rule. I just want an idea on best practices.

    Keith

    Hey kmitchell,.

    You basically answered most of your questions, but not confirm them

    The menu bar from what I've seen so far in the docs is not built in, and you will need to create one on your own by using the SWIPE_START event. Primary and secondary actually seems to be what you call main and submenus. What I thought of him, it was maybe a menu that looks the same every time by sweeping u down and has basic functions or if something happens in the application and slide you down the menu reflects the events of what is happening. in regards to how it should look like, there is a video of a demo that was presented at the adobe max Conference where he shows a demo of the camera app to help slip it in the menu dropdown. Here is the link. go to the last 13:45 video to see the demo:

    http://2010.Max.Adobe.com/online/2010/MAX260_1288217641375UQJD

    the menu design would be that it would disappear as soon as you click an option. its really what you want it to be. I don't think that there is no specificity.

    and Internet broadcasting its been said that they do not like to see sort of a title from the menu bar. now, I agree and disagree with this statement, but maybe im just not used to slide down menu type event. so ill see where this goes.

    also, here is a code harrydodgson and I worked on regarding the menu and the SWIPE_START event:

    SwipeDownTest.as (main Application file)

    package
    {
        import caurina.transitions.Tweener;
    
        import flash.display.Sprite;
        import flash.display.StageAlign;
        import flash.display.StageScaleMode;
        import flash.events.Event;
        import flash.events.MouseEvent;
        import flash.ui.Mouse;
    
        import qnx.events.QNXApplicationEvent;
        import qnx.system.QNXApplication;
    
        // The following metadata specifies the size and properties of the canvas that
        // this application should occupy on the BlackBerry PlayBook screen.
        [SWF(width="1024", height="600", backgroundColor="#F4F4F4", frameRate="30")]
        public class SwipeDownTest extends Sprite
        {
            private var ui:UI;
            private var swiping:Boolean;
    
            public function SwipeDownTest()
            {
                stage.align = StageAlign.TOP_LEFT;
                stage.scaleMode = StageScaleMode.NO_SCALE;
    
                ui = new UI();
    
                addChild(ui);
    
                QNXApplication.qnxApplication.addEventListener(QNXApplicationEvent.SWIPE_START, onSwipeStart);
            }
    
            private function onSwipeStart( e:QNXApplicationEvent ):void
            {
                swiping = true;
                addEventListener( Event.ENTER_FRAME, trackMouse );
                stage.addEventListener( MouseEvent.MOUSE_UP, mouseUp );
            }
    
            private function trackMouse( e:Event ):void
            {
                var pos:int = stage.mouseY;
    
                if (pos > 123) pos = 123;
                if (pos < 0) pos = 0;
    
                ui.y = pos;
            }
    
            private function mouseUp( e:MouseEvent ):void
            {
                if (!swiping)
                {
                    Tweener.addTween(ui, {y: 0, time: .3, transition: "linear"});
                }
    
                removeEventListener( Event.ENTER_FRAME, trackMouse );
     
                swiping = !swiping;
            }
        }
    }
    

    UI.as (File menu)

    package
    {
        import flash.display.Shape;
        import flash.display.Sprite;
    
        public class UI extends Sprite
        {
            private var sectionOne:Shape;
            private var sectionTwo:Shape;
    
            public function UI()
            {
                //set it up with two sections
    
                sectionOne = new Shape();
                sectionOne.graphics.beginFill(0x333333, 1);
                sectionOne.graphics.drawRect(0,-123,1024,123);
                sectionOne.graphics.endFill();
    
                sectionTwo = new Shape();
                sectionTwo.graphics.beginFill(0x666666, 1);
                sectionTwo.graphics.drawRect(0,0,1024,600);
                sectionTwo.graphics.endFill();
    
                addChild(sectionOne);
                addChild(sectionTwo);
    
            }
        }
    }
    

    hope that answered most of your questions. Good luck!

  • How can I fix the damaged file sql server database ME?

    Standby my mdf file got damage due to unknown reasons then I used the command dbcc chekcdb but it failed, file MDF is important to me, I don't ' know how to recover data from the mdf file. Please anyone suggest me?

    You are looking for a good solution recover a damaged repair Toolbox for SQL Server database, and then use the SQL recovery tool is an efficient MDF file recovery solution that allows the user to repair and recover a database corrupted in just a few minutes. Learn more https://www.repairtoolbox.com/sqlserverrepair.html

  • I received an email from ITunes showing a purchase that I don't have.  The link to cancel the request of credit card etc..

    I received an email from ITunes showing a purchase that I don't have.  The link to cancel the request of credit card etc..

    Don't submit any personal information here, send email to [email protected] as an attachment and then delete it.

    (139293)

  • Put the files on the remote server?

    I am connected to the remote server and tried repeatedly to put files on the remote server. It is said either successful or not transferred, and the new page never gets in place. What I am doing wrong? I put files on my remote server before, but all of a sudden it does not work for me.

    Could you please delete the _notes/dwsync.xml file in the Website\images\ folder under the root of your site and try to put the files again?

  • Encrypt the connection to the SQL Server

    I have a new installation of OpenManage Essentials 2.1 and have a quick question. Our database of MOE is hosted on a remote SQL Server cluster. Is it possible to configure the database connection to use encryption/SSL when connecting to the cluster? We need it for compliance with our security policy, but unfortunately the installation that the user interface does not expose this option.

    If not is it possible to manually change the connection string?

    Note that this is in that concerning the encryption of the SQL Server connection between HOME servers and database, not HTTPS.

    Thank you
    Andrew

    Hi André,.

    OME encrypts all sensitive information before it is transferred to SQL Server.

    Also, the connection to SQL Server used by OME information is encrypted and there is no option for a user to change this.

    I hope this helps.

    Thank you
    Vijay.

  • Using Reporting SERVICES report server cannot open a connection to the report server database in SQL server 2008 R2 sp1

    Hello

    I'm running Reporting SERVICES Version 2007.0100.1600.022 ((SQL_PreRelease). 080709-1414 in Visual Studio 2008 with Microsoft SQL Server 2008 R2 Express Edition with Advanced Services (64-bit) on Windows NT 6.1 SP1.)
    Everything seems to work fine except that I can't deploy: "the report server cannot open a connection to the report server database."
    Connection test ReportServer as OK in the Configuration service report manager and Visual Studio. Run reports in Visual Studio against ReportServer and my other databases.  Deployment fails on a report of VM. Remote access is enabled in the firewall, pipes is enabled in configuration Manager SQL server, the permissions for all access in Windows.
    The error in the log file of report Service:
    Library! WindowsService_1! 12ac! 09/23/2012-21: 05:12: e ERROR: ServiceStartThread: Exception caught during the startup of service. Error: Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerDatabaseUnavailableException: the report server cannot open a connection to the report server database. A connection to the database is required for all applications and treatment. ---> System.Data.SqlClient.SqlException: a network-related or instance-specific error all by establishing a connection to SQL Server. The server is not found or inaccessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - error Search Server/Instance specified)
    Any ideas?
    Thank you.
    -Phil

    Just, I solved the problem I had.

    It turns out, there, there were two questions... first concealing the second.

    SQL Web browser has not been activated.  solution: in properties SQL server configuration manager, transformed the startup to automatic mode and activated the service.

    Microsoft Visual Studio project property targetdatasourcefolder had a server name that precedes the name of the folder. Removed the name of the server.  This works.

    Everything unfolds right now.

  • How to completely remove the SQL Server 2008 R2 from my system?

    I got the SQL Server loaded on my computer before I realized it was the express edition that I needed. When I tried to load the version I needed the computer said that I had to create a new instance for the second version to run simultaneously. (had already uninstalled the original SQL Server and did not not the problem.) I went through the steps again and somehow there is the menu server must remove files, but they can access it. The only solution I see at the moment is to reload the server and uninstall and I hope that everything that caused its not completely withdraw from my system is corrected. Please tell me there is another solution which has guaranteed results.

    Hi Avendia,

    Your question would be better asked on the SQL Server forum

    SQL Server Forum
    http://social.msdn.Microsoft.com/forums/en-us/category/SQLServer

  • The SQL server system configuration checker cannot be executed due to WMI configuration on the computer

    The SQL server system configuration checker cannot be executed due to WMI configuration on the computer

     
    Toshiba-User Error: 2147749896 (0 x 80041008)
     
    I am trying to load the software for insurance. I got the above message.

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.


    The SQL Server installation & set program to update Forum

    http://social.msdn.Microsoft.com/forums/en/sqlsetupandupgrade/thread/3f313abe-8826-4d76-8F04-611ebd4d0141

  • Failed to connect to the SQL Server integrated with foglight

    Hi all

    I try to connect with MS SQL Server embedded foglight Management Server and failed to do so due to the error below. Could someone help me on this ASAP:

    org.springframework.beans.factory.BeanCreationException: error creating bean with name "foglight-core-services" defined in the URL [jar:file:/E:/Quest_Software/Foglight/server/default/tmp/deploy/tmp7024790750014228181foglight.sar!/com/quest/nitro/service/core-beanref.0.ctx.xml]: instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: error creating bean with name 'exporting' defined in the [com/quest/nitro/service/common.ctx.xml] class path resource: calling the init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: error creating bean with name "com.quest.nitro:service = Licensing" defined in the [com/quest/nitro/service/core-services.0.ctx.xml] class path resource: calling the init method failed; nested exception is org.hibernate.exception.DataException: could not execute the query

    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:254)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)

    to org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$ 1.run(AbstractAutowireCapableBeanFactory.java:409)

    at java.security.AccessController.doPrivileged (Native Method)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)

    to org.springframework.beans.factory.support.AbstractBeanFactory$ 1.getObject(AbstractBeanFactory.java:264)

    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)

    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)

    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)

    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)

    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)

    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)

    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)

    at org.springframework.context.access.ContextSingletonBeanFactoryLocator.initializeDefinition(ContextSingletonBeanFactoryLocator.java:141)

    at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:384)

    ... more than 165

    Caused by: org.springframework.beans.BeanInstantiationException: could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: error creating bean with name 'exporting' defined in the [com/quest/nitro/service/common.ctx.xml] class path resource: calling the init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: error creating bean with name "com.quest.nitro:service = Licensing" defined in the [com/quest/nitro/service/core-services.0.ctx.xml] class path resource: calling the init method failed; nested exception is org.hibernate.exception.DataException: could not execute the query

    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)

    to

    Kind regards

    Shiva

    Hello

    It is probably part of a larger battery error (if you can download the zipped file of complete log we can see if something is visible).

    This is a new installation or and upgrade or displacement of FMS? What version do you use?

    Have you tried to stop the foglight server, make sure that the DB is down too and then restart?

    There are articles describing errors as part of a larger pile of errors.

    This article KB https://support.quest.com/SolutionDetail.aspx?id=SOL64412 talks to ip in the hosts file is not wrong

    Other articles describing similar problems:

    There is an article describing a bug that has been fixed at https://support.quest.com/SolutionDetail.aspx?id=SOL63134

    Another speaks of a problem with the Storage Manager service https://support.quest.com/SolutionDetail.aspx?id=SOL73892

    With the attached log file we can see more information, I recommend also the opening of a case of pension because they can help solve the problem in a more interactive way.

    I hope this helps.

    Golan

Maybe you are looking for