National Instruments 373392C-01 Uživatelský manuál Strana 139

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 179
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 138
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.
Zobrazit stránku 138
1 2 ... 134 135 136 137 138 139 140 141 142 143 144 ... 178 179

Komentáře k této Příručce

Žádné komentáře