Sample Programs
38
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
1083
new Dictionary<string, string>()
{
{"0", "RTIMe"},
{"1", "ETIMe"},
{"3", "PDETect"},
};
Dictionary<string, string> dctCoupling =
new Dictionary<string, string>()
{
{"0", "AC"},
{"1", "DC"},
{"2", "DCFIFTY"},
{"3", "LFREJECT"},
};
Dictionary<string, string> dctUnits =
new Dictionary<string, string>()
{
{"0", "UNKNOWN"},
{"1", "VOLT"},
{"2", "SECOND"},
{"3", "CONSTANT"},
{"4", "AMP"},
{"5", "DECIBEL"},
};
string strPreamble;
string[] strsPreamble;
strPreamble =
myScope.DoQueryString(":WAVeform:PREamble?").ToString();
strsPreamble = strPreamble.Split(',');
Console.WriteLine("Waveform format: {0}",
dctWavFormat[strsPreamble[0]]);
Console.WriteLine("Acquire type: {0}",
dctAcqType[strsPreamble[1]]);
Console.WriteLine("Waveform points: {0}", strsPreamble[2]);
Console.WriteLine("Waveform average count: {0}", strsPreamble[3]);
Console.WriteLine("Waveform X increment: {0}", strsPreamble[4]);
Console.WriteLine("Waveform X origin: {0}", strsPreamble[5]);
Console.WriteLine("Waveform X reference: {0}", strsPreamble[6]);
Console.WriteLine("Waveform Y increment: {0}", strsPreamble[7]);
Console.WriteLine("Waveform Y origin: {0}", strsPreamble[8]);
Console.WriteLine("Waveform Y reference: {0}", strsPreamble[9]);
Console.WriteLine("Coupling: {0}", dctCoupling[strsPreamble[10]]);
Console.WriteLine("Waveform X display range: {0}",
strsPreamble[11]);
Console.WriteLine("Waveform X display origin: {0}",
strsPreamble[12]);
Console.WriteLine("Waveform Y display range: {0}",
strsPreamble[13]);
Console.WriteLine("Waveform Y display origin: {0}",
strsPreamble[14]);
Console.WriteLine("Date: {0}", strsPreamble[15]);
Console.WriteLine("Time: {0}", strsPreamble[16]);
Console.WriteLine("Frame model: {0}", strsPreamble[17]);
Содержание Infiniium 90000 Q-Series
Страница 1: ...s1 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference...
Страница 50: ...50 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 2 Setting Up...
Страница 86: ...86 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 3 Introduction to Programming...
Страница 146: ...146 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 8 Programming Conventions...
Страница 190: ...190 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 11 Calibration Commands...
Страница 274: ...274 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 14 Digital Commands...
Страница 292: ...292 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 15 Disk Commands...
Страница 318: ...318 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 16 Display Commands...
Страница 364: ...364 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 17 Function Commands...
Страница 382: ...382 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 19 Histogram Commands...
Страница 404: ...404 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 20 InfiniiScan ISCan Commands...
Страница 412: ...412 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 21 Limit Test Commands...
Страница 416: ...416 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 22 Lister Commands...
Страница 696: ...696 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 25 Measure Commands...
Страница 702: ...702 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 26 Pod Commands...
Страница 760: ...760 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 29 Self Test Commands...
Страница 804: ...804 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 30 Serial Data Equalization Commands...
Страница 818: ...818 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 31 System Commands...
Страница 830: ...830 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 32 Time Base Commands...
Страница 930: ...930 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 33 Trigger Commands...
Страница 1000: ...1000 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 35 Waveform Memory Commands...
Страница 1018: ...1018 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 37 Error Messages...
Страница 1109: ...Sample Programs 38 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 1109 print End of program...
Страница 1150: ...1150 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 38 Sample Programs...
Страница 1186: ...1186 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference Index...