Serial vs Ethernet communication for gas analyzers

I need to control several Thermo gas analyzers through LabVIEW and each has an RS-232 port and an ethernet port. Has anyone does this kind of thing before? I just want to get a sense of which would be easier for programming and communication purposes. 

First, have you done a search for an existing driver? You can go to the Tools menu and select Instrumentation>Find Instrument Drivers. The main page for drivers is the Instrument Driver Network where you can also do a serch and find resources on what a driver is and how to create one. With the VISA api, you can create a driver that will handle both serial and ethernet (or USB, GPIB, etc) with very little extra work. Look at the example driver that comes with LabVIEW - the Agilent 34401. This instrument has GPIB, Ethernet, Serial, and USB options. The only thing in the driver that is specific to a specific interface is one case statement in the Initialize function. VISA abstracts all of the differences in physical interfaces.

Similar Messages

  • Access to serial and ethernet port in FPGA for cRIO-9068

    hi
    i want to know if i can Access to serial and ethernet port in FPGA for cRIO-9068 like camera IP
    thanks for help

    dalyto wrote:
    thanks
    but how i can i acquire image with IP camera and fpga ???
    The Ethernet hardware interface in the cRIO is not directly connected to the FPGA backplane in a way that you could directly access it. Even if you could it would be a pretty bad idea to try to do. A fully operational TCP/IP network stack implementation in the FPGA would not leave much resources for anything else even on the biggest FPGAs available. That doesn't include support for the typical image compression algorithmes which are even more complicated to implement on FPGA. Even if you would go to highly optimized VHDL code directly it would be a pretty difficult thing to do!
    In fact implemenintg the MAC and PHY of an ethernet interface on the FPGA is totally trivial in comparison. The IP level could also be implemented fairly easily in the FPGA but anything above that is going to give you bad headaches and still will be very limited in number of connections and packet sizes it can support.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Establish a connection through RF modem's on client & server side & to set up PPP communication for data transfer

    hi
    can any1 over here help me out in how to establish connection between 2 RF modem's for data transfer , between client & server USing LABVIEW?
    I want to establish a connection between 2 PC's through  RF modem on client & server side & to set up PPP communication for data transfer.
    (I have tried data transfer through RS-232 using TCP/IP whn the 2 PC's are connected over ethernet... which is working.
    I also tried connecting loopback cable between 2 PC's COM port & geting data transfer using VIsa configure serial port & other visa functions  ... which is working)
    can u guide me how to establish connection between 2 RF modem's using LABview?
    & how does the data transfer take place between 2 RF modems through RS-232?
    is it using TCP/IP?
    If you got any links to go abt this issue do send me related links .. or any examples .....
    I am currently using Labview version 8.
    Waiting in anticipation.. reply ASAP..
    thanking you
    Regards
    Yogan..

    Howdy yogan,
    Maybe you could clarify a few things for me, and we'll see how we can help ya. TCP/IP protocol occurs through an ethernet connection; RS-232 communication occurs through an RS-232 serial connection, typically through a cable that has a DB9 connector on both ends. Do you mean that the RF modems in question have the option to communicate via RS-232 and/or via TCP/IP ethernet? Specific information like the manufacturer of your RF modems, the model number of your RF modems, and how you connect the modems to the PC would enable us to give you more efficient support.
    You can check our Instrument Driver Network (IDNet) to see if a plug-and-play/IVI driver already exists for your RF modem. (You'll need to know its manufacturer and model number.) In the case that you do find an IDNet driver for your modem, you can use this KnowledgeBase article for instructions on how to use the driver.
    Another excellent resource to consider is the NI Example Finder. You can access this within LabVIEW by navigating to Help»Find Examples and then searching for serial or TCP/IP examples.
    Message Edited by pBerg on 03-10-2008 04:35 PM
    Warm regards,
    pBerg

  • Modbus ethernet communications problem

    We are having a lot of trouble with modbus ethernet communications. We are using Lookout 6.0.2. Communications is via a Lantronix UDP100 convertor to RS485. The protocol is MODBUS RTU. A number 6-8) instruments are daisy chained on the RS485 (2-wire) line and then connected to the Lantronix. I am using your Ethernet modbus driver.
    If all the modbus instruments are connected then the system works fairly well. However if one gets powered off or disconnected we start getting random comm fails from all the other instruments on that RS485 link. This happens even if I stop polling the dead instrument. It only goes away and the network performs perfectly if I close the modbus driver for the dead instrument.
    This behavior does not happen if we use RS485 to Lookout instead of the Lantronix+ethernet.
    Need some ideas soon.
    - VS

    Does the convertor you said support Modbus? Because Modbus serial protocol is different from Modbus TCP protocol, if the convertor doesn't support Modbus, I think it won't work.
    On the market, you can find Modbus/TCP to Modbus RTU gateway. But I'm not sure if your convertor has the same feature.
    Ryan Shi
    National Instruments

  • Serial Number is not for a qualifying product

    Hello!
    I just purchased a new Windows 8 laptop on which I want to load my existing copy of CS6 (I have the CD). I deactivated it on my old computer and tried to load it on my new one.  I'm receiving the following error message:
    This serial number is not for a qualifying product. Please try another.
    The only CS6 in the list of products to choose from is Adobe Photoshop CS6 Extended and prior versions.
    I verifed under my account on the adobe site that I had registered my copy of CS6.  I'm really not sure what else to do but at this point I'm lost without my Photoshop!!! 
    Thank you for your assistance!
    --AKrubygal

    Apart from contacting customer service maybe this Forum might be a better fit:
    http://forums.adobe.com/community/download_install_setup

  • 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

  • LVRT PXI Target ethernet stops for several seconds

    Hello,
    I am experiencing a problem described in this thread:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=101488&requireLogin=False
    A brief explanation is: during TCP transfers, the data transmission will pause periodically, for several seconds.  In that case, LV version is 7.1, and the solution was a maintenance upgrade to 7.1.1.  In my case, the LV version is 7.0 (I am supporting a customer application), and because LV 7.1 was not purchased, the upgrade is not available to me.
    Is there a similar fix available for LV RT 7.0?  OS is Windows 2000.
    Thank you,
    RonC

    Hello RonC,
    From what I understand, you are asking for a maintance release to improve the TCP communication.  Unfortunately, that does require the upgrade to at least 7.1.1.  One other option that might help improve performance is to set your system to half-duplex.  I have included the instructions below:
    When using a crossover cable to communicate between an RT controller and a windows host, it is important to ensure that the systems correctly negotiate signals. By manually setting these connections, you ensure correct communication with the RT system and host.
    Configure the settings in Windows 2000 or Windows XP
    Right-click on My Computer on the Desktop and choose Properties.
    Select the Hardware tab and click Device Manager.
    Expand Network Adapters.
    Right-click on the ethernet communication device (i.e. Intel(R) PRO/100VE Desktop Adapter) and choose Properties.
    Select the Advanced tab and browse the list on the right hand side. One of the items will allow you to configure the communication settings by selecting an item from the Value drop down menu. In the Value drop-down box, you will see the following options:
    100Mbps/Full Duplex
    100Mbps/Half Duplex
    10Mbps/Full Duplex
    10Mbps/Half Duplex
    Auto Detect
    Select one of the Half Duplex modes and select OK
    The host system is now set up for half-duplex communication
    Configure the settings on the RT Controller
    Open Measurement and Automation Explorer (MAX)
    Expand Remote Systems and select your Real-Time target
    Select the Advanced Ethernet Settings Button to bring up the property page
    In the property page select half duplex and select OK
    The Real-Time controller is now setup to use half-duplex communication.
    I hope this helps!
    Janell R | Applications Engineer

  • Ethernet Communications Issue

    Hello list,
    I have an ethernet communications issue.
    We can communicate with our products using two communications modes, ethernet, and a proprietary CAN. For the ethernet connection, I have a router that assigns a DHCP address to the product (169.254.130.005). For the CAN connection there is a hardware ethernet to CAN adapter that has an assigned address of 169.254.130.006.
    Below is a simplified example of the code I use to talk to the product. (there is only one loop...two loops are shown. One showing the True Cases, one showing the False cases.
    So I set the I.P. address, set "Connect?" to true, and run my code for a while. I then set "Connect?" to false, change the I.P. address, and then set "Connect?" to true.
    What I have found is that the "TCP Close Connection" does not actually close the connection, and the "TCP Read" and "TCP Write" are reading and writing to BOTH I.P. addresses simultaneously! (confirmed by using Wireshark). I don't understand how this can be since I only have one TCP Write and one TCP Write, and see only one "Connection I.D." when I probe that wire.
    Am I not closing the connection properly? Do I have to kill the connection ID in Windows somehow?
    Any ideas would be appreciated.
    Thanks in advance,
    Mike
    Using Labview 8.2
    Windows XP
    Attachments:
    Ethernet Issue.JPG ‏274 KB

    Nathand,
    The code shown is a simple representation of what I'm doing.  I guess it wasn't clear.  The switch is connected to a shift register to compare the previous & current loops itterations and only opens one connection "on change" of the "Connected?" input.  (that is confirmed with Wireshark).  Also, the product tells me that I have made only one TCP/IP connection on each IP address.
    I pass the Connecion ID that is created out the right side of the loop and into the left with a shift register when the connectionis made...so the same Connection ID is used for each read/write.  What I'm not understanding is how I can see only one Connection ID on the wire but a read/write to both I.P. addresses with only one one read and one write in my code.
    Any other ideas would be appreciated.
    Thanks,
    Mike

  • Ethernet communication with NI9149

    Hi everyone,
    I would like to create a rugged system by interconnecting several units by means of Ethernet for a measurement and control application. My question is if I can connect NI9149 chassis over the ethernet directly for control and communication with the modules attached to the chasis and application or is required an additional ethernet controller for each unit. The application is created in Measurement Studio. The system diagram is presented in attached file. Thanks.
    Attachments:
    Untitled.png ‏26 KB

    The 9149 gives you direct access to I/O using a technology called shared variables, which should be accessible from measurement studio. Shared variables are a peer-to-peer protocol meaning you just need to connect the 9149 to your network and you should be able to get data.
    However, shared variables are lossy and have a maximum rate -- I've seen something on the order of about 50-100 Hz update rates mentioned in various locations, although performance will be application and network specific. If you need faster performance you will have to use a FIFO (allowing you to stream data) and you will have to program the FPGA using the LabVIEW FPGA module. I believe you should be able to interface with the FPGA but it will require using the LabVIEW FPGA C interface and you must be able to call the dll from measurement studio. There may be an easier mechanism I am unaware of.
    You may also consider ethercat for your application which does require a separate real-time host but is also a faster protocol. A good comparison of options is here: http://www.ni.com/white-paper/14151/en/

  • I bought a new iMac today. I'm using migration assistant to move all my software, but the time just keeps getting longer. It says connect an Ethernet cable for faster data transfer. I did, but that doesn't seem to help. Any ideas?

    I bought a new iMac today. I'm using migration assistant to move all my software, but the time just keeps getting longer. It says connect an Ethernet cable for faster data transfer. I did, but that doesn't seem to help. Any ideas?

    m1doc,
    Are you migrating from a Mac or a MS Window machine? Either way you probably should be in touch with AppleCare, you have 90 days of free AppleCare telephone support. They can usually help on issues like this. If you don't know the phone number please use http://support.apple.com/kb/HE57 to help find the number in your country.

  • I hooked up new iMac to wireless network and now iPad and iPhone do not work using wireless.  I am using a Netgear N300 router.  Also my Netgear ethernet/homeplug for wireless TV internet no longer works.  Any ideas?

    I hooked up new iMac to wireless network and now iPad and iPhone do not work using wireless. They did before hooking up the iMac. I am using a Netgear N300 router.  Also my Netgear ethernet/homeplug for wireless TV internet no longer works.  Any ideas?  I have tried unplugging, restarting, and resetting.  No luck!  Thanks!

    You should probalby contact Netgear

  • Error "This serial number is not for a qualifying product..." when installing an upgrade or upsell

    I am trying to open a .indd file.  I am running Adobe InDesign CS5.  I got an error that plugins need to be updated.  When I try to install the updates, I get the error that says: "Error "This serial number is not for a qualifying product..." when installing an upgrade or upsell..."  
    Can someone please help me with what I need to do to be able to open .indd files?
    Thanks,
    Nick

    Those files were created in a later version of InDesign. Have the person that created them save them back via IDML or you’ll need to upgrade.

  • Installed successfully, but can't update.  Error "Serial Number is not for qualifying product"

    I installed Adobe Creative Suite Production Premium (CS5) on a new PC (Windows 8.1).  Installation was successful.  I uninstalled it on old PC and de-activated it.  My problem is that I can't Update.  Without Updates, I can't read newer Canon photos (so I can't use Bridge or PhotoShop).  In doing the install the first time, I put in an incorrect Adobe product number (I think from Elements 8.0, which I purchased years ago).  I have re-installed twice using the correct serial number, but same result:  I can't Update the programs and get a "Serial Number is not for qualifying product" error..  Please help.  Dave

    update manually,  http://www.adobe.com/downloads/updates/

  • Upgrading to CS6 returns: "This serial number is not for a qualifying product"

    I have CS5 and have been using it for about 2 years. The Serial number for CS5 it is registered to my adobe id.
    So i decided to upgrade to CS6 today. I then registered that to my adobe id as well.
    When i open CS6 and enter my new serial number, it tells me:
    Serial Number you provided is valid, but a qualifying product could not be found on this computer
    Which is strange because CS5 is currently installed and running on this computer
    So it then prompts me to select a previous product that I own and enter the serial number for that. So I select CS5 and enter the serial number for my CS5 license.
    However, it then tells me: "This serial number is not for a qualifying product. Please try another"
    But it doesn't tell may any further details. I.e. Why is it not valid?
    Can you help?
    Thanks!

    Brazzers234 is the serial number for CS5 also an upgrade?  The upgrade process is looking for a full version serial number.  You can determine what type of serial number is registered under your account at http://www.adobe.com/.  For additional details please see Find your serial number quickly - http://helpx.adobe.com/x-productkb/global/find-serial-number.html.
    If you have verified that the CS5 serial number is a full version serial number or your previous full version serial number is still not accepted then please contact our support team directly at Contact Customer Care to verify the validity of the previous version serial number.

  • ACPI Ethernet driver for Win 7?

    Hello
    I've no idea if I am even near the correct place to be. Would love to find out from someone who knows where I can find on Microsoft's web-site, the  ethernet driver for acpi. It turns out I haven't one on my computer and how I lost it is anyone's guess
    as I really am computer illiterate. D-link doesn't always work so I would love to replace my ethernet driver.
    Have Win 7
    Help please??? and Thank you so very much~ Teena

    Here is the forum for you

Maybe you are looking for

  • IPhone and iPod on same iTunes library

    I'm interested in a iPhone 3G, currently have a iPod classic. I need to have my iTunes library stored on both. The iPod is used for the car. Because the connection for the iPod is in the glove box, I have to have both to be able to easily use the pho

  • Help - Cant use CS3 after Hard Drive replaced and software had to be reinstalled

    My iMac needed a new Hard Drive so had this replaced by licensed Apple repairer. All software was lost and was told to reinstall CS3 which I did successfully. I have the original CD's. Serial number accepted. When I opened up Illustrator, Photoshop o

  • How to create a DB Adapter with select query having inner query

    Hi All, I am trying to create a DB Adapter with select query. The query has some inner queries in it. It is just like this select a, b, c, (select d from e) d, (select e from e) e from tablename. The problem here is with the xsd generated for this qu

  • Creative vision m dow

    hi i'm having some trouble with my vision m.. A month ago my player started to act wierd. Every time I put it on it says "loading libary" two weeks ago I realised that every time the libary is reloaded, song will dissapear. Also all my movies and pic

  • Radiobutton in screen painter

    Hi all, I am using screen painter to create a screen with different elements. One of them is to create 2 radiobuttons but oly one has to be "checked" when the screen is in output. How do i do that? thanks!