Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code examples (C++) are provided (see Example code).

Start notification

The following example shows a Start notification. Note that the broadcast must fit into one UDP packet.

...

NameThe name of the trial, which is used as the filename for the capture files, for example <Name>.x2d.
NotesAny notes provided
DescriptionAny description provided. Avoid very long description strings as the broadcast must fit into one UDP packet. If it does not, the broadcast is not sent.
DatabasePathThe target path for the capture files. DatabasePath updates the current capture folder and capture files are written to this path.
DelayThe number of milliseconds that the broadcast is made before the capture starts. This delay enables clients to do any preparation required to respond.
PacketIDA unique number that individually identifies the packet. It is incremented for each packet generated. Use it to discard duplicate packets that are delivered by UDP. (This can happen if there are multiple paths between the broadcasting and listening machines.)

...