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

Similar Messages

  • 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

  • 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....

  • Labview 4.0 and SQL Server

    I have a specific question about labview 4.0 and sql toolkit and
    sql server 6.5
    I'am using the INTERSOLV odbc sql server driver and here
    is my question:
    Once every couple of days I get an error:
    [INTERSOLV] [ODBC Server]
    Server Driver invalid parameter in db-library fiunction
    reference. server driver unable to connect. server is
    unavailable or does not exits. connection is busy.
    I hope someone can help me out.
    If you know the answer, please email me at [email protected]

    Hi, Aniket.
    The short answer is NO - sorry, there is not a certification track that crosses from .NET developer to IT administrator. There are SQL Server developer certifications for database design and business intelligence but that is all.
    Check out the two (2) SQL Server MCSE developer titles here:
    http://www.microsoft.com/learning/en-us/sql-certification.aspx
    Instead, most developers are interested in becoming certified in the .NET framework and the multiple libraries it supports.
    **Also, most developers are interested in becoming certified in database access technologies, such as LINQ, ADO.NET, and Entity Framework.
    How about this? Why don't you earn your MCPD while becoming certified in LINQ, ADO.NET, LINQ to SQL, and Entity Framework?
    Exam 70-516 is the data access exam:
    http://www.microsoft.com/learning/en-us/exam.aspx?ID=70-516
    Here are the three (3) MCPD developer certifications (WinForms, ASP.NET, Azure) for .NET 4.0:
    http://www.microsoft.com/learning/en-us/mcpd-certification.aspx#item-ID0EFAAAABCA
    Alternately, you can earn the MCSA: SQL Server certification besides your MCPD certification:
    http://www.microsoft.com/learning/en-us/mcsa-sql-certification.aspx
    That's what you are stuck with. I hope this information was helpful.
    Good luck!
    Best wishes, Davin Mickelson

  • Tcp data b/w labview and c++

    Hi
     i am trying to establish TCP connection b/w LABVIEW and C++ program. Server is established in C++ while client is implemented in labview.Although connection is successfully establish b/w server and client, both are unable to correctly understand data send/receive among them. Forexample if i want to send an int type send_array from server, i use standard WINSOCK function "send" like that:
    send(AcceptSocket,(char*)send_array,129*4,0);
    but when client in labview receive this array, it shows unexpected values.As a client, I used "simple data client.vi"  with one modification i.e. as sent data size(129*4 bytes) was fixed, only one TCP read was used . 
    Same problem exists if i send data from client to server.
    Kindly help me
    Best Regards
    Solved!
    Go to Solution.

    It's probably an big/little edian problem. If you are using the Flatten/Unflatten from String functions, you can specify which to use.

  • Problems with Labview and Windows XP with error -214721786​5

    Hello. Im a new beginner in Labview and am having a problem with a error message
    I dont understand. Im running Labview on a pc-logger with windows XP.
    The program is written by a guy on my university, and logs voltage from
    a solar cell panel. He doesnt have the time to check in to it, so Im supposed to
    find out what's wrong.
    The error message is as follows :
    Error -2147217865 occured at Cmd Execute.vi->DB Tools Insert
    Data.vi->Solcelle.vi
    Possible reasons :
    Exception occured in Microsoft OLE DB Provider for ODBC Drivers,
    [MySQL][ODBC 3.51 Driver][mysqld-3.23.38-log]Can't open file :
    'solcelledata.MYD'. (errno: 145). in Rec Create - Command.vi-
    >Cmd Execute.vi->DB Tools Insert Data.vi->Solcelle.vi
    I really hope someone can tell me what's wrong and specifically what to do
    with it, or possibly guide me to someone who could suggest a solution to this
    problem.
    Reguards
    chrisdee

    Hi Chrisdee,
          (.. not to discount what TimoS has suggested, however...) 
    Embedded in the error information you provided:
    ... Can't open file : 'solcelledata.MYD'.
    Sounds like the program needs this file?  Has the program been moved to a new location?
    just a wild guess!
    Cheers
    Message Edited by Dynamik on 10-06-2005 04:53 AM
    When they give imbeciles handicap-parking, I won't have so far to walk!

  • Reader X does not work as an OLE server?

    I updated Reader 9 to X and noticed that I cannot embed PDF documents any more into another application (for example in MS Word I used Insert -> Object -> From File). With Reader 9 everything worked fine.
    I have tried to embed PDF files using several applications and I have used Windows XP and 7 and the result is same. I do not have English Windows available so I cannot provide exact error message.
    Is this bug or is OLE server functionality really removed from Reader?

    Nice to hear that this is actually a bug. Otherwise we would have been in trouble...
    I advice our customers to wait until next Reader update and not to turn off that setting permanently.

  • Reader OLE server does not draw PDF-document if paper size is too big

    If PDF document paper size is for example A0 (841 x 1189 mm) OLE object can be created and application shows PDF content correctly. But if application saves it's document and reopens it Reader does not draw content of embedded PDF document any more. Decreasing PDF document size to A1 solves the problem. Embedded object is not corrupted because it is possible to open it to Reader.
    I'm confused why Acrobat Reader OLE server is capable of drawing PDF file content in creation phase but not later on when application opens same file containing embedded PDF objects.
    "Application" means all possible application that has OLE support. I have tried this with three different applications and the behavior is same with all applications. Because of this I assume that application I'm developing does not have bug.

    Hello Sig
    The scanner works with a Windows computer, which proves the device is functional at a cursory level. The drivers are now distributed by Apple and this is an Apple computer. There is no scanning software provided by HP. HP's answer is that Mountain Lion takes care of all of this.  I anticipate that some setting or driver was somehow tweaked since the scanner had been working with Mountain Lion until a few days ago.  The device in question is an Apple product. So, I'm pretty confident that I'm in the right place.
    Regards

  • LabVIEW and Internet / Technical questions

    On a pure Web approach, there are two ways of architecturing a LabVIEW
    application: the server-push approach and the client-pull approach.
    1- Server push approach
    The server-push approach is based on a CGI process (CGI means common
    gateway interface) that runs under the webserver. This CGI process
    dynamically builds a GIF file (or is it a JPEG, anyway, an image) that
    is sent into a HTML page to the browser. Since this image is constanltly
    (re)built, the image is seen as the VI.
    My questions are: how is the CGI process linked to the data? Can this
    data should be in an ASCII format? Can it be in a database format? Can
    this CGI process be linked with another machine (the acquisition
    machine) via datasockets? Can t
    his CGI process be ran under HTTP server
    than the BridgeVIEW server (i.e. Netscape Entreprise server or IIS for
    exemple)?
    2- Client pull approach
    The client-pull approach is based on a JAVA applet that is sent to the
    browser. The applet then opens a connection with the server and the data
    is sent to the applet. Finally, the JAVA controls (AWT) are updated in
    real-time.
    My question are: what is the process is listening (and speaking) on a
    dedicated port to the applet? Is it a servlet? A CGI process? Something
    else? And once again, what is the connection between the server process
    and the data?
    TIA
    Jacques Brisson
    Hydro-Quebec
    Montreal
    Sent via Deja.com http://www.deja.com/
    Before you buy.

    Jim,
    If you already have a working application and just need to read/write a few tags I would look into DataSockets
    http://www.ni.com/white-paper/3224/en/
    Take a look at the example "Monitor OPC Items with DataSocket.vi" Under Industry Applications > Process Control.
    Matt J
    Professional Googler and Kudo Addict
    National Instruments

  • Labview and Visual C++ 6.0

    Howdy,
    I need to send data from a Visual C++ application to Labview over a
    tcp/ip network. How do I do it? Are there any examples to study out
    there?
    Thanks,
    M Soderberg
    Sent via Deja.com http://www.deja.com/
    Share what you know. Learn what you don't.

    One word: DataSocket
    Go to http://www.natinst.com/datasocket/ for more info. It's easy and painless.
    Regards,
    Carl Nybro
    NI
    Ed Hutchinson wrote:
    > [email protected] wrote in message <7n9bhq$id0$[email protected]>...
    > >Howdy,
    > >
    > >I need to send data from a Visual C++ application to Labview over a
    > >tcp/ip network. How do I do it? Are there any examples to study out
    > >there?
    > >
    > >Thanks,
    > >
    > >M Soderberg
    > >
    > >
    > >Sent via Deja.com http://www.deja.com/
    > >Share what you know. Learn what you don't.
    >
    > Buried deep in the examples on the MSDN Library disk 1 that comes with VC++
    > 6.0 is code for simple TCP and UDP server/client apps. Not a straight
    > example of comms between VC++ and LabVIEW but it will give you the basis for
    > such. At least I
    hope so :-}
    >
    > If you're interested run MSDN and under the contents window go down this
    > tree
    >
    > MSDN Library Visual Studio 6.0
    > -Visual C++ Documentation
    > -Samples
    > -SDK Samples
    > -Internet Samples
    > -NetDS Samples
    > -Winsock: Windows Sockets Samples
    > -Simple
    >
    > Cheers,
    > Ed Hutchinson
    > GNS Ltd, New Zealand.

  • Which version of crystal reports can link to Windev 14 and SQL server 2008 applications

    I am developing an application with windev 14 and sql server 2008, i would like to know which version of crystal report can i use?

    Hi GS,
    Move to .NET SDK forum.
    I don't know how CR for Visual Studio will integrate into WinDev but to get the installer for VS 2010/2012/2013 go to this page:
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
    It's the runtime for CR 2011 or 2013 now.
    As for SQL 2008 you need to install the Client tools and when creating reports use the SQLNCLI10.dll as the client DB driver for ODBC or OLE DB.
    Don

  • OraOledb, Linked Servers and SQL Server 2005 issues

    Some issues I've come across when using SQL Server 2005 (and SQL Server Express 2005), the OraOLEDB provider (10.2.0.1) and a linked Oracle database (8.1.7.4.0 64-bit)
    1) You must set the OraOledb.Oracle\AllowInProcess value to 1 to allow the OraOledb provider to run in SQL Server's process. Without doing this I receive an 'unspecified error' from the OLE DB provider when attempting to run a query
    2) When running a ' select * ' query across a linked server using the provider, I receive the following error: Msg 9803, Level 16, State 1, Line 1
    Invalid data for type "numeric". I can, however, select all of the columns by name and the query completes (no error). Sometimes the 'select *' query returns a few rows before the error, sometimes it doesn't. The Microsoft Provider for Oracle does not have this problem

    Okay... I've got a Win2K3 Std Ed server (x64) running 64-bit SQL Server 2005 Enterprise Edition. I've installed the Oracle 10g 10.2.1 full client and admin tools, added two named services via the NetConfig assistant, and successfully set up (and tested) a connection via the ODBC Administrator to an Oracle database.
    Now... when I try to create a new connection manager in SQL Server 2005 Integration Services, the OLEDB provider for Oracle can't be found, and when I try to manually add an underlying OLEDB connection to the database, SQL Server reports:
    Test connection failed because of an error in initializing provider. The 'OraOLEDB.Oracle.1' provider is not registered on the local machine.
    Does anyone know what I need to do to see my ODBC Server data connections in SQL Server 2005 (64 bit)? I don't have this issue on my 32-bit SQL Server 2005 servers.

  • 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

  • Large applications - Labview and other programming languages

    Hello Labview Users,
    as the forum saw this very interesting thread about large applications programmed in Labview
    (see: http://sine.ni.com/niforum/niforum?requireLogin=False&forumDU=http://forums.ni.com/ni/board/message?... ) I would like to ask the community about their experiences with Labview applications in combination with other programming languages.
    In advance: I have several years of experience in programming Labview applications starting from quick-and-dirty solutions which had to run within few hours and complex test solutions. I saw Labview growing and becoming better with the released versions and lot of things I missed in former times got implemented in the meantime. Actually I have to develop a complexe ATE solution with numerous equipment to control and numerous data to be captured and archived. Despite the Verison 8 I still feel still some drawbacks of the LV concept which let me hestitate to setup the solution completly in Labview:
    1) It is alway hard to re-use code of complex applications since it is not possible to do some kind of global search an replace of functions
    variables etc. It nearly impossible to re-use approved code structures (e.g a state machine) if the "inner part" is changing more the a little bit.
    2) If the application requires a certain flexibility (e.g. exchangeable test equipment of varying vendors) this is hard to implement since you have to define a lot of parameters through your hierarchy if you dont want use global variables which slow down your application and hide
    the code functionality.
    3) Despite modern PCs the look and feel of LV applications appears somewhat slow compared to other applications. For complex user interfaces the polling methode generates a lot of complex code. (I dont have expierence with the event-structure).
    Now my questions:
    Do you have experience of implemention of complex solutions dividingthe code modules using Labview and other languages? Which other
    languages did you use? Why did you use these languages (speed, flexibility of text based code, available library functions)? Did you found out this to improve your development time and code maintainibility?
    (I concider a solution where I do the single tests with Labview-VIs but delegate all the test sequencing and data collection stuff written in PERL which allows really very compact code)
    I'm curious what your experiences are.
    rainercats

    Given that you're asking these questions in a forum for LabVIEW users the opinions given are going to be somewhat slanted towards the general like of LabVIEW. I've been working with LabVIEW for a long time, ever since 2.something on a Mac. I've written numerous large-scale applications as well as "mundane" instrument drivers. As you've noted you're experienced with LabVIEW, so you know some of its strengths and weaknesses.
    To address your specific questions:
    (1) Yes, that has always been a limitation in LabVIEW, but I don't believe it is an overriding one to choose C over LabVIEW. Putnam provided one workaround for the search and replace of VIs. Once you've programmed in LabVIEW long enough you get used to doing it this way. Is it clumsy? Yes. As for the re-use of code structures, that's not entirely true. You can create a "template" VI (a regular VI, not a .vit) that contains the code you want to re-use and place in your palette with the "Merge VI" option set. That way you can select it from your functions palette, plop it down on your diagram, and you get the "template" VI's diagram placed right into your new VI.
    (2) This is not something that is specific to LabVIEW, as this exists with any programming language. It's not the language that limits you here, it's how you've designed your code. In a language like C++ you would go with classes. You can do the same thing in LabVIEW. IVI is another option (though not preferred by me).
    (3) As Putnam mentioned, you should be using the event structure.
    Other thoughts:
    The biggest strength I see with LabVIEW is that each VI is a miniature program, which allows development and debugging of functions a snap. With a language like C you have to write another program to call that function in order to debug it. The biggest weakness? I would say user interface. Yes, even with the event structure. Don't get me wrong, the event structure has vastly improved the way user interfaces and event handling in general are done with LabVIEW, but it simply doesn't hold muster to a program written in C or VB. ActiveX anyone? LabVIEW still doesn't do ActiveX properly in terms of actually getting the controls to work. Programming ActiveX controls is just plain aggravating what with all the property nodes taking up so much diagram space.
    It certainly makes sense to use the best tools available to you to get the job done. In my recent projects I had to write software to run automated tests on some products my company made. The test modules were written in LabVIEW. The tests executive was a proprietary engine driven by a SQL Server database. I had to write a "wrapper" DLL that interfaced between the LabVIEW code and the executive since the executive hadn't been designed to call LabVIEW DLLs directly. This allowed us to use LabVIEW as the preferred language for developing the test modules and let the guys who were fiddling with the test executive do their bit. Of course, TestStand's premise is basically that.

  • Adobe Reader as an OLE server incorrectly zooms content

    OLE object should always show content completely (first page of PDF document) not depending of its size.
    When I create new PDF object with Wordpad the result is like this:
    This box should show the complete page not just upper left corner.
    If I resize OLE object the result is like this:
    This bug can easily be reproduced with Acrobat Reader 10.x or newer. Version 9.x was last version that worked correctly!
    I have tested this with our own program as well as with Mirosoft Wordpad (Microsoft Word uses different technique, not Acrobat as OLE server).
    Even if OLE is old technique it is still very important and useful and used by a lot of people (and in our case more that thousand of our customer).
    Regards,
    Antti

    I think Adobe will need to spend a lot of time on this before concluding it is a bug (or, indeed, that it is not), so yes. There are ways to send a bug report for free, but it just goes into Adobe's systems, there is no response.
    You could at least try posting in the Acrobat SDK forum. You might reach other programmers there (but not Adobe developers).

Maybe you are looking for

  • How do I clear cache and cookies on my ipad

    How do I clear cache and cookies on my ipad?  I was told to do this when I was trying to download ebooks to ibooks and kindle

  • How to setup the access duration for user

    Dear experts, As requrement of users, we need to setup the access duration for all users of our company . It's mean users only access into SAP on defined duration Ex : Working time is 8h00 am to 17h00 pm, after 17h00 pm, users cannot access into syst

  • GPG-AGENT "ignoring" pinentry program? wrong pinentry app for ssh-keys

    Hi! I am using gpg-agent to handle my gpg keys and wanted it to handle my ssh keys too, since it is running anyway. it works perfectly fine with gpg keys, my pinentry program is pinentry-qt4 , upon request that window pops up for me to enter my passp

  • mx:States issue

    I have a problem with state changing. I have a MAIN.MXML that has <mx:States> tag. Assume there is a top navigation, from there I click on LIBRARY button then following state is called up. <mx:State name="viewResources" basedOn="MainApp"> <mx:AddChil

  • IPhone wont update

    Hi,      I have an IPhone 3GS and just tried updating it and it crashed so i restored it to factory and now im trying to activate it and it keeps coming up with activation server is temporarily down. it keeps saying it and ive been trying for over an