Waveform generator (Option R&S RTP-B6)
R&S
®
RTP
969User Manual 1337.9952.02 ─ 12
Gen format (see Content and format of the R&S wave gen *.csv files), Tektronix AFG
format or Keysight WaveGen format.
Content and format of the R&S wave gen *.csv files
The R&S waveform generator format can contain the following values:
●
Rate
●
Time value
●
Voltage value
If all the values are defined, the file format is as follows:
Rate = 5000000 //Sample rate of the arbitrary waveform.
0.000000E+000,-5.995 //Time value 1, Voltage value 1
1.237011E-005,-6.0 //Time value 2, Voltage value 2
.......
In this case, the rate is reflected in the "Sample Rate" field of the user interface. The
total number of Time/Voltage values is reflected in the "Samples" of the user interface.
Anything written after // is ignored as a comment.
You can define only some of the values. According to what you define, the file format
looks different and is handled differently:
●
With specified Rate:
Time values are ignored. You can specify just rate and voltage values as below:
Rate = 5000000 //Sample rate of the arbitrary waveform
-5.995 //Voltage value 1
-6.0 //Voltage value 2
.......
●
Without specified Rate and without specified Time values:
A sample rate of 1Mbps is used to calculate the waveform. You can change the
"Sample rate" in the user interface. The voltage values are then played with this
sample rate.
-5.995 //Voltage value 1
-6.0 //Voltage value 2
.......
●
Without specified Rate and wit specified Time:
The timing information of the first 2 time values is used to calculate the sample
rate.
Example:
Consider the following file:
0.000000E+000,-5.995 //Time value 1, Voltage value 1
1.237011E-005,-6.0 //Time value 2, Voltage value 2
The sample rate is:
Sample rate = 1/ Time between first two samples =1 / 1.237011E-005 =
80.840KSampe/sec
Setup of the waveform generator