Liaison RS 232

Bonjour,
Après quelques recherches sur les liaisons RS232, je fini par poser mon problème sur le forum. Je cherche à communiquer avec une charge Chroma ATE 63200, mais ça commence mal dès l'utilitaire MAX, je ne repére pas mon appareil, et encore moin mon Com1... J'obtiens le résultat sur l'image en pièce jointe.
J'ai essayer avec un oscilloscope, idem, pas repérer...Alors je sais pas si mon soucis viens de mon port, ordi, drivers....
J'appel à l'aide SVP!
Merci d'avance
Pièces jointes :
Erreur Visa Interactive Control.JPG ‏38 KB

Ci-joint 2 liens utiles :
http://translate.google.fr/translate?hl=fr&langpair=en|fr&u=http://www.ni.com/visa/license.htm
http://joule.ni.com/nidu/cds/view/p/id/1606/lang/fr
Philippe B.
Certified Associate Developer / Dépt Moyens d'essais
www.ingenia-system.com

Similar Messages

  • Comment, à parir d'un programme labview peut-on ecrire dans un port serie rs232

    Bonjour,
    je suis actuellement en stage et je cherche à réaliser un programme labview permettant d'imiter un capteur donnant une profondeur et une altitude.
    les informations sont à envoyées à un programme labview sur compact RIO via une liaison RS 232.
    en vous remierciant d'avance,
    cordialement

    Salut,
    Pour écrire sur un port série RS232, il faut utiliser les VIs "VISA Read" et "VISA Write" dans E/S d'instruments => Série de la palette de fonctions du diagramme pour envoyer/recevoir des données. Il faut aussi avant toutes choses configurer le port sur lequel les données vont transiter. Pour cela, utilise le VI "VISA Configure serial port" et "VISA Close" (accéssoirement pour cesser les échanges) dans la même palette.
    En espérant que cela ai put t'aider =)
    @ +

  • VI ne s'arrête pas

    Bonjour,
    j'ai réalisé un VI pour communiquer avec un appareil via liaison RS 232. 
    J'ai créé des structures conditions où quand la condition est "vrai", une commande est envoyée à l'appareil et je recois une réponse et quand elle est "faux" je n'ai rien mis.
    Mon problème est que si je lance le VI en mettant vrai sur une condition , il execute cette condition , renvoie la réponse de l'appareil mais le VI ne s'arrête pas. (alors que quand c'est faux , il s'arrête!). Comment pourrais-je faire pour que le VI s'arrête une fois qu'il a executé la condition et renvoyé la réponse ?
    Merci d'avance pour votre réponse !
    julie

    Bonjour Julie,
    Vérifie ta condition d'arrêt lorsque tu es dans le cas d'une transmission de données. Le problème doit venir de là. N'hésites pas à poster ton VI afin que l'on puisse te donner une solution plus adaptée si nécessaire.
    Cordialement,
    JP
    Julien P.
    Certified LabVIEW Developer

  • Pyrometre Impac "in 5 plus"

    Bonjour,
    Je dispose du logiciel Labview 8.6 et d'un pyromètre infrarouge Impac In 5 plus que je cherche a commander avec Labview mais je n'y arrive pas car il ne reconnait pas l'instrument.
    La connection se fait par liaison rs 232. Mon objectif est de commander le pyromètre, de recueillir températures, de les visualiser et de les enregistrer...
    Si vous pouviez me venir en aide, ça serait sympa....
    Amicalement

    Bonjour,
    Je vous invite à lire ce tutorial sur l'utilisation de
    matériel connecté en rs232.
    http://zone.ni.com/devzone/cda/tut/p/id/2897
    Des exmples sont egalement disponible sur l'utilisation de ces fonctions dans l'aide LabVIEW en recherchant "serial".
    Pour les instructions permettant le contrôle et la réception
    de données de votre matériel, je vous conseil de vous renseigner au près du
    fabricant de votre matériel.
    Cordialement.
    Message Edité par MaximeR le 12-09-2008 02:08 PM
    .mesLeft{float:left} .mesInfo{border-left:solid 1px #989898;font-size:x-small;color:#989898} .mesLogo{float:right;opacity:0.18} .mesLogo:hover{opacity:0.9}
    Maxime R.  
      CLD - Certified LabVIEW Developer / Développeur LabVIEW Certifié  
      CLAD - Certified LabVIEW Associate Developer   

  • Need to build communication redundancy using serial RS-232 for Data Transfer b/w Host and RT irrespective of TCP/IP Data Transfer

    Hi - I would like to build the logic in which it should accomodate the communication redundancy using serial RS-232 for Data Transfer b/w Host and RT irrespective of TCP/IP Data Transfer.
    I want to do data transfer b/w host and RT through RS232 VISA portal whenever TCP/IP ethernet cable has been unplugged from the controller continuosly , it should keep on checking for TCP/IP link re-establishing also , when ever the tcp/ip link established again that time the communication should be using in that link only. This is accomplished by deploying the RT vi as execuatbale file. I made some logic regards to the above said logic , bur it was not working as much I expected.
    I request you to go through the attached two VI's and let me know , what I did wrong in that,
    Please do the needful.
    Attachments:
    TCP_Serial_Host.vi ‏33 KB
    TCP_Serial_RT.vi ‏41 KB

    even i am new to this topic and i am trying to get familiar with these protocols
    refer to tcp server/client examples in labview examples

  • When trying to work with Agilent 34401A multimeter (serial RS-232 connection), HP34401A Getting Started.vi gives always the message: "Error 1073807369 occurred at Old VISA Open ".

    Baud rate and parity are set correctly, RS-232 cable is also connected correctly. My QuickBasic program has no problems to read and write to the Multimeter. It is obviously a software problem: the same error is persistent if I disconnect RS-232 cable.
    I downloaded NI-VISA 2.6 for Windows 95/98/NT/ME/2000/XP frorm digital.ni.com and installed it. But it did not help.
    Thank you in advance
    Best regards
    Alexei Soloviev

    Hi Steve
    I have problems with the 34401A and serial communication. Do you remember
    where the error was in the code ?
    Thanks
    Klaus
    wrote in message
    news:[email protected]..
    > Alexei,
    > This may or may not help, I was tasked to do something similar
    > recently and found an error in their driver. The GPIB VISA worked
    > fine, but when I tried it on serial it played up. There was an errant
    > carriage return (or CR/LF I can't remember). GPIB liked one and Serial
    > liked the other. It always amuses me that we never have problems with
    > Quickbasic!.
    > If you want me to dig deeper give me a shout.
    >
    > Steve Watts
    >
    > On Thu, 24 Jan 2002 06:16:55 -0800 (PST), "Alexei V. Soloviev"
    > wrote:
    >
    > >When trying
    to work with Agilent 34401A multimeter (serial RS-232
    > >connection), HP34401A Getting Started.vi gives always the message:
    > >"Error 1073807369 occurred at Old VISA Open ".
    > >
    > >Baud rate and parity are set correctly, RS-232 cable is also connected
    > >correctly. My QuickBasic program has no problems to read and write to
    > >the Multimeter. It is obviously a software problem: the same error is
    > >persistent if I disconnect RS-232 cable.
    > > I downloaded NI-VISA 2.6 for Windows 95/98/NT/ME/2000/XP frorm
    > > digital.ni.com and installed it. But it did not help.
    > >Thank you in advance
    > >Best regards
    > >Alexei Soloviev
    >

  • How can I define more than one termination character for RS-232 interface communication?

    Hi,
    I have to communicate through the PC's RS-232 interface with a microprocessor board. I am using the "Advanced Serial Write and Read.vi" out of the LabVIEW examples and it works on principle.
    My problem is the termination character: It looks like I just can set one termination character, EITHER 0xA (so LF / newline) OR 0xD (CR / carriage return), but I have the need to react on various termination characters like "<CR> <LF> <CR> <LF> OK <CR> <LF>" or "<CR> <LF> <LF>"; which I would like to set in a control (this VI will be used in a TestStand sequence).
    Is there a way to do that, so that I can set wichever termination character(s) I need? The property node in "VISA configure serial port" just accepts an unsigned integer, nothing else. Sure I can get it running with the timeout - but this is not very nice and extends testing time unnecessarily.
    Thanks & Regards!
    Regards,
    gedi
    Solved!
    Go to Solution.

    That would be for the write. The poster is asking about the read. For the read you will need to write your own read routine. You will basically need to use a loop and inside the loop use the VISA Bytes at Serial Port to see if there's any bytes available. Read that many bytes, and append them to a string that you build up in a shift register. After concatenation check to see if you've got the termination characters. If so, the read is done. Fairly simple. Be sure to turn off the termination character enable in the VISA Configure.

  • Why does ENET-232 driver use 98% CPU?

    I have an ENET-232/4 device running under Windows XP Professional and am talking to it using LabVIEW 6.1. I am taking readings from an instrument every 5 seconds, with a small data exchange (6 byte command, response is about 50 bytes). Everything seemed to work just fine, but when left overnight the computer was very sluggish. The nisdsusr process was using 98% of the CPU time, and it continued to do so until I quit LabVIEW. Stopping the vi, which closed the serial port, was not good enough. I re-started LabVIEW and my vi, and I can see the CPU usage jump up to 12%-14% every time I take a reading, and go to basically 0 in between. This is perfectly fine. Why did this process go to 100% CPU usage and how can I prevent it from happen
    ing again? I am using the 1.01 serial device server driver, which is the latest version and is XP compatible (aside from the driver signing issue).

    I know this thread is old, but should anyone happen upon it...
    This problem (I've had it too) happens when network communication is lost and the serial device server goes into some kind of loop waiting for a tcp ack that never comes back. Something like that. To fix it the port has to be closed that was being used then re-opened. I'm guessing this was your problem when leaving it to run... at some point network communications were lost and the driver went haywire and didn't recover.

  • 232 GB internal drive - can't be right

    My brother, who has a 2ghz MBP with 1GB RAM (2x512) was having problems opening an iMovie project and called me up for help. While guiding him through the process of repairing permissions, I noticed that his internal drive was being reported as 232 GB?
    Actually, since we did this over the phone, I only "noticed" this oddity when he offhandedly mentioned that Disk Util said the drive was 232GB. I said "huh... what is did you say?", "are you sure your external drive isn't hooked up?", "could you check again?" I had him shutdown and unplug everything from his computer except the power chord. I had him restart (multiple times). And I made him re-check it in disk utilities 4 times (and also through "get info").
    Obviously this is impossible as there are no 232GB internal SATA drives on the market, and he got his MacBook direct from the Apple Store and the only custom config he did was to have them add 512 of RAM at the store.
    Any ideas what might be going on???? Any suggestions???
    =======================Background info=================
    Earlier in the day he was working iMovie, using an external drive, lost all his work and had to start over and recreate the project (saving to his internal HD). At some point that started acting up and he called me for help (he could not open the file).
    I discovered he was saving his iMovie Project to the root of his Macintosh HD, so I had him move it to the "Movies" folder (within his username), and then guided him through repairing permissions. This solved his immediate problem, and he was able to launch iMovie and open the project.
    It was while we repaired the permissions that we discovered the 232GB issue for his internal drive.
    ==================================================

    Actually 232 GB is not an uncommon formatted capacity for a 250 GB hard drive, due to the issues listed in this article:
    http://docs.info.apple.com/article.html?artnum=30065
    However, since the largest laptop hard drive on the market is currently 160 GB (200 GB is being reported as coming out in 2nd half of 2006 by several news media sources), I agree that something is messed up with the partition table, or directory.

  • ENET-232/4 doesn't seem to work for some instruments

    I have an ENET-232/4 and it works for some analog-digital interfaces I'm using but doesn't work for other instruments. I tried using a Shimadzu LC2010 with it, it configured OK, but the instrument wouldn't start a run. I tried a Thermo TraceGC and it wouldn't even configure through it. But simple A/D interfaces (PE Nelson boxes, SS420X, etc.) are working fine.
    Are there limitations on the type of instrument that can be run through a ENET-232/4?

    Possibly - if the software is written with hard timings (like it writes a command, waits 10 ms for the reply, then writes a seconds command, etc.) then its going to run into problems communicating over a high latency communication link.
    Sometimes these timings are adjustable - are there any options in the program for adjusting communication timeouts?

  • Satellite L10-232: Black screen after the lid closing.

    hello
    I've moved my notebook (satellite L10-232) to another room, it wasn't shutdown (just closed it). When I opened it there was nothing on the screen and the accu isn't empty (processor is still doing some things). Does anyone know how I can solve this problem?
    Thanks

    Easy ..
    Powermanagement is the weakest and less stable functionality on any laptop. (especially with faulty batteries).
    NEVER try to count on standby mode etc. It will work 999 time and the 1000 time it don't.
    Now you ended with a hung laptop.
    The ways to proceed :
    1. the gentle way :
    -push the power button ,and keep your finger on it for 10 seconds. (5 is enough ,10 to be sure)
    -remove your battery
    -plugin powercable
    -push the powerbutton
    2. the less gentle way :
    -remove the power cable
    -remove the battery
    -wait for 24 hours
    -insert the power cable
    -push the power button
    3. the hard way : ENSURE YOUR HARDDRIVE IS NOT PASSWORD PROTECTED,ELSE YOU LOOSE YOUR DATA.
    try to figure out hat is the key startup sequence in order to reset the BIOS at boot. (it should be described in your manual somewhere)
    4. the hardest way : !!!! ONLY BY A PROFESSIONAL !!!!
    ENSURE YOUR HARDDRIVE IS NOT PASSWORD PROTECTED,ELSE YOU LOOSE YOUR DATA.
    The laptop has to be opened and all battery should be removed. All capacitors should be emptied (by letting laptop without any batteries for 72h) . Then power up
    the laptop.
    Please note that I cannot be held responsable for any damage or data loss by any circumstances.

  • Rs-232 to USB converter trouble

    Hi, everyone
    I have developed an application in labview 6.1 for communicating with an instrument via serial port, using serial compatibility VIs. the software works ok in the development machine which has a rs-232 port, but i can´t make it start in other PCs using USB to RS-232 converters (since they don´t have a serial port, only USB). I simply can´t stablish communications, BUT if I open hyperterminal (just open it, i don´t send any commands or anything else) and then close it again, the application in labview works ok!!! it´s just like hyperterminal "wakes up" my instrument! does anybody has any idea how can hyperterminal do this???

    Are you using the Serial port init vi? Is there any error code coming out?
    Paolo
    Paolo
    LV 7.0, 7.1, 8.0.1, 2011

  • USB to 232 Converter Question

    Hello
    I an working on a project that will use LV to send a string to a 8051 MCU.  Prior to my knowledge of the NI USB-232 device that already has a driver written I spec'ed a radio shack USB to 232 cable.  I selected that cable because I have used it in the past and it alwasys seemed to work without a problem.
    BUT (isn't there always a but)  I noticed that sometimes when the cable is plugged into the PC it does not always get configured as the same com port. 
    My question is this:  If I am not sure which com port will be created when the USB to 232 cable is plugged into the PC how can I get LV to find the correct com port so it can send the sting to the MCU?
    Best Regards
    Tim C.
    1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!

    I know that I am replying to an old thread, but I thought I would fill in some information for anyone else who happens upon this. Windows utilizes the product serial number in order to uniquely identify USB devices on the system. If there is no serial number (which is optional for USB devices), the device is identified by the USB port to which it is connected.
    Many "electronics store" USB to serial converters (and even some more expensive ones) do not provide serial numbers, so Windows has no way to recognize when the same hardware is plugged into a different USB port. This means that any time you switch USB ports, you are likely to receive a new port number.
    You will probably always receive the same port number as long as you are careful to always use the same USB port.
    This should not be a problem with any product which supplies a unique serial number to Windows, although this is dependent on the individual driver implementation. Unfortunately is is virtually impossible to tell without buying a product whether it will identify itself in this way. All NI USB-232 and USB-485 products identify themselves uniquely to the operating system, and we take care to ensure that you
    will always receive the same port number, even when switching USB
    ports.
    -Jason S.
    National Instruments

  • Usb to 232 converter and windows 7

    Hi All,
    Taking a long shot hoping someone has an idea on what the possible solution could be. Hoping I've just missed something obvious. I have a customer who is using the NI usb to 232 converter. The software he is using is emh camcal software. He says the comms worked fine on his XP machine, then he moved it across to a machine with Windows 7. He installed the latest driver, NI serial 3.5.1 I think it is, which supports Windows 7. Now the communication doesn't work. I've got him to run the troubleshooting wizard for ni serial and everything seems fine.
    The client says he's tried a cheap usb to serial converter in place of the NI product and everything has worked. Maybe its got something to do with the configuring of the com ports when the device is plugged in?
    Thanks,
    Jevon

    Hello Jevon,
    Here is a few other things I would try. First does the Windows 7 machine see the COM port in the device manager? If it does, I would make sure to see if MAX sees the device on the customers machine. From MAX you can test the connection with it by using the NI-Serial communicator. I have copied the steps to do this from the manual below.
    Launch MAX.
    Expand the My System directory by clicking the
    + next to the folder.
    Expand the Devices and Interfaces directory by clicking the
    + next to the folder.
    Select your serial interface and expand it to see its ports by clicking the
    + next to its name.
    Right-click on the serial port you want to use and select
    Communicate with Instrument. This launches the NI-Serial
    Communicator.
    Depending on the result of this test, the problem could be with the serial converter or the program communicating with this device. There is a Knowledgebase that contains a lot of different ways to debug these problems and the URL is below.
    http://digital.ni.com/public.nsf/allkb/E8CAFBC41A7B9BF086256D3C00650011
    JimS
    Jim St
    National Instruments
    RF Product Support Engineer

  • While performing a loopback test, how do I determine wether the connection is RS-232 or RS-485?

    I know that for the RS-232 loopback test I should short pins 2 to 3. For the RS-485, short the pins 4 to 8 and 5 to 9. I do this, but the only test that works is the RS-232 one. I was wondering if I had to specify for what connection I was performing the test. All help is appreciated, thanks.
    P.S. All of this is for the D-sub 9 pin port.
    I'm sorry for posting this message under the wrong topic. This probably has nothing to do with Field Point. Even so, if someone could help, I would really appreciate it.
    -Sergio
    Message Edited by s.garcia on 07-06-2009 11:28 AM
    Solved!
    Go to Solution.

    I found this page in NI.com (http://zone.ni.com/devzone/cda/tut/p/id/3450), where there is a diagram of the DB-9 pin definitions for both RS-232 and 485. It says that pins 4 and 5 are the recieving pins, and pins and 8 and 9 are the transmitting ones.
    pin 4 -> Recieve +
    pin 5 -> Recieve -
    pin 8 -> Transmit +
    pin 9 -> transmit - 
    Therefore the loopback test should be done by connecting pins 4 to 8, and 5 to 9.
    Hope this helps you understand my confusion.
    Thanks.

Maybe you are looking for

  • Multiple Exclusion Criteria[Exclusion Mask] in Sender File Adapter

    Hello All, I have a requirement to specify multiple exclusion criteria in the 'Exclusion Mask' property of a Sender File Adapter, i.e. I need to pick up files that correspond to 111*.txt from a specified source directory, but I would also want to exc

  • Pro Oracle Application Express source code?

    Greetings, I bought this book almost a year ago and have yet to see the source code posted on the Apress website. Does anyone know if the source code actually exists or is it vaporware? Regards, Bill Chadbourne

  • FM to display Selection screen on report output??

    Hi Experts, Is there an FM to display Selection screen on report output. Thanks In Advance.

  • Bending in Z Space

    Is there any effect or pulgin that would allow a 3d image to be able to bend in Z space. I am trying to make a believable wing effect so I need to bend it in z space to make it appear that the wings are flapping.

  • " /etc/initab "  or " automatic policy "

    When set for RAC instances, upon a node reboot, which entry is give the higher preference to Oracle Clusterware to start up the services ?? "/etc/initab" entry or the "automatic policy" set up ?