Quantcast
Channel: Multifunction DAQ topics
Viewing all articles
Browse latest Browse all 6878

Logdata method in ...IntClk_ToFile example

$
0
0

....IntClk_ToFile example

 

 

 

I am trying to understand how the following function writes data to a file.  It does not seem to be associated with a filestream.

 

What am I missing?

 

 Thanks!

 

private void LogData(double[,] data)

{

     int channelCount = data.GetLength(0);

     int dataCount = data.GetLength(1);

 

     for (int i = 0; i < channelCount; i++)

          {

           ArrayList l = savedData[i] asArrayList;

           for (int j = 0; j < dataCount; j++)

                       {

 

                              l.Add(data[i, j]);

                       }

          }

}

 

 


Viewing all articles
Browse latest Browse all 6878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>