In the Attero GUI, impairments are started and stopped via the Start/Stop Impairments button, respectively. This article explains how to do this in the Attero Tcl API.
Issue the following lines of code:
# Load the Calnex supplied interface file source "C:/Program Files (x86)/Calnex/Attero/attero.tcl" # Make the application connect to the instrument with IP address 10.11.12.13 connect 10.11.12.13 # atteroset Impair ImpairProfile #<port> #<flow> FixedDelay <fixedDelay in usec> # | # +--------- ports are 0-based atteroset Impair ImpairProfile #0 #3 FixedDelay 1000000 atteroset Impair ImpairProfile #1 #3 FixedDelay 500000 # in msecs set impairmentDuration 1000 startimpairment after $impairmentDuration stopimpairment # And disconnect Disconnect