How do I connect two computers to one monitor with DisplayPort? - peripherals

I have two computers, they're not both on at the same time. I don't want to be switching the cable from one computer to the other all the time. Is there a way I can connect both computers to one DisplayPort input on the monitor?

Related

Is it possible to setup a wireless network without internet for the robot and PC?

The system includes three devices: PC, robot's computer, and wireless device.
In order to improve the signal quality of the wireless in the whole robot's environment. I'd like to put a big wireless device in the middle corridor where it is not Ethernet (no internet) and only feed by power, then use its signal to connects it with the robot's computer. The robot's computer has a small wireless device that will connect with a big wireless device. Both wireless devices have no internet, only electric power, and signal.
Can I transmit data from the robot to my PC and vice versa over Wi-Fi's signal ?
Can I access the robot's computer using Wi-Fi's signal to launch the robot ?
If yes, please your suggestions, and what are its disadvantages?
Any suggestions would be greatly appreciated.
Note: the system is working fine now using the internet in the big wireless device and connect it with the robot's computer and PC, only some problem when the robot is very far from a big wireless device because of dropping the signal quality to 5% here
The issue is ridiculous, I didn't aware of the task of some lines perfectly.
Those lines in bachrc file solved my issue.
export ROS_HOSTNAME=ip for master
export ROS_IP=ip for master
export ROS_MASTER_URI=http://ip for slave:11311
It does not matter if there is Internet or not.
All we need is a router on PC or cable Ethernet to connect the big wireless device (router) with PC and find IP Address for two computers.
On the other hand, the same case within internet.

Why can't I run two USB serial adaptors on the same machine?

My work involves interacting with legacy hardware that uses serial ports. I often have to monitor more than one serial line, and for the purpose I have a couple of the common USB serial adaptors. When I connect both of them to the same (Windows 10) machine, irregularities show up. Both ports show up in device manager, but only the first one that I plug in to the USB connector works. The other one indicates port not open when I try to send data via RealTerm.
I have also seen the situation where when I plug the second adaptor in, its port comes up, but the one for the other adaptor disappears. Does anyone know a way that two devices can happily coexist on the one machine? Thanks in advance.
Just ion case this helps anyone in the future......
The problem seems to be caused by the fact that one of the adaptors was coming in via a (powered) USB hub. When I liberated another native port on the machine so I could host both serial adaptors directly, everything worked fine.
Not worth hunting the cause down, a solution is at hand.

Clock synchronization

I have 2 computers running windows 7.
There are simply networked via LAN cable. One is Master and the other Slave. No Internet connection is available.
WHAT I NEED TO DO:
Each time both windows logged in and connected via LAN to each other, the Slave one sets its clock according to the Master's clock without third party user interference. How to implement this scenario?
Thanks in advance.
Having a LAN connection you can setup a synchronized clock among your machines using NTP. It is a protocol which works with great classifiers to keep count of the clock.
Here's a small client that might help you to keep up with the clocks of a few computers running windows, NetTime.

Obtain data from COM port (rs485/rs232), and broadcast the information through raspberry pi

I am working in a factory. There is a HMI (Human Machine Interface) tablet which control all the switches and logics of a manucfacturing machine.
For example, I can limit the speed of manufacturing or change the number of production plan easily, through the HMI.
Here is the images of the back panel of the tablet (KINSTON tablet, not KINGSTON tablet). Consist of usb port, com port, rs-232 port, rs-485 port.
What I am trying to do is to obtain the data of the manufacturing machine, and show the real-time production details to the back office of the factory. (At the mean time, I have totally no idea what the operating system the tablet is using). Or maybe using a website to control it. Or even using mobile app to monitor the condition of the machine.
Is there any easy way to obtain data from these port to a raspberry pi and make a real time reflection of the data. To be more specific, which port should I use to obtain the data?
How should I kickstart this project? I am total newbie of COM port, I have googled around but can't find a concrete example of connection to a computer.

Transfer speed over wifi and 3G within the same room

If two or more mobile devices are in the same room and using wifi and to transfer data between each other and they both get their wifi from the same source, is the speed usually higher than if it were communicating with an external server, say EC2? Is it faster because the data path is source -> wifi provider -> destination instead of source -> a bunch of modems that transmit from one to the next -> server?
What about through 3G? If the devices are in the same room (and hence accessing the same tower), is it faster than if the devices were, say, in different cities?
EDIT: To make it clear here's the comparisons:
Wifi -> speed while communicating between two devices in same room vs speed while communicating between two devices in different cities.
3G -> same comparison (devices in same room vs 2 devices in different cities)
I'm NOT trying to compare Wifi vs 3G. Sorry for the confusing wording.
Wifi speed in the same room would operate at the maximum connection speed of the signal allowed, split between the number of active devices. This would generally be considered quite high although not as high as a network cabled series of devices.
When sending a file over wifi to a remote host, the exchange goes from your computer through a series of hops on its route to the destination so the initial wifi speed is only in transferring the file to the server. It is then server dependent on how fast it transfers between computers, since they can't have a direct wifi connection.
3G locally is faster than between cities because, as you say, it interacts with the local host tower rather than then moving beyond that to the next tower and so forth. 3G would be slower than wifi initially, but when transferring files over city wide or regional distances then Wifi will only be faster on the initial transit of the file. After that it comes down to the network infrastructure in place, and as I mentioned in the first attempt - that can vary on country and region, as some 3G networks are incredible well put together.
Hope that makes a little more sense for what you were asking.

Resources