PVA-3000 Reference Manual
December 2, 2019 Sifos Technologies
6. Specialized Scripting & Automation with the PVA-3000
The PhyView Analyzer has a number of features that are beneficial in scripting specialized PHY tests for use in
engineering, QA, and manufacturing. This section will specifically address the following test automation topics:
Broadcast Test Port Configuration
Event triggered, Multi-Port Measurements
Multi-Port Packet Transmission and Analysis
QA Test Automation
Integrating the PowerShell API into Native Tcl Shells
Launching or Managing PowerShell from External Applications Including TCL
High speed testing is of interest to manufacturing and large QA environments where considerable test data is generated
and the time to generate that data needs to be minimized. Configuring multiple ports and initiating measurements in
parallel provide the fastest throughput available with the PhyView Analyzer. Some test engineers desire to run test
automation from host applications outside PowerShell and can take advantage of PowerShell facilities to support such
development.
6.1. Multiple Port Configuration and Operation
The following specific strategies for optimizing (or minimizing) test time will be discussed in this section:
Broadcast Test Port Configuration
Event triggered, Multi-Port Measurements
Multi-Port Packet Transmission and Analysis
6.1.1. Broadcast Test Port Configuration
The PhyView Analyzer offers several “broadcast” port designations so that configuration parameters can be
established in more than a single test port using just a single configuration command. The slot-port 99,99 will
broadcast a configuration to every test port in a PSA chassis. Similarly the slot-port 99,1* will configure all Port 1’s
(excluding Port 2’s) and 99,2* will configure all Port 2’s (excluding Port 1’s) in current chassis to the specified
configuration. Additionally, the slot-port N,99* will configure both test ports of slot N within a PSA chassis.
Broadcast port designations should only be used with test port configuration commands – they are not supported by
configuration queries, status queries, or PowerShell utilities and system commands. Some examples are:
pva_connect 99,99 through Connect the TEST jack to the THRU jack on all test ports in chassis
pva_noise 99,99 off Turns the noise source off on all test ports
pva_psd 99,99 link 100 Sets all test ports to perform PSD measurement 100Base-TX only
pva_link_mon 3,99 count 1 Configures link monitor in Slot 3 (both ports) for sample count 1
pva_tx_pkt 99,1 rate line Configures all Port #1’s in all slots to transmit line rate packets
Typically, in multi-port or system testing, there will be the need to uniformly configure many ports. This method will
enable that much quicker than a software loop issuing repetitious commands to individual test ports.
Commands supporting the broadcast slot-port configurations are:
pva_link_mon (config
only)
pva_rx_pkt (start/stop
only)
* Broadcast port values 99,N and N,99 require PSA-3000 controller firmware version 3.0f or newer.