Dear Experts:
I cannot figure out how to treat and save data received from RS232, please help me, thank you in advance
my project:
i use PIC18f4553 to send data to computer via RS232, the pattern of data flow is: X_High bytes (8bits), X_Low bytes (8bits), Y_High bytes (8bits), Y_Low bytes (8bits), X_High bytes (8bits), X_Low bytes (8bits), ......,
here is what i plan to do:
VISA read -->put "X_High bytes (8bits)*256 + X_Low bytes (8bits)" in x column, and put "Y_High bytes (8bits)*256+ Y_Low bytes (8bits)" in y column, in the mean time, save and display these data.
I cannot figure out how to treat and save data received from RS232, please help me, thank you in advance
my project:
i use PIC18f4553 to send data to computer via RS232, the pattern of data flow is: X_High bytes (8bits), X_Low bytes (8bits), Y_High bytes (8bits), Y_Low bytes (8bits), X_High bytes (8bits), X_Low bytes (8bits), ......,
here is what i plan to do:
VISA read -->put "X_High bytes (8bits)*256 + X_Low bytes (8bits)" in x column, and put "Y_High bytes (8bits)*256+ Y_Low bytes (8bits)" in y column, in the mean time, save and display these data.