Ejemplo n.º 1
0
        public double[] TDMSReadColumn(int reqColumn)
        {
            double[]    logColumn   = new double[logLength];
            TdmsChannel tempChannel = channelsFETCH[reqColumn];

            logColumn = tempChannel.GetData <double>(0, (int)logLength);

            return(logColumn);
        }
Ejemplo n.º 2
0
        public double[] TDMSReadLine(int reqLine)
        {
            double[] logLine = new double[logChannelCount];
            for (int i = 0; i < logChannelCount; i++)
            {
                TdmsChannel tempChannel = channelsFETCH[i];
                logLine[i] = tempChannel.GetData <double>(reqLine, 1)[0];
            }

            return(logLine);
        }
Ejemplo n.º 3
0
        public double[] TDMSTimeColumn()
        {
            double[] logColumn = new double[logLength];

            TdmsChannelGroup channelGroupFETCHTime = this.channelGroupsFETCH["EXAM_Data_Internal"];

            // Get the channels
            TdmsChannelCollection channelsFETCHTime = channelGroupFETCHTime.GetChannels();
            TdmsChannel           tempChannel       = channelsFETCHTime["System Time"];

            logColumn = tempChannel.GetData <double>(0, (int)logLength);

            return(logColumn);
        }