K
I am trying to communicate with a hardware based on RS 485 network. The procedure for the same is
Initialise the hardware by sending the command : Hex (81) {CR}. For getting the data : "RA : " this command is in ascii.
I am trying to communicate using VB but facing some problem. When I initialise the hardware using dos based COMM485 software and then sending
the command "RA" from VB I receive the correct values. But when I try to initialise the hardware by sending the command Hex (81) {CR} from VB, I am not able to communicate.
I think I am making some error in the command. It is something to do with Hex format.
Can any body suggest me the exact command in VB for the initialisation for my application?
Regards
Kiran Marekar
Initialise the hardware by sending the command : Hex (81) {CR}. For getting the data : "RA : " this command is in ascii.
I am trying to communicate using VB but facing some problem. When I initialise the hardware using dos based COMM485 software and then sending
the command "RA" from VB I receive the correct values. But when I try to initialise the hardware by sending the command Hex (81) {CR} from VB, I am not able to communicate.
I think I am making some error in the command. It is something to do with Hex format.
Can any body suggest me the exact command in VB for the initialisation for my application?
Regards
Kiran Marekar