Labview HDA and DA OPC clients

I have developed a true OPC HDA and DA clients in Labview, using the OPC Foundation's wrapper, to solve some of the problems I was having with the DataSocket for DA access, and to address the non-existent access to HDA servers (historical data access).
Is there any interest or need for these in this community ??
Leo
[email protected]

Hi,
How do you access OPC HDA server using LabVIEW? 
Thanks.

Similar Messages

  • Alternative OPC Client?

    Hello,
    I’m searching for an alternative OPC-Client.
    Is there someone out there who has developed a LabVIEW Interface for an OPC-Client (OPC-DA) from Softing, OPC Labs or another company? I did not found an OPC Client witch supports LabVIEW.
    Maybe you would sell your code or spend your code or give Information or help for the implementation?
    If you do not want to make your answer public you could send me a private message. Maybe I could return the favor with some code you would be interested in?
     I know that LabVIEW supports OPC with 2 different Clients (http://www.ni.com/white-paper/7451/en/).
    OPC via DataSocket
    OPC via LabVIEW Datalogging and Supervisory Control (DSC) Toolkit
    But the free OPC via Datasocket has limitations, and it does not work with the OPC-Server from IFM where other OPC-Clients work well (I think, the IFM OPC-Server Version 2 is not that well implemented).
    And the DSC Toolkit is too expensive because we need only the OPC-Client component and we are using it at some customers (a Runtime Licence is 800 €).
    Please help
    Sletrab

    I haven't worked too much with OPC, and I haven't tried this myself, but you could try looking for .NET or C implementations of an OPC client and call that.
    Try to take over the world!

  • OPC client using DataSocket - Error 0x80040154

    hi everyone,
    i am setting up OPC comm between LabVIEW 2010 and SMA OPC Server. they are in the same machine. i have followed all DCOM settings there, and i can view and write data of SMA OPC through MatrikonOPC. 
    then i start using DataSocket Select in LabVIEW. while i run the vi I can see a pop up window showing all running OPC servers in that PC. but while i double-click my SMA OPC server or other OPC servers, i always get this error -
    error code - 0x80040154,
    Class not registered
    The server is not properly registered on the machine.
    Try running <server>.exe /RegServer for an executable server, or RegSvr32.exe <server>.dll for an inproc server.
    i tried following the instruction of last line, but never succeed. 
    Looking for any kind of help. Thank you very much. 

    Hi Daniel,
    Thanks for submitting your question. This error occurs because your OPC server is not registered. For example, here is an article that explains how you can register our FieldPoint servers:
    How Do I Register an OPC Server Without LabVIEW?
    http://digital.ni.com/public.nsf/allkb/662939B4C756729286256C24005530B9?OpenDocument
    Yours might require a different method so it is worth contacting the manufacturer of your OPC server and ask them how you can register your server. Uninstalling and reinstalling the OPC software will sometimes take care of any registration issues.
    I also thought you would find these links useful:
    http://zone.ni.com/devzone/cda/tut/p/id/3978
    http://digital.ni.com/public.nsf/allkb/E9887094890516EB862570A700486F0E?OpenDocument
    http://zone.ni.com/devzone/cda/tut/p/id/7450
    Hope this helps.
    Thanks
    Mahdieh G
    Applications Engineer
    National Instruments UK&Ireland

  • How can I use LabVIEW as an OPC-client, without using datasockets ?

    I heared that would be possible with the newest edition.

    The Datalogging and Supervisory Control (DSC) add-on module makes LabVIEW an OPC Client (and a Server).

  • Labview and Mitsubishi OPC: communication

    Hi,
    My problem is I have to communicate between a Mitsubishi FX1N and Labview using OPC.  I have Labview 8.0 is that enough to communicate or do I need the DSC module ? I want to do I so simple as posible, nothing fancy. Maybe use of global variables ?
    Dr. Mackay

    Hi
    DSC is not necessary to read OPC tags, but it does have a lot of neat features. You can use Datasockets to read OPC tags. A very simple example that demonstrates this is called NI Demo OPC Client and can be found in NI Example Finder. To find the URL of the OPC tags you want to read, you can use DataSocket Select URL.vi.
    Regards

  • Connect third part opc client to labview

    I have no experience with Labview.  I need to connect a third part opc client to get data from Labview 8.5.  When I run the OPC Explorer and connect to the local server I see the data items.  However if I run the free OPC explorer from matrikon it does not find any OPC servers.  I see Variable Engine running in services.  Lookout 6.0 is set at manual and is not running (I don't know if I need this).  This computer is located in another country on the other side of the world and I only have RDP access.  What am I missing?
    Many Thanks

    Hello, 
    Are you using the DSC module?  With the DSC module you can add a 3rd party OPC client and bind your variables through that. 
    Here is a screen shot. 
    National Instruments
    FlexRIO & R-Series Product Support Engineer

  • LabView OPC client versus Opto22 Ethernet brain SNAP B3000

    I'm trying to use some OPC examples from the LabView 6i library connecting my PC to the OPC server provided by the Opto22 Ethernet brain SNAP B3000. Every time the program access the brain it hangs up. There is any known mismatch between the two implementations of the OPC communications or what I miss?

    NI has a good troubleshooting utiltiy to view OPC servers as an OPC client. Contact NI directly and we can get you this troubleshooting utility.
    http://www.ni.com/support/
    or 512-795-8248 ask for Industrial Automation.

  • LabVIEW 64bit OPC client

    Hi,
    Can someone confirm that it is not possible to use LabVIEW 64bit as an OPC DA client?
    I tried to read on the same pc the same OPC url (local) with LV2012 (32bit) and LV2013 (64bit).
    2012 had no problem. 2013 gave error 1181 (Protocol not recognized by LabVIEW).

    Has the OPC client component been ported to Windows 64 bit? I kind of doubt it since NI Lookout is also still 32 bit only software and the LabVIEW DSC Toolkit hasn't been ported to 64 bit either so far.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • LabVIEW DSC 2011 / OPC Client IO Server / Can I write to the OPC Server using OPC Groups?

    Hi
    I am using LabVIEW DSC module as a OPC client. My Shared Variables are binded to automation system OPC Server via "OPC Client IO Server".
    On the OPC Server side it seems that the every write commands comes like one item at time, not like grouped.
    Now I have tested this with the NI OPC Server as server and KepServer and LabVIEW DSC IO Server as OPC Clients.
    When I use the NI OPC Server : OPC Diagnostics there are different events messages when the update request comes from KepServer or LabVIEW DSC.
    There are log files on attachements for both write events.
    Attachments:
    Data from the KepServer.txt ‏6 KB
    Data from the LabVIEW DSC OPC Client.txt ‏18 KB

    Hello Pentsi,
    I have received confirmation (from the PSE in the US) that DSC doesn't support group writes
    There however work-arounds that might provide a solution:
    - The first solution I had in mind was like this. Update the 50 OPC items as fast as possible.
    Then use a 51st item as synchronization OPC item to check/indicate if new data has arrived/has been set/is available.
    So LabVIEW sets 50 OPC values as fast as possible. The 51st value becomes goes from false to true when the first 50 values are written.
    When this (51st) value is true on the OPC server you can read out the first 50 values (from the non-LabVIEW side). When you've read out these values, then you can set the 51st value back to false (from the non-LabVIEW side).
    In the meanwhile at the LabVIEW side you wait until the 51st value goes back from true to false.
    When it becomes false, then you write again those 50 values and afterwards set the 51st synchronization value from false to true.
    And this keeps on going...
    Note: Keep in mind that you only have to monitor one event at the side of the Automation System OPC Server in this case (the 51st) and based on an event occuring over there you can just do a group read of the 50 others. Also keep in mind that the maximum rate (6500 updates per second) from inside LabVIEW with the DSC Module OPC client I/O server was also mentioned in this document (http://digital.ni.com/public.nsf/allkb/63C043359F1​E12538625726E005BCD0C?OpenDocument).
    Could this be a possible solution for your problem?
    If you're using one of the OPC servers in this list (http://zone.ni.com/devzone/cda/tut/p/id/6417#toc19), then you can also use NI OPC Servers to update tags instead, which supports a faster update rate.
    Kind Regards,
    Thierry C - Applications Engineering Specialist Northern European Region - National Instruments
    CLD, CTA
    If someone helped you, let them know. Mark as solved and/or give a kudo.

  • LabVIEW DSC 2011 / OPC Client IO Server / Write by OPC Group...

    Hi
    I am using LabVIEW DSC module as a OPC client. My Shared Variables are binded to automation system OPC Server via "OPC Client IO Server".
    On the OPC Server side it seems that the every write commands comes like one item at time, not like grouped.
    Now I have tested this with the NI OPC Server as server and KepServer and LabVIEW DSC IO Server as OPC Clients.
    When I use the NI OPC Server : OPC Diagnostics there are different events messages when the update request comes from KepServer or LabVIEW DSC.
    There are log files on attachements for both write events.
    Attachments:
    Data from the KepServer.txt ‏6 KB
    Data from the LabVIEW DSC OPC Client.txt ‏18 KB

    Hello Pentsi,
    I have received confirmation (from the PSE in the US) that DSC doesn't support group writes
    There however work-arounds that might provide a solution:
    - The first solution I had in mind was like this. Update the 50 OPC items as fast as possible.
    Then use a 51st item as synchronization OPC item to check/indicate if new data has arrived/has been set/is available.
    So LabVIEW sets 50 OPC values as fast as possible. The 51st value becomes goes from false to true when the first 50 values are written.
    When this (51st) value is true on the OPC server you can read out the first 50 values (from the non-LabVIEW side). When you've read out these values, then you can set the 51st value back to false (from the non-LabVIEW side).
    In the meanwhile at the LabVIEW side you wait until the 51st value goes back from true to false.
    When it becomes false, then you write again those 50 values and afterwards set the 51st synchronization value from false to true.
    And this keeps on going...
    Note: Keep in mind that you only have to monitor one event at the side of the Automation System OPC Server in this case (the 51st) and based on an event occuring over there you can just do a group read of the 50 others. Also keep in mind that the maximum rate (6500 updates per second) from inside LabVIEW with the DSC Module OPC client I/O server was also mentioned in this document (http://digital.ni.com/public.nsf/allkb/63C043359F1​E12538625726E005BCD0C?OpenDocument).
    Could this be a possible solution for your problem?
    If you're using one of the OPC servers in this list (http://zone.ni.com/devzone/cda/tut/p/id/6417#toc19), then you can also use NI OPC Servers to update tags instead, which supports a faster update rate.
    Kind Regards,
    Thierry C - Applications Engineering Specialist Northern European Region - National Instruments
    CLD, CTA
    If someone helped you, let them know. Mark as solved and/or give a kudo.

  • Response time between LabVIEW w/DSC module and RSLinx OPC server hosting FlexLogix PLC tags too long

    We are experiencing communication response time delays between LabVIEW with DSC module and RsLinx OPC Server hosting all FlexLogix PLC tags (around 500-600 tags).
    The nominal response time for the system watchdog is < 500ms, but we occasionally have spikes of up to 1.5 seconds once every few days even when the system is idling.
    Changing more than six PLC connected shared variables at the same time from LabVIEW also causes the watchdog response times to spike above 500ms.
    Our watchdog is programmed so that LabVIEW toggles the watchdog bit to 1 as soon the shared variable event detects that the PLC has toggled it to 0. The PLC, however, waits 300 ms until it toggles it.
    Our system:
    Windows XP SP3
    LabVIEW 9 F3
    RSLinx Opc Server v2.54
    Allen Bradley FlexLogix PLC

    What is your update rate set for in the RSLink OPC server?
    You aren't toggling the same flag from both ends are you?
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Interfacing PLC siemens S7_300 and LabVIEW DSC using siemens OPC server

    Does anyone already interface Siemens PLC S7_315-2-DP with LabVIEW DSC using Siemens OPC server?
    Is that a good solution? Are there any hidden problems?

    The use of an OPC Server is the way to go when dealing with LV. If you already have Siemens OPC Server then use that. Otherwise, NI has a product called IA Severs/Lookout Protocol Drivers (LPD), which has a large selection of drivers for PLC's. After configuring the driver, LPD is the OPC Server for the device.

  • Documentation on How to Develop an OPC Client Using LabWindows/CVI?

    What documentation is there on how to develop an OPC client application using LabWindows/CVI?  What tutorials, if any, are there?  What reference manuals, if any are there?
    I am completely new to LabWindows/CVI.  I will be starting soon with the tutorial, "Getting Started with LabWindows/CVI".  However, our application needs to communicate with an RSLinx OPC Server.  Any documentaiton on how to learn to do this would be very much appreciated.

    http://www.ni.com/white-paper/4626/en/  Just did a quick google and this came up, Labwindows CVI and Labview are quite different but I usually look at Labview examples then try take the general idea from the example and apply it in CVI, hope this helps

  • OPC Client Problem

    Hi
    I am having problem in configuring opc client. The way I configure OPC Client is given below
    Create a New Project
    Creat a New OPC Client I/O Server.
    Select the appropriate server from the list.
    OPC Server will be created.
    Right click on OPC Server and select Deploy all.
    Right click and then select create bound variables.
    I have tried this procedure but no success. Once I managed to view the Tag names of Channels present on the server but values were never transported to opc client from the server.
    I have also tried distributed System Managment for the removal of variables before creating any new opc server.
    Moreover OPC QuickClient works perfect which shows that OPC Server is right. So now there are some settings in Labview. PLease help me out in solving this problem. Have a look in the attachment picture.
    Thanks
    Attachments:
    1.jpg ‏67 KB

    Hi Ryan,
    That OPC server is dongle protected having no evaluation version. I have attaced a picture in this reply running OPC Free Client in background AND LABVIEW running at front. You will notice that Free OPC Client  shows good signal quality and Labview showing error.
    OPC Free client is shiped by NI.
    Attachments:
    OPC.JPG ‏166 KB

  • Connection with OPC client

    Hi,
    I would like to access to my shared variables using an OPC client. (a free software called powerOPC or any other one)
    When I use it locally, everything goes well, I can access my shared variables, but when I try to access from a distantr PC, I cannot connect and get some errors. I've tried to open port 135 on the firewall, I've read the following post: http://forums.ni.com/t5/LabVIEW/opc-dcom-access-denied/m-p/822246/highlight/true#M373884
    But I still can't access my variables.
    The NI Distributed System Manager can access to the distant shared variables, so I don't know what's wrong with other clients.
    Does anyone knows how to do?
    Both PC are running win 7, one is 32 the other 64bit.
    LV2011
    Regards

    Hi toto26,
    thank you for using National Instruments discussion forum.
    Could you detail the way you use to communicate with your OPC server thanks share variable? Are you using datasocket like in this document or are you using DSC ?
    Could you tell us more about the errors you get? Have you already seen this KB document and its first related link?
    Thank you in advance
    Regards,
    Audrey_P
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Journées techniques : des fondamentaux aux dernières technologies pour la mesure et le contrôle/comm...

Maybe you are looking for