In [3]:
from visa import instrument # Import the instrument function from the visa module
scope = instrument("TCPIP0::156.140.158.229::inst0::INSTR") # Connect to the scope using the VISA address (see below)
scope.ask("*IDN?") # Query the IDN properties of the scope
Out[3]:
'Agilent Technologies,MSOX93204A,MY53240121,04.60.0012'
In [4]:
# First set up the connection to the RPI DLL via the Python for .NET module
import clr # Import the Common Runtime Library Python module
clr.AddReference("Agilent.Infiniium.AppFW.Remote") # Create a reference from CLR to the Compliance App DLL
from Agilent.Infiniium.AppFW.Remote import * # Import the entire compliance app namespace from the Compliance App DLL
scopeIpAddress = "156.140.158.229"
In [5]:
scope.write(":SYSTEM:LAUNCH 'U7232B DisplayPort Test App'") # Launch the compliance app using the pyvisa instrument connection
remoteObj = RemoteAteUtilities.GetRemoteAte(scopeIpAddress) # Connect to the compliance app
remoteApp = IRemoteAte(remoteObj)
In [6]:
remoteApp.SetConfig("DPCTSVersion", "1.2b")
In [7]:
remoteApp.SetConfig("5.4 Gbps", "1.0")
In [8]:
csv_options = ExportCsvOptions()
In [10]:
csv_options.FileName = 'test.csv'
In [13]:
remoteApp.ExportResultsCsvCustom(csv_options)
Out[13]:
u'C:\\ProgramData\\Agilent\\Infiniium\\Apps\\DisplayPortTest\\Project\\test.csv'
In [11]:
for options in alloptions:
    print options
GUI Location=Confgure Label=ProbeHead Check Variable=EnableProbeHeadCheck Values=1.0,0.0 Description=When ProbeHead check is enabled, the input signal's probe head configuration is verified. This is only done when performing DualPort Testing in Gen2 System Board Test.
GUI Location=Confgure Label=Signal Check Variable=EnableSignalCheck Values=1.0,0.0 Description=When signal check is enabled, the input signal is pre-tested and verified to be within a reasonable range of timing and voltage limits. This can be useful for detecting problems like cabling errors before a test is run.
GUI Location=Confgure Label=S-Parameter for Add-in Card Variable=AddInSParamFilePath Values=(Accepts user-defined text) Description=Stores the s-parameter file path for Add-in card tests.
GUI Location=Confgure Label=S-Parameter for System Board Variable=SystemSParamFilePath Values=(Accepts user-defined text) Description=Stores the s-parameter file path for System board tests.
GUI Location=Confgure Label=Deembed Fixture (dB) Variable=Deembed Values=(Accepts user-defined text),0.0,-0.50,-1.00,-1.50 Description=Identify the amount of fixture and cable loss in dB. Probe external scaling will be set to compensate. Maximum compensation value is -60dB.
GUI Location=Confgure Label=Noise Reduction BW, GHz Variable=EBW Values=0.0,13.0E+9,12.0E+9,10.0E+9,8.0E+9,7.0E+9,6.0E+9,5.0E+9,4.0E+9,3.0E+9,2.0E+9,1.0E+9 Description=(Limited availability)Specify the noise reduction bandwidth to use for all tests.
GUI Location=Confgure Label=Sample Rate, GSa/s Variable=SRate_Gen2 Values=80.0E+9,40.0E+9,20.0E+9,10.0E+9 Description=(Limited availability)Specify the sample rate to use for all PCIE 2.0 (5.0 GT/s) tests or PCIE 3.0 (8.0 GT/s) tests.
GUI Location=Confgure Label=Sample Rate, GSa/s Variable=SRate Values=80.0E+9,40.0E+9,20.0E+9,10.0E+9,5.0E+9 Description=(Limited availability)Specify the sample rate to use for all PCIE 1.0a, PCIE 1.1 , PCIe 2.0 (2.5 GT/s) and Express Card 1.0 tests.
GUI Location=Confgure Label=Number of UI Variable=NumUIGen2Test Values=(Accepts user-defined text),1.6E+6,1.0E+6,500.0E+3,250.0E+3,100.0E+3,50.0E+3 Description=This is the minimum number of unit intervals used in the Eye-Width, TJ at BER-12, Maximum DJ , RMS RJ  and Template tests. These measurements should be made using the compliance pattern at a sample size of at least 1E+6 (1,000,000) UI as specified in the PCI Express CEM Specification Rev. 2.0. Specifying a greater number of UI will increase the test time and accuracy of the tests.
GUI Location=Confgure Label=Number of UI Variable=NumUIGen1Test Values=(Accepts user-defined text),1.6E+6,1.0E+6,500.0E+3,250.0E+3,100.0E+3,50.0E+3 Description=This is the minimum number of unit intervals used in the Eye-Width, TJ at BER-12, Maximum DJ , RMS RJ  and Template tests. These measurements should be made using the compliance pattern at a sample size of at least 1E+6 (1,000,000) UI as specified in the PCI Express CEM Specification Rev. 2.0. Specifying a greater number of UI will increase the test time and accuracy of the tests.
GUI Location=Confgure Label=Connection Type Variable=TxConnectionType Values=1,2,3,4,5,6,7,8 Description=Identifies the channels to process. For Direct Connect, connect the first channel to the + signal and the second channel to the - signal.
GUI Location=Confgure Label=Connection Type Variable=RxConnectionType Values=1,2,3,4,5,6 Description=Identifies the channels to process. For Direct Connect, connect the first channel to the + signal and the second channel to the - signal.
GUI Location=Confgure Label=Connection Type Variable=AddinTxConnectionType Values=1,2,3,4,5,6,7,8 Description=Identifies the channels to process. For Direct Connect, connect the first channel to the + signal and the second channel to the - signal.
GUI Location=Confgure Label=Connection Type Variable=Gen3RxConnectionType Values=1,2,3,4,5,6 Description=Identifies the channels to process. For Direct Connect, connect the first channel to the + signal and the second channel to the - signal.
GUI Location=Confgure Label=Connection Type Variable=Gen2SystemTxConnectionType Values=11,12,13,14 Description=(Limited availability)Identifies the channels to process.
GUI Location=Confgure Label=Connection Type Variable=SystemTxConnectionType Values=1,2,3,4,5,6,7,8 Description=Identifies the channels to process. For Direct Connect, connect the first channel to the + signal and the second channel to the - signal.
GUI Location=Confgure Label=Connection Type Variable=RefClkConnectionType Values=1,2,3,4,5,6,7,8 Description=Identifies the channels to process. For Direct Connect, connect the first channel to the + signal and the second channel to the - signal.
GUI Location=Confgure Label=Connection Type Variable=ECModuleTxConnectionType Values=1,2,3,4,5,6,7,8 Description=Identifies the channels to process. For Direct Connect, connect the first channel to the + signal and the second channel to the - signal.
GUI Location=Confgure Label=Connection Type Variable=ECHostTxConnectionType Values=1,2,3,4,5,6,7,8 Description=Identifies the channels to process. For Direct Connect, connect the first channel to the + signal and the second channel to the - signal.
GUI Location=Confgure Label=Differential waveform file name Variable=DiffWfmFile Values=(Accepts user-defined text),None Description=This variable use to store the directory of the differential data waveform file.
GUI Location=Confgure Label=Single ended positive waveform file name Variable=DPWfmFile Values=(Accepts user-defined text),None Description=This variable use to store the directory of the single ended positive data waveform file.
GUI Location=Confgure Label=Single ended negative waveform file name Variable=DNWfmFile Values=(Accepts user-defined text),None Description=This variable use to store the directory of the single ended negative data waveform file.
GUI Location=Confgure Label=Differential clock waveform file name Variable=DiffClkWfmFile Values=(Accepts user-defined text),None Description=This variable use to store the directory of the differential clock waveform file.
GUI Location=Confgure Label=Single ended positive clock waveform file name Variable=ClkDPWfmFile Values=(Accepts user-defined text),None Description=This variable use to store the directory of the single ended positive clock waveform file.
GUI Location=Confgure Label=Single ended negative clock waveform file name Variable=ClkDNWfmFile Values=(Accepts user-defined text),None Description=This variable use to store the directory of the single ended negative clock waveform file.
GUI Location=Confgure Label=Single ended negative clock waveform file name Variable=OfflineInput Values=(Accepts user-defined text),None Description=This variable use to store the type of offline waveform, "SingleEnded" or "Differential".
GUI Location=Confgure Label=Transition Time Threshold Variable=TransitionTimeThreshold Values=Fixed,Variable Description=Select the threshold method used to measure transition time.Fixed method applied the same threshold for all edges. Variable method applied threshold based on the previous and the next unit interval.
GUI Location=Confgure Label=Num Clock UI Variable=NumClockUI Values=(Accepts user-defined text),1000000,500000,100000,50000 Description=This is the number of clock unit intervals processed when calculating clock jitter. For compliance testing, this measurement requires 1,000,000 UI to guarantee the proper bit error rate (10E-6 BER) as specified in the PCI Express Base Specification Rev.  1.1. The allowed values for this control are between 1000 and 3,000,000 UIs.
GUI Location=Confgure Label=Sample rate, GSa/s Variable=ClockSR Values=80.0E+9,40.0E+9,20.0E+9,10.0E+9,5.0E+9,2.0E+9,1.0E+9 Description=Select the sample rate to acquire reference clock signal.
GUI Location=Confgure Label=Gen 2 Ref Clock Transfer Function (Common Clock) Variable=Gen2CommonRefClkTF Values=H1: 5MHz, 1.0dB peaking | H2: 16MHz, 3.0dB peaking,H1: 8MHz, 3.0dB peaking | H2: 16MHz, 3.0dB peaking Description=Select the transfer function for Gen 2 reference clock signal.
GUI Location=Confgure Label=Gen 3 Ref Clock Transfer Function (Common Clock) Variable=Gen3CommonRefClkTF Values=H1: 2MHz, 0.01dB peaking | H2: 2MHz, 0.01dB peaking,H1: 2MHz, 0.01dB peaking | H2: 2MHz, 1.0dB peaking,H1: 2MHz, 0.01dB peaking | H2: 5MHz, 0.01dB peaking,H1: 2MHz, 0.01dB peaking | H2: 5MHz, 1.0dB peaking,H1: 2MHz, 2.0dB peaking | H2: 2MHz, 0.01dB peaking,H1: 2MHz, 2.0dB peaking | H2: 2MHz, 1.0dB peaking,H1: 2MHz, 2.0dB peaking | H2: 5MHz, 0.01dB peaking,H1: 2MHz, 2.0dB peaking | H2: 5MHz, 1.0dB peaking,H1: 4MHz, 0.01dB peaking | H2: 2MHz, 0.01dB peaking,H1: 4MHz, 0.01dB peaking | H2: 2MHz, 1.0dB peaking,H1: 4MHz, 0.01dB peaking | H2: 5MHz, 0.01dB peaking,H1: 4MHz, 0.01dB peaking | H2: 5MHz, 1.0dB peaking,H1: 4MHz, 2.0dB peaking | H2: 2MHz, 0.01dB peaking,H1: 4MHz, 2.0dB peaking | H2: 2MHz, 1.0dB peaking,H1: 4MHz, 2.0dB peaking | H2: 5MHz, 0.01dB peaking,H1: 4MHz, 2.0dB peaking | H2: 5MHz, 1.0dB peaking Description=Select the transfer function for Gen 3 reference clock signal.
GUI Location=Confgure Label=Gen 3 Ref Clock Transfer Function (Data Clock) Variable=Gen3DataRefClkTF Values=H1: 2MHz, 0.01dB peaking | H2: 10MHz, 0.5dB peaking,H1: 2MHz, 1.0dB peaking | H2: 10MHz, 0.5dB peaking,H1: 2MHz, 2.0dB peaking | H2: 10MHz, 0.5dB peaking,H1: 2MHz, 0.01dB peaking | H2: 10MHz, 2.0dB peaking,H1: 2MHz, 1.0dB peaking | H2: 10MHz, 2.0dB peaking,H1: 2MHz, 2.0dB peaking | H2: 10MHz, 2.0dB peaking,H1: 4MHz, 0.01dB peaking | H2: 10MHz, 0.5dB peaking,H1: 4MHz, 0.01dB peaking | H2: 10MHz, 2.0dB peaking,H1: 4MHz, 2.0dB peaking | H2: 10MHz, 0.5dB peaking,H1: 4MHz, 2.0dB peaking | H2: 10MHz, 2.0dB peaking,H1: 5MHz, 0.01dB peaking | H2: 10MHz, 0.5dB peaking,H1: 5MHz, 0.01dB peaking | H2: 10MHz, 2.0dB peaking,H1: 5MHz, 1.0dB peaking | H2: 10MHz, 0.5dB peaking,H1: 5MHz, 1.0dB peaking | H2: 10MHz, 2.0dB peaking Description=Select the transfer function for Gen 3 reference clock signal.
GUI Location=Confgure Label=Stitch Method Variable=StitchMethod Values=Absolute,Dynamic Description=Select the method to stitch the waveform for reference clock phase jitter test. Absolute method stitches the waveform based on absolute data. Dynamic method aligns waveform data to have common offset before stitching. This option only applies when Spread Sprectrum Clocking is enabled.
GUI Location=Confgure Label=Show Jitter Filter Plot Variable=ShowJitterFilterPlot Values=0,2,3,4,5 Description=Select the clock jitter plot to display. Generating plots will increase test runtime.
GUI Location=Confgure Label=Output Filename Variable=RefClkOutputCSVFilename Values=(Accepts user-defined text),None,Auto Description=Output Filename.
GUI Location=Confgure Label=De-Emphasis Removal Variable=EnableDeEmpRemoval Values=1.0,0.0 Description=Enable or Disable De-Emphasis Removal feature for the jitter and eye width measurement of the transmitter test.
GUI Location=Confgure Label=Rise/Fall Time Measurement Count  Variable=RiseFallCount Values=10.0E+3,5.0E+3,2.0E+3,1.0E+3,500.0E+0,200.0E+0 Description=Select the minimum measurement count for each rise time and fall time for the Rise/Fal time measurement with variable threshold.
GUI Location=Confgure Label=RJ Bandwidth Variable=RJBW Values=NARR,WIDE Description=Select the RJ bandwidth.
GUI Location=Confgure Label=Trigger Pulse Width, s Variable=TrigPulseWidth Values=8.0E-9,7.0E-9,6.0E-9,5.0E-9 Description=(Limited availability)Specify the width in second for the Pulse Width Trigger setup.
GUI Location=Confgure Label=Clock Recovery Delta Time Variable=ClockRecoveryDeltaTime Values=Fixed,Variable Description=Select the clock recovery delta time from compliance pattern of 64 zeroes and 64 ones
GUI Location=Confgure Label=Sine(x)/x Interpolation Variable=SineXInterpolation Values=ON,OFF,INT1,INT2,INT4,INT8 Description=Sine(x)/x Interpolation.
GUI Location=Set Up Label=User Comments Variable=txtUserComment Values=(Accepts user-defined text) Description=Optional user comments displayed in the test report. 
GUI Location=Set Up Label=Lane0 Variable=Lane0 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane1 Variable=Lane1 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane2 Variable=Lane2 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane3 Variable=Lane3 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane4 Variable=Lane4 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane5 Variable=Lane5 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane6 Variable=Lane6 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane7 Variable=Lane7 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane8 Variable=Lane8 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane9 Variable=Lane9 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane10 Variable=Lane10 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane11 Variable=Lane11 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane12 Variable=Lane12 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane13 Variable=Lane13 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane14 Variable=Lane14 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane15 Variable=Lane15 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Embed Enable Checkbox Variable=OfflineEnable Values=0.0,1.0 Description=Select tests peformed at the reference clock interface. 
GUI Location=Set Up Label=Device Variable=DevicePCIErev Values=PCIE 1.0a,PCIE 1.1,PCIE 2.0,PCIE 3.0,Express Card 1.0 Description=Select the PCI Express device specification to use. 
GUI Location=Set Up Label=Device ID Variable=txtDeviceID Values=(Accepts user-defined text) Description=Optional user defined device ID displayed in the test report. 
GUI Location=Set Up Label=cmbPresetType Variable=cmbPresetType Values=(Accepts user-defined text),None,P0,P1,P2,P3,P5,P6,P7,P8,P9,P10 Description=Connection Type 
GUI Location=Set Up Label=Data Rate Variable=DataRateOpt Values=2.5 GT/s,5.0 GT/s,8.0 GT/s Description=Select data rate option for PCIE Gen2 test signal. 
GUI Location=Set Up Label=Power Level Variable=PowerLevel Values=Full,Half Description=Select the PCI Express device Power Level to use. 
GUI Location=Set Up Label=De-Emphasis Mode Variable=DeEmpOpt Values=-3.5 dB,-6.0 dB,None Description=Select de-emphasis level for PCIE Gen2 test signal. 
GUI Location=Set Up Label=Clean Clock Variable=persistentCheckBox_Clean Values=0.0,1.0 Description=Indicate whether a Clean Clock is used. 
GUI Location=Set Up Label=SSC Variable=persistentCheckBox_SSC Values=0.0,1.0 Description=Indicate whether Spread Spectrum Clock is used. 
GUI Location=Set Up Label=System Board Tests Variable=TestPoint_SystemBoard Values=0.0,1.0 Description=Select tests peformed at the add-in card interface on the system board transmitter path. 
GUI Location=Set Up Label=RefClk Tests Variable=TestPoint_RefClk Values=0.0,1.0 Description=Select tests peformed at the reference clock interface. 
GUI Location=Set Up Label=Add-in Card Tests Variable=TestPoint_AddInCard Values=0.0,1.0 Description=Select tests peformed at the add-in card interface on the add-in card transmitter path. 
GUI Location=Set Up Label=Receiver Tests Variable=TestPoint_Receiver Values=0.0,1.0 Description=Select tests peformed at the receiver. 
GUI Location=Set Up Label=Express Card Host Variable=TestPoint_ExpressCardHost Values=0.0,1.0 Description=Select tests peformed on Express Card Hosts. 
GUI Location=Set Up Label=Transmitter Tests Variable=TestPoint_Transmitter Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Express Card Module Variable=TestPoint_ExpressCardModule Values=0.0,1.0 Description=Select tests peformed on Express Card Modules. 
GUI Location=Set Up Label=Preset Tests For Gen 3 Variable=TestPoint_Calibration Values=0.0,1.0 Description=Select tests peformed at the reference clock interface. 
GUI Location=Run Tests Label=RunEvent=Margin < N: Minimum required margin % Variable=RunEvent_Margin < N_MinPercent Values=Any integer in range: 0 <= value <= 100 Description=Specify N using the 'Minimum required margin %' control.
GUI Location=Run Tests Label=Event Variable=RunEvent Values=(None),Fail,Margin < N,Pass Description=Names of events that can be used with the StoreMode=Event or RunUntil RunEventAction options
In [15]:
remoteApp.DebugMode = False
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-15-51285ac9133b> in <module>()
      1 remoteApp.DebugMode = False
----> 2 currentoptions = remoteApp.GetCurrentOptions()

TypeError: No method matches given arguments
In [16]:
currentoptions = remoteApp.GetCurrentOptions("ConfigsInfo")
for currentoption in currentoptions:
    print currentoption
GUI Location=Confgure Label=ProbeHead Check Variable=EnableProbeHeadCheck Values=1.0,0.0 Description=When ProbeHead check is enabled, the input signal's probe head configuration is verified. This is only done when performing DualPort Testing in Gen2 System Board Test.
GUI Location=Confgure Label=Signal Check Variable=EnableSignalCheck Values=1.0,0.0 Description=When signal check is enabled, the input signal is pre-tested and verified to be within a reasonable range of timing and voltage limits. This can be useful for detecting problems like cabling errors before a test is run.
GUI Location=Confgure Label=S-Parameter for Add-in Card Variable=AddInSParamFilePath Values=(Accepts user-defined text) Description=Stores the s-parameter file path for Add-in card tests.
GUI Location=Confgure Label=S-Parameter for System Board Variable=SystemSParamFilePath Values=(Accepts user-defined text) Description=Stores the s-parameter file path for System board tests.
GUI Location=Confgure Label=Deembed Fixture (dB) Variable=Deembed Values=(Accepts user-defined text),0.0,-0.50,-1.00,-1.50 Description=Identify the amount of fixture and cable loss in dB. Probe external scaling will be set to compensate. Maximum compensation value is -60dB.
GUI Location=Confgure Label=Noise Reduction BW, GHz Variable=EBW Values=0.0,13.0E+9,12.0E+9,10.0E+9,8.0E+9,7.0E+9,6.0E+9,5.0E+9,4.0E+9,3.0E+9,2.0E+9,1.0E+9 Description=(Limited availability)Specify the noise reduction bandwidth to use for all tests.
GUI Location=Confgure Label=Sample Rate, GSa/s Variable=SRate_Gen2 Values=80.0E+9,40.0E+9,20.0E+9,10.0E+9 Description=(Limited availability)Specify the sample rate to use for all PCIE 2.0 (5.0 GT/s) tests or PCIE 3.0 (8.0 GT/s) tests.
GUI Location=Confgure Label=Sample Rate, GSa/s Variable=SRate Values=80.0E+9,40.0E+9,20.0E+9,10.0E+9,5.0E+9 Description=(Limited availability)Specify the sample rate to use for all PCIE 1.0a, PCIE 1.1 , PCIe 2.0 (2.5 GT/s) and Express Card 1.0 tests.
GUI Location=Confgure Label=Number of UI Variable=NumUIGen2Test Values=(Accepts user-defined text),1.6E+6,1.0E+6,500.0E+3,250.0E+3,100.0E+3,50.0E+3 Description=This is the minimum number of unit intervals used in the Eye-Width, TJ at BER-12, Maximum DJ , RMS RJ  and Template tests. These measurements should be made using the compliance pattern at a sample size of at least 1E+6 (1,000,000) UI as specified in the PCI Express CEM Specification Rev. 2.0. Specifying a greater number of UI will increase the test time and accuracy of the tests.
GUI Location=Confgure Label=Number of UI Variable=NumUIGen1Test Values=(Accepts user-defined text),1.6E+6,1.0E+6,500.0E+3,250.0E+3,100.0E+3,50.0E+3 Description=This is the minimum number of unit intervals used in the Eye-Width, TJ at BER-12, Maximum DJ , RMS RJ  and Template tests. These measurements should be made using the compliance pattern at a sample size of at least 1E+6 (1,000,000) UI as specified in the PCI Express CEM Specification Rev. 2.0. Specifying a greater number of UI will increase the test time and accuracy of the tests.
GUI Location=Confgure Label=Connection Type Variable=TxConnectionType Values=1,2,3,4,5,6,7,8 Description=Identifies the channels to process. For Direct Connect, connect the first channel to the + signal and the second channel to the - signal.
GUI Location=Confgure Label=Connection Type Variable=RxConnectionType Values=1,2,3,4,5,6 Description=Identifies the channels to process. For Direct Connect, connect the first channel to the + signal and the second channel to the - signal.
GUI Location=Confgure Label=Connection Type Variable=AddinTxConnectionType Values=1,2,3,4,5,6,7,8 Description=Identifies the channels to process. For Direct Connect, connect the first channel to the + signal and the second channel to the - signal.
GUI Location=Confgure Label=Connection Type Variable=Gen3RxConnectionType Values=1,2,3,4,5,6 Description=Identifies the channels to process. For Direct Connect, connect the first channel to the + signal and the second channel to the - signal.
GUI Location=Confgure Label=Connection Type Variable=Gen2SystemTxConnectionType Values=11,12,13,14 Description=(Limited availability)Identifies the channels to process.
GUI Location=Confgure Label=Connection Type Variable=SystemTxConnectionType Values=1,2,3,4,5,6,7,8 Description=Identifies the channels to process. For Direct Connect, connect the first channel to the + signal and the second channel to the - signal.
GUI Location=Confgure Label=Connection Type Variable=RefClkConnectionType Values=1,2,3,4,5,6,7,8 Description=Identifies the channels to process. For Direct Connect, connect the first channel to the + signal and the second channel to the - signal.
GUI Location=Confgure Label=Connection Type Variable=ECModuleTxConnectionType Values=1,2,3,4,5,6,7,8 Description=Identifies the channels to process. For Direct Connect, connect the first channel to the + signal and the second channel to the - signal.
GUI Location=Confgure Label=Connection Type Variable=ECHostTxConnectionType Values=1,2,3,4,5,6,7,8 Description=Identifies the channels to process. For Direct Connect, connect the first channel to the + signal and the second channel to the - signal.
GUI Location=Confgure Label=Differential waveform file name Variable=DiffWfmFile Values=(Accepts user-defined text),None Description=This variable use to store the directory of the differential data waveform file.
GUI Location=Confgure Label=Single ended positive waveform file name Variable=DPWfmFile Values=(Accepts user-defined text),None Description=This variable use to store the directory of the single ended positive data waveform file.
GUI Location=Confgure Label=Single ended negative waveform file name Variable=DNWfmFile Values=(Accepts user-defined text),None Description=This variable use to store the directory of the single ended negative data waveform file.
GUI Location=Confgure Label=Differential clock waveform file name Variable=DiffClkWfmFile Values=(Accepts user-defined text),None Description=This variable use to store the directory of the differential clock waveform file.
GUI Location=Confgure Label=Single ended positive clock waveform file name Variable=ClkDPWfmFile Values=(Accepts user-defined text),None Description=This variable use to store the directory of the single ended positive clock waveform file.
GUI Location=Confgure Label=Single ended negative clock waveform file name Variable=ClkDNWfmFile Values=(Accepts user-defined text),None Description=This variable use to store the directory of the single ended negative clock waveform file.
GUI Location=Confgure Label=Single ended negative clock waveform file name Variable=OfflineInput Values=(Accepts user-defined text),None Description=This variable use to store the type of offline waveform, "SingleEnded" or "Differential".
GUI Location=Confgure Label=Transition Time Threshold Variable=TransitionTimeThreshold Values=Fixed,Variable Description=Select the threshold method used to measure transition time.Fixed method applied the same threshold for all edges. Variable method applied threshold based on the previous and the next unit interval.
GUI Location=Confgure Label=Num Clock UI Variable=NumClockUI Values=(Accepts user-defined text),1000000,500000,100000,50000 Description=This is the number of clock unit intervals processed when calculating clock jitter. For compliance testing, this measurement requires 1,000,000 UI to guarantee the proper bit error rate (10E-6 BER) as specified in the PCI Express Base Specification Rev.  1.1. The allowed values for this control are between 1000 and 3,000,000 UIs.
GUI Location=Confgure Label=Sample rate, GSa/s Variable=ClockSR Values=80.0E+9,40.0E+9,20.0E+9,10.0E+9,5.0E+9,2.0E+9,1.0E+9 Description=Select the sample rate to acquire reference clock signal.
GUI Location=Confgure Label=Gen 2 Ref Clock Transfer Function (Common Clock) Variable=Gen2CommonRefClkTF Values=H1: 5MHz, 1.0dB peaking | H2: 16MHz, 3.0dB peaking,H1: 8MHz, 3.0dB peaking | H2: 16MHz, 3.0dB peaking Description=Select the transfer function for Gen 2 reference clock signal.
GUI Location=Confgure Label=Gen 3 Ref Clock Transfer Function (Common Clock) Variable=Gen3CommonRefClkTF Values=H1: 2MHz, 0.01dB peaking | H2: 2MHz, 0.01dB peaking,H1: 2MHz, 0.01dB peaking | H2: 2MHz, 1.0dB peaking,H1: 2MHz, 0.01dB peaking | H2: 5MHz, 0.01dB peaking,H1: 2MHz, 0.01dB peaking | H2: 5MHz, 1.0dB peaking,H1: 2MHz, 2.0dB peaking | H2: 2MHz, 0.01dB peaking,H1: 2MHz, 2.0dB peaking | H2: 2MHz, 1.0dB peaking,H1: 2MHz, 2.0dB peaking | H2: 5MHz, 0.01dB peaking,H1: 2MHz, 2.0dB peaking | H2: 5MHz, 1.0dB peaking,H1: 4MHz, 0.01dB peaking | H2: 2MHz, 0.01dB peaking,H1: 4MHz, 0.01dB peaking | H2: 2MHz, 1.0dB peaking,H1: 4MHz, 0.01dB peaking | H2: 5MHz, 0.01dB peaking,H1: 4MHz, 0.01dB peaking | H2: 5MHz, 1.0dB peaking,H1: 4MHz, 2.0dB peaking | H2: 2MHz, 0.01dB peaking,H1: 4MHz, 2.0dB peaking | H2: 2MHz, 1.0dB peaking,H1: 4MHz, 2.0dB peaking | H2: 5MHz, 0.01dB peaking,H1: 4MHz, 2.0dB peaking | H2: 5MHz, 1.0dB peaking Description=Select the transfer function for Gen 3 reference clock signal.
GUI Location=Confgure Label=Gen 3 Ref Clock Transfer Function (Data Clock) Variable=Gen3DataRefClkTF Values=H1: 2MHz, 0.01dB peaking | H2: 10MHz, 0.5dB peaking,H1: 2MHz, 1.0dB peaking | H2: 10MHz, 0.5dB peaking,H1: 2MHz, 2.0dB peaking | H2: 10MHz, 0.5dB peaking,H1: 2MHz, 0.01dB peaking | H2: 10MHz, 2.0dB peaking,H1: 2MHz, 1.0dB peaking | H2: 10MHz, 2.0dB peaking,H1: 2MHz, 2.0dB peaking | H2: 10MHz, 2.0dB peaking,H1: 4MHz, 0.01dB peaking | H2: 10MHz, 0.5dB peaking,H1: 4MHz, 0.01dB peaking | H2: 10MHz, 2.0dB peaking,H1: 4MHz, 2.0dB peaking | H2: 10MHz, 0.5dB peaking,H1: 4MHz, 2.0dB peaking | H2: 10MHz, 2.0dB peaking,H1: 5MHz, 0.01dB peaking | H2: 10MHz, 0.5dB peaking,H1: 5MHz, 0.01dB peaking | H2: 10MHz, 2.0dB peaking,H1: 5MHz, 1.0dB peaking | H2: 10MHz, 0.5dB peaking,H1: 5MHz, 1.0dB peaking | H2: 10MHz, 2.0dB peaking Description=Select the transfer function for Gen 3 reference clock signal.
GUI Location=Confgure Label=Stitch Method Variable=StitchMethod Values=Absolute,Dynamic Description=Select the method to stitch the waveform for reference clock phase jitter test. Absolute method stitches the waveform based on absolute data. Dynamic method aligns waveform data to have common offset before stitching. This option only applies when Spread Sprectrum Clocking is enabled.
GUI Location=Confgure Label=Show Jitter Filter Plot Variable=ShowJitterFilterPlot Values=0,2,3,4,5 Description=Select the clock jitter plot to display. Generating plots will increase test runtime.
GUI Location=Confgure Label=Output Filename Variable=RefClkOutputCSVFilename Values=(Accepts user-defined text),None,Auto Description=Output Filename.
GUI Location=Confgure Label=De-Emphasis Removal Variable=EnableDeEmpRemoval Values=1.0,0.0 Description=Enable or Disable De-Emphasis Removal feature for the jitter and eye width measurement of the transmitter test.
GUI Location=Confgure Label=Rise/Fall Time Measurement Count  Variable=RiseFallCount Values=10.0E+3,5.0E+3,2.0E+3,1.0E+3,500.0E+0,200.0E+0 Description=Select the minimum measurement count for each rise time and fall time for the Rise/Fal time measurement with variable threshold.
GUI Location=Confgure Label=RJ Bandwidth Variable=RJBW Values=NARR,WIDE Description=Select the RJ bandwidth.
GUI Location=Confgure Label=Trigger Pulse Width, s Variable=TrigPulseWidth Values=8.0E-9,7.0E-9,6.0E-9,5.0E-9 Description=(Limited availability)Specify the width in second for the Pulse Width Trigger setup.
GUI Location=Confgure Label=Clock Recovery Delta Time Variable=ClockRecoveryDeltaTime Values=Fixed,Variable Description=Select the clock recovery delta time from compliance pattern of 64 zeroes and 64 ones
GUI Location=Confgure Label=Sine(x)/x Interpolation Variable=SineXInterpolation Values=ON,OFF,INT1,INT2,INT4,INT8 Description=Sine(x)/x Interpolation.
GUI Location=Set Up Label=User Comments Variable=txtUserComment Values=(Accepts user-defined text) Description=Optional user comments displayed in the test report. 
GUI Location=Set Up Label=Lane0 Variable=Lane0 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane1 Variable=Lane1 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane2 Variable=Lane2 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane3 Variable=Lane3 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane4 Variable=Lane4 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane5 Variable=Lane5 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane6 Variable=Lane6 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane7 Variable=Lane7 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane8 Variable=Lane8 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane9 Variable=Lane9 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane10 Variable=Lane10 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane11 Variable=Lane11 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane12 Variable=Lane12 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane13 Variable=Lane13 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane14 Variable=Lane14 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Lane15 Variable=Lane15 Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Embed Enable Checkbox Variable=OfflineEnable Values=0.0,1.0 Description=Select tests peformed at the reference clock interface. 
GUI Location=Set Up Label=Device Variable=DevicePCIErev Values=PCIE 1.0a,PCIE 1.1,PCIE 2.0,PCIE 3.0,Express Card 1.0 Description=Select the PCI Express device specification to use. 
GUI Location=Set Up Label=Device ID Variable=txtDeviceID Values=(Accepts user-defined text) Description=Optional user defined device ID displayed in the test report. 
GUI Location=Set Up Label=cmbPresetType Variable=cmbPresetType Values=(Accepts user-defined text),None,P0,P1,P2,P3,P5,P6,P7,P8,P9,P10 Description=Connection Type 
GUI Location=Set Up Label=Data Rate Variable=DataRateOpt Values=2.5 GT/s,5.0 GT/s,8.0 GT/s Description=Select data rate option for PCIE Gen2 test signal. 
GUI Location=Set Up Label=Power Level Variable=PowerLevel Values=Full,Half Description=Select the PCI Express device Power Level to use. 
GUI Location=Set Up Label=De-Emphasis Mode Variable=DeEmpOpt Values=-3.5 dB,-6.0 dB,None Description=Select de-emphasis level for PCIE Gen2 test signal. 
GUI Location=Set Up Label=Clean Clock Variable=persistentCheckBox_Clean Values=0.0,1.0 Description=Indicate whether a Clean Clock is used. 
GUI Location=Set Up Label=SSC Variable=persistentCheckBox_SSC Values=0.0,1.0 Description=Indicate whether Spread Spectrum Clock is used. 
GUI Location=Set Up Label=System Board Tests Variable=TestPoint_SystemBoard Values=0.0,1.0 Description=Select tests peformed at the add-in card interface on the system board transmitter path. 
GUI Location=Set Up Label=RefClk Tests Variable=TestPoint_RefClk Values=0.0,1.0 Description=Select tests peformed at the reference clock interface. 
GUI Location=Set Up Label=Add-in Card Tests Variable=TestPoint_AddInCard Values=0.0,1.0 Description=Select tests peformed at the add-in card interface on the add-in card transmitter path. 
GUI Location=Set Up Label=Receiver Tests Variable=TestPoint_Receiver Values=0.0,1.0 Description=Select tests peformed at the receiver. 
GUI Location=Set Up Label=Express Card Host Variable=TestPoint_ExpressCardHost Values=0.0,1.0 Description=Select tests peformed on Express Card Hosts. 
GUI Location=Set Up Label=Transmitter Tests Variable=TestPoint_Transmitter Values=0.0,1.0 Description=Select tests performed at the transmitter package pins. 
GUI Location=Set Up Label=Express Card Module Variable=TestPoint_ExpressCardModule Values=0.0,1.0 Description=Select tests peformed on Express Card Modules. 
GUI Location=Set Up Label=Preset Tests For Gen 3 Variable=TestPoint_Calibration Values=0.0,1.0 Description=Select tests peformed at the reference clock interface. 
GUI Location=Run Tests Label=RunEvent=Margin < N: Minimum required margin % Variable=RunEvent_Margin < N_MinPercent Values=Any integer in range: 0 <= value <= 100 Description=Specify N using the 'Minimum required margin %' control.
GUI Location=Run Tests Label=Event Variable=RunEvent Values=(None),Fail,Margin < N,Pass Description=Names of events that can be used with the StoreMode=Event or RunUntil RunEventAction options
In [7]:
testIDs = []
for test in testsinfos:
    testIDs.append(test.ID)
print testIDs
remoteApp.SelectedTests = testIDs
[2100, 2114, 2134, 2144, 2150, 2162, 2180, 2184, 2192, 2194]
In [26]:
for config in configsinfos:
    print config.Label, config.DebugOnly
ProbeHead Check True
Signal Check False
S-Parameter for Add-in Card False
S-Parameter for System Board False
Deembed Fixture (dB) False
Noise Reduction BW, GHz False
Sample Rate, GSa/s False
Sample Rate, GSa/s False
Number of UI False
Number of UI False
Connection Type False
Connection Type False
Connection Type False
Connection Type False
Connection Type False
Connection Type False
Connection Type False
Connection Type False
Connection Type False
Differential waveform file name False
Single ended positive waveform file name False
Single ended negative waveform file name False
Differential clock waveform file name False
Single ended positive clock waveform file name False
Single ended negative clock waveform file name False
Single ended negative clock waveform file name False
Transition Time Threshold False
Num Clock UI False
Sample rate, GSa/s False
Gen 2 Ref Clock Transfer Function (Common Clock) False
Gen 3 Ref Clock Transfer Function (Common Clock) False
Gen 3 Ref Clock Transfer Function (Data Clock) False
Stitch Method False
Show Jitter Filter Plot False
Output Filename True
De-Emphasis Removal False
Rise/Fall Time Measurement Count  True
RJ Bandwidth False
Trigger Pulse Width, s True
Clock Recovery Delta Time True
Sine(x)/x Interpolation False
User Comments False
Lane0 False
Lane1 False
Lane2 False
Lane3 False
Lane4 False
Lane5 False
Lane6 False
Lane7 False
Lane8 False
Lane9 False
Lane10 False
Lane11 False
Lane12 False
Lane13 False
Lane14 False
Lane15 False
Embed Enable Checkbox False
Device False
Device ID False
cmbPresetType False
Data Rate False
Power Level False
De-Emphasis Mode False
Clean Clock False
SSC False
System Board Tests False
RefClk Tests False
Add-in Card Tests False
Receiver Tests False
Express Card Host False
Transmitter Tests False
Express Card Module False
Preset Tests For Gen 3 False
RunEvent=Margin < N: Minimum required margin % False
Event False
In [ ]: