LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

recieve packet discarding starrt and end of frame

Solved!
Go to solution

i wann process the recieved packet serially by discarding start and end of frame and saving the actual packet

0 Kudos
Message 1 of 5
(2,384 Views)
Solution
Accepted by topic author Manoj90

What is the format of the packet? You can use string subset and string length if it is a fixed size. If the start and end of frame are unique (never show up in your data) you can remove it with a regular expression or search and replace all.

=====================
LabVIEW 2012


Message 2 of 5
(2,381 Views)

Thank you for the solution.

Another question is my packet is lik AxxFxxxxxxxBxxxWxx goes on where A,F,W,B are codes for address, freq,bandwidth etc and xx are values.

now how to extract "xxx" values n update values of address,freq,bw? also if acknowledgement is asked i shud send stored values of address, freq,bw serially

how to proceed?

0 Kudos
Message 3 of 5
(2,364 Views)

If your format remains the same, you could use something like this.

scan from string.png


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
Message 4 of 5
(2,354 Views)

Thanks for solution but wat happens if format changes eg above soln applies for AxxKxxFxxBxxWxx.. wat happens if F comes aft B or W i mean if format isn`t fixed?

Eagerly waiting for reply

0 Kudos
Message 5 of 5
(2,328 Views)