get_measurement
Retrieve a specified measurement item (e.g., VPP, frequency, rise time) from a channel and return its value in SI units.
Instructions
Perform an automatic measurement on a channel and return its value.
Common items: VPP (peak-to-peak), VAVG, VRMS, VMAX, VMIN, FREQuency, PERiod, RTIMe (rise time), FTIMe (fall time), PDUTy (duty cycle). Values are in SI units (V, s, Hz). A value near 9.9e37 means the measurement is invalid for the current signal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | Measurement item, one of: VMAX, VMIN, VPP, VTOP, VBASe, VAMP, VAVG, VRMS, OVERshoot, PREShoot, MARea, MPARea, PERiod, FREQuency, RTIMe, FTIMe, PWIDth, NWIDth, PDUTy, NDUTy, TVMAX, TVMIN, PSLewrate, NSLewrate, VUPPer, VMID, VLOWer, VARiance, PVRMS, PPULses, NPULses, PEDGes, NEDGes | |
| channel | No |