Using a TCP/IP Connection to REQUEST and RECEIVE data from a iDRX Signal Conditioner through a EIS-2B Server

First let me say that I am new to labview, please bear with me.  I want to use Labview to querry a iDRX thermocouple signal conditioner using tcp/ip.  The signal conditioner is wired to a EIS-2B server.  The server is at 198.162.10.53 and port 2000.  The data request command is *10x01\r and the expected data to be returned is 01X01+00064.6 (or whatever the actual temperature is).  The conditioner and server are working and testing correctly using the iDRX supplied software.
My attached vi runs, creates no errors, but returns no data either.  I can find many examples of how to set up a listener, but I need to QUERRY and then RECEIVE the data.
Thanks in advance.
Attachments:
Alyeska 4.vi ‏15 KB

Hi Alyeska!  Welcome to the forums!
I took a quick look at the VI, and I have four quick suggestions for
you that may give us some information about what is happening.
You may be experiencing an error that just isn't detected by the VI -
normally we add an error handling VI at the end of program execution to
report any errors that occurred.  Also, it's helpful to have a way
to exit the while loop so that the program can finish executing if an
error occurs.  Third, you may need to introduce a delay between
the query and the read command to allow the server time to process and
respond to the request.  Lastly, if you already know how long the
return message will be, you should wire this length to the Bytes to
Read input of the TCP Read VI so it knows to return the data once it
receives that number of bytes.  I've attached a modified version
of the VI incorporating these - give this a try, and let us know if you
still see an error, and if so, what error.  Also, if you haven't
taken a look at it already, there are excellent resources for learning
LabVIEW at the LabVIEW Fundamentals page - it's a great way to introduce yourself to LabVIEW and get up to speed quickly.
Cheers,
Matt Pollock
National Instruments
Attachments:
Alyeska 4.vi ‏19 KB

Similar Messages

  • I am using an I phone 5 in Germany and trying to get text messaging to work through the hands free Bluetooth connection on a Honda CRV. It keeps telling me that text messaging is not a feature of my phone. messages come in on the phone.How to resolve ?

    I am using an I phone 5 in Germany and trying to get text messaging to work through the hands free Bluetooth connection on a Honda CRV. It keeps telling me that text messaging is not a feature of my phone. messages come in on the phone.How to resolve ?

    mono 8 bit 8k is 64kbps, yes. 8 bits times 8,000 = 64,000 = 64k bits/sec.
    And yes I think that's a typo - there's no such thing as 'Mone' that I've ever heard of...
    But you might want to check to find out if this is a mu-law non-linear format, possibly - there are several ways that 8 bit 8k wav files can be encoded, and typically phone systems don't use linear ones. If you have a log-in to Zultys' user-base system they have an FAQ there, I believe - the answer might be in that, and it won't cost $500.

  • Use GLC-T to connect ucs 6120 and 2960s (RJ45),.have SFP validation failed problem

    hi,every .
    i use GLC-T to  connect ucs 6120 and cisco2960s (RJ45),.have sfp validation failed problem.
    I have done speed to 1G then I am getting error " link not connected" even I have connected the nnetwork cable..

    UCS6120-A(nxos)# show interface e1/7
    Ethernet1/7 is down (SFP validation failed)
    Hardware: 1000/10000 Ethernet, address: 0005.73d2.934e (bia 0005.73d2.934e)
    Description: U: Uplink
    MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
    reliability 255/255, txload 1/255, rxload 1/255
    Encapsulation ARPA
    Port mode is trunk
    auto-duplex, 1000 Mb/s, media type is 10G
    Beacon is turned off
    Input flow-control is off, output flow-control is off
    Rate mode is dedicated
    Switchport monitor is off
    EtherType is 0x8100
    Last link flapped never
    Last clearing of "show interface" counters never
    30 seconds input rate 0 bits c, 0 bytes c, 0 packets c
    30 seconds output rate 0 bits c, 0 bytes c, 0 packets c
    Load-Interval #2: 5 minute (300 seconds)
    input rate 0 bps, 0 pps; output rate 0 bps, 0 pps
    RX
    0 unicast packets  0 multicast packets  0 broadcast packets
    0 input packets  0 bytes
    --More--

  • How to Record HTTP Requests and POST data

    Hai all..
    Can anyone help me to solve this issue..
    How to Record HTTP Requests and POST data by using java..
    regards
    Ranjith Nair

    You should read about TCP and splitting data stream into packets and learn how to understand packet header to assemble stream from packets.
    Actually there are few different stages:
    1. detect handshake to start new empty stream within your code;
    2. detect subsequent packets and assemble stream (there are counters within packet header and they will help).
    After creating start of TCP stream (usually 1KB is enough) you'll be able to detect is it HTTP request/header or no and start logging or ignoring packets for this connection.

  • I bought a new imac running Loin and Office 2011. The server we use to access emails runs exchange 2003 and my IT person says the imac is not compatible with the server. The server does not want to let me access using any email software.

    I bought a new imac running Loin with Office 2011. I am the only mac in the office and the Server we use to access emails runs exchange 2003 and my IT person says the imac is not compatible with the server. The server does not want to let me access using any email software other than webmail access through our website. It looks as though 2011 is not compatible with 2003 per some searches online, but what are some options I have to gain full access again? I purchased parallels in hopes that this my help and I am able to use remote desktop connection to log on to server but can not drag and drop files I need. There is a shared drive on that Server we all use to exchange files.
    The two main issues are gaining access to my email again and ability to drag and drop files from mac to pc. I hope this is enough info to get some solutions.
    PS - IT person says my iMac's IP is what his server does not understand so that is why I can not login.

    Office 2011 is not compatbile with Exchange 2003.
    I suggest you post further Office related questions on Microsoft's own forums for their Mac software:
    http://answers.microsoft.com/en-us/mac

  • How do I use Migration Assistant to get my Mail and Keychain settings from

    How do I use Migration Assistant to get my Mail and Keychain settings from my Power Mac G5 2.3Ghz? I just purchased a new 2.5 MacBook Pro which will be delivered tomorrow, and I want to to know how to transfer Mail and Keychain?
    Thank You in advance for your reading and replying.
    Kindest Regards,
    Sebastian

    Rather than using Migration Assistant, which can cause trouble with the PPC to Intel change, simply boot the G5 in FireWire target disk mode and manually transfer the following:
    /Home/Library/Keychains (copy the whole folder)
    /Home/Library/Mail (copy the whole folder)
    /Home/Library/Preferences/com.apple.mail.plist
    You might want to look over Kappy's helpful guide for migrating, which covers the full process for a manual migration (including the above files).
    Hope this helps...

  • Using family sharing, how does one view and download songs from a family member's collection in itunes?

    Using family sharing, how does one view and download songs from a family member's collection in itunes?

    When you click on your device you are presented with the pages
    Summary
    Info
    Apps
    Tones
    Music
    Movies
    TV shows
    Books
    Photos
    To remove Audiobooks depending on the type of Audiobook ie a series of mp3 files you will find under music and probably have to deselect the album name to remove it. I don't have any of these as I download from Audible or I use Audiobook Builder to stictch together mp3 files into m4b files. To find these Click on Books you will immediately see a section for books (in reality ebooks). Scroll down past that and you will see Audiobooks where you can select and deselect. Deselect the required Audiobooks and Click Sync

  • Creating a external content type for Read and Update data from two tables in sqlserver using sharepoint designer

    Hi
    how to create a external content type for  Read and Update data from two tables in  sqlserver using sharepoint designer 2010
    i created a bcs service using centraladministration site
    i have two tables in sqlserver
    1)Employee
    -empno
    -firstname
    -lastname
    2)EmpDepartment
    -empno
    -deptno
    -location
    i want to just create a list to display employee details from two tables
    empid firstname deptno location
    and same time update  in two tables
    adil

    When I try to create an external content type based on a view (AdventureWorks2012.vSalesPerson) - I can display the data in an external list.  When I attempt to edit it, I get an error:
    External List fails when attached to a SQL view        
    Sorry, something went wrong
    Failed to update a list item for this external list based on the Entity (External Content Type) 'SalesForce' in EntityNamespace 'http://xxxxxxxx'. Details: The query against the database caused an error.
    I can edit the view in SQL Manager, so it seems strange that it fails.
    Any advice would be greatly GREATLY appreciated. 
    Thanks,
    Randy

  • I'm using Entourage 2008 v 12.3.5 and lost ability to SEND.  Tried many small email tests.  Server continues to leave time out message.  "An operation on the server timed out. The server may be down, overloaded, or there may be too much net traffic.

    I'm using Entourage 2008 v 12.3.5 and lost ability to SEND.  Tried many small email tests.  Server continues to leave time out message.  "An operation on the server timed out. The server may be down, overloaded, or there may be too much net traffic."  Comcast tells me server is not down all other network activity is fine.  WHat's up with this?

    Starting earlier today, this also became my problem - can receive but not send in Entourage. The account settings are correct in Entourage - I even created a new account.  My Mac running 10.7.5 won't read the original Office : MAC 2008 disk, so I can't do a fix or reinstall from the disk.
    This is not an issue if I log onto the Comcast site.
    And so, I started using Mail but, unlike Entourage, Mail won't import my Entourage info.
    Argh...  :-(

  • I recently purchased a MacBook Pro and transferred data from my MacBook via Ethernet cable. I did not consolidate my accounts and kept using my MacBook. Can I update the data transfer now using Ethernet and can I consolidate my accounts?

    I recently purchased a MacBook Pro and transferred data from my MacBook using Migration Assistant via Ethernet cable.  I was confused about consolidating my accounts, so I continued to use my old MacBook.  Can I now update the data transfer using the same process and begin using my new MacBook Pro exclusively?  How do I consolidate my existing accounts?
    Thank you.

    Of course. It does everything it did before Yosemite. You just won't be able to send or receive SMS messages with it.

  • Can I use my old IPhone as an Ipod, and download songs from ITunes?

    Can I use my old IPhone as an Ipod, and download songs from I Tunes?

    Sure, it will work just fine that way. Leave the deactivated sim in the phone, as you'll need it should you ever have to restore or upgrade the software on the phone. You can't activate any GSM iPhone without a valid sim in the phone.

  • Hi! Just got my new ihpone 4 yesterday, but i'm having issues in texting a specific contact. sending sms or iMessages works perfectly fine with all my contacts apart from 1,which is even using my same network, though i can call it and receive sms from it.

    Hi! Just got my new ihpone 4 yesterday, but i'm having issues in texting a specific contact. sending sms or iMessages works perfectly fine with all my contacts apart from 1,which is even using my same network, though i can call it and receive sms from it. What could the problem be?

    My Quad is as quiet with 10.4.5 as it was on arrival Jan 31, with 10.4.2
    Altivec Fractal Carbon gives the CPU too much chance to cool down. I've got other ways to drive the CPU to sustained 100% load. Yes, the fans speed up, but it's still pretty quiet. I've run it at 100% for hours.
    I like the idea of taking things gradually. If you can wait a few days before making big changes, it can make things much easier. 3-4 weeks is very conservative, but great if you have that much patience.
    My Quad has been up full-time since I got it. Works perfectly.
    Quad G5 2.5Ghz 4.5GB 2x250G, PB 15" 1.5Ghz,80G,1.5G   Mac OS X (10.4.5)  

  • How do I prevent browsing and search data from being forwarded to Google by Mozilla, while still using Mozilla's Firefox as my default browser?

    I do enjoy using Mozilla's Firefox as my default browser, BUT, I don't enjoy the details of my life, to include my Internet activity, to be archived by Google, or anyone else, via Mozilla's/Firefox's sharing of my Internet browsing and/or search engine activity with any aspect or facet of the Google organization. With all of this said, my question is, "How do I prevent browsing and search data from being forwarded to Google by Mozilla, while still using Mozilla's Firefox as my default browser?"

    Firefox's default behavior includes no automatic interaction with Google.
    We do use Google as default search engine and to report web forgery in the 'help' menu, but no data are sent to Google without your knowledge, and you can change your preferred search engine at will.
    However many websites themselves make use of Google Ads which do cause interaction with Google when you load the webpages. This is visible in status bar and happens in any browser. The [https://addons.mozilla.org/en-US/firefox/addon/noscript NoScript] add-on for Firefox can largely save you from this problem.
    If you see things happening otherwise, please reply with details on what you see.

  • Using cRIO-9024 serail port can I read the data from AFM60 absolute encoder, multiturn, SSI interface

    I would like to request you to kindly address the following quarries.
    1. Using cRIO-9024 serial port, can I read or write data from AFM60 absolute encoder, multi-turn, SSI interface (please see the attachment for detail information about the encoder)?
    2. Which type of encoder interface (SSI, TTL/HTL) is compatible with the serial port connection of cRIO-9024 controller?
    3. Are there any limitation on choosing the output frequency and resolution (pulses per step) of the encoder? If the answer are yes, what are the suitable ranges of frequency and resolution?
    Looking forward to your kind reply. Thanking you.
    Regards
    Shantanu
    Attachments:
    afs60_afm60_english.pdf ‏2298 KB

    Hi Shantanu,
    To read and write data from the serial port on a cRIO you access the serial port as a VISA resource, there are serial VISA VIs to read and write data on the serial port.
    If you look under the Hardware Input and Output folder in the NI Example Finder, you should find a Serial folder, this contains examples for serial communication.
    The serial interfaces on cRIO devices use the RS232 standard, unfortunately as SSI is based on the RS422 standard, you won't be able to directly interface the encoder to the serial port as they are not compatible. You would have to either use a separate interface between the devices or use a digital input module in your cRIO to directly process the encoder data.
    To answer your question about frequency, the maximum baud rate for the serial port on the 9072 as listed here is 115200 bps, so this would be the maximum raw data transfer rate for any connected device, the number of steps for your particular encoder is limited by the maximum shaft speed as detailed in its specification. 
    I hope this is helpful to you, feel free to ask further questions and I'll do my best to answer them.
    Regards,
    Adam Brown
    Applications Engineer
    National Instruments UK

  • How to use sda6810 to receive data from a rs485 channel?

    I want to use sda6810 to anlyze data from a rs485 bus. So I use Labview to progame the sda6810 with the drivers.Firstly,I intilite the card,then I cofigued an channel to send data from a buffer,and configued another channel to receive data from the first chanel . But unfortunatly the data I received was not equal to the data I sended.And there are not any error messages indicated in Labview
    And when I try to use the GP channel,I found it worked properly.please tell me how I can solve the problem?

    I really apreciate your help.You told me that
    I should use the exameples which shipped with sda driver firstly. I do used them,and it worked correctly.So I think the connections was being setup properly.And I
    used labview to progame the rs485 channel
    . It do received something .But it was incorrect.
    I would be grateful if you could send me an
    example writted by labview,or you could tell
    me you e-mail address.
    Here is my code .
    Attachments:
    youyou2.zip ‏110 KB

Maybe you are looking for

  • Clearing old AP names on WCS

    when I go to monitor/access points I see access point names that are not the real names. Some will be called AP0023.0425.05ba and when I look on my controller there is no AP0023.0425.05ba. How can I clear out the access point list and make it refresh

  • Is it possible to write an operating system in java?

    Our highschool requires us to do a senior project to graduate. It has to be something you want to do as a career. I want to be a programmer so I thought it would be cool if I wrote an operating system. I really don't know where to start though, I tho

  • I cant unlock my iphone 4

    i want to unlock my iphone 4 Tmobile

  • Powerbook G4 noisy hard drive- is it coming to an end?

    I have had my powerbook for four years and it has done hard work on the road in inhospitable places for most of that time. Now that I'm back home, I've noticed that it has started to sound like a lawnmower (or is that some kind of fan inside?) and it

  • Camcorder to video ipod direct.

    Hi sounds abit dim-i know!,but what camcorder can be plugged direct to ipod ( via camera dock)to download home movies? I am travelling around the world and want my movies to be stored on my ipod,is this possible? if so what,how and when. Many thanks