N
Here is my code. Sorry i'm only a newbie. ^_^
serialport.open
serialport.write("01")
serialport.write("03")
serialport.write("00")
serialport.write("21")
serialport.write("00")
serialport.write("01")
serialport.write("crc")
serialport.write("crc")
textbox.text = serialport.readexisting
serialport.close
Someone told me that I should make the whole command to a constant string to get a request data.
I tried it but there is no response either.
Can anyone tell me what is wrong on my code?
serialport.open
serialport.write("01")
serialport.write("03")
serialport.write("00")
serialport.write("21")
serialport.write("00")
serialport.write("01")
serialport.write("crc")
serialport.write("crc")
textbox.text = serialport.readexisting
serialport.close
Someone told me that I should make the whole command to a constant string to get a request data.
I tried it but there is no response either.
Can anyone tell me what is wrong on my code?