/// <summary> /// Moves to the next value. /// </summary> /// <returns>Returns false if there is no value available.</returns> public bool MoveNext() { if (data == null || data.EndOfChunk) { return(false); } if (channel == AllChannels) { x = data.ReadSample(); } else { x = data.ReadSample(channel); } return(true); }