~ubuntu-branches/ubuntu/trusty/psychtoolbox-3/trusty-proposed

« back to all changes in this revision

Viewing changes to Psychtoolbox/PsychHardware/iViewXToolbox/iViewXSimulator.m

  • Committer: Package Import Robot
  • Author(s): Yaroslav Halchenko
  • Date: 2013-11-19 23:34:50 UTC
  • mfrom: (3.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20131119233450-f7nf92vb8qavjmk8
Tags: 3.0.11.20131017.dfsg1-3
Upload to unsable since fresh glew has arrived to sid!

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    while GetSecs<tEnd
27
27
 
28
28
        [keyIsDown,secs,keyCode] = KbCheck;
29
 
        if 0 & 1==keyCode(ivx.modifierKey) & 1==keyCode(ivx.breakKey)
 
29
        if 0 && 1==keyCode(ivx.modifierKey) && 1==keyCode(ivx.breakKey)
30
30
            break;
31
31
        end
32
32
 
38
38
 
39
39
        [data, ivx]=iViewX('receivedata', ivx);
40
40
 
41
 
        if ~isempty(data) & data ~=-1
 
41
        if ~isempty(data) && data ~=-1
42
42
            % data
43
43
            if strfind(data, 'ET_STR')
44
44
                fprintf('Start Streaming\n');