VI Server Documentation + COM Documentation + Controlling LabVIEW

All,
I'm looking to script LabVIEW for controlling it externally (from python, c or something else), what are my options? I'd prefer a simple COM or C interface, are these available? Where's the documentation? Where's the documentation of the VI Server TCP/IP interface? 
- Ken 

xkenneth wrote:
Well, I'd love to be able to control anything that you could normally with the VI server using Python. For instance it would be great if I could write a script in python to open LabVIEW, open my project, build it, etc, so that I could easily integrated LabVIEW code into my continuous integration server.
Hi xkenneth,
If you're looking to programmatically build an executable, check out the following links:
http://zone.ni.com/devzone/cda/epd/p/id/5051
http://zone.ni.com/reference/en-XX/help/371361E-01/lvhowto/build_exe_prog/
These talk about writing a VI that can programmatically build an executable which can then be called via command line with parameters.
Thank you for choosing National Instruments.
Aaron Pena
National Instruments
Applications Engineer
http://www.ni.com/support 

Similar Messages

  • Error in iPlanet Directory Server documentation ?

    According the the Directory Server Schema Reference (http://docs.sun.com/db/coll/S1_ipDirectoryServer_51), a "Directory String indicates that values for this attribute are not case sensitive". Moreover, "IA5String indicates that values for this attribute are case sensitive".
    I thought a Directory String was a Unicode UTF-8 string, and could be made case sensitive or not case sensitive. As for IA5String, I thought it was just a 7-bits ASCII.
    Is this an error in the Directory Server documentation ?
    Christophe

    An error perhaps in that they do not conform with the standards, but that's how the DS treats them - DirString is case insensitive, and iA5String is case sensitive.

  • Where's the Mountain Lion Server Documentation?

    Been waiting all day for Mountain Lion Server Documentation the be posted to no avail. What gives? Especially need the Mountain Lion Server Upgrading & Migrating manual. I help run a small educational cmoputer center in Santa Cruz CA and we need to transition from 10.5 Leopard Server on an old G5 Power Mac to 10.8 Mountain Lion Server on a new 2012 Mac mini as soon as it goes on sale. We particularly need the Workgroup Manager migration app documentation ASAP. Can any Apple employees explain why the Mountain Lion server documentation is not posted even though you can download the Mountain Lion Server since this morning?

    Good Luck in Migrating from 10.5 Server to 10.8 Server... There's soo  many  changes..  Each time I've upgraded since 10.2.X server, I've always had to manual migrate things. Forget the automated upgraded process since it always hangs for me.
    As for 10.6.8 Server, Apple changed the imap/pop server software from cyrus to dovecot. There's a script if I recall somewhere in 10.6.8 Server convert the imap mail of all the users.  However before you run that script I recommend that you rebuild the imap structure in cyrus before you do...
    http://support.apple.com/kb/HT3120
    as for mirgrating OD user.... archive the users...
    and import it...

  • Adobe server Documentation

    Hi,
    Can I have ADOBE SERVER DOCUMENTATION plz...

    Hi,
    please check this link: http://help.sap.com/saphelp_nw04s/helpdata/en/37/47a2be350c4ac8afe36b691203971f/frameset.htm
    best regards
    Carsten

  • Question about Lion Server documentation

    Historically Apple has posted the server documentation as a set of PDF documents which can be freely downloaded. I have found what appears to be the correct webpage for the Lion Server documentation which is  http://www.apple.com/macosx/server/resources/documentation.html but this page only has a Getting Started guide as a PDF and the rest as only HTML which can only be viewed online.
    Does anyone know if there are PDF versions available somewhere?
    http://www.apple.com/macosx/server/resources/documentation.htmlhttp://www.apple. com/macosx/server/resources/documentation.html

    William Bowden1 wrote:
    https://help.apple.com/advancedserveradmin/mac/10.7/print.html?lang=en#printBook
    Unfortunately that is the html version I mentioned. It comes down as a single massive document which takes forever to load.
    I know Apple have been having a spat with Adobe over Flash, but that is no reason to boycot offering PDF manuals.

  • Oracle Form Server Documentation

    Hello Friends,
    I need the documentation of oracle forms server 8i,
    if anyone tell me the link of oracle forms server documentation for download.
    I will be thankfull.........

    Here is an address:
    http://otn.oracle.com/pls/tahiti/tahiti.homepage

  • SQL Server Documentation

    Hello Experts
    I am new to this SQL Server Documentation process and I have been assigned to document our servers. My question is what information and specifications of the servers should be included in the process. I am supposed to put it in excel sheets and then
    upload it to confluence, this is the easy part actually. I am more of concerned what standard information should be included about the servers and databases and users too, thank you for your help as usual.

    Check out the
    MAPS Toolkit
    "The Microsoft Assessment and Planning Toolkit (MAP) is an agentless, automated, multi-product planning and assessment tool for quicker and easier desktop, server and cloud migrations. MAP provides detailed readiness assessment reports and executive proposals
    with extensive hardware and software information, and actionable recommendations to help organizations accelerate their IT infrastructure planning process, and gather more detail on assets that reside within their current environment. MAP also provides server
    utilization data for Hyper-V server virtualization planning; identifying server placements, and performing virtualization candidate assessments. 
    Learn more.  "
    David
    David http://blogs.msdn.com/b/dbrowne/

  • Frame 12 Server documentation videos don't work

    I've tried to get the embedded videos in the Frame 12 Server documentation (e.g., "Getting Started Guid") to work under multiple browsers to no effect.  Clicking on them results in nothing happening.  Here's my case in point:  Quite a pity since the docs seem to be entirely dependent on these videos contextually.  Any suggestions?
    Thanks,
    Al

    You have to be using a PDF viewer that allows javascript (i.e. Reader, Acrobat, etc.) and not viewing the PDF within a browser. IIRC, security settings in the browser will prevent the videos from launching.
    They work just fine for me when I use Acrobat.

  • Links to App Server Documentation Broken

    None of the app server documentation links work. Did you move the links or is there a problem with the server?
    Appreciate if you would address this quickly.

    They work fine for me...clear your browser cache and re-try.
    Regards, OTN

  • Adding LDAP-server (OID) to Cloud Control

    Hi ,
    we have installed the LDAP-server (Oracle Fusion Middleware) on a host without the WebLogic - therefore it's just the LDAP-server running on that host.
    Now we would like to add the LDAP-server as a target to the Cloud Control - but haven't found a way to do that through the GUI (when using the GUI you always need to add informations about the WebLogic, e.g. Domain, ...).
    Is it possible just to add the LDAP-server to the Cloud Control?
    Any help will be appreciated!
    Rgds
    Jan

    HI VivaLaVida,
    Please take a look at the following EM12c documentation:
    http://docs.oracle.com/cd/E24628_01/doc.121/e24473/security.htm#BABGAGIJ
    You can connect EM12c with the following authentication systems:
    •Oracle Access Manager (OAM) SSO
    •Repository-Based Authentication
    •SSO-Based Authentication
    •Enterprise User Security Based Authentication
    •LDAP Authentication Options: Oracle Internet Directory and Microsoft Active Directory
    for OID there are non-GUI configuration methods:
    http://docs.oracle.com/cd/E24628_01/doc.121/e24473/security.htm#autoId12

  • Controling LabView-Ex​e over a network

    Hello out there,
    I'm working with LabView 5.1 on NT 4.0 machines in a TCP/IP network.
    I'm trying to write a Visual C++ 6.0 application which controls a LabView-Exe
    on a remote server.
    The Exe was build with the ActiveX-Server enabled.
    The application works, starts and controls LabView on the _local_ machine.
    To make it work over the network I used the racmgr32.exe and autmgr32.exe
    tools shipped with Visual C++.
    This configuration won't work.
    My Question:
    Do I have to make a connection using DCOM or is it possible to use remote-automation
    with the racmgr32 + autmgr32 tools ?
    Has anybody experience in doing so or can give me a link to an example (including
    DCOM) ?
    Thanks for any help.
    Regards,
    Ralf Erdmann

    Ralf,
    In case you haven't seen it, there's a good example of the DCOM approach to this in the
    Example Programs Database on the NI site:
    http://digital.ni.com/explprog.nsf/websearch/3c742​d0386e5d13c862568000069d87d
    Unfortunately, I don't have any insight on the Visual C++ utility executables you are
    using.
    Regards,
    John Lum
    National Instruments
    Ralf Erdmann wrote:
    > Hello out there,
    >
    > I'm working with LabView 5.1 on NT 4.0 machines in a TCP/IP network.
    > I'm trying to write a Visual C++ 6.0 application which controls a LabView-Exe
    > on a remote server.
    > The Exe was build with the ActiveX-Server enabled.
    >
    > The application works, starts and controls LabView on the _local_ machine.
    > To make it work over the network I used the racmgr32.exe and autmgr32.exe
    > tools
    shipped with Visual C++.
    > This configuration won't work.
    >
    > My Question:
    > Do I have to make a connection using DCOM or is it possible to use remote-automation
    > with the racmgr32 + autmgr32 tools ?
    > Has anybody experience in doing so or can give me a link to an example (including
    > DCOM) ?
    >
    > Thanks for any help.
    > Regards,
    > Ralf Erdmann

  • OPC Server Connection not possible (with LabView 7.0 it is working)

    We have used LabView 7.0 to view OPC items on a remote server (Windows CE).
    On WindowsCE it's not possible to browse the remote registry, therefore we
    make the registry settings on the client Computer and are setting the
    "RemoteServerName". For LabView 7.0 it was working.
    With LabView 7.1 when we try the same with the sample "Browse to OPC Item.vi"
    we get the Message Box "NI Network Browser Error!" "This OPC Server does not support
    the interface: IOPCBrowseServerAddressSpace error code - 0x80070005 Access denied!"
    Has any one an idea what has changed since LabView 7.0.
    The OPC Server has also an OPCEnum running. Is there any way to read this information?
    Here are the whole registry setting for the local machine to connet to remot OPC-Server:
    REGEDIT4
    [HKEY_CLASSES_ROOT\AppID\{4841A238-5E78-48AB-A9ED-666AD68F4841}]
    @="Inficon Quadrupol Massenspektrometer DA"
    "AuthenticationLevel"=dword:00000000
    "RemoteServerName"="192.168.0.206"
    [HKEY_CLASSES_ROOT\Inficon.Quadrupol.Massenspektrometer.DA]
    @="Inficon Quadrupol Massenspektrometer DA"
    [HKEY_CLASSES_ROOT\Inficon.Quadrupol.Massenspektrometer.DA\CLSID]
    @="{4841A238-5E78-48AB-A9ED-666AD68F4841}"
    [HKEY_CLASSES_ROOT\Inficon.Quadrupol.Massenspektrometer.DA\OPC]
    [HKEY_CLASSES_ROOT\Inficon.Quadrupol.Massenspektrometer.DA\OPC\Vendor]
    @="Inficon"
    [HKEY_CLASSES_ROOT\CLSID\{4841A238-5E78-48AB-A9ED-666AD68F4841}]
    @="Inficon Quadrupol Massenspektrometer DA"
    "AppID"="{4841A238-5E78-48AB-A9ED-666AD68F4841}"
    [HKEY_CLASSES_ROOT\CLSID\{4841A238-5E78-48AB-A9ED-666AD68F4841}\Implemented Categories]
    [HKEY_CLASSES_ROOT\CLSID\{4841A238-5E78-48AB-A9ED-666AD68F4841}\Implemented Categories\{63D5F432-CFE4-11D1-B2C8-0060083BA1FB}]
    [HKEY_CLASSES_ROOT\CLSID\{4841A238-5E78-48AB-A9ED-666AD68F4841}\Implemented Categories\{CC603642-66D7-48F1-B69A-B625E73652D7}]
    [HKEY_CLASSES_ROOT\CLSID\{4841A238-5E78-48AB-A9ED-666AD68F4841}\ProgID]
    @="Inficon.Quadrupol.Massenspektrometer.DA"
    [HKEY_CLASSES_ROOT\CLSID\{4841A238-5E78-48AB-A9ED-666AD68F4841}\VersionIndependentProgID]
    @="Inficon.Quadrupol.Massenspektrometer.DA"
    Regards, Robert

    Hi Robert
    LabVIEW 7.1 implements some new security features dealing with DCOM that were not in 7.0. Windows is moving in this direction, and National Instruments decided to follow suit. 7.1 requires a certain level of authentication from the server. If this is the issue in your case, it can be resolved with the following steps (this is for Windows XP; CE will probably be different):
    1. On the computer hosting your OPC server select "Start >> Settings >> Control Panel >> Administrative Tools >> Component Services.
    2. On the tree on the left, expand "Component Services >> Computers >> My Computer >> DCOM Config.
    3. Your OPC server should be registered as one of these items. Right-click on your server and select "Properties."
    4. On the "General" tab, change the "Authentication Level" to "Connect."
    If this property is already set to Connect or Default (and the default setting is Connect) then this will have no effect.
    You can also try checking some of the other settings:
    1. On the computer hosting your OPC server select "Start >> Settings >> Control Panel >> Administrative Tools >> Component Services.
    2. On the tree on the left, expand "Component Services >> Computers >> My Computer
    3. Right-click on My Computer and select "Properties."
    4. On the "Default Properties" tab, make sure "Default Impersonation Level" is set to "Identify."
    You may also want to look at the "COM Security" tab to make sure your computer has the right permissions.
    If all else fails, you can try adding the line "ole.AuthnLevel = 1" to the LabVIEW.ini file. This should reverse some of the changes to 7.1.
    regards
    Manuel Wielander
    National Instruments

  • How can i use labview.tl​b to control Labview from an external applicatio​n?

    Hi,
    I've been told by a labview engineer that i could use the file
    labview.tlb located in the labview install folder to control labview
    from an external application (in my case, a C# app). I'm using Labview
    6.1 under Windows 2000. This article confirms that:
    "ActiveX and LabVIEW"
    http://zone.ni.com/devzone/conceptd.nsf/webmain/54​01BE584FBAEECE862567C2006D36C7?opendocument
    But i've not been able to find out how to use this file to achieve
    what i want. I just want to be able to open/close labview, open/close
    a vi, start/stop a vi, hide/show a vi from a C# application. The above
    web page talks about activex but i really don't see the realtion
    between activex and that labview.tlb file.
    Is there so
    mebody around who knows how to use that file? Why does NI
    tell us that it's possible to do what i want to do but doesn't explain
    how (or hides this info very well)?
    Thanks

    Hi,
    > Hi I am fighting a similar problem and so far I found this: Calling
    > LabVIEW from C++ Using ActiveX
    >
    > http://sine.ni.com/apps/we/niepd_web_display.DISPL​AY_EPD4?>p_guid=B45EACE3E21356A4E034080020E74861&p​_node=DZ52051&p_submitted=N&p_rank=&p>_answer=&p_s​ource=External
    Thanks for the link, i actually already found this link before. I've
    found yesterday how to use Labview.tlb, just add it to the references
    of the project, it was probably too easy for me at that time:-) But
    now, i'm still stuck as there is no doc about using the interfaces and
    classes of this activex to control labview.
    The example given on your link is made is C++ and for some reasons,
    the wrapper generated for Labview.tlb when i added it to my c# project
    doesn't seem to expose the same
    interfaces and classes as the one used
    in the C++ example. I therefore can't use the C++ example in C#.
    I've tried to do something like:
    LabVIEW.ApplicationClass a = new LabVIEW.ApplicationClass();
    Just this line causes labview to launch but then immediately throws an
    exception: "Query interface for interface LabVIEW._IApplication
    failed".
    Does somebody knows how to use that control in C#/VB.NET ?

  • Ability to control LabVIEW VIs through a standard Web browser

    Ability to control LabVIEW VIs through a standard Web browser?
    Do you know where I can get information on doing this?
    I want to be able to control Labview Vis through the web.
    Best regards,
    Krispiekream
    Solved!
    Go to Solution.

    http://zone.ni.com/devzone/cda/tut/p/id/4791
    Best regards,
    Krispiekream

  • Controlling Labview with C#: error code -2147352571

    Hi,    
      I need to call LabVIEW and pass parameters to LabVIEW from C# so that I can use labview as a sort of "driver" to control my signal generator from C#.
    I found this tutorial for controlling LabVIEW from C#: http://zone.ni.com/devzone/cda/epd/p/id/3838
    It contains a C# project that calls a vi which acts as a calculator, parsing a string and computing an answer.
         I am trying to use this file as a base to work from by changing a few lines to make C# code that calls a different vi (the one that controlls my signal generator).
    I have attached both the Signal_Generator_Controller_For_Sentry_Testing.vi and the CallLV project that I modified and the origional from NI.
    I get this error when I click "Run vi" from the C# gui:   Type mismatch. (Exception from HRESULT: 0x80020005 (DISP_E_TYPEMISMATCH))
    If I click "view detail" from the "COMException was unhandled", I find that the error code is -2147352571. The error occurs at this line in the C# code:
    //Call the VI
    vi.Call(ref param1,ref param2);
         Here are the experiments I performed (that didn't solve the problem):
    Since the demo vi that NI made is contained in a llb file, I built a project that contained this vi, added an llb file to the project, and put Signal_Generator_Controller_For_Sentry_Testing.vi in the llb file.
    My vi is all inputs (the only output is the signal generator, which is not on the front pannel, obviously). I have tried changing the connector pane so that one of the connectors was an output.
    I have tried googling the error messages: there isn't anything specific enough to this problem (C# communicating with labview), the error message occurs in situations in multiple programming languages.
    I have tried passing the parameters "by val" rather than "by ref", but a different error occurs.
         Here is what I am able to deduce/ what I have noticed:
    The vi that NI created to demo communicating with C# "seems to be unable to leave run mode". When you call Labview from C#, the front pannel comes up and you cannot select the "stop button": it is grey. The Pause button doesn't stop exectution either. This makes me think that the vi was compiled in a different manner. I am more inclined to believe that teh vi is formated incorrectly rather than the C# code working improperly.
    The types of the two parameters, param1 and param2, going into the call statement  are "string" and "object" respectively. This is the same as with the NI code, which works fine. It is not an error with an incorrectly sized array parameter; that gives a different error message and I have fixed that problem. So, even though the error message says "type mismatch, I don't think that the input parameters to the Call function are incorrect.
       To Reproduce this error:
    I have Microsoft Visual C# Express 2008 Edition
    I am using Labview version 8.6
    In my version of the C# code, in this line: string vipath = @"C:\Program Files\National Instruments\LabVIEW 8.6\builds\Sentry_Test\Sentry.llb\Signal_Generator_Controller_For_Sentry_Testing.vi";
    You will have to change the directory to wherever you store the vi.
    You will need the "Labview" Library so that the C# line "using Labview" will work. I think it is downloaded by default either by labview or visual studio.
    In the C# file that NI created, you must add a fourth parameter '3' in  the line vi= lv.GetVIReference(vipath,"",true) as the last parameter. You get a compiler error otherwise. That was a mistake NI made.
    Thank you for the help.
    --Zach
    Attachments:
    CallLV_Zachs _Version.zip ‏126 KB
    callLV_NI_Version.zip ‏48 KB
    Signal_Generator_Controller_For_Sentry_Testing.vi ‏12 KB

    Zach,
    Unfortunately, I do have more of a knowledge
    of how to control objects using ActiveX in LabVIEW and not the other way
    around.  What ActiveX properties and methods are you using in your code and what are the input parameters that you are trying to pass?  You mentioned that you only have two input parameters, but the VI you posted has 3 inputs.  My guess would be that if you are indeed seeing a type mismatch, it is trying to pass an data type LabVIEW does not know what to do with.  This has been seen when trying to pass strings as Task data types (like the VISA Session).  
    ColeR
    Field Engineer

Maybe you are looking for