Labview Parse Serial Data

I want to use LabVIEW to collect the serial data from the receiver. The problem I'm having is it is only collecting the last byte of data that I send. It doesn't matter how much data I send, it only says that there is one byte available and it only collects the last byte. I searched google but couldn't find anyone.

Parse

Wrote: hi Sir, i am student of third year electronics I'm assigned to a project in dht22 arduine interface with LabVIEW sensor. Most of the things I did. But now the matter is that I am able to read un Humidity + Temperature separately how do I split the data up. I am sending serial data from Arduino to LabVIEW. The two files ( prog and arduino Labview file) I am sending you please solve my problem and send me the updated file. Will be free for you Thank you What's the format of the data you are sending from the Arduino?

Hello Matlab users, I’m using MATLAB to format and save some serial strings of data from a micro-converter connected to COM port 1 with RS-232 on my PC. What I wanted to ask is what are the main commands and functions that I should be looking at for this application? The string that I want to detect is a small part of a much bigger transmission where there is lots of symbols and data separated by commas (,) and in the transmission my data is framed in these symbols () eg. [s,s,s,s,#03,V7380,t05,{78, 0000,,V7380,t07,s,s,s,#00,] The DATA looks like this: 0844,0844,0844,0844,0844,0844,0844,0844, I am working with the help tab in matlab right now and the going is quite slow so I will be glad to read any responses posted. Thanks, Ronan. On 2/16/2012 10:37 AM, Ronan Lyons wrote: > Hello Matlab users, > I’m using MATLAB to format and save some serial strings of data from a > micro-converter connected to COM port 1 with RS-232 on my PC. > What I wanted to ask is what are the main commands and functions that I > should be looking at for this application? Carolyna pro black font

> > The string that I want to detect is a small part of a much bigger > transmission where there is lots of symbols and data separated by commas > (,) and in the transmission my data is framed in these symbols () > eg. [s,s,s,s,#03,V7380,t05,{78, 0000,,V7380,t07,s,s,s,#00,] > > The DATA looks like this: 0844,0844,0844,0844,0844,0844,0844,0844. If you're returning a complete string and post-processing, then findstr() w/ the ' substring (or any other unique combination) would be straightforward. Then sscanf() or textscan() of the portion past that to the end should return the data if it's consistently formatted. If it's a fixed-length format string, simply counting characters and using those indices would work if the communication is error free.

If it's partial strings being processed, that's a little more complex, a state-machine parsing process might be the ticket there--start scanning until find the opening '.

    Search