• 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

    Data Transmission Formats

    You have the option to select which data transmission format you want to use. By default all data is transfered in ASCII format. Some commands support binary data transmission (eihter 64-bit or 32-bit format). The data transfer format can be set with :FORMat[:DATA].

    The commands that support NON-ASCII data transmission are the following:

    • :CALCulate:DATA:SDATa
    • :SENSe:FREQuency:DATA

    ASCII Transmission

    The ASCII Data Transmission format can be selected by calling (:FORM:DATA ASC), but is selected by default. The figure below shows the ASCII format of decimal values. The number of decimals is 6 and the number of digits of the exponent are 3 by default.

    Floating point ASCII

    Binary Transmission - 32 Bit

    The Binary Data Transmission format (64 bit) can be selected by calling (:FORM:DATA REAL32). The figure below shows the composition of the Binary Data transfer format (32 bit). It consists of a header and data part. The data is split into sign, exponent and fraction (IEEE standard).

    Floating point Binary 32

    Binary Transmission - 64 Bit

    The Binary Data Transmission format (64 bit) can be selected by calling (:FORM:DATA REAL). The figure below shows the composition of the Binary Data transfer format (64 bit). It consists of a header and data part. The data is split into sign, exponent and fraction (IEEE standard).

    Floating point Binary 32

    Back to top Generated by DocFX