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.

Similar Messages

  • Lire des donées provenant d'un pic via une liaison RS232 et écrire dans un fichier xls

    Bonjour à tous,
    Le but de mon projet est de lire et d'enregistrer des données provenant d'un microcontroleur pic. En fait le pic enregistre des données et les stocke dans une mémoire flash. Ce que j'aimerais faire c'est récupérer les données stockées dans la mémoire, les afficher sur un graphe sous Labview et les enregistrer dans un fichier excel. La communication entre le pic et le pc se faisant par RS232.
    Merci par avance pour vos suggestions.
    Bien cordialement.
    Philippe

    Bonjour Philippe,
    Ici tu es sur le  forum en anglais. Essaie de poster en anglais
    Sinon voici le forum francais où tu auras plus de chance que l'on te réponde.
    Pour ce qui est de ton projet, je te conseille de regarder vers les fonctions VISA pour ce qui  est de la communication RS232.
    Il faut récuperer les données pour les mettres sous forme de tableau par exemple.
    Pour l'affichage des valeurs et l'enregistrement en tableau se fait assez simplement. Il y a une fonction Write to a spreadsheet file (dans files I/O) qui permet d'écrire directement une tableau 1D ou 2D.
    Cordialement,
    Simon D.
    CLA | Certified LabVIEW Architect
    CTA | Certified TestStand Architect

  • Tranfert de donnée d'un analyseur de réseau au PC via une liaison GPIB

    J'essaie de réaliser un programme pour automatiser la mesure de paramètres S de composants électronique.
    Je n'arrive pas à récupérer le fichier de la mesure (*.flp) qui est stocké sur le disque dur de l'analyseur de réseau(Rohde et Schwarz ZVCE) et à l'enregistrer sur le disque dur de mon PC.
    Je compte sur vous pour m'aider afin de terminer mon programme sous LabWindows/CVI.
    Dans l'attente de votre réponse, je vous prie d'agréer l'expression de mes salutations distinguées.
    R.SCHUBERT.

    Bonjour,
    Je vous conseille d'utiliser le driver d'instrument pour le ZVCE qui fournit des exemples de programmation en CVI:
    LabWindows/CVI Plug and Play Instrument Driver for ZVCE - Vector Network Analyzer
    http://zone.ni.com/idnet97.nsf/9b2b33e1993d877786256436006ec498/df996ac5cf16286d862568ab005fb99e?OpenDocument
    Ce driver est un driver supporté par Rohde&Schwarz.
    " This instrument driver is NOT supported or maintained by National Instruments. This driver is maintained and supported by the instrument manufacturer or a third party. The following manufacturer or third-party contact has agreed to provide technical support for this driver. Please direct all questions regarding this instrument driver to them."
    Company: Rohde & Schwarz
    Contact Name: C
    ustomer Support
    Phone: +49-(0)1805-124242
    Technical Support E-mail Contact: [email protected]
    Support URL: http://www.rohde-schwarz.com
    Bonne continuation.
    Matthieu Gourssies.

  • Accès réseau société par VPN via une Livebox

    Bonjour
          Je rencontre un problème que je vais essayer de vous exposer le plus clairement possible. Je m'occupe en intérim de l'informatique d'une société. Je viens de fournir à 2 membres de cette société 2 portables de marque DELL. Ce sont des personnes qui travaillent souvent hors de la société et qui accèdent aux serveurs de l'entreprise via Anyconnect de CISCO. Ces 2 personnes n'arrivent pas à se connecter de chez eux via leurs box personnelles. Le point commun est le fournisseur d'accès Internet: ORANGE, ce sont donc des Livebox. J'ai repris ces PC en "consultation" je les ai emmené déjeuner avec moi dans un restaurant avec wifi gratuit => pas de problème. Je les ai ensuite "invité" chez moi pour tester via ma box BOUYGUES => pas de problèmes non plus. Je pense que le paramétrage de leur box et notamment du firewall intégré doit être la clé du problème mais là je ne sais pas quel config leur faire adopter. Si vous avez déjà rencontré ce problème et surtout si vous l'avez solutionné je vous remercie de votre attention et par avance de votre aide. Je dois aussi vous préciser que je leur ai fourni ces PC en remplacement d'ancien portables DELL devenus obsolètes et qu'avec ces PC il n'y avait aucun problème
    Cordialement
    Bruno LEVY
    IT Support A.SCHULMAN France

    Merci pour la réponse.
    - Pour le point 1, le PXI a une adresse fixe ; je vais voir ce que je peux faire avec l'administrateur réseau pour les restrictions d'accès, mais c'est dommage de ne pas avoir pour les systèmes PXI un onglet "Access Control" sous MAX, comme pour les systèmes FieldPoint !
    - Pour le point 2 : j'avais en fait résolu le problème de protection des redémarrages avec le VI "Lock Target" sous LabVIEW (qui rajoute une clé Protect_Reboot="TRUE" dans le fichier ni-rt.ini).
    Par contre, je ne vois pas comment faire le même verrouillage sous MAX, ne voyant pas de case "Protéger les redémarrages" dans l'onglet Paramètres systèmes du système déporté (que je sois ou non connecté comme administrateur) !
    Cordialement,
    H.L.
    Pièces jointes :
    Connecté.png ‏72 KB
    Déconnecté.png ‏74 KB

  • How to read and display a signal from my a miccrontroller (MCB1700) onto labview connected via a CAN port on a PXI machine

    How do you read and display a signal from my a miccrontroller (MCB1700) onto labview connected via a CAN port on a PXI machine?
    I tried using a DAQ Assistant but the CAN port is not included as one of the supported physical channels even though all its drivers are upto date.
    Please help..
    Thanks.
    Solved!
    Go to Solution.

    Attached herewith is a print screen of what is showing on MAX
    The CAN ports are on NI PXI-8461
    Hopefully that clarrifies something.
    Attachments:
    Untitled.png ‏212 KB
    Untitled.png ‏212 KB

  • Siemens PLC S7-300 data to LabVIEW RT via Profibus ?

    How can I acquire Siemens PLC S7-300 data to LabVIEW RT via Profibus ? (My RT is hooked up to SCXI chassis.) There is the PCI-1500 Profibus board - but I'd have to use it on another PC running regular LabVIEW, then get data somehow to the SCXI chassis... that's too complicated! Any ideas ? Thanks! benji.

    We are currently working on a driver for the Profibus cards and LabVIEW RT. I imagine that NI is too. Our intention is to help fill in the Industrial network gaps for LVRT. If you'd like, I'll send you an update in 2-4 weeks. Maybe you can help us beta test it.

  • Generating LabVIEW events via ActiveX

    I have a Labview 2010 Vi compiled to an EXE with ActiveX server enabled.
    The VI has a single control that is a latched boolean control that is used in an Event Handler.
    When I toggle this control, remotely, via an ActiveX client, the control changes state, but does not generate an event. (non-signaled).
    I can understand this behavior if the control was not a latched control, but I would have thought that the latched control would automatically generate an event, since it doesn't make a distinction between "value" and "value (signaled)".
    Other than monitoring/polling the control status and when it changes using a Value (Signal) local variable, is there a way to generate an Event, in a LabVIEW EXE, via ActiveX?  Or is there another, more appropriate way to accomplish this.  I'm trying to remotely run an program from another program through an activeX interface.   I suppose if every control had a unique message and I had a message handler loop, then I could just use the ActiveX control to insert the appropriate message into the Queue, but this is an existing application and would take a fair effort to set that up.

    What if you tried dynamically registering the event? You could create a reference to the boolean and use the Register for Events VI. Then, wire this event into the dynamic event terminal of the event structure (right click the border and say "Show Dynamic Event Terminals").  I don't have an ActiveX program to call into LabVIEW with, so I'm not sure if this will be any different than what you're doing now, but it's something easy to try.  Perhaps you could post you ActiveX code and LabVIEW code or a modified version of both illustrating what you're mentioning?

  • Comment creer une interface labview pour simuler une cle hasp

    bonjour,
    je souhaite creer une interface labview pour simuler une cle hasp.
    si quelqu'un sait comment faire je vous remercie d'avance de votre aide 

    Hello,
    Please post this question on the French forums to get a prompt response to your question:
    http://forums.ni.com/t5/Discussions-au-sujet-de-NI​/bd-p/4171
    Regards
    Arham H
    Applications Engineer
    National Instruments

  • Fermeture de LV pour relancer une liaison USB

    Bonjour,
    Je pilote un matériel par une liaison USB . Je met sous tension cet appareil ensuite je lance LV .Si pour une raison ou une autre je dois mettre hors tension cet appareil , il faudra que je sorte de LV ( plus de liaison sur le port USB ...) , rallumer mon appareil et seulement ensuite relancer LV.
    Il y a t'il une autre solution pour relancer la connection sur le port USB sans sortir de LV ?
    Merci.

    peux tu poster ton vi?
    La théorie, c'est quand on sait tout et que rien ne fonctionne.
    La pratique, c'est quand tout fonctionne et que personne ne sait pourquoi .
    (A. EINSTEIN)

  • Sécurité d’une liaison wireless entre deux bâtiments

    Bonjour,
    J’ai besoin de connecter deux centres informatiques à l’aide d’une liaison wireless en utilisant deux ponts avec des antennes unidirectionnels.
    J’aimerais savoir la vulnérabilité d’une telle liaison et comment remédier aux différents problèmes de sécurité qui peuvent se présenter.
    Merci de bien vouloir me répondre.

    Bonjour,
    si vous voulez dire quelque chose comme ça, jetez un oeil à ma conception: http://hansgd.de/DWTest/anker/anker.php N'hésitez pas à utiliser mon code source.
    Bonne chance!
    Hans-Günter

  • Agilent 34401A multimeter to PC with Labview driver via RS232

    Hello!
    I am trying to measure a voltage with Agilent 34401A multimeter connected to PC via RS232 cable. I installed the driver. When I am starting Read Single Measurement.vi. It gives me an error:
    Error-1073807346 occured at Visa Open in Agilent 34401.lvlib: Initialize.vi->Agilent 34401 Read Single Measurement.vi
    Possible reason(s):
    Visa: (Hex 0xbFFF000E) The given session or object reference is invalid. 
    I would like to ask, how can I adjust my system to use RS23 with Agilent 34401A, if it is possible? If not, should I get GPIB card and cable?
    Thank you!
    Yulia.

    LabVIEW already comes with a driver for the 34401 pre-installed, so I'm not sure I understand what you installed. The pre-installed driver is in the Instrument I/O >> Instrument Drivers >> Agilent 34401 functions palette.
    As for the control that Dennis is referring to, it's the VISA control.
    As for the VISA version, you should have received a set of driver CDs along with LabVIEW. That will have the minimum VISA version required. Don't remember off the top of my head which version it is. Probably something like 4.1.
    Attachments:
    visa.png ‏42 KB

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

  • Profibus DP S7 300 Siemens PLC to communicate to LabView 8.0 without using opc server

    Does anyone know of a way to communicate with Siemens PLC s7 300 PLC and Step 7 software to LabView 8.2.1 without using a opc server. I'm currently using a opc and it works but it is to slow. Looking for a faster way to move my readings for Siemens to Lab View.

    Hi Duck,
    Please refer to the below articles:
    Profibus Overview
    http://zone.ni.com/devzone/cda/tut/p/id/6958#toc1
    Using an Applicom Profibus Board
    http://zone.ni.com/devzone/cda/tut/p/id/4501
    Hopefully these will help you get started.
    Aashish M
    Applications Engineer
    National Instruments
    http://www.ni.com/support/

  • How do I call a LabView VI via dll to display its control panel in a tab of my uir in LabWindows

    Hi User Community,
    I am trying to build a LabWindows Top Level Control Panel to call individual LabView VI's, which have been compiled into a dll.
    I have no problem using the CmtScheduleThreadPoolFunction to start a new thread that calls these VI's however, I'm having trouble trying to get the display that comes up in it's own window to display in a tab of my existing UIR.
    I've compiled the DLLs to always display the VI Control Panel window when running - and usually it covers the whole screen you can't see the LabWindows window until the VI completes.
    Is there a definitive guide to LabWindows Windows/Panels/Tabs? Or does anyone have experience with this? Any help would be appreciated.

    Hello,
    I would suggest reviewing the Programming with Panels and Programming with Tabs CVI Help documents.  I think that this can be done with the LoadPanelEx function.  Let me know how it goes!
    As well, I found some example code to get you started.
    How to access individual controls within multiple tabs in CVI
    http://decibel.ni.com/content/docs/DOC-14187
    Regards,
    Shawn S. | NIC
    Instrument Driver/IVI PSE
    National Instruments

  • Problème lors de la commande d'un multiplexeur à partir d'une liaison série

    bonjour ,
    mon problème est le suivant : lorsque j'ai écris 2 fois sur le bus série donc deux fichiers Write et j'ai mis un seul fichier read la machine me renvoie seulement l'état de la première commande qui était écrit dans le premier fichier Write,
    alors qu'elle est censée renvoyer les deux états en même temps , je m'explique :
    j'ai écris dans le premier fichier Write M01C01 et dans le deuxième M02C01 , je n'ai récupéré que la deuxième c'est à dire M02C01 ,alors que je devrait recevoir en sortie M01C01 M02C01.
    Si vous auriez besoin d'informations complémentaires, n'hésitez pas !

    Bonjour,
    Merci d'avoir posté votre question sur les forums de National Instruments.
    Si je comprends bien le problème que vous exposez, vous rencontrez un comportement étrange lors de l'écriture sur votre port série de trames d'information.
    En effet, vous ne récupérez qu'une partie des informations que vous envoyez. 
    Ai-je bien compris le problème ?
    Si tel est le cas, êtes vous sûr du paramétrage de votre lecture ? J'entends par là, avez vous vérifié le nombre de bits que vous venez lire sur votre port série ? Il est possible que le mesage lu soit tronqué.
    Lors de votre écriture, comme procédez vous ?
    Etes vous sur que votre buffer n'est pas réécrit à chaque fois que vous envoyez une trame ? Cela pourrait expliquer le comportement en sortie.
    Le plus simple serait sans doute que vous postiez votre VI en pièce jointe à ce forum. Je pourrais ainsi vérifier que votre code fonctionne bien comme vous l'attendez.
    Je vous remercie par avance pour vos réponses.
    Bien cordialement,
    Guillaume H.
    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;}
    >> NIDays 2011, le mardi 8 février au CNIT de Paris La Défense

Maybe you are looking for

  • Easy guide to troubleshooting the Desktop Manager

    "Your messaging server does not support wireless synchronization." -Make sure the user is on the BES. Typically they will get this error message when they are not on the BES. The desktop manager is showing "disconnected." -Make sure that the user has

  • Memory Error for OVI Store in C5-03

    Wen ever i try 2 install an app using OVI Store on my C5-03...It keeps saying " Memory full..plz,close some apps & try again " Even though ,for first app 2 be downloaded,it's showing da same msg...I'm not able 2 download a single app using OVI Store.

  • Error in setting deletion indicator to PR's

    Hello all, As i was trying to set the Deletion indicator for the selected PR , the error msg was displayed saying * "This item only changeable via the associated production order" * How to proceed further?????? please let me know the TCode of Prod Or

  • Datasource configuration error

    Hi, I unable to configure the planning datasource. Let me explain the complete scenario. Already I have created a datasource (SID:TEST, Port:1571) and created an aplication and everything is working fine. Now client changed the SID(Test1) and Port No

  • Is it possible to convert/compare  a JUCtrlAttrsBinding to a number in EL?

    Using 10.1.2 JDev - I am trying to do the following in order to have a binding value control the max length of an input field in a JSP:           <c:choose>             <c:when test="${bindings.MyFieldMaxLength gt 60}">               <c:set var="txtL