LabVIEW on a server..

I want to install a LabVIEW application in a server & I want to limit the control of the application to persons who access it. It can be accessed from any computer which has no LabVIEW in it.. What is to be done.?

Hi Amith,
You can web publish your application, So your application will run on Web. Only one national instruments web plugin is required to access it that automatically popup when you enter your LabVIEW application URL.
Second method you can create a client application installer. you install application on all your local PC. Now you can build a User access module in your application this will get the authentication from the server based on user logins. Based on your authentication you can provide the feature list to client application to visible or invisible application pages or features.
Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!

Similar Messages

  • Is it possible to connect labview with opc server without using NI dsc Module ?

    Hellow sir,
    I want to get data over labview using OPC server and i am not using any dsc module vi (Alams, print, GUI, security).I am using share variable to get data from OPC server to labview. Now i want to deploy that application to third party computer. (where there is no NI software is installed)
    i am using labview 8.6 and 2009.
    Many ? like....
    1) what is the procedure to install that application in third party computer.
    2) Do i need to use my dsc run time licence..?
    waiting for your valuable feed back.
    Thank you.
    CLAD
    Labiew programmer

    Hi, When you connect to NI OPC Server by creating New I/O Server > OPC Client. You will see all registered OPC Servers running on local machine or remote machine. I used KepServerEx from Kepware and LSIS OPC Server from LG with no problems. Just make sure that the OPC server is running.
    Hope it helps
    Waleed El-Badry MSc.,MCPD, ISTQB Certified Tester
    Assistant Lecturer
    Mechatronics Department
    Faculty of Engineering
    Misr University for Science & Technology
    Attachments:
    LG.png ‏57 KB

  • Labview and ole-server

    Hi,
    I need information about the activation of an "OLE server" via Labview.
    This server is activated without any problems by using the "CreateObject ("servername")" command within the Excel and Visual Basic environment and all methods are available. I tried an automation-refnum to find the server in the Labview Library - without any success.
    How might I realise this Labview Problem?
    Thanks
    Alex

    Hi BSS
    Your ActiveX device must be registerd in windows.
    Than you can create for example an ActiveX Container.
    Open the context menu by right-clicking and  select "Insert ActiveX Object ..."
    Is your ActiveX device not listed there. Choose "Create Object from File"
    instead of "Create Control" and directly select it
    I give you some attachements to visual the actions.
    Lars
    Attachments:
    ActiveX general programming example.PNG ‏3 KB
    ActiveX Container.JPG ‏82 KB
    Create Object From File.JPG ‏53 KB

  • Hi..I really don't understand how can labview can be a server, can you explain and give me some examples with steps on how to make the labview as a server? Please......

    nn
    Solved!
    Go to Solution.

    erm ok i will explain...
    actually..i know that labview can be a client or server. when the labview be a client, it can access other enable activeX application such as excel or word. i manage to do that a little such as to open excel file and save it at another location by using activeX functions or using the report generation toolkit. yes, i already know and understand the flow or concept of how the labview can be a client. But by using others activeX application especially excel, how can we make the labview be a server? i just need a very easy example and few steps for me to understand how can labview be a server or how excel can control the labview properties?
    really desperate to increase new knowledge.....:-)
    thank you very much for helping me....

  • Why does my LabVIEW Run-time server return the message "source does not exist Last UI message: Start Execution"?

    I am trying to build a stand-alone application on a target pc for which I have built a LabVIEW server that TestStand can use as an adapter.
    In order to do this, I searched this site and found the topic: "How do I build and Use the LabVIEW Operator Interface as a LabVIEW ActiveX Run-time server?" After following the procedure to the letter, I ran the testexec.exe file as instructed and loaded my sequence file. As soon as I try to "Single Pass" or "Test UUT" I get an error which says "source does not existLast UI message: Start Execution". This error appears when running the testexec.exe file on the target pc or the development pc.
    I have found though, th
    at if I open the Operator interface through the Start: Programs>National Instruments>TestStand>Operator Interfaces>LabVIEW then the sequence file runs without these errors.
    Any ideas why this is happening?

    Hello Robroy,
    The KB you mentioned explaines how to build the LV Operator Interface (OI). So, I assumed you built the LV OI and also configured the LV adapter to use the TestStandGUILVRTS server without problems.
    The error you are getting may be due to missing VIs. In other words, the LabVIEW OI may not be finding all the VIs your sequence is calling.
    In order to deploy sequences that call VIs, you need to first run Tools >> Assemble VIs for Runtime Distribution. This tool gets all the VIs your sequence needs and saves in a separate directory.
    For more information, you may check the TestStand User Manual chapter 17, it describes how to distribute TestStand and sequences.
    Regards,
    Roberto Piacentini
    Applications Engineer
    National Inst
    ruments
    www.ni.com/ask

  • Problems using Labview as ActiveX Server

    Hello,
           I have been having difficulty using Labview as an AcvtiveX server. I have reviewed all the postings on this subject and most are either pre Labview 8.2 and thus do not account for the changes made between 8.2 and 8.5 which broke the Activex server functions. I have looked at the recommendations for changing the to code to export (exported vi's in a DLL or Source distribution) and have tried these with no success. The closest example I have found was posted here http://forums.ni.com/ni/board/message?board.id=170&thread.id=283417 the example code they posted does ont work for me and still generates and error 3005.
          What i need is simple. I want to turn my applicaiton into a Vi server.. Expose a vi that acceses elements in the Vi server.. (controls, queues, Globals etc) that are in the Vi server context. I would then like to build a vi .. or dll that calls the 'exposed' vi in the vi server to pass data to or from the vi server. The V test.zip example file in the above indicated post is a pretty good example of this .. it just does not seem to work when i build it in 8.5. Are there any GOOD and 'current' examples of using labview as the ActiveX server (Compiled) and calling exposed vis from an external application Labivew, Visual Basic.. etc??  I am only interested in cases where Labview is the Sever. or both client and server.
           I have used a tool "ActiveXplorer" to examine the registered "exe" when the viserver is run. It always shows that there is no Type Library associated and the object is not creatable. There is a .tlb created by the project build however, where as the previous version 8.2.1 of Labview did not build that correctly. I have also tried this on 8.6 with similar error 3005 generated. sooooo what am i missing?
          Thanks
           Louis Ashford

    Mike,
           Thank you for your response to my question. The problem is that the example you site does not use the Labview vi as the Server. Excel is actually the vi server and the automation open is using and excel automation object. I am sure that Excel creates proper automation objects .. Labview however does not seem to. So while this example shows how labview can function as a client it is not an example of a compiled Labview Sever being accessed by a 'laview vi'. Possibly I am not looking at the vi that you are thinking of.
           The examples i am aware of:
                        "ActiveX Event Callback for Excel.vi... (Excel is server not Labview vi)
                        "ActiveX Event Callback for IE.vi (same Labview vi is client)
                        "Write Table to XL.vi" ( again excel is the server)
                        "3D Graph Properties - Torus.vi" (accesses an activex Control 'not' and Activex EXE)
                        "3D Lorenz Attractor Draw at Compeltion using 3D Curve.vi (Uses an activex  control not activex Exe server)
                        "3D Parametric Surface - Ribbon.vi (Uses an activex  control not activex Exe server)
                        "3D Surface Example - Fluctuating Sine Wave.vi (Uses an activex  control not activex Exe server)
                        "Excel Macro Example.vi (Uses excel as automation server..not Labview)
                        "FamilyTree.vi (uses MSComctlLib.ITreeView object not Labview as server)
                        "SlideShow.vi" (uses PowerPoint._Application not Laview as server)
          Most of the posts I have seen are for versions prior to  Labview version 8.2 (where the ActiveX server was broken) I have seen only a few posts that actually address the issue i am talking about. however thus far no real solution has been offered. I get the same results when compiling and testing this with 8.6..  as well. So have you tried this Mike? Possibly i am missing something very simple..
          The example i did find and gave the link to is a pretty simple one. This does not work on my machine at all. You can select the automation server that is registered with windows after running the server one time and this then breaks the client vi.. I have found by reselecting the GetViReference property node in the Client vi that it will the 'fix' the client vi as far as labview is concerened and it no longer shows and error. Now when you run the Client vi it will infact find the vi server and will launch it ok. However. The open automation object then hangs.. for quite some time then returns the error
    "Error -2146959355 occurred at Server execution failed
     in Client_reader.vi" Obviously the automation Exe (server) was seen because it was opened yet it did not return a valid reference so the subsequent property nodes in the client.vi will fail. Something is wrong with Labviews opening of or creating of automation objects..
              Thanks,,
                    Louis Ashford

  • Does Labview's ActiveX server throw any events?

    I'm trying to use Labview as an ActiveX automation server. It works so far, but I can't figure out a good way to get data back from the VI without polling it. Does Labview throw any ActiveX events that I could catch or is there some other way to receive data? Polling is a rather poor solution, so I figure there must be a better way.

    qx3n42j,
    I ran the List ActiveX Events shipping example on LabVIEW 6.1 and it returned that there are no events. I also searched through the documentation and found no reference to LabVIEW ActiveX events.
    You could implement a DLL that throws an event and call that from your LabVIEW VI.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • Labview dsc client server

    Hi,
    I use LV7 and labview dsc.
    I would like to read historical traces from a client PC. my database is saved on a server PC. I'm using "Read Traces.vi". It works well but i have to wait 10 or 20 seconds to have results (for only 100 points).
    I have no problem for reading tags in real time but it is very too slow for reading historical data.
    I would like to know if there is a solution to minimise time for echanging historical data.
    Thanks.
    Alexis de la fontaine
    SECMAI

    Hi Alexis,
    Are you observing the same delay with Read Traces.vi when you read traces locally? 100 points means 100 I/O points (tags) ?
    Remzi A.
    Applications Engineering
    National Instruments

  • Running php-skript on labview 6i HTTP server

    hy out there, i allready have a application running with php and mySQL on a Appache Server. now y wanna put the system on Labview 6i Internet Toolkit to contact a SPS over a CAN Interface. Instead of buying
    the SQL toolkit i would like to us php-skript on the Labview HTTP Server. After reading CAN commands out of the SQL database, i would like to send the commands over NI CAN card to my applications.
    for any hints i would thank you guys.
    andrew

    I have written both kinds of apps--PHP with MySQL for Apache, as well as LV VIs for the LV web server. I've never tried to combine PHP and the LV web server, though. I think this would be difficult. I think it would be easiest to use the LabVIEW Database Toolset instead of using PHP.
    However, if you want to try it, you can probably download the PHP source code and build it into a DLL that you call from LabVIEW VIs. This is probably much harder than it sounds. You'll also have to have the MySQL support built in, so you'll need the MySQL client source, too.
    A different approach would be to bypass PHP entirely. Have your LV VIs open up a TCP/IP connection to MySQL and send your SQL commands directly to the MySQL database. This is essentially what the D
    atabase Toolset is doing for you (via ODBC, I think). It will not be easy--the Toolset does a lot of work for you--but I'm pretty sure it's possible.

  • LabVIEW and OPC Server

    Hola
    Estoy trabajando con LabVIEW 7 Express, una licencia de LabVIEW OPC Server, y quiero comunicarme con los registros de un PLC de la serie Premium de Telemecanique.  El PLC con el que estoy trabajando habla Modbus TCP/IP, y no estoy seguro de si con el OPC Server del lado de LabVIEW es suficiente para comunicarse con el PLC Premium.  ¿Alguien ha tenido experiencias como esta? ¿Ha logrado comunicar LabVIEW con un PLC que hable Modbus TCP/IP?  ¿Tener el OPC es suficiente para garantizar la comunicacion?
    Gracias
    Alfredo

    Estimado Alfredo,
    National Instruments cuenta con un OPC para Modbus, si tu PLC se comunica por medio de Modbus, no habra ningun problema para establecer dicha comunicacion.
    Saludos
    Alvaro

  • Labview 2011 web server

    I have been doing some development of web services using LV2010 with no real problems.  I just installed LV 2011SP1 on my machine, and now I can't get the web application server to operate.  When I go to the configuration page I see the application server has nothing checked (attached picture) and also options for 32 and 64 bit, which didn't used to be there when I was running LV2010.  When I put in a port number and check "enabled" and then select Apply, nothing seems to happen.  When I select either 32 or 64 bit, I get a pop up message error (attached picture).  Is there something else I need to do to get the web application server working after installing LV2011?
    Attachments:
    webserverconfig.PNG ‏28 KB
    error.PNG ‏17 KB

    I've uninstalled everything I could find that was related to National Instruments, and then reinstalled LabVIEW 2011.  Now when I go to the server configuration page, it just looks like it's loading, but never actually finishes and shows the page (see attached)
    Attachments:
    server_config.PNG ‏6 KB

  • LabVIEW TestStand Runtime Server

    I am using TS3.5 and LV8.2 and my LabVIEW Adapter is TestStand LabVIEW Runtime Server. When I launch my TestStand/TestExec application the TSLVRTS automatically launches too and everything runs fine, the problem is that when I close the app the TSLVRTS stays open and it is supposed to close automatically.
    This is the content of the TestStandLVRTS.ini:
    [TestStandLVRTS]
    viSearchPath=<topvi>:\*
    [Server Options]
    Hide=TRUE
    [TestStandLVRTS]
    hideRootWindow=TRUE
    Does anyone has an idea of what could be causing this? or where to get a full list of the flags that can be set in the TestStandLVRTS.ini file?
    I have exactly the same flags in my TestStandLVRTS.ini file for LV7.0 and TS3.0 and everything works fine.
    Thank you for your help

    In TestStand 3.0 and prior, the LabVIEW Runtime Server shut down when the Adapter was unloaded.  However, this behavior was intentionally changed in TestStand 3.1.  When multiple processes were using the LabVIEW Runtime Server, this caused problems when one of the processes exited.  The Runtime Server was closed, even though the other process may still be using this server.  To correct this undesirable behavior, we do not try to shut down the Runtime Server.  The LabVIEW Runtime Server is left open intentionally.  You will not be able to change any flags to have it shut down since the code is inside the LabVIEW Adapter for TestStand.
    Allen P.
    NI

  • Using LabVIEW RTE vs. LabVIEW ActiveX Automation Server (TestStand LVRTS) for a TestStand Deployment and experience​ing Unabel to Launch LabVIEW.Ap​plication ActiveX Automation Server Error 18001

    I am developing in TestStand 4.2.1 and LabVIEW 2009, I have accomplished the following:
    1. Deployment package is built and deployed on PC
    2. PC has activated TestStand Deployment License
    3. LabVIEW 2009 RTE was selected as the adapter for the sequence and thus I believe the deployed testexec.ini contains this.
    I  am experiencing the following error: "see attachment".
    Is the LabVIEW RTE the right selection?
    Is there something I may have missed in building the deployment?
    Do I need to register the ActiveX server.
    THere seems to be conflicing solutions based on Version of TestStand and LabVIEW!!
    Thanks!!
    Attachments:
    TS_LV ActiveX Error.doc ‏77 KB

    Howdy mobiux,
    Please consider KnowledgeBase 4V58058Z: -18001 Errors in TestStand. If you're using Vista or Windows 7, then this may apply as well. You might also consider ensuring you have the proper LV version active in the TS Adapter Options.
    Warm regards,
    pBerg

  • -18001: An error occured accessing the LabVIEW ActiveX automation server

    Hi,
    I'm currently investigating a problem with a Teststand 2.0 sequence. The
    sequence makes use of VI's that call methods of an ActiveX. After a few
    successful loops through the test sequence the error "-18001: An error
    occured accessing the LabVIEW (6.1) ActiveX automation server" is brought up
    in Teststand. I think that somehow the ActiveX automation server is dying
    during the execution of the sequence but I don't know where to start
    searching...The problem does not seem to lie within the ActiveX istself, but
    I'm not sure. Using the same ActiveX within a Visual Basic Application and
    performing the same commands several times does not produce a failure. Has
    anybody an idea what could be the problem
    Thanks, Sven.

    Thanks, but I already know these entries from the Knowledge Base. I found no
    help in there and my error text is also not mentioned there.
    JRA schrieb in im Newsbeitrag:
    [email protected]..
    > There is actually a few Knowledge Bases on NI's website which deals
    > with this exact issue. You will probably want to start there.
    > 1. >
    "http://digital.ni.com/public.nsf/websearch/55574CB4E0F326DF862567FD0077E303
    ?OpenDocument">-18001
    > ...
    > 2. >
    "http://digital.ni.com/public.nsf/websearch/D8690EC8044C7B3586256C63005D4D84
    ?OpenDocument">Why
    > do ...

  • LabVIEW & MS SQL SERVER Architect and Developer

    Have keen interest & expert-level know-how on architecting and developing databases geared to automated measurements and control systems that directly interface with LabVIEW.
    Here is specific problem-solving expertise brought to projects:
    Knowledge-Generating & Flexibale Database Schema For Measurements and Control Schema
    In 8 years I have gone through ~15 iterations of database schema and pre-defined queries to finally arrive at guidelines & principles for generating the same for automated control and measurement systems. Re-use of such schema along with the pre-designed database querys has shortened integration time from months to weeks.
    Fast Data Inserts from LabVIEW to Databases
    LabVIEW applications can generate large amounts of data that cannot be inserted fast-enough into databases. However, there are ceratin data insert techniques that can overcome this challenge. MS SQL Server 'Bulk Insert' is a technqiue that I have mastered well that can upload upto 35,000 sample points in one second making databases viable in many automated test and measurement scenarios.
    LabVIEW Real-Time & MS SQL Server Interfacing
    ADO (ActiveX Data-Access Objects) cannot run in LabVIEW real-time systems. However, robust re-usable TCPIP client-server communication modules bridge the gap between LabVIEW Real-Time and MS SQL Server interfacing. These modules run fast enough and can handle complex projects when used in conjunction with LabVIEW FTP and the Bulk-inserts methodology.
    Reporting using Feature Rich Data Grids
    Reporting data with comprehensive search, filter, and hierarchichal organization is accomplished using 3-rd party data grids. Have full mastery in using one advanced data grid for this: Namely: ComponentOne vsFlexgrid 8.0.
    For further info please visit Company web-site at: http://www.mezintel.com
    Regards
    Anthony L.

    Hi:
    I wrote out a reply but could not post because this web site says that my message was more than 10,000 characters and that this exceeds the allowed message length.
    . . . But my message was only 2,300 characters!
    Anyway, I pasted the reply to a word document and have attached here. I have also attached samples of a 'Format File' and a 'Data File'.
    Should you wish to create a Dynamic Bulk insert stored procedure then here it is:
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE PROC [dbo].[AC_Import_SamplesBulkCopy]
        @DataFile nvarchar(150),
        @FormatFile  nvarchar(150),
        @RowsPerBatch nvarchar(100) = '5000'
    AS
    SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
    SET NOCOUNT ON;
    DECLARE @StrgSQL nvarchar(2000)
    SET @StrgSQL = 'BULK INSERT [LOG_ResultsValues] FROM ''' + @DataFile +
     ''' WITH (FORMATFILE = ''' + @FormatFile + ''', ROWS_PER_BATCH = ' + @RowsPerBatch + ')'
    EXEC (@StrgSQL)
    GO
    Regards
    Anthony L.
    Attachments:
    SQL Bulk Insert Tips.docx ‏16 KB
    SampleFormat.txt ‏2 KB
    SampleData.txt ‏102 KB

Maybe you are looking for

  • How can I right-align a table header?

    Does anyone know a way to right-align a table header? For example, in the table below I want the word 'Price' to be right-aligned. I could set the table's 'header renderer' to be a right-aligned DefaultTableCellRenderer, but then the header would loo

  • Download interrupted during pdf viewing

    Specs of my machine that can reproduce the issue: - Windows 7 Pro x64 - All updates applied - Acrobat reader 11.0.10 - Using Internet Explorer 11 (11.0.9600.17633) There are two specific PDF files on our website (www.sigmaproducts.com) that cannot be

  • How can i use oracle coherence with JPA/ejb  in web service?

    Hi I want to make web service using JPA which calls oracle XE via oracle coherence? i want to use JAX-ws? i searched and found you can make and deployed it using web logic but is there any other way i can make it and deployed in tomcat. i want to use

  • Et_FORM_DATA_ADD or et_ITEM_PRESSED

    Hi, We are doing an add-on to add extra line to A/R invoice before adding it to database. Should we capture before event of et_ITEM_PRESSED on "Add" button or before event of et_FORM_DATA_ADD? I found that if you just close the A/R invoice screen, th

  • Formula  ASo to BSO

    Hi All I have one formula in ASO so how can i excute this in BSo , i have to change it According to BSo i modified something but its giving syntax errror , plz can any one help how can i write this formula in BSo case when is ([PERIOD].CurrentMember,