OPC SERVER

Hi.
Because when I do an OPC server and I want to link the variables I get a message"Program stopped working" and closes all
I hope your help and thank you very much.

Are you using "Windows Server editions"??
Thanks as kudos only

Similar Messages

  • How to read enumerated values from an OPC server via Datasocket

    Hi Labviewers,
    I am using LV8.2 and I am trying to find if it is possible to read enumerations from an OPC server via Datasocket, not just the values.
    I can successfully read a value for an OPC server via Datasocket and I get a value for example 3, is it possible to get the enumeration/string that corresponds to this value i.e. "Open".
    Many thanks in advance
    Dimitris

    Hi Sarah,
    With the input type as variant I get the following response:
    1                                     <-This is the current numeric value of the parameter
    4 Attribute(s):
       'Quality' -> 192
       'TimeHigh' -> 29861723
       'TimeLow' -> -665408304
       'Timestamp' -> 39.238E+3
    With the Input set to         Enum constant I get no values or strings coming back. With the Input set to                Ring constant I just get the numeric value   
    Dimitris   

  • Problems using Modbus TCP accessed by NI OPC Server

    Hi there,
    i'm using NI OPC-Server to access a measurement module. The buildup is quite easy, my system with NI OPC, a modbus gate and there the module connected with RS485.
    There's a thermocouple to provide me some sample data.
    But there's the point. I know, my data is in the Holding Registers and I can access them, but every data type I'm trying doesn't bring my my data out, just any other (sometimes Huge with e34, sometimes very small like e-13...) sorts, i can't understand.
    The type provided by the module should be single precision.
    In Lookout the address used to be is 41000 in Labview it's just 999 and in the "target" OPC-Server I get some values at 401000 but not useful.
    I also get the same results accessing 301000 in different types.
    Read/Write or Read Only is equal.
    I've tried to tell my OPC that the values are Strings, Floats, Words, BCD and all other possible ways OPC offers me, but nothing results in a usable temperature.
    I hope I missed something and you could suggest it.
    Cateros
    Solved!
    Go to Solution.

    Thanks for your reply.
    in LabVIEW I'm using the provided Modbus Libraries. If I unbundle the Holding registers, my value appears at Holding Register [0], I'm type casting it to single and get the sample temperature. (Address 999->unbundle->typecast->value)
    In NI OPC, I'm reading ( [depends on zero based addressing]  300999/301000 equal to 400999/401000) an already typecasted Holding Register [1] compared to LabVIEW (and the value changes in the second or third digit behind the comma and they are changing at the same time). Data type in the tag is float.
     Another disturbing thing is even if I change in the options "using zero-based addressing in registers" my value does not change.
    If I'm reading two addresses close to each other (as you mentioned 401000-401001) I'm getting an unknown data type and no results. How do I read multiple addresses without such errors? And how do I specify a special register to read?
    Scaling should not be the problem, I am having three ways to get my value (FTP-Server on the gate (just a *.dat file with correct type), software the the module manufacturer (while measuring and configuring the module) and LabVIEW(as can be seen above)) .
    Sadly, I have not found any useable modbus documentation about the module (just it can use modbus, you have the registers, you could read/write and fine)
    When I'm adding a second couple to the module, in LabVIEW Values in Holding Register [2] and Holding Register [3] appear and are changing.
    Cateros

  • Help Needed in establishing connection between Kepware OPC server and UDS 4

    Hi All,
    I am in the process of establishing connection between Kepware OPC server and UDS 4.0,
    Can anyone guide me through the process of configuring UDS 4.0 to establish conection with the Kepware.
    Any standard documentation on UDS 4.0 will be of great help.
    Thanks in advance,
    Shyam

    HI Rajesh,
    I am creating OPC DA instance and when i try to browse for the OPC servers available in the machine, the list is blank. i am not able to view any OPC servers.
    Actuallt the Kepware OPC server and UDS are installed in the same machine.
    Can you plz through some ligh on this
    Regards,
    SHyam

  • How can I write to an OPC Server?

    Hello!
    I was busy a few days with LabVIEW 8 to finish a special task, but now I've got problems to solve the following problem:
    I have an OPC connection between a frequency converter and LabVIEW 8. With the example vi's I get the data out of the OPC Server (revolutions per minute).
    So I can read data out of the OPC Server, but how can I write? I want to write several voltage values to the OPC Server that the frequency converter gets the required revolutions per minute.
    Have you got any ideas? Are there existing example vi's to write data to an OPC Server?
    Best regards and Thanks in advance!

    So here it is - a little bit modified, but you should get the idea out of it.
    If you have questions, I'll try to answer them .
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...
    Attachments:
    IOControl.llb ‏168 KB

  • How can I write to a Siemens S7-300 PLC tag from OPC Server.vbai page by using a Knob object ?

    I am using NI OPC Server and I can read Siemens S7-300 PLC tags such as thermocouple values from the PLC. Additonally I can write manually a constant value to that tag by selecting it in the NI Distributed System Manager. And I can read the written value from NI Distributed System Manager or from NI OPC Server. But I can not write any value to the S7300 PLC tags such as by using a knob object at the NI Vision Builder AI Inpection (.vbai) page.
    Any help is welcomed. Thanks in advance.
    Attachments:
    manual_writing_to_plc.png ‏298 KB

    The tutorial at the following location explains how to use Vision Builder AI as a OPC server.
    https://decibel.ni.com/content/docs/DOC-18647
    http://www.ni.com/white-paper/13574/en
    To allow VBAI to connect to an OPC Server (i.e. act as an OPC client), you need to purchase and install the DSC Run-time System.
    Once installed, you can create an OPC I/O client using the Distributed System Manager, create variables bound to OPC tags, then create VBAI network variables that are bound to these variables.
    Another possible technical solution to connect to OPC Servers supporting Data Access 2.0 is to use the datasocket API in a Run LabVIEW step.
    http://forums.ni.com/t5/Machine-Vision/Read-and-Write-with-OPC-through-NI-Vision/m-p/2048278/highlig...
    Hope this helps.
    -Christophe

  • How do I browse an OPC Server's Namespace with Teststand ActiveX Steps?

    Hello
    I use Teststand as the client of an OPC Connection. At the Moment I'm trying to realize an browse funktionality by using the "OPC Automation 2.0" automation server in the
    ActiveX adapter.
    What I can create is the OPCBrowse object by using the "CreateBrowser" method. But then there's no method to browse the OPC server's namespace for the ItemID's.
    Does someone have an idea how I can go on further?
    thx, Michael   

    For your information, there is a new TestStand Add-on "OPC DA Connect" which adds a StepType Palette dedicated to OPC Data Access.
    You can configure each step by browsing the OPC servers on your network and browsing variables within these servers.
    The browsing functionnality that you where looking for as been implemented in this toolkit.
    Hoping this helps.
    Jean-Louis SCHRICKE
    ├ CTA - Certified TestStand Architect (2008 & 2010 & 2014)
    ├ CTD - Certified TestStand Developer (2004 & 2007)
    └ CLD - Certified LabVIEW Developer (2003 & 2005)

  • How to understand the Error message of the connection of OPC server

    hi guys, one issue need your help
    when I run the NI OPC servers, one error message will appear in the process information.
    Just like as followed:
    ==================================================​=========================
    2011-6-23   11:50:05   Default User   NI OPC Servers   Stopping Simulator device driver.
    2011-6-23   11:50:05   Default User   NI OPC Servers   Closing project D:\National Instruments\Shared\NI OPC Servers\projects\simdemo.opf
    2011-6-23   11:50:25   Default User   NI OPC Servers   NI OPC Servers
    2011-6-23   11:50:25   Default User   NI OPC Servers   Unable to load driver DLL 'D:\National Instruments\Shared\NI OPC Servers\drivers\dataforth_isolynx_u.dll'
    more messages
    ==================================================​===========================
    how to understand "2011-6-23   11:50:25   Default User   NI OPC Servers   Unable to load driver DLL 'D:\National Instruments\Shared\NI OPC Servers\drivers\dataforth_isolynx_u.dll'??????
    Thanks

    Hi!
    I have the same problem when opening the OPC Server.
    Unfortunately I have no solution, but I think it has something to do with incorrect Certificates and is more of a Windows Problem.
    If anybody can help, please let us know!
    Best Regards
    Martin

  • 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

  • Shared Variable Engine OPC Server & Matrikon OPC Explorer

    Hello All
    I have a shared variable Engine OPC server running on my IPC. I am querying NI OPC Server through Matrikon OPC Client. My situation is if shared variable engine process is switched forcefully off (NI DSM) or communication between server and client is lost then client is crashing which is quite obvious. But the problem is if Server is Up again then the client is not connecting to server automatically.
    First of all is it  possible, that if server is up again then it will try to send some signals to the priviously connected clients ? If yes then do i have to make changes in shared variable engine properties ? How i can do this ?
    I hope you all will understand my problem, if not please post you doubts. I will try to clear my points.
    Thanks & Regrad´s
    Varun Garg

    Hi, just now I face a similar problem. When clients restart connection, the variable engine crash, for now the only way founded is restart the program programmatically, but I'm interested in how fix that.

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

  • OPC Server for Labview/PXI-RT

    Hi all,
    can i access Labview on a PC/WinXP or a PXI/RT System  with a
    OPC-Client (eg.:WinCC/Siemens) like a Compact Fieldpoint over the NI
    OPC Server (NationalInstruments.OPCFieldPoint). Exist a OPC-Server for
    Labview/PC/PXI?
    Thanks
    Achim

    Here you can find information concerning this issus:
    http://digital.ni.com/public.nsf/websearch/CC9CDD577F041786862572120061EB5A?OpenDocument
    Hope this helps!

  • 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

  • OPC Server PLC

    Hallo,
    I am doing right now the tutorial from NI " Connect LabVIEW to Any PLC Using OPC". And the first capital was everything richt, "View Existing PLC Tags with NI OPC Servers 2012".
    But in the second capital "Connect LabVIEW to OPC Tags by Creating an I/O Server" I can't get the picture as the 4. step "Select OPC Client in the Create New I/O Server Window and click Continue. ".
    The problem is, there is no option for "National Instruments.NIOPCServers.V5" to choose by me. How can I get the pic as the tutorial?? Why I can't get the "configure OPC Client I/O setup" menu??
    My system:
    LV 2012,  Win7, 
    Does somebody know the problem?? 
    Thanks a lot!
    Cabio

    But I think my OPC Server is running, the tool OPC Quick Client can connect to server "National Instruments.NIOPCServers.V5", it is also showed in the Pic.
    And I have fund a VI "C:\Program Files (x86)\National Instruments\LabVIEW 2011\vi.lib\variable\tagger\opcClient\GetOPCServerList.vi", this VI can find the "National Instruments.NIOPCServers.V5". But NI-DSM cant find it.
    I am confused~~~
    Attachments:
    OPC_Quick_Client_2014-01-21_14-58-00.jpg ‏342 KB
    GetOPCServerList_VI _2014-01-21_15-45-33.jpg ‏45 KB

  • OPC-Server + ActiveX

    Hi! I'm trying to communicate with some hardware via OPC and datasocket. The
    problem is the great and variing number of the channels for the data
    acquisition (400-1500 channels!). So I decided to automatize the "Browse to
    OPC item.vi" via ActiveX with every single item written into an array with
    its specific properties like datatyp, access right, OPC-URL and so on. For
    better understanding: Similar to the "List directory.vi" I want to analyse
    how many OPC-Server ("harddisks") at the local PC do exist, how many groups
    (directories) they contain, how many subgroups (subdirectories) there are
    and what kind of items (files) they contain. Additionally, I want to get
    some information of them and I want to build an array where all informati
    on
    (path, properties...) is stored in. I succeeded in displaying a string array
    with the installed OPC-servers, but that's all. Puuh, hard staff. I hope
    somebody can help me.

    For your information, there is a new TestStand Add-on "OPC DA Connect" which adds a StepType Palette dedicated to OPC Data Access.
    You can configure each step by browsing the OPC servers on your network and browsing variables within these servers.
    The browsing functionnality that you where looking for as been implemented in this toolkit.
    Hoping this helps.
    Jean-Louis SCHRICKE
    ├ CTA - Certified TestStand Architect (2008 & 2010 & 2014)
    ├ CTD - Certified TestStand Developer (2004 & 2007)
    └ CLD - Certified LabVIEW Developer (2003 & 2005)

Maybe you are looking for

  • Ip printing and drivers

    Hello. I've got a Macbook, an ADSL router/print manager and a Canon Pixima ip5200. I've installed the driver and the printer works via the USB port. My problem is that I cannot select the correct driver when I try and set it up to work via the router

  • Style won't apply to text in Preview or Publish

    I set up a character style to apply to section titles in my topics. The style is included in the .css file with the appropriate attributes. On the WYSIWYG pane, all appears perfect, but on the preview and after I publish, the style is gone. I checked

  • NO LOV Appears for Invoice Formats in Projects Templates

    Dear Friends, Have any of you faced a situation where though Labor and Non-Labor Invoice Formats have been defined in Projects and records exist in PA_INVOICE_FORMATS table, the LOV does on Project Templates window shows no entries. In case you could

  • JTable question regarding Index/ID's from a VB guy

    Greets! So i am coming from VB6 where i use an ActiveX object table to display data from a SQL database table. When populating the table i include the 'ID' field from the database table as a hidden column. So when a user selects a row, i pull the hid

  • Editing .txt files inside flash

    Right now, I have it set up so that each button on my flash will open up a .txt file. I want to have it set up so that the user can not only read the txt file but edit it and save it to the original .txt file. My current code looks like this: dMemo.a