next up previous
Next: 5.5.2.4 InputDual Up: 5.5.2.3 InputVlCamera Previous: 5.5.2.3 InputVlCamera

5.5.2.3.1 Synchronisation

The module boasts a synchronisation feature. This is specified by -sync syncMethod syncOptions, where syncMethod is the name of the synchronisation method desired and syncOptions are any options for the synchronisation. Currently, only the network synchronisation method is supported, other possible methods of synchronisation are using a serial cable and various external trigger switches.

The synchronisation is implemented such that two remote InputVlCamera modules can connect, and then send each other small messages to indicate when they should capture an image. This is achieved by running a routine which will block the process of execution until it receives a message from the other module, indicating it is time to capture an image. At this point, it send a response message and then both modules capture an image.

The network synchronisation works by designating one module to be the server, and the other to be the client. The server accepts a single optional parameter, the port number to use, which defaults to 12712. The client requires a single parameter, the name of the remote computer to connect to, and optionally also the port number.

Refer to Section 5.6.4 for an example on how to use the synchronisation.


next up previous
Next: 5.5.2.4 InputDual Up: 5.5.2.3 InputVlCamera Previous: 5.5.2.3 InputVlCamera
Kevin Pulo
2000-08-22