Home > Software engineering >  Industrial PC RS485 interface can receive data, it is not out of data, how be to return a responsibi
Industrial PC RS485 interface can receive data, it is not out of data, how be to return a responsibi

Time:10-01

And make your own data acquisition boards communication, with 485 interface, with the first serial port communication assistant experiment, can receive data can also send the board, and accurate, but written in his

VB program, a serial port configuration is no problem, but can't send, can only receive the board data, sending data with characters and hexadecimal number are tried, in the second

Assistant (SPU) kind of serial communication experiment, the result and VB, can accept not hair, at this time can use the first serial assistants or normal technique data,



[the most confused thing: oscilloscope for monitoring PC sends the pin level, with the first one can clearly see when debugging assistant data stream; but the use of VB program, or the second

Kinds of debugging assistant send data, can't see anything on the oscilloscope, so I can clear is after two kinds of data from a PC doesn't really practice, what is this

? ]



Please help analysis analysis, thank you!

CodePudding user response:

Haven't seen the situation, by rights, there is a software to send, you should be able to send,

CodePudding user response:

The first program closed serial no?
Send a serial port belongs to an exclusive resources, cannot be called at the same time by multiple programs,

CodePudding user response:

Did you write less a carriage return in the program? Didn't enter point send you just submit didn't perform, that cannot be achieved send instructions, don't know this answer has no help for you?

CodePudding user response:

It is very obvious, is that you write VB code has a problem,

CodePudding user response:

Have a look at each MSCOMM control properties, don't fill in the wrong,
  • Related