3 - Programming ExamplesPulsed Transient Operation ExampleThis example selects channel 1, sets the CR levels, selects the bus as the trigger source, sets the fastestslew rate, programs a pulse width of 1 millisecond, and turns on transient operation. When the *TRGcommand is received, a 1 millisecond pulse is generated at the channel 1 input.10 OUTPUT 705;"CHAN 1;:INPUT OFF"20 OUTPUT 705;"FUNC RES"30 OUTPUT 705;"RES:RANG MAX; LEV 1000"40 OUTPUT 705;"RES:TLEV 2000"50 OUTPUT 705;"TRIG:SOUR BUS"60 OUTPUT 705;"RES:SLEW MAX"70 OUTPUT 705;"TRAN:MODE PULS;TWID .001"80 OUTPUT 705;"TRAN ON;:INPUT ON"200 OUTPUT 705;"*TRG"210 ENDLine 10: Selects channel 1 and turns the input off.Line 20: Selects the CR mode.Line 30: Selects the high resistance range and sets the main resistance level to 100 ohms.Line 40: Sets the transient resistance level to 50 ohms.Line 50: Selects the HP-IB as the trigger source.Line 60: Sets the CR slew rate to the maximum value.Line 70: Selects pulsed transient operation and sets the pulse width to 1 millisecond.Line 80: Turns on the transient generator and the input.Other commands are executedLine 200: The *TRG command generates a 1 millisecond pulse at the channel 1 input.Synchronous Toggled Transient Operation ExampleThis example programs channels 1 and 2 to generate synchronous transient waveforms. The channelscan then be paralleled for increased current input. Each channel is set up to operate in the CC mode withtoggled transient operation turned on. The electronic load's internal trigger oscillator is set up to producetrigger pulses at a frequency of 2 kHz in order to generate synchronous waveforms at the channel 1 andchannel 2 inputs.10 OUTPUT 705;"CHAN 1;:INPUT OFF"20 OUTPUT 705;"FUNC CURR"30 OUTPUT 705;"CURR 25"40 OUTPUT 705;"CURR:TLEV 50; SLEW MAX"50 OUTPUT 705;"TRAN:MODE TOGG"60 OUTPUT 705; "CHAN 2;:INPUT OFF"70 OUTPUT 705;"FUNC CURR"80 OUTPUT 705; "CURR 25"90 OUTPUT 705; "CURR:TLEV 50; SLEW MAX"100 OUTPUT 705;"TRAN:MODE TOGG"110 OUTPUT 705;"CHAN 1;:TRAN ON;:INPUT ON;:CHAN 2;:TRAN ON;:INPUT ON"120 OUTPUT 705;"TRIG:TIM .0005"130 OUTPUT 705; "TRIG:SOUR TIM"140 END48