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
Содержание SR430
Страница 2: ......
Страница 6: ...4 ...
Страница 22: ...20 Guide To Operation ...
Страница 26: ...24 Guide To Operation ...
Страница 36: ...34 Mode Menu ...
Страница 54: ...52 Save Menu ...
Страница 60: ...58 Recall Menu ...
Страница 70: ...68 Plot Menu ...
Страница 74: ...72 Test Menu ...
Страница 76: ...74 Info Menu ...
Страница 97: ...96 Remote Programming ...
Страница 99: ...98 98 Program Examples ...
Страница 107: ...106 106 Test and Calibration ...
Страница 113: ...112 112 Using Photomultiplier Tubes ...
Страница 125: ...124 124 124 Circuit Description ...