Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

how to seprate the serial incomming string

Hello to everybody

 

im recieveing the incoming serial data from the atmel controller. The serial packet contains the start bits and data the problem is that i successfully recieve the serial data in labview but can't separate the strings (or data from incoming string). The message format is  "$ET444F.............." (this data is in hex format). I wanan to filter the 44 , 4F,..... data and show in separate boxes.  so anyone help me out i also uploaded the GUI.

 

The data I receive at hyper terminal is in this format  "$ETADNAN"

 

the data log in text file is "$ET Aےےےے  ےA AےےADےADNAN#$ET Aےےےے     ےA AےےADےADNAN#"  it start from $ET

if i open it in ultraedit it shows like "$ET 44 4F FF......."

 

thanks for replying

0 Kudos
Message 1 of 2
(3,055 Views)

Hi adeelghani,

 

Thank you for your detailed message and description of the problem you are facing. As I understand it you are trying to read parts of the string you receive from you serial input. I have found an online example that will help you and I have created a small vi which illustrates some of the available functions. I have attached the file in 2009 and 2010, if you are on a previous version let me now and I will post the appropriate file.

 

Let me know how you find these examples and feel free to ask any further questions

 

Thanks

Stephanie L
Applications Engineer
National Instruments UK and Ireland
Download All
0 Kudos
Message 2 of 2
(3,027 Views)