|
check filename
open file
start networking
configure neuroserver connection
now decode EDF header
check for 24bit BDF data format
write header to data file (if not in CSV mode)
data0 data1 data2 ...
Definition at line 86 of file readedf.c.
References cfg, EDFDecodedConfig::chan, Options::channelReadFlags, cur, EDFDecodedHeader::dataRecordChannels, DEFAULTHOST, DEFAULTPORT, EDFPacket, fetchSamples(), Options::filename, freeEDFInputIterator(), getDataRecordChunkSize(), getResponseCode(), getSamplesPerSecond(), handleSamples(), EDFDecodedConfig::hdr, EDFDecodedHeader::headerRecordBytes, helpText, Options::hostname, ib, Options::isFilenameSet, Options::isMaxSpeed, makeREDFConfig(), MAXCHANNELS, MAXHEADERLEN, newEDFInputIterator(), ob, opts, pctimer(), Options::port, printHeader(), rconnectName(), readEDF(), rexit(), rinitNetworking(), rprintf(), rsleep(), rsocket(), samples, setEDFHeaderBytes(), sock_fd, sock_t, SPEEDUPFACTOR, stepEDFInputIterator(), Options::userSpecifiedChannels, writeBytes(), writeEDF(), writeEDFString(), and writeString(). |