Pb communication TCP/IP avec un oscillo Lecroy 6100 et librairie Visa

Hello,
I am trying to communicate with a remote Lecroy 6100 scope through TCP/IP, using the visa library.
I have configured my device with MAX but it can not
open an INSTR session. I have check the IP address, my
device respond to a ping. I have installed a VisaServer
on my device but from my PC, no INSTR session can be
opened.
Does someone have any idea ?
Thank you.

Hello,
First of all, I advice you to use the instrument driver for your device:
* WR 6100 - WaveRunner 6000 series Oscilloscope
http://zone.ni.com/idnet97.nsf/9b2b33e1993d877786256436006ec498/DF35A33EF5129A8586256E920052E226?OpenDocument#rank
NI-VISA 2.5 (and higher), on Windows32 platforms only, allows you to connect to ethernet instruments via TCP/IP. This is done by specifying a TCP/IP Instrument (INSTR) Resource or TCP/IP Socket (SOCKET) Resource. The syntax for each is as follows:
TCPIP[board]::host address[::hostname][::INSTR]
To use the INSTR resource type, the device must support the TCP/IP Instrument Protocol, also known as VXI-11.
TCPIP[board]::host address[::host name]:ort:OCKET
The SOCKET Resource exposes the capability of a raw ne
twork socket connection over TCP/IP (usually, but not restricted to, an ethernet interface). Without TCP/IP Instrument Protocol support, you must use the SOCKET resource type.
If there is only one interface type present on the host machine, then the board type is optional. For example, "TCPIP0::..." is the same as "TCPIP::...", because 0 after TCPIP is optional. Also, host name has to be used only when there is more than one hostname (instrument) in the host address.
Refer to the link below for more informations:
* How Do I Configure an Instrument to Communicate via TCP/IP in MAX?
http://digital.ni.com/public.nsf/websearch/D7D8E3E1B682022286256D4A00771A52?OpenDocument
Hope this helps.
Regards.
Matthieu Gourssies
National Instruments

Similar Messages

  • Synchronous and asynchronous communication tcp/ip

    Hello all:
    it is common to make synchronous communication between client and server by socket tcp/ip. But I'm needing now to establish an asynchronous communication. I mean:
    0.- The server is a multithread process that has the property to establish one connection for each client that wants to send him messages.
    1.-The client process sends message permanently to server.
    2.- The server processes the request, but don't have to respond to the client.
    3.-Only when the user want it, he sends messages to client by web application reusing the same communications that are opened between client and server process.
    I hope to explain my problem.
    Regards.

    Hello all:
    it is common to make synchronous communication
    between client and server by socket tcp/ip.A socket tcp/ip can be synchronous or asynchronous or both.
    But I'm needing now to establish an asynchronous
    communication. I mean:Is this purely asynchronous or can it be either.
    0.- The server is a multithread process that has the
    property to establish one connection for each client
    that wants to send him messages. Fine, any mode would be okay.
    1.-The client process sends message permanently to server. By permanently do you mean;
    - it is deleted from the client,
    - it is store on the server is a write once read many media. i.e. it is permenetly on the server and cannot be deleted/altered.
    2.- The server processes the request, but don't have to respond to the client.The server should never have to respond to the client. e.g. the server can go down so the client nees to live with the possibility it won't get a reply.
    Synchronous or Asychronous describes how the reply is send. No reply means it is neither.
    3.-Only when the user want it, he sends messages to client by web application reusing the same communications that are opened between client and server process.Are you using socket or a web application server ie. HTTP.
    You wan to be able to reuse the connection. You can do this in any of the case mentioned so far.
    >
    I hope to explain my problem.I hope you will explain your problem too.

  • Interfacer LabVIEW avec un oscilloscope LeCroy Waverunner 6100 A

    Bonjour je suis un nouveau utilisateur de LabVIEW !
    Je voudrais savoir comment faire pour aquerir le graph d'un signal sur un oscilloscope LeCroy Waverunner 6100A, et l'analyser sur LabVIEW (bref controler l'oscilloscope a partir du LabVIEW). J'ai fait installer NI-VISA sur l'ordinateur, et NI-DAQmax. Si vous pouvez m'envoye la procedure a faire, ou un lien vers un site, ou un document PDF.
    Merci beaucoup...

    Bonjour,
    Si j'ai bien compris, vous voulez utiliser un oscilloscope LeCroy et acquérir des données via ethernet ou gpib. Je ne connais pas la démarche exacte avec LeCroy, mais vous pouvez trouver pas mal de drivers LabVIEW sous www.ni.com/drivers . Je pense que cette adresse correspond à votre matériel http://sine.ni.com/idnetwork/main/p/sn/n25:LM.lecroy/sb/navsRel?q=6100A. Pour la mise en oeuvre, vous passera certainement par les outils VISA fournis par NI (ou peut être par LeCroy???), NI-DAQ ne devrait vous être d'aucune aide ici, vu qu'il s'agit de drivers utilisés pour les cartes multifonction de National.
    En espérant que cela réponde à votre question.
    bon courage

  • Aynchronous and Synchronous communication TCP socket

    Hi All,
    I have written a client/server test application to test the performance of the java socket library. I tested the application in two scenarios,
    1) Asynchronous communication between client and server, client sends data(packet size is 500bytes) without waiting for the server response. I tried to upload 1mb file. The time took was 1.5mb/sec which is reasonable.
    2) Synchronous communication between client and server, client sends data (again, packet size is 500bytes) and waits for the server response (all server responds is OK (1 byte data)). The amazing thing in this test was the performance went down drastically!!! it came down to 5-10kb/sec, which is unbelievably nonsense or I am doing something nonsense.
    code snippet (server side)
    //reading from the socket (tried both buffered and non-buffered )
    inputstream = new DataInputStream(new BufferedInputStream(socket.getInputStream()));
    //writing to the outputstream of the socket (server side)
    outstream = new DataOutputStream(new BufferedOutputStream(socket.getOutputStream))
    //then flush the data, in case
    client side code is very simple,
    while(not EOF)
    outputstream.write(buffer); //buffer size is 500bytes, as I mentioned above
    if(synchronous)
    wait for server response, otherwise don't
    I don't know why in case of synchronous communication it should bring down the speed so much, may be I am using wrong java classes or java sucks!
    I would greatly appreciate any help on this.
    Platform used: JDK 1.3.1, WIN2K.

    I have to break it up because that's how it's done in the real application. The test application that I have written is just part of the product that I am working on.
    To give you the background, we have C++ product where we are porting server side of the whole product to java.
    The client(which is written in c++) sends data(which is basically attributes), of size 500bytes in every request. The no. of request depends on how big the model(3D Model) is. In case of very huge models (will have MBs of attributes) the client takes long time to send all the attributes, which is the case with java server (client still in c++). But the in case c++ server it doesn't make any difference, the data transfer rate is same no matter how big the model is.
    I know if I increase the size of the packet I will get higher performance, but unfortunately I can't do that. That's how the client is designed to do it.
    thanks,
    Ganesh

  • Communication série avec interruption

    Bonjour,
    je suis novice en Labwindows CVI et je cherche un exemple de communication série en utilisant une interruption en reception 
    Merci.

    You can serach among the examples shipped with CVI: samples\rs232\commcallback.cws is a program that uses InstallComCallback to install an asyncronous function executed in interrupt.
    (Sorry for not answering in French: you may post in the French board or you can write in English into this board)
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • ACS Communication TCP/UDP ports

    Hi,
    I have a WEBVPN (on Cisco 2811) which will authenticate its client using ACS, ACS in turn will be integrated with AD.
    the three components (WEBVPN, ACS and AD) have a firewall in between them, I need to configure to allow the communication between the three components, I need a list the ports required for such configuration.
    Also I have to ACS appliances working in HA mode, they will be installed in different locations with firewall in between,What are the ports the 2 appliances are communicating through to ensure full HA?

    Table 2 have this information,
    http://www.cisco.com/en/US/prod/collateral/vpndevc/ps5712/ps2086/ps7032/prod_qas0900aecd80108148_ps2086_Products_Q_and_A_Item.html
    Regards,
    ~JG
    Do rate helpful posts

  • Communication TCP

    Bonjour,
    Je souhaite réaliser un système autonome, composé d'un compact RIO (serveur) et d'un Touch Panel (client) et où le client envoi une valeur particulière au serveur pour que ce dernier éxecute une partie de son programme.
    Plus précisement, je voudrai que lorsque mon VI client s'éxecute (au lancement du Touch Panel), celui ci allume 1 par une 4 Led sur le VI serveur, puis lorsque j'appuie sur un bouton "OK", je voudrais qu'un autre LED s'allume,
    Cependant, la première étape fonctionne corresement, mais lorsque j'appuie sur le bouton, rien ne se passe sur le serveur.
    Ais je oublier quelque chose? *
    Merci d'avance pour toutes vos réponses 
    Pièces jointes :
    compact_RIO.vi ‏20 KB
    page de garde.vi ‏372 KB

    Alors j'ai avancé un peu mais c'est pas encore ça!
    J'arrive bien à faire ce que je veux mai cependant lorsque je modifie le nom se trouvant dans la MegaData ou que j'en rajoute un dedans, ces derniers ne sont pas pris en compte, et donc quand j'execute mon VI, seul le premier nom est actif (le compact RIO réagi uniquement si je modifie la valeur du premier nom.
    Je ne comprends pas d'où cela peut venir???
    cordialement,

  • Lecroy 6100 Ethernet Control by Labview

    Hi All,
    I'm just new here and just starting in LabView. I really appreciate if someone could help me. This is the situation: I want to communicate/control a Lecroy 6100a oscillsocope using LabView on my PC. I've already studied some tutorials for GPIB communiation between LabView and an instrument. Actually, i have succesfully done this using a VI to control a GPIB controlled instrument. However, the Lecroy 6100a that we have here doesn't have the GPIB port i needed. I've already installed the driver for this instrument on my PC, but since there is no GPIB Port available on the Lecroy that we have, i can't communicate with the instrument.
    With the help of some search here in the forum, i was able to know that it is possible to control the Lecroy 6100a using the Ethernet port. I tried to look for some tutorial on this but unfortunately, i can't watch the video provided by NI. Then, i decided to go back here in the forum.
    Could someone here give me any instruction on how to configure/control the Lecroy 6100a oscilloscope using LabView through an Ethernet port? or is this possible?
    Many Thanks in Advance!

    Hi All!
    I had already make this thing work! By the way, thanks to All!.  
    Maybe if i had future problem regarding the Lecroy 6100a and LabView, i'll just consult again.
    Thanks!

  • Communication série cRIO

    Bonjour,
    J'ai un cRIO 9074 qui doit communiquer avec un équipement qui a un pc via le port série.
    Mon cRIO va "poser des questions" au pc supervisant l'équipement et l'ordinateur lui enverra une réponse.
    Je voulais savoir s'il fallait que le pc distant possède visa aussi?
    Merci d'avance
    Bastien
    Résolu !
    Accéder à la solution.

    J'ai un pc de supervision qui communique avec mon cRIO via TCP/IP.
    Mais j'aimerai faire un contrôle/commande d'un équipement qui possède son propre ordinateur.
    Selon la version du logiciel de supervision propre installé sur cet équipement, j'ai le choix entre série ou TCP/IP.
    L'équipement étant un système fermé, je ne suis pas sûr de pouvoir installé de logiciel supplémentaire.
    J'aimerai donc savoir si la communication TCP/IP nécessite également l'installation de Visa sur l'équipement ou si juste la connaissance de l'adresse IP et du port de communication était nécessaire au cRIO pour communiquer avec l'ordinateur de l'équipement?

  • Communication entre appli PC et appli RT sur myRIO

    Bonjour à tous,
    J'ai développer une appli PC capable de communiquer avec une appli RT tournant en startup.exe sur une cible myRIO-1900.
    Mon probleme se situe au niveau de la vitesse de communication entre ces deux applis:
    J'avais d'abord fais le lien grace à des variable partagées sur le réseaux avec l'option FIFO RT activée, mais malheureusement le premier ordre envoyé du PC vers le RT fonctionne parfaitement mais pour la suite, un retard assez grand viens s'imposer...
    Quelle pourrait etre la meilleur maniere de faire communiquer ces deux applis pour avoir un déroulement fluide ?
    Cordialement
    Nathan
    Résolu !
    Accéder à la solution.

    Bonjour,
    En général, j'utilise une communication TCP entre l'appli RT et l'appli de supervision. Cela demande plus de travail que les variables partagées mais donne plus de flexibilité, et pour moi plus de stabilité. 
    Cordialement,
    Rodéric L
    Certified LabVIEW Architect

  • CRIO : Envoie de données via wifi ( protocole TCP)

    Bonjour,
    Je suis débutant   en Labview et je suis entrain de développer une application sur Lavbview pour envoyer des données récupérées par la modèle d'acquisition CRIO à mon pc via wifi  et j'ai utilisé la Protocole TCP comme il indique le programme ci-joint , et j'ai une application sur mon pc qui écoute le trafic d'envoie et de réception, malheureusement je n’arrive pas à reçue  les données  sur mon pc.
    Votre aide SVP et merci d'avance 
    Bien Cordialement,
    Rafayello
    Pièces jointes :
    Envoie TCP.vi ‏50 KB

    Bonsoir Eric,
    Comme vous voyez  l'image ci-jointe j'ai une modem wifi et je veux envoyer les donnés récupérées par le cible CRIO à mon pc à distance (sans câble Ethernet) ,j'ai lu la tuto pour la communication TCP/IP et j'ai compris que je dois utiliser la fonction «ouvrir connexion TCP » et j'ai donné comme entrée l'@ IP de destination client ( mon pc ) et le num de port , et le relier avec la fonction «écrire TCP » en donnant les données comme entrée et enfin j'ai fermé la connexion par la fonction  «TCP Close ». Mais je ne sais pas  sur quel port  exactement je dois envoyer les trames TCP personnalisés et est ce que la démarche que j’ai fais  sur le VI pour l’envoie des trames TCP est correcte ou non ??
    Bien Cordialement,
    Rafayello
    Pièces jointes :
    DSC_0002.JPG ‏798 KB

  • End of communication file error ....for xmldom

    Hi,
    Below is a procedure that i am executing.
    I am using NOCOPY For the clob variable.
    While executing the procedure for an xml value for clstring i am getting an error like
    --end of communication channel.
    The xml data is very big but not more that the size for clob.
    procedure Prc_UpdateNodes(clString in out NOCOPY CLOB, nodename varchar2, nodeValue varchar2) is
            l_doc_node xmldom.DOMNode;
            l_xml_out varchar2(2000);
            begin
                      domDocument      := Fn_GetXmlDocument(clString);
                   nodeList           := xmldom.getElementsByTagName(domDocument, nodename);
                   intNoOfNode       := xmldom.getLength(nodeList);
                   l_doc_node := xmldom.item(nodeList, 0);
                   --xmldom.writetobuffer(l_doc_node, l_xml_out);
                   PKS_DEBUG.PRC_DEBUG('CLOB IN PRC_UPDATE' || clString);
                   for loopCount_int in 0.. intNoOfNode - 1  loop
                     node := XmlDom.item(nodeList, loopCount_int);
                        valueNode := XmlDom.getFirstChild(node);
                        --xmldom.writetobuffer(node, l_xml_out);
                        --This return value would be useful only in case of single record where in we could use the same after the insert operation is done
                        -- so that it could be used for the subsequent retrieval.
                        -- In case of multiple records update, this information remains of no use and doesnt have to be handled.
                        XmlDom.setNodeValue(valueNode,nodeValue);
                        --xmldom.writetobuffer(valueNode, l_xml_out);
                   end loop;
                   PKS_DEBUG.PRC_DEBUG('CLOB AFTER PRC_UPDATE' || clString);
                   XmlDom.writeToClob(domDocument,clString);
                   PKS_DEBUG.prc_debug('REMOVING BUFFER');
                  PRC_REMOVE_BUFFER(clString);
                   PKS_DEBUG.PRC_DEBUG('CLOB AFTER WRITITNG TO CLOB' || clString);
            end;The error occurs during the execution of the statement XmlDom.writeToClob(domDocument,clString);
    Do i need the above statement as i am using NOCOPY For the CLOB variable.
    Can anyone help me with this front..
    Thanks.

    checkout TNSPING <service name> from cmd prompt
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\NJi>tnsping issl
    TNS Ping Utility for 32-bit Windows: Version 2.3.2.1.0 - Production on 25-OCT-06
    14:36:06
    Copyright , 1996(c) Oracle Corporation 1995. All rights reserved.
    Attempting to contact (ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)(Host=198.1.2.
    15)(Port=1521))
    OK (100 msec)

  • SbRIO-9612 unable to close a TCP connection without causing TCP failure

    Hello,
    I'm working on a multi-server (sbRIO-9612's), multi-client (Windows PCs) application which uses the STM 2.0 libraries and LV2009 SP1.  The server listens on a UDP port for the client to send a message - once sent, the server opens the TCP connection to the client and all is well . . .
    . . . until I added a "hearbeat" message to monitor for down connections.  Once the TCP connection has been extablished, the client PC sends a TCP message (a request for the number of clients connected) to the server sbRIO-9612 every 5 seconds - both the client and server are coded to close the connection if a message is not received within 10 seconds.  The client-side app works fine - if the TCP message is not returned in 10 seconds, the connection is closed and a new UDP message is sent to re-establish it.
    The server-side is the problem - if no message is received in 10 seconds, the TCP connection is closed o.k. (no errors), but the server will no longer allow new TCP connections to be established unless it's rebooted.  It seems to work fine if I leave the non-communicating TCP connections open on the server-side, but I can see this leading to problems after several clients have disconnected without notifying the server properly.
    Interestingly, if the client closes the TCP connection properly (via TCP Close in LV), the server detects it fine and there is no problem.
    I'm allowing the operating system on both sides to select the TCP port to use.
    Any help is greatly appriciated - thank you!
    Al

    Hi Al,
    Thanks for the update -- I'm glad that you were able to find that the issue wasn't actually with the TCP VIs, and moreover that LabVIEW 2010 SP1 seems to have resolved the issue. I would still recommend combing through the code on the RT end to ensure that the LabVIEW 2010 SP1 upgrade really did 'fix' the underlying issue. It's somewhat strange that a version upgrade resolved TCP communication issues that you were having. I just want to be sure that the solution is a truly stable one.
    Sanjay C.
    Embedded Software Product Manager| National Instruments

  • Sending file through TCP/IP

    Hi all,
    I would like to know whether LabVIEW is able to send file through TCP/IP. Can anyone please enlighten me on this. Thank You
    Rgds 

    Hi taytay,
    Of course it is possible !
    Go to function palette >> Communication >> TCP ; I have never used them but here they are.
    Go to Help >> Find examples.. and search for TCP, you'll find example code
    You can also purchase the "internet toolkit" that provide ready to use FTP VIs to send or copy simple/multiple file(s).
    Hope this helps.
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • RMI-IIOP use of TCP/IP

    Anyone know if RMI-IIOP use TCP/IP????? or just IP?

    Hi,
    RMI over IIOP uses IIOP as its communication protocol where as RMI uses a wire level protocol called Java Remote Method Protocol (JRMP) on top of TCP/IP .
    For further information on this please visit
    http://java.sun.com/products/rmi-iiop/index.html
    Hope this helps.
    Good Luck.
    Gayam.Srinivasa Reddy
    Developer Technical Support
    Sun Micro Sysytems
    http://www.sun.com/developers/support/

Maybe you are looking for

  • Ipod Video With Windows

    Anyone know of a free program that can put dvd's onto my ipod...PLease help me im lost here..I've seen handbrake but is that only for macs?

  • Has anyone tried Mavericks on iMac 2011?

    Hey everyone, So I'm starting to feel a little more restricted with my abilities with my 2011 imac since I have lion and apps are beginning to need mavericks for updates (like fcpx, motion) or just to be installed. I have backed up my mac but am very

  • Depreciation Posting Run for Period 02 in 2008

    Dear All, I have closed the 2007 fiscal year for fixed assets and executed the fiscal year change successfully. I have also executed the depreciation run for January period 01 without any errors, however, when I attempted to execute the depreciation

  • Cannot load Faces Context

    Hi All, I deployed a jsf application's .ear file in WebSphere Application Server 5.0 and below are the configurations done in web.xml for this jsf application. <servlet id="Servlet_1097643234125"> <servlet-name>Faces Servlet</servlet-name> <servlet-c

  • Trackpad Problem on Startup

    Hello, Every morning when I boot up the Mac the Trackpad is inoperable first-time. I have to shut it down by holding the power button for a few seconds ..... which I read is not doing the computer any good. When I boot up a second time it does connec