95
Remote Programming
95
FILE FORMATS
The formats of the files stored by the SR430 are described below. Disks written by the SR430 may be read on
a MSDOS computer with a 3.5" disk drive. However, the files are not stored as ASCII files. They cannot be
simply typed on the screen. The data is stored in binary format to keep the length of the files as short as
possible.
In the following table, byte 0 refers to the first byte in the file. Integer and real number formats follow the
Microsoft formats.
TRACE FILE
Byte
Type
Explanation
0-11
ASCII character
The string "SR430_TRACE"<cr> appears at the begin-
ning of the file
12
2 byte integer
bin width (0-19) (see BWTH command)
14-15
reserved
16
2 byte integer
bins per record (1-16) (see BREC command)
18-35
reserved
36
4 byte real
minimum data value (if floating point data)
40
4 byte real
range of data (if floating point data)
44
4 byte integer
records accumulated
48
2 byte integer
data point for bin 0
50
2 byte integer
data point for bin 1
...
...
continues until last data point in record.
If the trace file represents integer count data, the data points are simply 2 byte integers which are the counts
in each bin. If the file was saved as floating point data (after a CALC function), then the data is stored differ-
ently. Each data point is stored as a 2 byte integer which can be converted into the correct floating point value
as follows.
Float Value = (Integer data point/65,536)x(range of data) + (minimum data value)
SETTINGS FILE
Byte
Type
Explanation
0-11
ASCII character
The string "SR430_SET "<cr> appears at the beginning
of the file
12
2 byte integer
bin width (0-19) (see BWTH command)
14-15
reserved
16
2 byte integer
bins per record (1-16) (see BREC command)
18
2 byte integer
Trigger Offset
20
2 byte integer
Records per Scan
22
4 byte integer
records accumulated
26
2 byte integer
Trigger Level/.001V
28-29
reserved
30
2 byte integer
Discriminator Level/.0002V
32-35
reserved
36
2 byte integer
Toggle Count
38-39
reserved
40
2 byte integer
AUX 1 Level/.005 V
42
2 byte integer
AUX 2 Level/.005 V
Summary of Contents for SR430
Page 2: ......
Page 6: ...4 ...
Page 22: ...20 Guide To Operation ...
Page 26: ...24 Guide To Operation ...
Page 36: ...34 Mode Menu ...
Page 54: ...52 Save Menu ...
Page 60: ...58 Recall Menu ...
Page 70: ...68 Plot Menu ...
Page 74: ...72 Test Menu ...
Page 76: ...74 Info Menu ...
Page 97: ...96 Remote Programming ...
Page 99: ...98 98 Program Examples ...
Page 107: ...106 106 Test and Calibration ...
Page 113: ...112 112 Using Photomultiplier Tubes ...
Page 125: ...124 124 124 Circuit Description ...