Labview 2010 - Can't browse OPC servers on remote PC

Hello all,
I'm trying to create an OPC client using LabVIEW 2010. I can see the remote PCs in my workgroup but the problem is I can't browse for OPC servers. I get error 080004002 (pic below):
I believe my DCOM settings are correct because I have MatrikonOPC Explorer installed on the same PC and through that I'm able to browse the OPC server over the remote PC. Also, I know the server is configured correctly because I have a second client PC that is able to connect to it, although it is running LabVIEW 8.6.1.
Is there any particular configuration to the 2010 version that I'm missing? Any help is appreciated.
Best,
Glauber
Solved!
Go to Solution.

According to this, it seems that on LV 2010 there are two ways to develop an OPC client. Through DataSockets, which accepts OPC servers on version 2.x and below, and through the DSC module, which accepts servers on version 3.0. Because the server I want to connect to is on version 2.1, I would be stuck with DataSockets, which is limiting. This is why I could browse the server using the "DataSocket Select URL.vi" but not when creating a new I/O server on the Project Explorer. The solution was to roll back to LV 8.6.1...

Similar Messages

  • Labview 2010 can't add or subtract

    Hi there. im having a problem with labview 2010. im not sure why and it is really weird.i have this for loop which i want to run for n-3 times where n is an array size. so i wire to the N of the for loop the output of the subtract operator and in the inputs of the subtract i put the array size and the 3 constant. but instead of giving me the result it alway gives me a -3. no matter what the size of the array is, the subtract operator always returns a -3. i tried replacing it for an add operator but it just gave me a +3 instead of a -3. so the for never executes. i tried recompiling it and deleting and redrawing the diagram with no success. i know it is a labview 2010 error cause i saved it for a previous version (8.6) and run it on another labview and it did the subtract correctly. here is the screenshot. i ran out of ideas any guesses? im downloading the service pack 1 to see if that helps. thanks in advance.
    Attachments:
    error.jpg ‏63 KB

    I agree with the above 2 posts.
    I've never had math issues with LabVIEW.
    My LV 2010 works well when trying what you described.  See below:
    Attachments:
    goodMath.png ‏24 KB

  • SOAP / WSDL LabView 2010 can't connect to local webservice of network printer

    Hi,
    we are using a Labelprinter from cab (www.cab.de) that supports a webservice.
    IP: http://192.168.1.66/services.wsdl
    When i use this link in FireFox i will get a XML file (see attachment). The company "cab"
    has an example using NetBeans to write a deskop application using Java. I tried that and
    i was able to connect to the webservice.
    When i do that with LabView 2009 or 2010 i get an error message:
    1. URL doesn't exist or WSDL is wrong
    2. authentification failed
    3. proxy settings wrong
    to 1)
    i'm shure the link is ok, i can't connect to it with Netbeans (i used copy & paste to be sure)
    to 2)
    In Netbeans it is not possible to enter a user and PW. But anyway i have use the standard
    soap user the was given by the company.
    to 3)
    don't use it
    The last point is, that there is an error in LabView 2009 and 2010, e.g. error parsing the XML file?
    Can someone help me?
    Attachments:
    services.zip ‏2 KB

    HI I have the same problem with my CAB printer...
    I try the Solution from the link
     https://decibel.ni.com/content/docs/DOC-22722
    With the soapUI it works well, I can make requests to the printer an become an answer...
    But in Labview  it doesn't work. The TCP read vi brings the error 66 an I have no idea! Have someone a solution or an idea?
    Best Regards samsi
    Attachments:
    SOAP_CAB_Drucker.zip ‏32 KB

  • How do you convert OPC servers 2012 opf file to OPC servers 2013?

    When I upgraded from LV 2012 to LV 2013 SP1 my NI OPC Servers 2012 was also involuntarily upgraded to 2013. Now my shared variables don't work. How do you migrate or convert a 2012 *.opf file to 2013? The only clue given by the software Help file is a hint that ProgID Redirect can be used, but there is no explantion of how or where to find this feature or how to use it!

    Hi JT1958,
    I set up a system that had LabVIEW 2012 along with NI OPC Servers 2012 and upgraded it to 2013. I found that the .opf file I created from NI OPC Servers 2012 was able to be opened by NI OPC Servers 2013 without any issues and I was able to access the tags from a LabVIEW project. However, one difference between our setups is that I did not upgrade my project from LabVIEW 2012 to 2013 - I create a new project in LabVIEW 2013.
    Are you getting any error message when you try to open the .opf file in NI OPC Servers 2013? Or did it seem to import correctly? What if you try to create new bindings for a few shared variables rather than using your existing shared variables (just to see if it works)? Perhaps some of the references just need to be updated.
    Hope this helps!
    Best Regards,
    Matthew B.
    Applications Engineer
    National Instruments

  • Why cant i see the opc servers on the computer where labview is running?

    Hello,
    i have 2 Computers in a network. On both computers is installed the NAPopc Server. On the computer where Labview is running, i can not
    see the OPC Server wenn i go to ->my computer->new I/O Server-> OPC Client. The box of registered OPC servers is empty.
    When i choose the network connection, i can see the OPC Server on my other computer.
    Can somebody tell me why? I want to use only on computer for my project...
    Thanx, Daniel
    Best reguards

    Hi Daniel,
    in your post you're saying that you have the "NAPopc-Server" installed. Did you mean the NI-OPC-Server? As you can see in the screenshot attached you should be able to see any registered OPC server that is registered properly, no matter if it's installed on your local host or elsewhere.
    You mentioned that you can see the OPC server on the other computer, so you should be able to see the OPC-server on that machine when you choose the settings-tab and select "localhost" as machine. Is that right?
    For further troubleshooting tips look here and here  
    Regards,
    Bernd 
    Attachments:
    OPC.pg.jpg ‏48 KB

  • Can not Open exe file that is created by Labview 2010 SP1

    Hi Everyone,
    My Operating system is XP .. I installed .net latest version but I can not open exe file. I try to open  exe file, then  crashes , quits without seeing any interface.
    I tried with another computer whose o.s is xp too. I can open exe file. I saw it is created by Labview 2010 Sp1
    I dont know what the difference is. I attached config file. 
    Attachments:
    TPS65175 C (Vcom only).ini ‏1 KB

    burak35 wrote:
    [..]Do  I need any other components besides .Net? 
    That's a question only the provider of the application can answer.
    You could also take a look into the system event log if there is an indication for the reason of the application failing to start properly. It is possible that certain services are required for the application, but they do not run on the machine.
    Another point is possibly missing rights. So you might want to test the application once with the option "Run as Admin" (right click menu item on the application shortcut or the exe itself).
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How can I unintsall labview 2010 ? I install labview 2010 first.

    I install labview 2010 at first.
    I install labview 2010sp1 after  a period time.
    I would like to remove labview 2010 and then keep 2010sp1.
    How can I do ?
    I can't found that national instrument item of add/remove software in the control panel.
    Have extra remove  tool help to remove them ?
    I would like to keep one to save disk space.
    Thanks
    Longmild

    Hi longmild,
                    Go through these links:-
    http://forums.ni.com/t5/LabVIEW/how-to-uninstall-LabView-when-it-s-not-in-Add-Remove-list/td-p/61863...
    http://zone.ni.com/reference/en-XX/help/371361G-01/lvhowto/uninstalling_silent_installers
    http://forums.ni.com/t5/LabVIEW/remove-labview-2009-without-using-add-remove-program/td-p/1398624
    Thanks as kudos only

  • LabView DSC + OPC Servers + Windows 2003 server

    I just want to suggest this guide from Matrikon to the ones that are going to deal with DSC labview modules, OPC servers and windows 2003 server (Win 2003 is not officially supported by NI).
    Appling this configurations I solved some problems I was having with my application.
    gianpiero

    Here are the updated links:
    pdf MatrikonOPC: DCOM for Windows 2000 and NT
    pdf MatrikonOPC: DCOM for Windows XP SP1 and 2003 (base)
    pdf MatrikonOPC: DCOM for Windows XP SP2 and 2003 SP1
    Misha

  • Unable to browse OPC Server from the selected machine / Error -2147221163 occurred at GetOPCServerList.vi

    Hallo,
    I just installed LabVIEW 8.2 DSC-Module and tried to configure a OPC Client Instance. I get the Error "Unable to browse OPC Server from the selected machine / Error -2147221163 occurred at GetOPCServerList.vi". I have no OPC-Server installed, but is there no Demo-Server?
    Thank you
    Thomas

    This issue might be related to opcenum not being registered correctly. Please follow the steps explained in this document to fix this problem.
    As OPCdemo follows the OPC 1.0 standard it is not supported by the OPC client in LV DSC 8.x which supports OPC 2.0 and 3.0 servers. You can download an OPC 3.0 compliant demoserver from Matrikon.
    I hope that helps,
    Jochen Klier
    National Instruments Germany

  • How to configure LabVIEW 2010 to communicat​e with GE Speedtroni​c Mark VI ethernet global data (EGD)

    We want to use LabVIEW 2010 to send/receive floating points from LabVIEW 2010 to/from a network (192.168.101.xxx) that utilizes GE ethernet global data protocol (EGD).
    The network has several HMI's running Cimplicity Plant Edition 4.01.
    We can configure Cimplicity to read modbus points from LabVIEW using LabVIEW's multi-variable editor and a modbus slave library.
    However, we cannot get the points from LabVIEW to read/write to the EGD protocol.  Anyone ever run into this?

    EGD is a UDP message (port 4746h) with a special header.See below for header structure (32 Bytes). Send UDP at constant rate. Limit user data to 1400 bytes. If you want to receive EGD data don't forget to increase the MaxSize connector on UDP receive to 1500. Are you using the a csv file or SDB Server to get tag names? Or manually entering tag names in cimplicity? This works much better than OPC because all parameters are contained in your labview executable. If you have a redundant cimplicity HMi Server send as Broadcast to the local subnet. All consumers will get the EGD telegram.  Example IPA of 192.168.0.255.  Server 1 IPA 192.168.0.1 and Server 2 IPA 192.168.0.2
    Maybe to late for this project but would be a good upgrade or the next project.

  • LabVIEW 2010 SP1: "Controls" pop-up palette "Select a control..." bug?

    I'm using LabVIEW 2010 SP1 (32-bit) and I noticed today that I cannot place my custom controls on a VI's front panel when I use the "Select a Control..." option on the "Controls" pop-up palette. I'm wondering if anyone else is having this same problem?
    Steps to reproduce the problem:
    1) Create a custom control, or download/save the attached custom control "Machine State.ctl" (< a strictly-typed enum control).
    2) Open a VI (new or existing).
    2.1) If the "Controls" palette is visible (pinned open), close it.
    3) Right-click with the mouse on the VI's front panel window to display the "Controls" pop-up palette.
    Note: DO NOT use the "Controls" option in the "View" menu here.
    Note: DO NOT pin open the Controls pop-up palette at this point.
    See my comments below in the "Notes" section.
    4) "Controls" palette > "Select a Control..." option
    5) Using the "Select the Control to Open" dialog, browse to, select and open the custom control file (e.g., "Machine State.ctl").
    At this point the on-screen cursor should show the outline of an instance of the custom control I just opened, but for me that doesn't happen; all I see is the "+" crosshair cursor, and left-clicking with the mouse on the front panel does not place an instance of the custom control on the front panel.
    Notes:
    * In step 3) above, if I open the VI's "View" menu and select the "Controls" option, or if I pop-up the "Controls" palette and pin the palette to keep it open, I can successfully use the "Select a Control..." option to browse to, select, open, and place an instance of my custom control on the VI's front panel. The failure only occurs when I use the "Select a Control..." option on the pop-up (unpinned) version of the Controls palette.
    * I can successfully drag-and-drop an instance of a custom control onto a VI's front panel from a Windows Explorer window, or from the LabVIEW project explorer window.
    * The host computer is running Windows 7 Enterprise x64 w/ SP1.
    Jim
    Attachments:
    MachineState.ctl ‏5 KB

    Just now I tried creating and using controls on five different computers, each running Windows 7 Enterprise x64 w/ SP1.
    On three of the systems the problem did not occur; I was able to place a user-defined control on the front panel using the "Select a control..." option on the controls palette.
    On two of the systems the problem still occurs. Upon further investigation, however, I learned that the hard drives in these two systems were cloned from a "master" hard drive image the IT department created. So I'm guessing there's some bad mojo on the master hard drive image, and that's what's caused this problem to show up on these two systems (and others).
    So for now, I'm just going to put up with having to use the old "drag-and-drop" method for placing user-defined controls on the VIs. Thanks for your feedback and assistance with this.
    Jim

  • Labview/induscreen via une liaison OPC

    Bonjour,
    Je souhaite faire communiquer labview 6i et induscreen 4.1 via une liaison
    OPC mais je n'arrive pas a trouver la syntaxe...
    La liaison s'effectue avec le serveur OPC d'induscreen
    (Induscreen.OPCServer).
    Esc-ce que quelqu'un connais cette syntaxe et peut me la faire parvenir?
    Merci.
    CMH AUTOMATION
    Bureau d'Etudes
    ZA du Tuboeuf
    Rue gloriette
    77170 BRIE COMTE ROBERT

    Hello, CMH....I apologize for not answering this question in frech but je ne parle pas frances...
    Anyway, If you have labview 6i, you can access the OPC server either using the DataSocketopen.VI or using Frontpanel Datasocket.
    Frontpanel Datasocket, in my opinion is the easiest. The only thing that you need to do is to create a control on the front panel, right click on the control, and then go to data operations/data socket connection and then browse(browse measurement data)and select the OPC Server/item that you are using....this is pretty straight forward.
    Now, if you want to use the datasocketopen.VI, you will need to have the right sintax at the URL connector in the Datasocketopen.VI in order to be able to communicate with the OPC Server.
    The generic sintax for
    the URL connector at the datasocketopen.VI to select an OPC Server/Item is shown below:
    opc://
    or
    opc://?updaterate=xxxx
    where xxxx is the update rate.
    Below, you can see the URL sintax for a datasocketopen.VI used to get data from channel 0 of a FP-AI-100 module, using the National Instruments OPC Server.
    opc:/National Instruments.OPCFieldPoint/FP Res\FP-AI-100 @1\Channel 0?updaterate=1000
    where
    is the OPC Server.
    is the OPC Item
    and
    updaterate=1000 is the parameter for the update rate.
    There are very good examples that come with LabVIEW 6i, just go to:
    search examples/communication/datasocket OPC.
    Check out the OPC to URL VI used for most of the examples. This VI helps you with getting the right sintax on the URL connector in the datasocketopen.vi.
    Also, please contact the distributor of the OPC Server (Induscreen)and ask them the specific details on defi
    ning item names with their OPC Server.
    I hope this helps.
    Arevoir.

  • Application crashes in Windows 7 64bit made in Labview 2010 sp1 f2 with Fault module name%3A lvrt.dll%2C version 10.0.0.4033 and exception code c0000005

    I build an application exe and then its installer along with run time environment.
    The installers instals the application correctly but when I try to execute the application, I get an error that application has crashed and Windows must close it down or search for solutions online with this additional information for the crash. 
    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: AGMS.exe
    Application Version: 1.3.0.0
    Application Timestamp: 4c24e8f5
    Fault Module Name: lvrt.dll
    Fault Module Version: 10.0.0.4033
    Fault Module Timestamp: 4c9273f4
    Exception Code: c0000005
    Exception Offset: 00005310
    OS Version: 6.1.7601.2.1.0.256.1
    Locale ID: 1033
    Additional Information 1: 0a9e
    Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
    Additional Information 3: 0a9e
    Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
    Read our privacy statement online:
    http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
    C:\Windows\system32\en-US\erofflps.txt
    I am using labview 2010 sp1 32 bit on a 64-bit machine, with the following specs
    Operating System: Windows 7 Home Premium 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_gdr.130318-1533)
    Language: English (Regional Setting: English)
    System Manufacturer: Dell Inc.
    System Model: Dell System XPS L502X
    BIOS: Default System BIOS
    Processor: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz (8 CPUs), ~2.0GHz
    Memory: 8192MB RAM
    Available OS Memory: 8106MB RAM
    Page File: 3457MB used, 12753MB available
    Windows Dir: C:\Windows
    DirectX Version: DirectX 11
    DX Setup Parameters: Not found
    User DPI Setting: Using System DPI
    System DPI Setting: 96 DPI (100 percent)
    DWM DPI Scaling: Disabled
    DxDiag Version: 6.01.7601.17514 32bit Unicode
    The exe /application runs fine on my PC but when I try to run it on another PC it crashes. The other PC has similar specs as given below
    Operating System: Windows 7 Ultimate 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_gdr.140303-2144)
    Language: English (Regional Setting: English)
    System Manufacturer: LENOVO
    System Model: HuronRiver Platform
    BIOS: Default System BIOS
    Processor: Intel(R) Core(TM) i3-2330M CPU @ 2.20GHz (4 CPUs), ~2.2GHz
    Memory: 4096MB RAM
    Available OS Memory: 4010MB RAM
    Page File: 1359MB used, 6658MB available
    Windows Dir: C:\Windows
    DirectX Version: DirectX 11
    DX Setup Parameters: Not found
    User DPI Setting: Using System DPI
    System DPI Setting: 96 DPI (100 percent)
    DWM DPI Scaling: Disabled
    DxDiag Version: 6.01.7601.17514 32bit Unicode
    I tried another machine, 64 bit of course, as I want to deploy my application on a 64bit PC, but still got the same problem.
    This other machine was from HP, iCore 3 (4 CPUs) 2.2GHz, 4GB RAM and running Windows Professional 64 bit.
    Now as I see it, it could be a Run-time environment mis-match error.
    For this I tried installing a 64 bit LVRTE from NI, but still no sucess.
    I checked DEP, for all 3 PCs and it was set to the following
    Turn on DEP for essential Windows programs and services only (first option).
    I am confused. I can not find a solution for this and it is really frustrating.

    But I am assuming that when I make the installer, the 32-bit Run Time Engine is appened with the installer, as show below
    Since from the picture you can see its including the support installers from '\Program Files (x86)\'
    The application runs queries to fetch data from database in SQL server 2008, and for that I am using a Microsoft SQL Native Client 2008 R2 64 bit ( this is the only version that installs on either PC, even the one on which I developed my LV Application).
    I am not using any driver, only toolkits for reports - and for that I un-checked the "Remove unused polymorphic VI instances" when making the executable, otherwise LV throws up an exception that share variable are not being included.
    Yes I did reboot every time after I ran the installation.
    Still getting the same error.

  • Report Generation toolkit for labview 2010

    H All.
    I'm looking to download the report generation toolkit for labview 2010. When I proceed to download the toolkit from the national instrumnets website, it says that i need to labview 2011 or later in order to install it.
    Is there a version of this report generation toollkit for labview 2010 and can someone provide a link maybe??.
    Thanks for reading.
    Solved!
    Go to Solution.

    Try this: [Link removed, NI software downloads can be found on ni.com/downloads, the LabVIEW 2010 Report Generation Toolkit is available to customers with Standard Service Program here: http://joule.ni.com/nidu/cds/view/p/id/3247/lang/en, other customers may contact NI directly]
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

  • Is it possible to disable the optimized compiler in LabVIEW 2010

    Hello,
    I have a project that take 3 minutes in LabVIEW 8.6 to build and now with LabVIEW 2010 it take 10.5 minutes. 3x more longer.
    In fact my project as 61 .lvproj for a total of 4300 vi's that take 1 hour to build. If I interpolate, the entire build process will take 3 hours in LabVIEW 2010. This is not acceptable
    I know that the new compiler optimize the code for better performance, but if I don't need better performance.
    Is it possible to disable the optimized compiler in LabVIEW 2010 with an INI key in LabVIEW.ini.
    Dany Allard
    Dany Allard
    Solved!
    Go to Solution.

    Jarrod S. wrote:
    One Application Builder setting you might try out to make builds go much more quickly is the Remove Unused Members of Project Libraries checkbox and the Modify Project Library File after Removi....
    This can drastically cut down the build times. Note, however, that this option does not work well if your application will load external plug-in VIs when it runs, because the libraries of those plug-in VIs may conflict with the modified libraries in the executable file. If you don't have a plug-in architecture, this will not affect you.
    The "Remove unused members of project libraries" was already selected but not the "Modify project library file after removing unused members" and selecting this cut the build time from 10.5 min to 4 min.
    Thank you Jarrod for this tips
    Dany
    Dany Allard

Maybe you are looking for