The option
eventname
(case sensitive) is for inter-process synchronization of DMDX
with other custom software. If another process creates an event that
matches the
eventname
then every time DMDX turns the clock on it will signal that
event. The following code snippet demonstrates this by waiting 5 seconds or
printing * when signaled by DMDX:
HANDLE ev;
if((ev = CreateEvent(NULL, FALSE, FALSE, "DMDXevent")) == NULL) {
printf("failed to CreateEvent");
exit(1);
}
while(running) {
if(WaitForSingleObject(ev, 5000) == WAIT_TIMEOUT)
printf("-");
else
printf("*");
}
Note that
N must be specified when using
eventname, as in
<rcot 1,DMDXevent>.Note that using <rcot> with <ContinueClockOn> will not store the time the clock is continued from, it will store the time the frame with <cco> in it is presented.