DADiSP Worksheet Functions > Function Categories > Query Functions > GETVUNITS
Returns the vertical (Y) units of a series.
GETVUNITS(series)
series |
- |
Optional. A series. Defaults to the current Window. |
A string.
W1: gnorm(1000, 1);setvunits("V");sethunits("s");
message(sprintf("The units of Window %d are %s per %s", getwnum, getvunits, gethunits))
displays a message box with the text - The units of Window 1 are Volts per Second.
Especially useful in custom menu and report panels.
When using GETVUNITS without the series argument, GETVUNITS returns the vertical units of the series in focus.