Anritsu ML2430A Bedienungsanleitung Seite 149

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 271
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 148
Returned
String:
OFFTBL <s>,<val>
OFFTBR Output an offset table
SENSOR
Syntax:
OFFTBR <val>
val:
1 to 5
Remarks:
Outputs the selected offset table. The returned string is constructed as fol
-
lows:
OFFTBR #<length><number_of_bytes>,<element1<element2><ele
-
mentn>
Where <length> is the character size of the <number_of_bytes> field and
<number_of_bytes> is the number of bytes which make up the string after
the comma (,). For example:
OFFTBR #41600,<data...>
4 = number of character to read next for the data length
1600 = One thousand and six hundred bytes of data to read in, represent-
ing 200 elements placed one after the other without commas. Each <ele-
ment> is made up of 8 bytes; the first four bytes are the Frequency and the
second four bytes are the corresponding dB value for the Frequency. For
example:
<data_element1><data_element2><data_element3> is equal to:
<freq1><dB1><freq2><dB2><freq3><dB3>... is equal to:
<4bytes1><4bytes1><4bytes2><4bytes2><4bytes3><4bytes3>
The 4 byte binary values are 4 bytes single precision floating point binary
data. The C programming example 'Binary output decoding' on page
6-133 shows how to extract the binary data.
OFFTBU Updates an offset table
SENSOR
Syntax:
OFFTBU <val>,<bytes>,<binary_data...>
val:
1 to 5
bytes:
number of bytes in the binary_data string
binary_
data:
frequency and dB offset
Remarks:
This command updates the offset table specified by <val>. <bytes> is the
number of bytes in the binary_data string and <binary_data> is a string
which represents the frequency and the dB offset to apply in the format of:
<element1><element2><elementn...>, where <elementn> has four bytes
to represent the frequency and four bytes to represent the dB value. The
four byte value can be created by multiplying the floating point number by
1024 and converting the LONG number to an ASCII string. For example:
6-62 ML2430A OM
ML24XXA NATIVE COMMANDS GPIB OPERATION
Seitenansicht 148
1 2 ... 144 145 146 147 148 149 150 151 152 153 154 ... 270 271

Kommentare zu diesen Handbüchern

Keine Kommentare