2 time & value floating point format, Example, Example #2 – BNC 630 User Manual

Page 66

Advertising
background image

61

7.8.2 Time & Value Floating Point Format

This format uses the same numerical format as Floating Point except that a Time, or Point Number value precedes each Point
Value.

Since the 630 does not need the Time or Point Number, specifying this format causes the 630 to skip every other number it
encounters, starting with the first floating point number.

All rules for this format are identical to those for Floating Point Format, except that the Time or Point Number value need not be
between +1.0 and -1.0 in value since the 630 discards these values during the download.

This format is useful since many graphical waveform design programs allow you to save your work as a disk file in this format.
The filenames often have a .CSV (comma separated values) or .PRN (Printer, tab separated values) extension. Both file types may be
downloaded directly without modification by using the T format switch with WAVELOAD.EXE or adding a “WT” header when
downloading with your own program.

Example

A ten point waveform with SYNC Out set high on point #2:

0,.000000
p
1,.031411E+1
2,.062791
3,-.094108
4,1.0
5,.156434
6,+.187381e-2
7,.218143
8,.248690
9,-.278991e-03
10,.309017

Example #2

The same ten point waveform with the values separated by tabs. Note: Any “whitespace” character(s) defined in the rules for
Floating Point format may be used to separate the numbers.

0

.000000

p
1

.031411E+1

2

.062791

3

-.094108

4

1.0

5

.156434

6

+.187381e-2

7

.218143

8

.248690

9

-.278991e-03

10

.309017x

The “x” character at the end denotes the end of the data and is optional. If the “x” character is missing, the 630 will assume all data
has been sent after 1 second timeout.

Advertising