Hello Hema, Thank you for contacting National Instruments.
This can be accomplished by using two reads back to back. Use the first read to "extract" the echo from the camera. Specify the number of bytes to read as the length (in bytes) of the echo information sent by the camera. Use the second read to "extract" the camera position. I hope this helps! If you have further questions, let me know! Matthew C Applications Engineer National Instruments
