measure - Probe Measurement
measure <channel> - Take a measurement of a signal.
In this usage, the measure command is used to take a measurement of a signal
using a particular measurement channel. The PLT takes a single reading on the
selected channel, compares it against the pass/fail criteria given by
range/acceptance (if any), and reports the numeric result. Use
freq - Frequency Monitor Control beforehand to select which clock input the frequency channel
reads, and mux - Multiplex Control beforehand for any signal that must first be routed
through the Multiplexer sub-system on the PLT-300A.
Usage:
- command: measure <channel> [<signal>|<rail>] <range>|<acceptance> [<reference>]
[extractKey: <key>]
[retry: <retryCount>]
[ground: <ground>]
[with:
[- dutyCycle <dutyCycleRange>]
[- disableAutoRange]]
Argument |
Description |
|---|---|
channel |
Measurement channel to use, from the table below. |
signal |
The probe or signal to measure: a |
rail |
Power rail name for |
range |
Acceptable numeric range for the measured quantity, e.g.
|
acceptance |
Signal acceptance criteria: a range for numeric channels,
|
reference |
Reference voltage for |
key |
Key in which to store the measurement result, for later use with eval - Evaluate Expression or label substitution (optional). |
retryCount |
Number of times to retry the test step (optional). |
ground |
Measurement reference ground signal (optional, default:
|
with |
Additional command parameters. (optional)
|
A range or reference value that omits a unit suffix defaults to the base
unit for its quantity (V for voltage, A for current, Ohm for
resistance/impedance, Hz for frequency).
Note
For the voltageDiff channel, 2 signal names must be provided, separated
with a -. For example: DATP00-DATP01 for a differential
measurement between DATP00 and DATP01.
Note
For the continuity channel, acceptance is a boolean value
(True/False, 1/0, t/f) indicating whether
continuity is expected between signal and ground.
The measure command supports the following channels:
channel |
Description |
Max Voltage |
|---|---|---|
|
Capacitance, using DMM |
100V |
|
Continuity, using DMM |
100V |
|
1V8 power rail current draw, using ADC |
5.5V |
|
3V3 power rail current draw, using ADC |
5.5V |
|
5V power rail current draw, using ADC |
5.5V |
|
VARV power rail current draw, using ADC |
24V |
|
Current on a power rail, using DMM |
100V |
|
Frequency on the channel set by |
100V |
|
Impedance of |
100V |
|
Digital pin measurement (DDTPxx/RDTPxx) |
5.5V |
|
Resistance, using DMM |
100V |
|
DATP00 voltage, using ADC |
5.5V |
|
DATP01 voltage, using ADC |
5.5V |
|
DATP02 voltage, using ADC |
5.5V |
|
DATP03 voltage, using ADC |
5.5V |
|
DATP04 voltage, using ADC |
5.5V |
|
DATP05 voltage, using ADC |
5.5V |
|
DATP06 voltage, using ADC |
5.5V |
|
DATP07 voltage, using ADC |
5.5V |
|
DATP08 voltage, using ADC |
5.5V |
|
DATP09 voltage, using ADC |
5.5V |
|
DATP10 voltage, using ADC |
5.5V |
|
DATP11 voltage, using ADC |
5.5V |
|
DATP12 voltage, using ADC |
5.5V |
|
Differential voltage, using ADC |
5.5V |
|
Voltage, using DMM |
100V |
|
MUX0 voltage, using ADC |
5.5V |
|
MUX1 voltage, using ADC |
5.5V |
|
MUX2 voltage, using ADC |
5.5V |
|
MUX3 voltage, using ADC |
5.5V |
Caution
In order to avoid damage to the PLT, take care that signals are below the Max Voltage for the selected measurement channel.
Note
On the PLT-300A, the DATP00 ... DATP06 pins need to be connected to
the Multiplexer sub-system, in order to use voltageDATP00 ... voltageDATP06.
Use the mux connect DDTPxx command to to connect such a pin to the Multiplexer sub-system.
ADC-based differential voltage measurements (voltageDiff) are supported
for the following combinations of signals only:
signal |
signal |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DMM-based measurements (capacitance, continuity, currentDMM,
resistance, voltageDMM) can be performed for the following
probes:
signal |
Description |
|---|---|
|
Direct Analog Test Probe #0…#6 |
|
Direct Digital Test Probe #0…#8 |
|
|
For DMM-based measurements, the PLT-300A allows measurements to be taken
against a specific ground signal. This can be requested by adding
a ground: <ground> field to the measure command, with the following
supported values:
ground |
Description |
|---|---|
|
PLT System ground (default) |
|
DUT Ground #1 |
|
DUT Ground #2 |
|
DUT Ground #3 |
|
DUT Ground #4 |
|
1.8V supply |
|
3.3V supply |
|
5V supply |
|
VARV supply |
|
RVREF mux signal |
The following suffixes are supported for electrical measurement ranges:
Kind |
Suffix |
Description |
|---|---|---|
Frequency |
|
Hertz (default) |
Frequency |
|
Kilohertz |
Frequency |
|
Megahertz |
Frequency |
|
Gigahertz |
Voltage |
|
Nanovolt |
Voltage |
|
Microvolt |
Voltage |
|
Millivolt |
Voltage |
|
Volt (default) |
Voltage |
|
Kilovolt |
Voltage |
|
Megavolt |
Current |
|
Nanoampere |
Current |
|
Microampere |
Current |
|
Milliampere |
Current |
|
Ampere (default) |
Resistance/Impedance |
|
Nanoohm |
Resistance/Impedance |
|
Microohm |
Resistance/Impedance |
|
Milliohm |
Resistance/Impedance |
|
Ohm (default) |
Resistance/Impedance |
|
Kiloohm |
Resistance/Impedance |
|
Megaohm |
Examples
measure start and measure stop - Take continuous measurements over time.
In this usage of the measure command, the start and stop subcommands are used to start a
continuous measurement, and then stop it.
This functionality is only available on the PLT-300A, and the specified channel must support
continuous measurement.
Other commands can be used between start and stop to wait for measurement (e.g., sleepms), or to exercise the DUT (e.g., power, GPIO, etc). Measurements will be taken continuously, and results will be tested against the pass criteria specified in the start command when stop is called.
Multiple continuous measurements can be started and stopped in parallel, as long as they are on separate channels.
measure start Usage:
- command: measure start <channel>
[id: <usbDeviceID>]
[path: <usbDevicePath>]
[retry: <retryCount>]
[with:
[- voltageAverage:<voltageAverageRange>]
[- voltageLimit:<voltageLimitRange>]
[- currentAverage:<currentAverageRange>]
[- currentLimit:<currentLimitRange>]
[- powerAverage:<powerAverageRange>]
[- powerLimit:<powerLimitRange>]]
measure stop Usage:
- command: measure stop [<channel>]
[id: <usb_device_id>]
[path: <usb_device_path>]
Argument |
Description |
|---|---|
channel |
Measurement channel. Note: The selected channel must support continuous
measurement. Defaults to |
usb_device_id |
Optional: USB device identifiers: |
usb_device_path |
Optional: USB device path: |
retryCount |
Optional: Number of times to retry the test step. |
with |
Optional: Additional command parameters. (Note: If none of the parameters below are specified, no pass criteria will be applied.) |
voltage_average_range |
Optional: Acceptable range for the average voltage over the capture. |
voltage_limit_range |
Optional: Acceptable range for the minimum and maximum instantaneous voltage seen during the capture. |
current_average_range |
Optional: Acceptable range for the average current over the capture. |
current_limit_range |
Optional: Acceptable range for the minimum and maximum instantaneous current seen during the capture. |
power_average_range |
Optional: Acceptable range for the average power over the capture. |
power_limit_range |
Optional: Acceptable range for the minimum and maximum instantaneous power seen during the capture. |
measure start begins a continuous capture on the given peripheral; measure stop ends the
capture and evaluates the average/limit criteria supplied to measure start against the
average, minimum, and maximum voltage, current, and power observed during the capture.
The following channels are supported for continuous measurement:
channel |
Description |
|---|---|
|
Jetperch Joulescope JS220 Precision Energy Analyzer. External USB peripheral. Supports continuous measurement of voltage, current, and power. |
Examples