Hi:
I have question regarding to decode strange character when received data from RS232 port.
Here is a sample of what I received when using the sample program serial.cws provide by NI:
" ÿÿÿÿOBÂh(,2.578 ,2.675 ,2.383 ,1.605 ,1.800 ,1.261 ,1.353 ,1.415 ,1.946 ,1.702 ,1.946 ,1.246 ,1.556 ,F3
The data format, suppose come in with a Header of the equipmnent that are connected to the RS232 Port which include, MOdel number, SN number time, Date, Frequency, Correction Factor, Measurement Unit and a sets of recording values. The Last two bit is a checksum of the completed data in HEX.
The Recording value is and chechsum is readable. However I would like to know how to deode the first part with all those funny character.
Also the above sample is received by using the sample program "serial.cws", provide by NI and I seting the read_cnt into 1 and repeat to execute the "Read" until I see the checksum is showing. If I set the read_cnt to 2000 I received "" all the data has been packed into two character and cannot decode.
I greatly appreicate your help to solve this problem.
Thank You
Vicky Lai