I was trying to generate a two stepped pulse using 81150. The external load is 50 Ohms. I would like to generate a waveform with maximum voltage 5V and minimum voltage 0V. I am not interested in the 2.5V to -2.5V default setting. Please advise as to how to achieve this.
I am using the fprintf(obj,':DATA1 VOLATILE, %s', WaveFormStr); command where WaveFormStr spans from +1 to -1.
I am using the fprintf(obj,':DATA1 VOLATILE, %s', WaveFormStr); command where WaveFormStr spans from +1 to -1.
Please let me know if you could provide some insight.
I am using the following commands.
fprintf(obj,':VOLT2 %sV',num2str(2*V_Amp));
fprintf(obj,':VOLT2:OFFS %sV',num2str(V_Offset));
fprintf(obj,':PER2 %sNS',num2str(PULperiod));
fprintf(obj,':DATA2 VOLATILE, %s', WaveFormStr);
fprintf(obj,':FUNC2 USER');
fprintf(obj,':OUTP2 ON');
fprintf(obj,':TRIG');
fprintf(obj,':OUTP2 OFF');