Chapter 5 Getting Started with Measurement Studio
© National Instruments Corporation 5-35 Measurement Studio User Manual
}
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++;
}
}
}
}
9. Select Debug»Start Without Debugging to run the application.10. Minimize the console application, but keep the application running.