Why can’t i select “generator only” protocol – Teledyne LeCroy PeRT3 Software Interface User Manual
Page 12

The software sets everything to default values, when it first connects to the hardware. That happens when
the session is started so everything theoretically should be the same when you start up.
Why can’t I select “Generator Only” Protocol?
There isn't actually any such thing as "Generator Only" protocol. When you select "Generator Only" in
the user interface you are actually selecting "custom" protocol and telling the application that you just
want to generate a signal and don't care about a return signal.
Generator Only mode was added to the user interface because the application normally requires you to
successfully connect to a DUT before you can start a test - and you have to start() a test in order to get the
pattern to start playing out. If you want to change a pattern you have to stop() the test and start() it again.
You can send the command to select a new pattern at any point, but it doesn't take effect until you issue
the start().
In Custom mode with no DUT connected, you would never successfully connect to a DUT, so you would
never be able to play out the pattern you specify. In Generator Mode, the PeRT
3
ignore whether the DUT
is connected and issue a stop() and a start() whenever the user changes the pattern.
The following python code snippet will play the "PRBS 5" pattern at 3 GHz with pre-emphasis added:
#-----
from LCPeRT import LCPeRTSession
p = LCPeRTSession("127.0.0.1")
p.configure_pert("custom", speed_mhz=3000, enable_ssc=True)
ch1 = p.get_channel_name(1)
p.set_pattern(ch1, "PRBS 5")
p.set_amplitude(ch1, 1200)
p.set_pre_emphasis_amp(ch1, 6)
p.set_pre_emphasis_dur(ch1, 4)
p.start()
#-----
Table 3 Python snippet for playing a pattern with pre-emphasis