Quantcast
Channel: Hyper-V forum
Viewing all articles
Browse latest Browse all 19461

Guest VM to HOST serial communication

$
0
0

Short background (sorry if I make it more complicated), We have an app for swiming-tournaments installed on a computer. During a tournament I have a physical timekeeping device connected to my computer on the serial port. On start the device sends the time to my app and when the swimmers finishes it sends the order they touched the wall so we can get the result of each race.

It is quite a lot of cables to set up on each tournament so it is difficult to do workshops to teach new users on the system.
Now a user have created a simulator to mimic the physical device. But to be able to use it I need two computers connected on the serial port. 1st computer running the time-simulator and the second runs the app.

I wonder if it is possible to use HyperV to run the simulator on a virtual machine on my computer and "connect" that virtual machine to the serial port. The VM would then send the time and results to my tournament app and this way I would not need two computers (physical at least).

I have googled and found some threads talking about sending serial communication "from host to vm", but is it possible to do the opposite. Sending serial communication "from vm to host"? 

Since this is for testing and educational purpose I do not care about any potential loss in time that might occure going from vm to host.

Thanks in advance
Anders



Viewing all articles
Browse latest Browse all 19461

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>