![Sifos Technologies PhyView PVA-3000 Reference Manual Download Page 74](http://html.mh-extra.com/html/sifos-technologies/phyview-pva-3000/phyview-pva-3000_reference-manual_1267094074.webp)
PVA-3000 Reference Manual
December 2, 2019
Sifos Technologies
Page
74
PowerShell PSA commands, global variables, and other common syntactical constructs such as braces and brackets,
math operators, etc. It provides many powerful capabilities that support authoring and troubleshooting bug-free scripts.
To configure + for PowerShell PSA, first install +, then use the
Language
drop-down menu to
Define Your Language
…, then select the
Import
control and import the file
PowerShell_PSA.xml
from the installed
directory for PSA software. This will typically be
c:\Program Files (x86)\Sifos\PSA1200\
on a Windows computer.
4.2.
PowerShell Connection and Configuration Commands
PowerShell configuration commands are specific to a PowerShell (console) window. The commands only affect that
window and will have no immediate impact to any other PowerShell windows. Settings for
pva
(IP Address) and the
DUT Local Configuration File will be remembered from the most recent session of PowerShell PSA or PVA
Interactive.
Command
Command Parameters
Query
Returned
Parameters
pva
(alias to
psa
)
ipAddress
?
Current Chassis
IP Address
Selects the chassis to which subsequent commands and
queries will be directed
.
ipAddress
An n.n.n.n format IP address. This address will
apply until re-established by the
pva
command and is
persistent if the shell is closed or computer is re-booted.
pva_demo
<
ON
|
OFF
>
slots
num_blades
This command enables or disables the Demo Mode for the
PVA-3000.
ON:
Enable Demo (Emulation) Mode
OFF:
Disable Demo (Emulation) Mode
– must be connected
to an instrument.
numblades
: The number of populated test slots (1-12)
pva_version
Outputs current version of PowerShell PVA software.
Module Versions
pva_exists
(alias to
psa_exists
)
ipaddress
1 =PSA found
0 =No PSA found
Returns “1” if PSA is found on network and “0” if PSA is not
found on the network.
ipaddress
: The IP address of a PSA chassis.
pva_dut
dut_name
Loads the DUT-specific configuration file for a specific DUT
type. The DUT-specific configuration file specifies the
following attributes to PowerShell:
MAX_RATE:
Maximum DUT link rate (10 | 100 | 1000)
POLARITY:
MDI_Only | MDI-X _Only | Both
DUT_CLASS:
SWITCH | OTHER
PVA_TEST_RESULTS_PATH:
Reporting subdirectory
calport
<
port
>
slot
,
port
Returns the designated calibration port given a Test Port. If
Test Port is x,1, Calibration Port is x,2 and if Test Port is x,2,
Calibration Port is x,1.
psa_latency_test
<
ipAddr
>
<
ioCount
> <
-v
>
PSA Address,
Measurement Count,
Minimum Latency (msec),
Maximum Latency (msec),
95th Percentile Latency
(msec),
I-O Status:
OK
|
WARNING
|
PROBLEM!
PROCESS_STATUS:
OK
|
WARNING
|
PROBLEM!
Utility to statistically analyze network connection latency
between host computer and PSA instrument and process
preemption delays within the host computer. The command
will report Minimum, Maximum, and 95th Percentile values
for I-O response time for specified interactions with a
specified PSA address. It will also categorize I-O response
time and internal process execution integrity. See Section
2.5 for information about Network Connection Latency.
ipAddr
: IP address of PSA Instrument to which connection
latency is being studied. Default address is currently
connected PSA instrument.
ioCount
: Count of latency measurements to be performed.
Range is 100 to 2000 measurements. . Default value is
100 measurements. Higher counts will catch more
intermittent problems.
-v
: Produce diagnostic details from the psa_latency_test
utility. Default is no diagnostic details.
Summary of Contents for PhyView PVA-3000
Page 22: ...PVA 3000 Reference Manual December 2 2019 Sifos Technologies Page 22 ...
Page 70: ...PVA 3000 Reference Manual December 2 2019 Sifos Technologies Page 70 ...
Page 108: ...PVA 3000 Reference Manual December 2 2019 Sifos Technologies Page 108 ...
Page 124: ...PVA 3000 Reference Manual December 2 2019 Sifos Technologies Page 124 ...