Scilab Function
Last update : 27/10/2005

cp42cut - Read MGCplus Data files partially, recorded with CP42

Calling Sequence

[filinf,CHINFO] = cp42cut(meafile,idx)

Parameters

Description

Only CP42 measurement files are supported. These DAQ files may contain time information in following formats: 1) No Time Information, 2) MGCplus Time (64 Bit) , 3) NTP Time Format . The Time Formats "USB Frame Count" and 32 Bit MGC device Time are not supported.

IMPORTANT: Only Measurement files with format 4 BYTE INT (Intel) are supported.

Examples

[a1,a2]=meacomp(2000); // Reads a measurement file as activity overview
plotmea(a1,a2); // Shows the measurement data
[cl1,cl2,cl3]=xclick(); // Select start index
[cr1,cr2,cr3]=xcklick(); // Select end index
[b1,b2]=cp42cut(a1.filename,[cl2,cr2]);
xbasc();
plotmea(b1,b2);
  

See Also

plotmea ,   cp42mea ,  

Authors

Dr. Andreas Geissler geisslea@web.de