Is there any practical way that would enable me to use a single mouse click in order to start a sequence at exactly the same time on two separate PC's (identical units)?
I suppose this means hacking into the mouse lead itself, but how to find the relevant wires?
Ken Ingram
Didn't find your answer? Ask the community — no account required.
J
Joerg
Search under the topic "KVM switch". Normally they are meant to switch a device such as a mouse between different PCs but maybe there are some that allow parallel operation.
Regards, Joerg
http://www.analogconsultants.com/
"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
A
Artemus
Even if you succeed with the wiring the sequence start isn't going to be that exact as the mouse is a polled device. Art
A
AZ Nomad
Actually, it isn't.
D
D Yuniskis
What do you consider "exactly" to mean?
What do you consider that "sequence" to be?
A
Archimedes' Lever
Better to synch the clocks on both units and use an applet to *start* the desired process at the same time point.
A
Archimedes' Lever
Mice are polled devices.
R
Robert Baer
Do not think that can be done at *exactly* the same time, as the mouse is clocked by its computer and the clocks are NOT synchronized and may be pseudo-randumb due to spread-spectrum design.
R
Robert Baer
...then add a zero!
J
JW
AlwaysWrong. PS/2 mice use an interrupt. You big dummy.
A
Archimedes' Lever
You need basic continuity testing aptitude.
A
Archimedes' Lever
Correct.
He cannot guarantee or count on getting any resultant action be timed exactly together. There will be a number for maximum delay between the two events. It will be a worst case add-up of the two periods which the mouse port or USB-to-mouse port get polled at.
M
mpm
I like this approach!! Maybe even synch it to GPS or something...?
I know better than to ask why the OP want's to mouse-click two computers simultaneously!! But I must admit, I am just a tiny bit curious..... :)
A
Archimedes' Lever
Do interrupts not also get polled in cyclic fashion? Can you guarantee that both machines will poll their respective interrupts at the same moment?
When was the last time you saw a new PC or laptop that had a PS/2 mouse port? They do, but more often, they are made without them at all.
There are USB mice that plug into USB ports, and no PS/2 port is anywhere to be found. Those to are polled, and any such polling would be asynchronous with a separate device not triggered by the same clock.
You might think it worked "at the same time" but it in fact cannot be. There will always be some difference.
A
Archimedes' Lever
He is probably attempting to do some kind of lame "benchmark" between the two. That too is sad.
P
PeterD
Define "exactly the same time" more clearly. The answer is yes, there are ways...
Also does it have to be a mouse click, or can it be some other type of signal? What are you controlling?
T
Tim Watts
On Mon, 14 Jun 2010 04:59:42 -0700, Archimedes' Lever wibbled:
All of this is utterly irrelevant when compared to the OS scheduling quantum (typically between 10mS to 1mS), assuming the OP is running the test systems on regular machines and not some fancy realtime bit of hardware.
Anyway, back to the original point - I would have said time based would be easier - have the button "clicked" at a fixed time and time lock the machines using NTP.
Or have a trivial network listener do the "clicking" and use a script on one to send the network signal to start to both machines from a script.
Tim Watts
Managers, politicians and environmentalists: Nature's carbon buffer.
A
Archimedes' Lever
For the most part, if he had told us what the circumstance was, any one of us could have delivered a more appropriate response. In one view, one person and two mice could be 'clicked' 'simultaneously', FAIAP. In another, if he really needs more simultaneous synchronization than he himself could bring with two mice, then reliance on raw synchronization that falls inside your timing region may not be enough either. So, yeah, more would be needed.
Generally the lay person would not see that as a difference, and if his application requires time stamps or other real time function, he would need something more appropriate, like two systems integrated into a chassis, being triggered by a third device installed into each of those two systems. Even then there can be latencies between pieces of gear, which have to be 'calibrated' against in the individual components.
This pretty interesting considering that the systems I currently plan use a 10Mhz source and two GPS fed 10Mhz "switches" that then feed all the remaining gear in the receiver system, keeping them all synch'd up. The rest is just standard network switch gear. Fire up the analyzer though and see that we know how to make the 'eye' look real nice.
Fun piecing together millions of dollars worth of equipment and watching that and five hundred or so wires and cables come together to allow a high bandwidth channel to the world, to be placed anywhere in the world.
A
Archimedes' Lever
Only if your net cards are set to NEVER time out and sleep. Many do, and windows uses it, set default to sleep after a certain period. There are latencies, just none that should concern someone that asked how to "see" button clicks from the cable end.
A
Archimedes' Lever
Why don't you find out how it is a tertiary function now, UNDER the PCI bus, and get back to me when you know what the f*ck is going on in a modern system.
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.