Home > Net >  C #, the two software even a device at the same time, a software can call another class
C #, the two software even a device at the same time, a software can call another class

Time:10-13

There are software A and B, in the computer to install the two software, software can call B class ClassB, and the parameters?

Objective: a serial port communication, a device can have only one serial port communication, even a device at the same time, the two software do?

CodePudding user response:

Virtual serial port + serial spin-off

This is a physical serial port into two virtual serial port

Of course, there are intercepted directly from the bus

CodePudding user response:

Specific please baidu "Serial Splitter"

CodePudding user response:

refer to the second floor wanghui0380 response:
specific please baidu "Serial Splitter"

Baidu under several are not installed, win10 system, which can recommend software, download link

CodePudding user response:

Can use WCF communication, by a program and serial interface interaction, other programs call this program,

CodePudding user response:

https://blog.csdn.net/zyyujq/article/details/90116079

CodePudding user response:

Same computer NamedPipeServerStream channel mechanism can be used to look at

CodePudding user response:

reference 4 floor caozhy response:
can use WCF communication, by a program and serial interface interaction, other programs call this routine,

Now want to through the front-end ports communication, can use WCF
Because can only use one port communication
My idea is that the machine after connection, will manage the machine variable upload server, multiple computer can access the variable, but like every visit to service variables to instantiate,
Can give an example, the concrete practice?
  •  Tags:  
  • C#