S
Stanley Wan
Hello all,
I have written a console program which is used to send and
recive data from a machine. I have used the HyperTerminal
to check the machine and get the wanted result. But my
program cannot get anything even though the port setting
is the same as HyperTerminal. Firsty, the machine must get
the operation signal, i.e. 3 characters(e.g. ABC). And
then the machine receive 2 bytes numerial(Hex) input
($010C) and return unfixed length of result to computer.
So I send 3 ascii code of characters to the machine, and
then i use 'byte' for the input in my program. Is
HyperTerminal pre-set some settings that i am not realize?
or my implementation is wrong. Thank you for anyone.
Stanley
I have written a console program which is used to send and
recive data from a machine. I have used the HyperTerminal
to check the machine and get the wanted result. But my
program cannot get anything even though the port setting
is the same as HyperTerminal. Firsty, the machine must get
the operation signal, i.e. 3 characters(e.g. ABC). And
then the machine receive 2 bytes numerial(Hex) input
($010C) and return unfixed length of result to computer.
So I send 3 ascii code of characters to the machine, and
then i use 'byte' for the input in my program. Is
HyperTerminal pre-set some settings that i am not realize?
or my implementation is wrong. Thank you for anyone.
Stanley