• General
  • API Documentation
  • SCPI
    • General
    • Command Reference
    • Starting Server

    Show / Hide Table of Contents
    • Setup Connection
    • Usage of NI I/O Trace to monitor the SCPI traffic
    • Command Syntax
    • Status Registering System
    • Synchronization
    • Trigger System
    • Data Formats
    • Data Transmission Formats
    • Measurements
    • Error and Event Types
    • Suffixes
    • List of Abbreviations
    • SCPI Python examples

    Suffixes

    A numeric value can have suffixes attached to it, if the command allows it. Suffixes can either be SI units, Unit prefixes or both.

    SI units

    A valid SI unit suffix is ignored when parsing the numeric value. A non valid SI unit suffix generates an error (-120, Numeric data error). So the numeric data value can be suffixed with the expected SI unit to ensure the right value is set.

    The allowed SI Unit suffixes are:

    Suffix used for
    Hz - Hertz Frequencies
    Ohm - Ohm Resistance
    s - Seconds Time
    V - Volt Voltages

    Unit prefixes

    The following unit prefixes are accepted:

    Prefix Name Value
    EX Exa 1E+18
    PE Peta 1E+15
    T Tera 1E+12
    G Giga 1E+09
    MA Mega 1E+06
    k Kilo 1E+03
    m Milli 1E-03
    u Micro 1E-06
    n Nano 1E-09
    p Pico 1E-12
    f Femto 1E-15
    a Atto 1E-18
    Note

    Other devices may handle M differently where for example M in combination with Hz or Ohm is interpreted as Mega (1E+06) instead of Milli (1E-03). We on our side do not use such automatism.

    Back to top Generated by DocFX