// DAPL configuration script file for Matlab log-to-disk example // 'MLogCfg.DAP' // Clear everything on the DAP board side RESET // Configure sampling on 16 channels, 1024 samples per second each channel // 16x1024 = 16384 samples/second -> 61.04 microsecond interval IDEFINE SAMPLING CHANNELS 16 SET IP0 D0 SET IP1 D2 SET IP2 D4 SET IP3 D6 SET IP4 D8 SET IP5 D10 SET IP6 D12 SET IP7 D14 SET IP8 D1 SET IP9 D3 SET IP10 D5 SET IP11 D7 SET IP12 D9 SET IP13 D11 SET IP14 D13 SET IP15 D15 TIME 61.04 END // Send as matrix of 16 values per column, in natural // data order. PDEFINE TRANSFERS COPY(IP(0..15),$BINOUT) END // Omit the START command here... control startup in the Matlab script