Home > Software engineering >  RS485 serial port communication vb program
RS485 serial port communication vb program

Time:10-19

I have to do now one can record the instantaneous flow and cumulative flow control system, using vb programming, through the industrial computer control, data read from the meter, using RS485 could you tell me how to realize the RS485 readings by vb call

CodePudding user response:

Mscomm control, it can be

CodePudding user response:

The building Lord refers to read the flow of gas? If it is, this need hardware support, such as mass flowmeter,

CodePudding user response:

Thank you two
Medium is ordinary water, I have no idea of vb and RS485 communication, hope to have sample program

CodePudding user response:

The
reference 3 floor shuipingan response:

thank you twoMedium is ordinary water, I have no idea of vb and RS485 communication, hope to have example program


Has nothing to do with VB 485 communication, as long as you can the hardware connection, so the VB control mscomm communication can be realized, if the hardware will not, then please connect people to help you

CodePudding user response:

Is the water flow and water flow rate test?
By the same token, this one also need hardware support, because the water flow velocity is changing with time, water meter can be test, you can first start from how to realize the hardware support, the hardware first chosen, software development and relying on the hardware is something then yet,

CodePudding user response:

Your question core is a communication protocol and its implementation issues, with a focus on the sensor side is how to implement RSA485 agreement, your sensor (from) how many?

These solved, what language is not a problem,

CodePudding user response:

There are 485 turn 232 chip (or ready-made cable), needs to connect, there must be a hardware,
Vb use mscomm receives signals from 232,
Then vb analytical, communication protocol,

CodePudding user response:

So old posts have been turned out, was cattle people,

CodePudding user response:

refer to the eighth floor wangyuzg response:
so old posts have been turned out, it's people,

Now that, why should follow,

Want to reply just reply, after all, no knot stick, maybe no satisfactory answer

CodePudding user response:

Before your flowmeter with computer hardware lap done already?

If the hardware - must be correct,

To download a serial debugging tools, according to its instruction in flow specifications, reading test, after the successful to use vb to write again,
  • Related