12-14-2004 09:04 AM
12-14-2004 10:11 AM
12-14-2004 10:25 AM
@Michal wrote:
Depending on what kind of delays you can live with, and what kind of hardware you have, there are several ways of doing it;
1) if the computers both have some kind of acquisition boards in them, you can trigger both programs via the counters of the boards. (one computer triggers the other, or external trigger)
2) if both computers are online, you can use TCP/IP or datasocket to synchronise them (either start both from a third party, or trigger one computer with the other)
3) you can probably also use serial or parallel lines to achieve some sort of synchronised start. (trigger one computer from the other)
I guess the first way will give the tightest synchronisation, especially if you use an external trigger to start both computers.
Both method 2) and 3) will result in some delays, but you can probably reduce them to large extent by programming in a small delay in the computer which triggers the other, so that it won't start the main body program until the trigger has been received by the listener.
Well, there are probably dozens of other ways of doing this as well...
what kinds of delays can you live with? and what kind of hardware do you have available? it will be easier to suggest something specific if we have that info.
good luck!
m,-
12-14-2004 10:43 AM
12-14-2004 11:03 AM
@Michal wrote:
OK. so are the computers connected to a network?
and how critical is the timing?
12-15-2004 05:47 AM
12-15-2004 05:48 AM