Home > database >  Which people can solution I suggest loadometer serial port being used
Which people can solution I suggest loadometer serial port being used

Time:09-19

Ole_1. Object. Rthreshold=ist_comm. Rthreshold
Ole_1. Object. Inputlen=ist_comm. Inputlen
Ole_1. Object. An inputmode=ist_comm. An inputmode
Ole_1.object.CommPort=ist_comm.Com mPort
Ole_1. Object. Settings=ist_comm. Settings
Ole_1. Object. PortOpen=true

Software in a few days later, sometimes up to loadometer weighing, even not, probably prompt a serial port is occupied,
Using MSCOMM32. OCX controls,
Have what good method?

CodePudding user response:

Is already open or what

CodePudding user response:

To ensure that the window is closed, turn off the serial port is occupied or open again will prompt a serial port

CodePudding user response:

Reference
to ensure that the window is closed, turn off the serial port is occupied or open again will prompt a serial port


I see other customer program code also wrote
He didn't write to close a serial port, Windows closed his serial port should be automatically released

CodePudding user response:

It is best to manually close

CodePudding user response:

refer to the second floor lzp_lrp response:
to ensure that the window is closed, turn off the serial port is occupied or open again will prompt a serial port


+ 1

CodePudding user response:

This kind of thing even if the program will automatically turn off, also best himself off, at ordinary times when writing code to form a good habit,

CodePudding user response:

Window opens up many times
  • Related