Versions Compared

Key

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

...

The XML file contains the following notifications.

Scroll only


truetruetruetruetruetruetruetrue22



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

...

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<CaptureStart>
  <Name VALUE="dance"/>
  <Notes VALUE="The pets ants crime deer jump. "/>
  <Description VALUE="The crowd pencil pets alert fold deer. With welcome practice representative complete great? Or jolly tiny memorise thread. However wool insect pipe! "/>
  <DatabasePath VALUE="D:/Jeremy/Susan/Captures/Take"/>
  <Delay VALUE="33"/>
  <PacketID VALUE="33360"/>
</CaptureStart>

...

Scroll tablelayout
style
sortDirectionASC
repeatTableHeadersdefault
style
widths25%, 75%
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

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.)

...

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<CaptureStop RESULT="SUCCESS">
  <Name VALUE="dance"/>
  <DatabasePath VALUE="D:/Jeremy/Susan/Captures/Take"/>
  <Delay VALUE="33"/>
  <PacketID VALUE="33361"/>
</CaptureStop>

...

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<CaptureComplete>
  <Name VALUE="dance"/>
  <DatabasePath VALUE="D:/Jeremy/Susan/Captures/Take"/>
  <PacketID VALUE="33362"/>
</CaptureComplete>

Anchor
TimecodeStart
TimecodeStart

Timecode Start notification

...

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<CaptureStart>
  <TimeCode VALUE="0 38 10 17 0 0 0 4"/>
  <Name VALUE="slip"/>
  <Notes VALUE="The last ants great blade jump. "/>
  <Description VALUE="The truthful pencil pets ants crime deer. With geese trail representative complete crowd? Or jolly toothbrush slip thread. However worried insect nest! "/>
  <DatabasePath VALUE="D:/Captures/Take/DayOne/Final"/>
  <PacketID VALUE="33364"/>
</CaptureStart>

...

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<CaptureStop>
  <TimeCode VALUE="0 46 27 15 0 0 0 4"/>
  <Name VALUE="slip"/>
  <DatabasePath VALUE="D:/Captures/Take/DayOne/Final"/>
  <PacketID VALUE="33365"/>
</CaptureStop>

...

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<CaptureStop>
  <Duration FRAMES="12867" PERIOD="32865" TICKS="5553087"/>
  <Name VALUE="memorise"/>
  <DatabasePath VALUE="D:/Take/DayOne/Final/Susan"/>
  <PacketID VALUE="33367"/>
</CaptureStop>

...

Code Block
languagetext
<Duration FRAMES="12867" PERIOD="653254" TICKS="135000000" />

Anchor
UDPExampleCode
UDPExampleCode

Example code

The examples are provided in C++ and require the boost library for communications.

Attachments
uploadfalse
oldfalse
patterns.*zip
sortByname

...

  • CaptureBroadcastMonitor: shows how to monitor for and decode the capture notifications described above.
  • RemoteStartStop: shows how to package and send the packets to trigger capture start and stop.

Attachments
uploadfalse
oldfalse
patterns.*zip
sortByname

Scroll only
scroll-viewporttrue
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue

To download these files, go to the Example Code section of UDP capture broadcast/trigger.