OPC Server with LV 8.20

Hello!
I have a LV8.20 application that will eventually reside on a PC as an executable. 
I have a requirement to communicate 3 different pieces of DATA to a plant SCADA system which is running an OPC Client application.  I originally started to investigate the solution to this problem and came across the DSC module, which I figured I would use to put an OPC Server in the middle that I would publish my data to, and then the SCADA system OPC client could pick up the data.
Someone on the Info-Labview forums told me that the new LV8.20 Shared Variable engine can act as an OPC server 'right out of the box'.  Is this true?
I have been able on your website to determine that DAQMX can be an OPC server, but I am not using any DAQ hardware. 
Do I have an OPC server with LV 8.20 somehow, or do I have to buy one so that I can publish my info to an OPC client on the same network?
Thanks,
Wes
Wes Ramm, Cyth UK
CLD, CPLI

Wait a minute. Now I'm confused....
I was trying to use Labview as a OPC Server and then have a Controllogics PLC connect to it. At first the NI phone rep (app engineer) told me that it could be done with the Industrial Automations OPC Server. But then after further investigation (on my part and then by calling NI back) I found out that it's not supported. But if I can create a OPC Server with Shared Variables can't I then connect to that Server with the PLC as well?
Thanks for the clarification,
Matt

Similar Messages

  • Is there a possibility to retreve Data from the OPC Server with the XML Interface

    Is there a possibility to connect a OPC/DA server with the help of the XML interface with Labview?
    I need to retrieve Data from a OPC Server running on Linux, so i got no Dcom System an I need to use XML. The server is running and with OPC client-tools i can access de different data. So now I want to visualize all Data
    that come from that server on Labview.
    1. Is it possible to realize that?
    2. Is a library or a demo vi available ?
    Regards
    Densel

    Hi Densel,
    Sure, you can use XML within LabVIEW, the question is which syntax do you use?
    Are you able to send the XML statements via TCP/IP?
    Regards, Christian

  • How to install the OPC server with the Application installer

    Hi to all,
                 I had make the datalogging progam by communication the PLC through modbus using the OPC server.
    1. I had configer the opc client through project explorer some time it run fine but when i run by next day it can't communicate with OPC server but the OPC server is communicating with the PLC.When i right click on the properties of the opc i/o client in the project exploer and make any change and again run the application it works where the problem is.
    2.The second problem is while building the installer who OPC server will installered to my targate PC.Bacuse i had installed the application  on the target PC just for testing but OPC server havn't installed even though there is no option for the addition of the OPC server while bulding.
    Solved!
    Go to Solution.

    HI Serdar,
                      Thanks for the reply i had seen your example your idea is ok but if i have more then 100 tag and with different data types then where is problem to manage all those tags.
    Now what i had done i had put the express vi of create or configer I/O server and give the process name same as file name like opcdemomo and same server name mention in the project explorer and restart and shout down tow and three times it works i havn't get any problem.but that is not the good method.

  • Omron OPC Server with Lookout 5.0

    I am trying to set up a Lookout 5.0 application using the OPC Client, connecting to the Omron OPC server, CX ServerOPC. When I add the OPC Client, I find the server on the drop down list, but when I click 'OK' to create the OPC client object, once it connects to the OPC server, Lookout crashes. I get the message that Lookout.exe has encountered a problem and has to close. Has anybody used this server before and seen this problem? Any hints as to what could be incorrect in the client or server settings?

    Hi,
    What happens if you connect to the Omron OPC server from the National Instruments Server Explorer? Do you access to the OPC items succesfuly in Server Explorer?
    Please also check the Tutorial linked below:
    http://zone.ni.com/devzone/conceptd.nsf/webmain/B0​CC5FE5CBC5727F86256808006AD802?opendocument
    Hope this helps.
    Best Regards,
    Remzi A.
    National Instruments

  • Using IA OPC Server with A-B 1784-PCMK

    The A-B 1784-PCMK uses 32-bit addressing (PCI). The IA OPC Server seems to only allow for 16-bit. Can I use the IA OPC server at 32-bit addressing?

    Hello,
    What version of the IA OPC server do you have? According to the following link the lookout and the OPC drivers are 32 bits. Now if you want to use this board for communicating to a PLC then when you select the PLC there is an AB parameter called interface where you can select the 1784-PCMK and that should take care of everything. Please check the Help for the AB in the IA OPC server.
    I hope this helps. If I didn’t answer the question, please let me know.
    Thank you
    Ricardo S.
    National Instruments

  • Problem to connect with OPC Server opc.sinumerik.machineswitch using DS_Open

    Hi,
    I want to connect to an Siemens OPC server type opc.sinumerik.machineswitch using DS_Open calls (CVI 6.0) to read few tags. Running my client software (as well as the NI- sample test client) locally on the same computer as the server the connection works and I can access the tags.
    Running the client-software on a remote PC then the DS_Open call "hangs-up" (not even an error message). All the DCOM settings etc should be ok, since I can access the tags using the Siemens Client OPC-Scout as test client.
    I have used the same calls in several previous applications and it works with other servers (Bachmann, WinCC), so I am pretty sure that I use the correct URLS etc.
    What can be the reason for a specific incompatibility?
    Any idea is highly appreciated.
    Cheers,
    Ronald

    Hi Roland,
    as experience shows, Remote DataSocket is hard to implement.
    The best way to implement this communication is the following:
    First of all, check the DCOM -Settings
    Using OPC via DCOM with Windows XP
    http://www.opcfoundation.org/DownloadFile.aspx?RI=326
    Use the “NI-OPC Server” to create a tunnel between the Siemens OPC server and your PC.
    Install the NI-OPC Server on your PC and use the “OPC DA Client Driver” to access the tags on the Siemens OPC server.
    After that you can access the created tags in the NI-OPC Server with CVI and DataSocket.
    Please download the NI OPC Servers Evaluation-Version to test communication.
    NI OPC Servers
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/209059
    Download NI OPC Servers Evaluation
    https://lumen.ni.com/nicif/us/evalopc/content.xhtml
    Regards
    Ulrich

  • Trouble reading OPC Server values with Labview

    Hello there,
    I am currently working with Siemens Equipment : a Simatic Microbox with an OPC Server.
    I would like to read some variables' values provided by the OPC server with Labview 2012 (and DSC module), but I'm experiencing some difficulties.
    I have set up my OPC Server as an I/O Server in a Labview projet. Then, I have created some Shared Values to treat them in Labview.
    In the Distributed System Manager, I can read NI OPC Client Status :
    Active -> true
    Connected -> false
    Enable logging diagnostic information -> false
    OPC interface version -> OPC DA-3
    Server ProgID -> OPC.SimaticNet.1
    When I want to check any Shared Value, I have the comment : Server Failure.
    I think DCOM/COM configuration of the client and the server are good (I can correctly read values with Siemens OPC Scout).
    Maybe the issue comes from the connection between the OPC Server and Labview.
    Has anyone had a similar problem ?
    Thanks in advance,
    Jeremy

    You don't specify whether the server and the client are on the same PC or not.
    I recently run in a situation where the Matrikon client was able to read from a remote server while the Labview program (using Datasocket) could not.
    I suggest to try with Datasocket vi's to see what happens.
    Paolo
    LV 7.0, 7.1, 8.0.1, 2011
    Attachments:
    Read OPC variant.vi ‏17 KB

  • LV8 OPC Server Installer

    I use Shared Variable Engine as an OPC Server with LV8.
    I build an executable (with library deployement), It works on my developpement station (with LV8 installed).
    I build an installer (with include Variable Engine and LV8 Runtime Engine).
    If I install my application on a PC (Win XP or Win 2000) without LV8, it doesn't work :
    Server explorer can see Variable Engine server but can't connect to it (Server not registered !!).
    I hope someone can help me.
    Than you,

    Hi,
    You also have to deploy the variables. See the link below for the deploy process for an exe.
    How Do I Deploy Network Shared Variables From a Compiled Executable?
    Regards,
    ClémentG

  • Kepware opc server

    How can I configure KEPware OPC Server with Labview 7.1 or Labview 8.5 DSC.
    I would appriciate, if you guys give the information link or tutorial link.
    Thanks

    I haven't done this with version 8.5 yet. It will use the shared variable to link to an OPC server.
    http://search.ni.com/nisearch/main/p/sb/navsRel?q=shared+variable+dsc+&x=16&y=5
    Version 7.1 uses the tag engine to connect with an opc server.
    The two labview versions use different methods to talk with an opc server.
    Which labview version do you really want to use??

  • Can't connect to KepWare Enterprise OPC server

    I am trying to connect to the Kepware Enterprise OPC server with Server Explorer 2.4.1 but get a message 'The system cannot find the file specified' 0x80070002. I have modified the DCOM setting for XP SP2 as described in the Kepware documentation. Is there a way to resolve this issue?
    Thanks
    Harry

    Hello,
    Can you explain exactly how you are attempting to connect to this OPC Server and also any of it's properties that are set in Server Explorer. At what point do you get this message? Have you been able to connect to that OPC Server on that machine, or any machine before?
    Cheers
    Tom | NIUK

  • Use Data Socket vi's to write to a custom namespace OPC server.

    Hi there,
    I'm still having the following problem:
    I'm trying to write an OPC tag to my OPC server that is currently not
    existing in the servers name space.
    Normaly (with other OPC clients) the server fires an event that validates
    and adds such unknown tags
    to the server if they are not existing.
    These event is fired through the labview client, too, but unfortunately the
    parameter that tells the server what
    data type the server should use to register the new OPC item is always zero
    (uninitialized variant typ) instead
    of VT_UI VT_DBL or any other value for a valid typ.
    Does anybody know how to register unknown but type save OPC items to an OPC
    server with LabVIEW 6.1 / 7
    data soket vi's ???

    Hello Bryan,
    The BrowseDeviceList VI was released within NI-FBUS 3.2. For NI-FBUS Configurator 3.1, please unzip the attached file and copy the "addon" and "Ff" folders into "\vi.lib" directory. LabVIEW 7.1 or above version is required for using these addons.
    And for your information, there is a free upgrade (version 3.1.1) for NI-FBUS Configurator 3.1 users. Here is the link to the upgrade kit.
    http://digital.ni.com/softlib.nsf/websearch/00A1614EC291219586256F390020671B?opendocument&node=132070_US
    Hope it helps!
    Regards,
    --Josiane
    Attachments:
    locate_fflv_in_labview82.jpg ‏214 KB
    vi.lib.zip ‏391 KB
    locate_fflv_in_labview71.jpg ‏193 KB

  • Updating values from OPC server on startup

    I'm using LabVIEW to create a screen to display data from an OPC server (KepSERVER). I've been using standard indicators and have been linking them to the OPC server with the Datasocket system. The system works well for rapidly updating values. The issue I'm having is that if I start the LabVIEW application it doesn't always update all of the values on the screen from the OPC. Of course this is only noticeable on the variables that don't change rapidly. Sometimes only a few of the relatively static values are updated, sometimes 90% of them are, I haven't figured out why this changes. The OPC has the correct values, it just seems that LabVIEW is not polling all of them.
    Is there a fix or this? Should I be pulling the data from the OPC in a different manner?
    Thanks.

    npower,
    You mentioned that your indicators are bound to your OPC server items though DataSocket. I assume that each of the front panel LEDs are green when the program is running? This would tell us that the DataSocket communication channel is successfully established. If this connection is established, then I’ve got a few suggestions/questions that may help for troubleshooting:
    1) Could you possibly try using Server Explorer (or any other OPC client) to read the values of the variables from your OPC server. This would check to be sure that the communication problem is between LabVIEW and the OPC server, and not that the values are not current in the OPC server. The Sever Explorer download site is linked below.
    2) If you use the DataSocket API, do you get the same results? You can test this by creating DataSocket Reads on the block diagram, and wiring the outputs to indicators.
    3) Do the values on the indicators ever update? What I mean is that when you start running the program, do the relatively static values update when they are changed or never at all?
    Server Explorer:
    http://digital.ni.com/softlib.nsf/websearch/34E67FA9F8FF7A0686256AE60054198C?OpenDocument

  • OPC Server Remote Connection LabVIEW 8

    Hi
    Currently I am trying to access a VI with a Shared Variable from a remote computer using an OPC Client. I haven´t succeed on this becasue I cannot find the OPC Server on the Host Computer.
    Here is what I am using:
    Host Computer:
    Windows XP SP2
    NI Developer Suite November 2005
    LabVIEW 8 with DSC Module.
    Remote Computer: The same as above.
    Here´s what I have done.
    I created a new project with a library that included a Network Published Shared Variable. The VI is quite simple it just generates a number that is written to the Shared Variable. Once the VI was running I opened the Server Explorer on the host computer, browsed My PC and connected to the server Variable.Engine in which I was able to see my shared variable. Then on the Remote Computer I opened the Server Explorer and browsed on my Network Places and when I tried to access the Host Computer I got the following error: "Unable to connect to \\HOST! Make sure that this computer is on the network, has remote administration enabled, and that both computers are running the remote registry service"
    I have tried by using the Matrikon OPC Server Explorer and I got the same results. I read many documents that refer tis problem as a DCOM setting because of the firewall fo XP SP2.
    Here´s a list of the NI documents I reviewed.
    How Can I set up LabVIEW, LabVIEW DSC, and Lookout to work with the windoes XP firewall
    URL: http://digital.ni.com/public.nsf/websearch/0D7B86F4B4D19A5E86256F9A006EECB1?OpenDocument
    Setting Proper Access for Remote OPC Server When Using National Instruments OPC Clients
    URL: http://digital.ni.com/public.nsf/allkb/5C8A90CD57B279F286256C2C006F1EB4
    I never got the results I expected. Then I tried the Matrikon OPC Simulation Server and the Matrikon OPC Server Explorer(Client) and I Succesfully connected between Matrikon servers and clients.
    My project is based in accesing the LabVIEW OPC server with a generic OPC client but I cannot get the client to connect to the server.
    I will apreciate some advice on this issue.
    Marcos

    Marcos,
    If you are using two instances of LabVIEW 8, I would first take the OPC part out and just try viewing Shared Variables on the remote computer.  This needs to work.  One document to check is the following KB: http://digital.ni.com/public.nsf/websearch/6E37AC5435E44F9F862570D2005FEF25?OpenDocument. I would also make sure the opcenum.exe service is running on both machines. 
    Once browsing to Shared Variables works, you can test the OPC aspect of the Shared Variable Engine.  Server Explorer is an older OPC 2 client, but should work in most cases to browse to OPC Servers -- you'll need to make sure the registry settings on the host computer are set up correctly as per the KB you mentioned, and also make sure to connect to the OPC Server, add a group, and add items manually from within Server Explorer, rather than using the Wizard.
    Doug M
    Applications Engineer
    National Instruments
    For those unfamiliar with NBC's The Office, my icon is NOT a picture of me

  • Is Shared Variable Engine with LV8 an OPC server ?

    Hello
    Is the shared variable engine with LV8 an OPC server ?
    Does any OPC client can acces to Variable Engine OPC server an read shared variable ?
    Can I build an installer and deploy my application with Variable Engine OPC server on other PC without LV8.
    Thank you 

    Hi
    You can communicate between an OPC serveur and LV8 and use shared variable. To deploy an LV8 exe application, you must have the run time engine installed on the PC without installing LV8. You can create a setup with LV 8 in which you can integrate the run time engine.
    Kamal
    NIF

  • Suggest an OPC server for Seimens S7-300 with CP5611 MPI card

    I am using Lookout4.5 and S7-300 with CP 5611 MPI card.
    Can anybody suggest an OPC server for Seimens S7-300 with CP 5611 MPI card?
    SukeshkumarDS
    CaptronicSystems,Bangalore,India.
    E-mail � sukids_in@yahoo

    There are many third party OPC servers that are designed to communicate using the Profibus DP. You may try Trebing & Himstedt or Applicom for obtaining the necessary OPC server.
    Chad Pelletier
    Applications Engineer
    National Instruments

Maybe you are looking for