5
ENR File Format
50
Keysight N4000/1/2A Operating and Service Manual
Format Details
An SNS ENR file:
– includes all data currently supplied on the printed noise source calibration
report.
– can be viewed and edited using a standard text editor (for example Wordpad).
– is simple to create and interpret.
– is easily printable.
– is easily imported into Microsoft Excel.
Format
The ENR file is read line by line. Each line is terminated by either a linefeed
character or a carriage-return, linefeed pair. Each line must be less than 100
characters long, excluding the terminator.
Lines containing only whitespace (tab or space character) are ignored. Each line is
interpreted as one of three types of record:
– Comment
– Header Field
– ENR Data
Comment records
A comment record must have either a ‘#’ or ‘!’ as the first character in the line. The
entire line is ignored. Comment records can appear at any point within the file.
Header fields
General form
Header fields must have a ‘
[
’ as the first character in the line. Each header field
has the general form:
– [FieldName OptionalValue]
– The ‘
[
’ must be the first character on the line.