04-10-2010 04:16 AM
04-10-2010 09:19 AM
04-11-2010 06:29 AM
04-11-2010 10:59 AM
04-12-2010 10:12 AM
It depends. As Dennis commented, (at least without a lot more structure in the messages from your serial port) there is no way to reliably
decode them if your "ASCII 1" is the hex byte 31, the representative of the character for the number 1. If you instead meant the hex byte 01,
the indicator for "start of heading", then Search and Replace Pattern could be made to work, though I think I'd try the Scan String For Tokens
function instead as a much simpler approach to a robust solution. If the delimeters are the hex bytes 01 and 02, I can provide an example,
but you'll have to clarify exactly what you are looking for.
04-12-2010 02:48 PM
Actually i m receiving series of bytes, which are coming from 2 different input sources, through serial port in labview.... these bytes should be actually alternate bytes from two sources like
"input1 input2 input1 input2........."
But to differentiate between input1 & input2, i m sending a control byte before each input data byte from source to labview like
"control1 input1 control2 input2 control1 input1 control2 input2........"
Now i want to display these two different inputs separately in labview on some graghs....
ofcourse i have to first demultiplex this series of bytes to achieve inputs separately... for which i want to use control bytes...
is this method correct??
if Yes, then how can i effitiently implement this method in labview??
if No, then kindly provide me some other useful method with labview example file...
Thanx in advance...
04-12-2010 05:11 PM