• General
    • Automated Measurements Overview
    • System Requirements
    • Measurement Modes and Default Settings
  • Bode Automation Interface
    • Documentation
    • Command Reference
    • Changelog
  • SCPI
    • Documentation
    • Command Reference
    • Error Handling
    • Changelog

    Show / Hide Table of Contents
    • SCPI Overview
    • Getting Connected
      • Start SCPI server
      • Setup Connection
      • Usage of NI I/O Trace to monitor the SCPI traffic
    • Command Syntax
      • Introduction to the SCPI language
      • Data Formats
      • Data Transmission Formats
      • Suffixes
    • Status & Error Handling
      • Status Register System
      • Error and Event System
      • Error Handling
    • The Trigger System & Data Sychronization
      • Trigger System
      • Select the correct trigger source for :TRIG:SING
      • Synchronization
    • Coding & Examples
      • Reading the query buffer
      • Read buffer size
      • SCPI Python examples
      • Error Handling
    • List of Abbreviations
    • SCPI Changelog

    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 value representation is as follows:

    • At least 1 digit before the decimal point
    • At least 1 digit after the decimal point, up to 10 digits if they are not equal zero
    • At least 2 digits for the exponent

    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