Configuration serveur OPC

Bonjour
Je travaille avec la version 8.5 de labVIEW et j'ai à ma disposition le NI OPC Servers 2009.
Je souhaite réaliser une application OPC distante c'est à dire avoir mon application LabVIEW sur un poste (PC1) et mon serveur OPC sur un autre poste (PC2). L'application Labview doit envoyer les données sur le PC2. La communication entre les deux PC est de l'Ethernet, et j'utilise les datasocket de Labview pour me connecter au serveur OPC.
Avec l'application labview en pièces jointes, j'arrive a voir mon serveur OPC distant (sur le PC2).
Mais je n'arrive pas à configurer le server OPC. Je n'arrive pas à céer des items sur le serveur.
Lors de la configuration du serveur on doit choisir une "channel". Mais je ne sais pas quelle option choisir pour pouvoir me connecter à LabVIEW. J'ai essayé avec la channel "OPC DA client driver mais je n'arrive pas à me connecter à LabVIEW.
J'attends votre aide avec impatience
Merci
Damien
Damien
Attachments:
comm avec =S=.vi ‏18 KB

Bonjour,
Voici différents liens qui devraient vous aider pour vous connecter au server OPC depuis LabVIEW:
NI-DAQ OPC Server Troubleshooting Wizard Home
http://zone.ni.com/devzone/cda/tut/p/id/3692
Accessing Remote OPC Server Using DataSocket
http://zone.ni.com/devzone/cda/tut/p/id/2972
Connecting LabVIEW to an OPC Server Using Front Panel DataSocket
http://zone.ni.com/devzone/cda/tut/p/id/3980
Connecting LabVIEW to an OPC Server through a DataSocket Connection
http://zone.ni.com/devzone/cda/tut/p/id/3978
Connect LabVIEW to Any PLC Using OPC
http://zone.ni.com/devzone/cda/tut/p/id/7450
How Do I Connect to an OPC Server Using DataSocket?
http://digital.ni.com/public.nsf/allkb/F92C1F2F7B35105B86256DB200628B24?OpenDocument
Cordialement,
Thomas B. | CLAD
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;}
>> Inscrivez-vous gratuitement aux Journées Techniques : de l'acquisition de données au contrôle/com...

Similar Messages

  • How to setup and configure NI OPC Server to OMRON PLC (CJ2H model) using FINS Ethernet communication protocol?

    Hi,
    Could someone help me in the setup and configuration of NI OPC server to OMRON PLC (CJ2H model) using FINS Ethernet communication protocol? I already read some materials available in the web but it uses a different PLC and communication protocol. The OPC server is installed in my laptop and I'm using Windows 8 as my OS. I used a cross over RJ45 LAN cable and connected to the ETN21 module of the PLC. I was able to confirmed the communication of my laptop and PLC by pinging the ip address of the ETN21. I also tried to configure the OPC server based on the documents I just read online. I created a channel, device and tag to the OPC server. By the way, I just need to read the data from the tag I created. Can someone also tell me how to monitor the data on the tag? I hope that you could help me. Thank you in advance. 

    Good day,
    Try following the instructions on the driver’s help, take a look at the attach picture. It should be a good starting point. After the PLC is configured you can use this tutorial (Connect LabVIEW to Any PLC Using OPC » http://www.ni.com/white-paper/7450/en/) for a guide on how to monitor the tags.
    I hope this helps
    Alejandro | Academic Program Engineer | National Instruments
    Attachments:
    OPC Server Help.JPG ‏237 KB

  • Evénement déclenché par une variable connectée par Datasocket à un serveur OPC

    Bonjour,
    J'utilise un serveur OPC pour lire et écrire des variables sur un automate. J'ai essayé de connecter les variables directement avec un connexion Datasocket et d'utiliser les VI en exemple. Dans les deux cas, les ressources de mon PC augmentent et les temps de réponse sont assez longs.
    Dans mon application, j'ai besoin d'"attendre" une valeur particulière d'une variable automate. Je voudrais donc dans un premier temps, vérifier que la variable n'est pas à la valeur souhaitée et si ce n'est pas le cas, avoir un événement qui se déclenche au changement de valeur de cette variable. Cette méthode de programmation fonctionne lorsque la connexion de la variable locale n'est pas activée, mais pas avec la connexion Datasocket.
    Est-ce normal? Y-at-il un moyen pour que ce soit le serveur qui informe le client Labview que la variable a changé d'état?
    Cécile

    Bonjour Cécile !
    Et bienvenue sur ce Forum ...francais
    Je ne vous apporterai pas d'élément complet de réponse car je n'ai jamais utilisé de process DATASOCKET .
    Cependant je pense pouvoir vous aider lorsque , je vous cite :
    "Dans les deux cas, les ressources de mon PC augmentent et les temps de réponse sont assez longs. "
    Je pense que vous utilisez des boucles contenant des tableaux ou des variables locales et pire encore ,pour l'espace mémoire, des fonctions concaténation, des fonctions de modification de tableau etc...
    En effet contrairement à certains languages de programmation utilisant des boucles (presque tous maintenant) Labview génére à chaque itération de boucle une allocation mémoire (différente si ce n'est pas le premier appel ) lors d'une lecture ou écriture de variable locale (imaginez alors si c'est un tableau de clusteur par ex...) l'utilisation mémoire augmente alors à chaque lecture ecriture des variables...
    Utilisez un registre à décalage (click droit sur la boucle for ou while) pour que votre variable soit transmise à la prochaine itération (même en arretant Labview, vous pouvez utiliser les valeurs précédents l'arret !) et ne soit plus réallouer à chaque itération
    vous pouvez avoir plus de détails en lisant l'Application note suivante...
    Labview Performance and Memory Management
    et un sujet (en anglais) qui définit bien la différence et le fonctionnement des variables
    locales et noeuds de propriété
    que vous pourrez retrouver dans le répertoire manuals de LAbview...n'oubliez pas de préciser à chaque sujet votre config et des infos précises sur votre problème , le monde des sytèmes electronique - informatique et vaste et varié...
    CordialemntMessage Edité par Ecosmose_CNRS le 05-26-2005 06:13 PM
    Julien
    Conception Informatique et électronique
    CNRS LCSR Web
    Orléans la Source FRANCE

  • Create and configure an OPC IO server programatically in LV 2010

    Can I create and configure an OPC IP server programatically using LabVIEW 2010?  Currently I create a process (using code) then wire the process name to the LV express VI to create an IO server that I have manually set the attributes for.  Then I can create my shared variables and bind them to the OPC items.  I would like to eliminate the manual configuration of the attributes to give my VI greater flexibility.  Is this possible in LabVIEW 2010?
    Thanks in advance,
    AJL

    Hi mani.siet.eng,
    You can write data to OPC tags using LabVIEW. There are multiple ways to do this such as binding shared variables (which you can create programmatically) to the tags or by using DataSockets. Information on how to use OPC in LabVIEW can be found in this KnowledgeBase article.
    If you have any more specific questions, I would recommend creating a new thread since the last activity on this one was over three years ago.
    Best Regards,
    Matthew B.
    Applications Engineer
    National Instruments

  • Kepware Server OPC

    Bonjour,
    au sein de notre établissement (IUT) nous souhaitons mettre en place un serveur OPC pour réaliser une supervision globale du batiment (GTC + Supervision de systèmes de prod automatisés) à l'aide de LabVIEW. Nous avons acheté le Serveur OPC Kepware (KEPServer V5).
    Le serveur OPC est installé sur notre "serveur de manip" appartenant à un VLAN de classe 3. Lorsque j'essaye de créer un client OPC (appartenant au même VLAN) sous labview en suivant cette procédure : http://www.kepware.com/Support_Center/SupportDocum​ents/KTSM00032_LabVIEW_Connectivity_Guide.pdf , tout se passe bien jusqu'à l'étape 3.2.2 lorsque j'interroge les variables liées leur valeur reste à 0 en permanence.
    Pour m'assurer que le paramétrage du  serveur OPC était OK j'ai interrogé le serveur OPC KEPserver grace à l'OPC Quick Client (sur un PC client du même du VLAN) et là les données interrogées sont bien actualisées... Donc à priori la config DCOM+pare feu est bonne.
    Que dois je faire ?
    Config Server :
    Windows server 2008
    Labview 2010SP1 + Module DSC
    OPC KEPServer V5
    Config client :
    Windows 7 Pro
    Labview 2010SP1 + Module DSC
    Merci d'avance pour vos réponses.

    Bonjour,
    Je vais vous fournir une quantité d'information qui devrait être capable de vous aider.
    Je ne suis pas sur que tous les liens vous soit utiles, néanmoins ils devraient vous apporter des éléments de réponses.
    Vous trouverez les liens ci dessous :
    1) How Do I Configure My Windows Firewall to Allow OPC Server Communication?
    http://digital.ni.com/public.nsf/allkb/8FB44A1162D​E1B5F862574440072CF0B
    2) How Can I Connect to Remote OPC Servers from LabVIEW Using DataSockets or an OPC Client?
    http://digital.ni.com/public.nsf/allkb/86256753000​5F09C862567660047D840?OpenDocument
    3) Using OPC Client I/O Servers (DSC Module)
    http://zone.ni.com/reference/en-XX/help/371618F-01​/lvdscconcepts/access_opc_servers/
    4) Setting Proper Access for Remote OPC Server When Using National Instruments OPC Clients
    http://digital.ni.com/public.nsf/allkb/5C8A90CD57B​279F286256C2C006F1EB4?OpenDocument
    5) Why Can't LabVIEW DSC Connect to My OPC Server When Server Explorer and DataSocket Can?
    http://digital.ni.com/public.nsf/allkb/9D1690C5B1C​E1D25862572FA0053150D?OpenDocument
    6) What Tools are Available for Debugging NI OPC Servers with DSC and DataSockets?
    http://digital.ni.com/public.nsf/allkb/DB0594FAB81​229818625756400018D37?OpenDocument
    7) How do I Connect to The LabVIEW OPC UA Server VIs Using OPC Quick Client?
    http://digital.ni.com/public.nsf/allkb/26767EBA64F​112AF862579E9004BD679?OpenDocument
    8) Connect LabVIEW to Any PLC Using OPC
    http://www.ni.com/white-paper/7450/en/
    + Quelques liens que j'ai trouvé sur le même sujet qui pourrait être également intéressant :
    => http://www.automatedsolutions.com/technotes/opcser​verconnectivity/Default.asp#DCOM%20Step%201
    => Unable to Connect with Remote OPC Client to KEPServerEX
    http://www.kepware.com/KEP_KB/?solution=/_ui/selfs​ervice/pkb/PublicKnowledgeSolution/d?&id=501400000​...
    => http://www.kepware.com/KEP_KB/?solution=/_ui/selfs​ervice/pkb/PublicKnowledgeSolution/d?&id=501400000​...
    => http://www.automation.com/pdf_articles/Troubleshoo​ting_OPC_and_DCOM.pdf
    Je vous souhaite une bonne journée,
    Cordialement,
    Matthieu RICORD
    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;}
    Été de LabVIEW 2014
    12 présentations en ligne, du 30 juin au 18 juillet

  • Probleme LabVIEW - module DSC / OPC

    Bonjour,
    j'utilise LabVIEW 2010 avec son module DSC.
    Et je souhaite accéder à des variables OPC en Lecture et Ecriture depuis une application labVIEW.
    Le serveur OPC que j'utilise fonctionne correctement (j'ai également fait le test avec le serveur de NI, mais le resultat est identique). Je peux lire et ecrire des variables avec 'OPC Quick Client'
    J'ai configuré la connexion DCOM avec une "identité" : 'Utilisateur interactif'
    Cependant depuis le projet LabVIEW, la creation des variables partagees ne fonctionne pas (Create Bound Variables) (cf. piece jointe)
    J'ai suivi la note : Connect to Any PLC using OPC (lien : http://zone.ni.com/devzone/cda/tut/p/id/7450)
    ? Est-ce que quelqu'un a deja rencontré ce probleme et surtout trouvé une solution ?!?!?!???
    Dans l'attente et en vous remerciant d'avance pour votre aide
    <Nicolas>
    Attachments:
    CreateBoundVariables.JPG ‏40 KB

    Hello,
    J’ai trouvé une solution mais est-ce la bonne ?!? en tout cas, elle fonctionne.
    J’ai préalablement ‘configuré’ le gestionnaire de système distribué (accessible à partir du menu : Tools \ Distributed System Manager) :
    - Je crée/J'ajoute un nouveau Processus à "Mes systèmes \ local Host \" , nommé OPC (avec les paramètres par défaut)
    - J’ajoute à ce processus un serveur d’E/S
    - Je configure ce serveur pour qu’il accède à mon serveur OPC avec les paramètres qui vont bien.
    - Et j’accède aux Items …
    ( Ce processus apparaît également sur les éléments du réseau )
    - J’enregistre tout ça... je ferme ... et je reviens au projet
    Donc ensuite, depuis le projet, je suis la procédure Connect to Any PLC using OPC
    (lien : http://zone.ni.com/devzone/cda/tut/p/id/7450
    Il faut alors juste préciser dans la fenêtre de configuration "Create Bound Variables" :
              Browse source = Network Items
    Et ensuite je peux sélectionner des variables partagées, (des items de mon serveur OPC) en naviguant dans son arborescence.
    La note de Thomas B. décrite ci dessus fonctionne très bien, mais nécessite également (dans mon cas) la configuration du gestionnaire de système distribué.
    <NBA>

  • Reading arrays of double from S7 with OPC & Datasocket

    Hi friends:
    We are developing an application with a S7-315-2DP PLC and a PC with a PCI1500PFB. We use the OPC server from Applicom. We read the data very quickly with the datasocket (arrays of boolean, arrays of doubles ...and so on, and a very big amount of data over 100 ms) but when we try to write arrays datasocket faield and we have to write item on item and the speed decrease. For intance, if we try to write doubles ( 50 items) the refresh period is over 5 seconds ( some times more since we launch the data and we read the same data on the PC). Perhaps we failed configuring the OPC but there isn´t many things to configure, perhaps the problem is the board configuration .. I don´t know.
    We
    try to find some examples that write an array of doubles on one time but..
    Thank you for yours answers.
    Javi

    Hi Javi,
    I'm not aware of any known issues writing to the Applicom OPC server. In LabVIEW there isn't anything special you need to configure to be able to write arrays of doubles through DataSocket. You can test this by using the DataSocket Server Manager, make a new member that is an array of doubles, and try reading and writing to that member. You may also want to check to make sure the data member the OPC server is expecting is an arry of doubles and not an array of singles or integers.

  • PCO 2.2 - OPC and IP21

    Hi,
      We are looking at connecting to IP21 via PCO OPC DA connector.
      Can PCo only poll the IP21 OPC server for eventing or can one set up the IP21 OPC server to advise PCO on data changes for
      eventing purposes ?
    Also what is required on the server where PCo is installed to enable OPC connectivity, for browsing the IP21 we have established that you need the following dlls in the PCo system directory :
    cimsrvapi.dll
    CimWin32Util.dll
    infoplus21_api.dll
    ip21admin_client.dll
    ip21ezrpcw32.dll
    ip21winrpc32.dll
    libc21.dll
    PCo is running on Windows server 2008 R2 and the IP21 is not on the same box.
    thanks

    Hi ,
        I got it working to be able to get the notification working. Although one still cannot browse the IP21 tags, and all tags are still shown as a name space.
    a. I installed the Matricon IP21 OPC server on the same box as IP21 Historian.
    b. I connected to the IP21 server and configured new aliases in the Matricon IP21 OPC server to look at the IP21 tags
    c. I then configured PCo OPC DA agent to look at the Matricon IP21 OPC server and got the subscriptions to work, and PCo can browse the MAtricon IP21 OPC server tags that I configured , so the browsing seems to work via this OPC server
    d. Then I tried to fire up the OPC DA agent in PCo that I previously configured to look at the Aspentech IP21 OPC server, and the configuration now started to work (still can't browse the tags)
    e. I uninstalled the Matricon IP21 OPC server and the configuration in step d. still worked.
    So the conclusion is that the Matricon IP21 OPC server did some sort of a configuration that made the orginal configuration functional, this however now leaves me the question of what did this driver do to get things working.
    Now I sit with a new challenge I have PCo installed on a seperate server and in a different domain as the IP21 OPC server.
    What I have so far
    1. The Same local user on both the PCo box and the IP21 OPC server with Admin rights
    2. I can see the IP21 OPC server from the PCo box and access it
    But the issue is as soon as I fire up the Agent to run  it fails to start with the following error:
    ConnectivityAgentProxy|"The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
    Below is the PCo Log file:
    Date Time| Machine| Thread ID| Process ID| Process Name| Event Type| Source| Message| Stack Trace
    2012/02/24 04:12:01 PM|.|8|7888|IP21_OPC_DA|Information|AgentBase|Start ignored.  Agent state = Faulted|""
    2012/02/24 04:12:01 PM|.|6|7888|IP21_OPC_DA|Information|Host|WCF service is started.|""
    2012/02/24 04:12:01 PM|.|6|7888|IP21_OPC_DA|Error|Host|failed to create ConnectivityAgentProxy|"The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.   Server stack trace:     at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)    at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)    at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)   Exception rethrown at [0]:     at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)    at SAP.Manufacturing.Connectivity.IPCoAgentControl.Start()    at SAP.Manufacturing.Connectivity.ConnectivityAgentProxy.Start()    at SAP.Manufacturing.Connectivity.WcfHost.Start()"
    2012/02/24 04:12:01 PM|.|8|7888|IP21_OPC_DA|Error|ServiceFaultManager|Manufacturing Fault: REASON = The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly. ; SEVERITY = Fatal|""
    2012/02/24 04:12:01 PM|.|8|7888|IP21_OPC_DA|Verbose|AgentBase|beginning PublishSubscribe CommunicationMode initialization...|""
    2012/02/24 04:12:00 PM|.|8|7888|IP21_OPC_DA|Verbose|AgentBase|starting...|""
    2012/02/24 04:12:00 PM|.|6|7888|IP21_OPC_DA|Information|Host|implicitly calling start on the hosted IConnectivityAgent service contract|""
    2012/02/24 04:11:59 PM|.|6|7888|IP21_OPC_DA|Information|Host|using default NetTcpBinding endpoint for internal IConnectivityAgent proxy|""
    2012/02/24 04:11:59 PM|.|6|7888|IP21_OPC_DA|Verbose|Host|Service endpoints:|""
    2012/02/24 04:11:59 PM|.|6|7888|IP21_OPC_DA|Verbose|Host|SAP.Manufacturing.Connectivity.Agents.Opc.Da.OpcDaAgent is running with the following endpoints:|""
    2012/02/24 04:11:58 PM|.|6|7888|IP21_OPC_DA|Information|Host|WCF service is starting.|""
    2012/02/24 04:11:58 PM|.|1|7888|IP21_OPC_DA|Verbose|OpcDaAgent|Creating the OPC DA agent.|""
    2012/02/24 04:11:58 PM|.|1|7888|IP21_OPC_DA|Verbose|BrowserSessionManager|Created browse manager.|""
    2012/02/24 04:11:58 PM|.|1|7888|IP21_OPC_DA|Verbose|OpcDaAgent|Creating the OPC DA agent.|""
    2012/02/24 04:11:58 PM|.|1|7888|IP21_OPC_DA|Verbose|BrowserSessionManager|Created browse manager.|""
    2012/02/24 04:11:58 PM|.|1|7888|IP21_OPC_DA|Verbose|Host|Running [IP21_OPC_DA] as a windows service...|""

  • How to specify Attribute ID in OPC Server DevicenetExplicit

    I'm trying to set up an Allen Bradley 842D Devicenet Absolute Encoder
    using the OPC server.  The manuals for the device mention that the
    data can be retrieved from the various Attribute ID's in each
    class.  From the OPC Server Help example below,  it starts to
    describe the location of the data desired,  but fails to show me
    where I specify the attribute ID.  For example, lets say in the
    example below,  I now want Attribute 2 or 3.  How does the
    below example tell me how?.
    Since I'm trying to get all this data in via the IA OPC server, 
    I'm not planning on using the DNET Vi's.  BUT.....I did look at
    the "GetIdentityAttrs.vi" and notice that the VI's provided allow for
    Class ID, Instance ID, and Attribute ID.  All of which correctly
    gives me the information I want when I run this VI with the 842D
    encoder.
    From OPC Server Online Help:
    NIDeviceNetExplicit Example
    Suppose you want to get attribute 1 from Class ID 1, Instance 3 of an
    object. Class ID 1 is the Identity Class, where all the identification
    information for the device is contained.
    Enter the background information when you create the
    NIDeviceNetExplicit object, setting the Service Code to 14 and the
    Class ID to 1. From the manufacturer’s documentation, you know that
    GetAttribute only accepts an unsigned integer (USINT) as a parameter.
    The baud rate for the object in question is an 8-bit unsigned integer
    (USINT). To read the baud rate, access the IID3.USINT0 data member.
    From the Above,  this is what how i'm interpreting the configuration:  IID ( Instance ID).USINT (data offset)
    To re-iterate my question:  How do I specify the Attribute ID when using the IA OPC Server DeviceNetExplicit Object? 
    Regis

    Hi Regis,
    The general steps to send & receive the explicit message using the NI OPC Server:
    Configure an OPC item to write the explicit message, you have to set the attribute ID for the GET request message here.
    Configure an OPC item to read the explicit message, you will get the explicit response from it.
    Example: Read the Vendor ID (ClassID=1, InstanceID=1, AttributeID=1, DataType=UINT)
    (1) Configure the NIDeviceNetExp object with the right MAC ID, ServiceCode=14(GET), ClassID=1
    (2) Add an OPC item (Data Member) NIDeviceNetExp1.IID1.USINT0 to write the parameter.
    (3) Add an OPC item (Data Member) NIDeviceNetExp1.IID1.UINT0 to read the Vendor ID.
    (4) Then you get the alarm message in IA OPC server and get failure message in your OPC client , if you have one started allready, because it reads the item automatically.
    The magic action is here: you write the value 1 to NIDeviceNetExp1.IID1.USINT0. (then the attribute ID 1 is set correctly).
    You can get the vendor ID then reading NIDeviceNetExp1.IID1.UINT0.
    2. Example: If you want to get the Serial Number (ClassID=1, InstanceID=1, AttributeID=6, DataType=UDINT)
    Add an OPC item NIDeviceNetExp1.IID1.UDINT0
    You write the value 6 to NIDeviceNetExp1.IID1.USINT0
    You can get the Serial Number in NIDeviceNetExp1.IID1.UDINT0
    So you can conclude that:
    (1) if you write to NIDeviceNetExp1.IID1.USINT0, USINT is the data type used to encode the request message parameter.
    (2) if you read from NIDeviceNetExp1.IID1.UDINT0, UDINT is the data type used to decode the response message.
    Attached you can find an example using LV and  Datasocket to read the Vendor ID.
    Hope that helps with your problem.
    DirkW
    Attachments:
    DNET to OPC Item.vi ‏44 KB

  • How can I configure an OSGI component to run only in author mode and not in publish mode?

    Using scr annotation we could do the same my mentioning "@scr.property name="run.modes" values.0="author" values.1="publish"" , but how to do that with  org.apache.felix.scr.annotations.Property annotation ?

    Hi Cyprian,
    How have you configured your OPC Server tags?  Are they strings of floating point type?  What type of server is being created?
    Also, what's the end goal of this?  Generally speaking NI OPC Servers is used to communicate to a PLC as you have seen.
    Jared S.
    Applications Engineering
    National Instruments

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

  • Server Configuration programs

    I have managed to create a nice little program that allows me to configure my OPC VI Server. I can access that program by putting in the file path as an input to the "configuration path" input on the VI SVRG Add server Row VI.
    Once I have registered my server I use the "Server Browser" tool to open the configuration. This all works but I can't get it to close afterwards.
    Normally a LabVIEW VI would close when all Actions have been completed but this functionality does not seem to be programmed into the engine.
    What I have tried:
    Change VI properties to “close panel if originally open” (Didn't work)
    Use VI server to close the panel (Worked but always gives an error)
    Help
    Phil McDermott

    Hi Phil,
    The VI Setup options for "Show Front Panel when Called" and "Close Afterwards if Originally Closed" will only affect a VI when it is called as a subVI, not as the main VI.
    If you load your config UI from the Server Browser, it will load the config UI with VI Server by setting the VI property FP.Open to true. Once you are done with your VI-based Server configuration you should be able to close the configuration VI by setting the FP.Open to FALSE.
    I've done a small test and I did not get an error in my case. Perhaps, you see the error from another error "wire" passing into the FP.Open property node? Or, what is the error you got?
    Hope this helps
    Roland

  • 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

  • What is Procedure for OPC Sever to communicate LabVIEW 7.1 with PLC (Any Make)

    we want to use OPC Sever to communicate LabVIEW 7.1 with PLC (Any Make).Can someone tell what is the procedure for the same and how to configure the OPC Server?

    Hey Sugam,
    Did you try to look into de Developer Zone in NI? Here are some Articles that could help you to get started:
    1. Tools for Troubleshooting OPC Interface Problems:
    http://zone.ni.com/devzone/conceptd.nsf/webmain/401CB3A4E216356286256BC7004B5831
    2. Accessing Remote OPC Server Using DataSocket: http://zone.ni.com/devzone/conceptd.nsf/webmain/D5DC903EC6F9320A862569EE007FEC7D
    3. Connecting LabVIEW to an OPC Server through a DataSocket Connection: http://zone.ni.com/devzone/conceptd.nsf/webmain/DF8C0A4BA2E2B22A86256A3700592BEA
    In short, you have to make your OPC server to run in your machine (you have to look into the documentation from the other manufacturer), and be familiar with NI Server Explorer (article 1 above helps with that) and you have to access the tag with datasocket or Tags (LabVIEW DSC). If you had LabVIEW 8, we introduced the concept of variables and you could configure the variable to access this tag.
    Hope this gives you an idea what to do.
    Barp - Control and Simulation Group - LabVIEW R&D - National Instruments

  • OPC server items not found with NI DSC nor datasocket

    Hi,
    I am using LabVIEW 2009 SP1 and an OPC server from ifak (isPro Multiserver v 2.5.1) on a windows XP professional SP3 platform.
    If i use the datasocket vi "browse for URL" then I can navigate to the server, it starts the server (I can see the hardware "coming to live" and logging on to the UUT -the network is a profibus network with 1 USB/profibus gateway as master and 1 UUT profibus slave. However, when navigating through the branches of the server I can not navigate to the OPC items. I can navigate to the point where they should be, but then the browser waits a few seconds and then displays "no items" and places a red cross through the icon.
    When using the manufacturer OPC client, I can navigate to the items and I can see them, read them or write them. The funny thing is that I can also browse to these items using the NI Quick OPC client(!) When using datasocket VIs, or when configuring a project using the DSC module --> new I/O server --> OPC client --> browse to OPC server and then trying to configure the labview library to hold the OPC items, I never get to see the actual items.
    This seems to be a DCOM problem but I can not believe that, since
    1) the manufacturer OPC client sees the items
    2) the NI Quick OPC client sees the items
    3) I followed all guidelines from
    http://www.automation.com/pdf_articles/OPC_and_DCOM_5_things_you_need_to_know.pdf
    and
    http://www.automation.com/pdf_articles/Troubleshooting_OPC_and_DCOM.pdf
    and I also set the OPC server access to "the interactive user", as recommended by NI.
    The OPC server and OPC client reside on the same computer, but in any case I also disabled the windows firewall. There are no other firewalls running.
    I am completely stuck in this application, since I can access the OPC items using any client, but I can not access them via LabVIEW
    If anybody has a suggestion, please help me.
    best regards,
    Stijn

    Hi Stijn Schacht
    These seems to be some bugs with OPC Client instances created using LabVIEW 2009 SP1,  when we tried to communicate to Siemens S7 PLC. 
    Basically when deploying the shared variable library configured with OPC Client instance, it crashes the SVE.
    From all your observations, what i can suggest is, try with LabVIEW 2009 along with DSC 2009.
    Thanks,
    Vijay Jayabalan.

Maybe you are looking for

  • My iPad mini doesn't charge sometimes, and if it charges it only can charge to 92% then stops.

    At most time, my iPad mini doesn't charge at all. I have searched the problem on Internet, somebody says it is about the temperature, but the weather of the place I live ain't that cold. Once it can charge, it can only charge to 92% everytime. Someon

  • Setting Display Name for sent emails

    Hi All, I want to set a display name for sent emails. For example: when I send emails using [email protected] and after receivign this amil in my inbox it says from [email protected] Is there any way that I can show display name for this like Kartik

  • Systems Preferences gone.

    I hope someone can help me out. When I go to open my Systems Preferences under the apple icon nothing appears. I used the finder to try to locate it and nothing was found. Is there anything that I can do to bring it back? Thanks for any help. M

  • Video on iPad without StageVideo

    Hello, I would like to know if it could be possible to play a video without using StageVideo API. Basically I would like to code a videoPlayer in my application that the user could drag by touching the screen. Let me know and thanks by advance

  • Mouse left button acting like right button

    I have a MacBook black with snow Leopard. My mouse is acting up. On both the laptop and a usb mouse the left button is acting like athe write button by bringing up action boxes instead of just doing the deffault action. for example I go to the task b