EasyManuals Logo

Keithley 2450 User Manual

Keithley 2450
878 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #595 background imageLoading...
Page #595 background image
Section
8: TSP command reference Model 2450 Interactive SourceMeter® Instrument
Reference Manual
8-64 2450-901-01 Rev. B/September 2013
format.data
This attribute sets the data format for data that is printed using the printnumber() and printbuffer()
functions.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW)
No
Restore configuration
Instrument reset
Power cycle
Configuration script
format.ASCII
Usage
value = format.data
format.data = value
value
The format to use for data, set to one of the following values:
ASCII format: format.ASCII
Single-precision IEEE Std 754 binary format: format.REAL32
Double-precision IEEE Std 754 binary format:
format.REAL64
Details
You can control the precision of numeric values with the format.asciiprecision attribute. If
format.REAL32 or format.REAL64 is selected, you can select the byte order with the format.byteorder
attribute.
The IEEE Std 754 binary formats use four bytes for single-precision values and eight bytes for double-precision
values.
When data is written with any of the binary formats, the response message starts with “#0” and ends with a new
line. When data is written with the ASCII format, elements are separated with a comma and space.
Example
format.asciiprecision = 10
x = 3.14159265
format.data = format.ASCII
printnumber(x)
format.data = format.REAL64
printnumber(x)
Output a number represented by x in ASCII
using a precision of 10, then output the
same number in binary using double
precision format.
Output:
3.141592650e+00
#0ñÔÈSû! @
Also see
format.asciiprecision (on page 8-62)
format.byteorder (on page 8-63)
printbuffer() (on page 8-78)
printnumber() (on page 8-81)

Table of Contents

Other manuals for Keithley 2450

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 2450 and is the answer not in the manual?

Keithley 2450 Specifications

General IconGeneral
Model2450
CategorySourceMeter
Voltage Source Range±200 V
Current Source Range±1 A
DC Voltage200 V
DC Current1 A
Power Output20 W
Resolution6.5 digits
Display5-inch capacitive touchscreen
Operating Temperature0°C to 50°C
ConnectivityUSB, LAN, GPIB
Dimensions213 mm × 88 mm × 370 mm

Related product manuals