National Instruments none User Manual page 139

National instruments home theater system user's manual
Table of Contents

Advertisement

}
static void Main(string[] args)
{
const string Location = @"\\localhost\system\double";
NetworkVariableBufferedWriter<double[]> bufferedWriter = new
NetworkVariableBufferedWriter<double[]>(Location);
bufferedWriter.Connect();
int phase = 0;
while (true)
{
double[] value = GenerateDoubleArray(phase);
Console.WriteLine("Writing array");
bufferedWriter.WriteValue(value);
Thread.Sleep(500);
phase++;
}
}
}
}
© National Instruments Corporation
9.
Select Debug»Start Without Debugging to run the application.
10. Minimize the console application, but keep the application running.
Chapter 5
Getting Started with Measurement Studio
5-35
Measurement Studio User Manual

Advertisement

Table of Contents
loading

Table of Contents