Fluke PM-3380B Sander User Manual


 
4 - 112 COMMAND REFERENCE
Send
TRACe? CH1 Requests channel 1 trace.
Read
<block_data> Reads channel 1 trace.
Determine nr.of.samples from <block_data>.
Send
SENSe:VOLTage:RANGe:PTPeak? Queries peak-to-peak.
Read
<peak-to-peak> Reads peak-to-peak.
Send
SENSe:VOLTage:RANGe:OFFSet? Queries offset.
Read
<offset> Reads offset.
IF (sample is 1 byte) THEN
FOR i = 1 TO nr.of.samples
Determine trace(i) value from <block_data>.
IF trace(i) > 127 THEN trace(i) = trace(i) - 256
sample(i) = trace(i) / 200
*
<peak-to-peak> - <offset>
NEXT i
ELSE (sample is 2 bytes)
FOR i = 1 TO nr.of.samples
Determine msb of trace(i) value from <block_data>.
Determine lsb of trace(i) value from <block_data>.
IF msb < 128 THEN trace(i) = msb
*
256 + lsb
ELSE trace(i) = (msb - 256)
*
256 + lsb
sample(i) = trace(i) / 51200
*
<peak-to-peak> - <offset>
NEXT i
END IF
Note: For an explanation plus a program example about "Conversion of trace
data", refer to section 3.4.3.
Example 2:
Send
FORMat INTeger,8 Number of trace point bits becomes 8.
Send
TRACe M1_2,5 All trace points of trace 2 of memory
register 1 are set to the value 00000101 (bit
value = 4 + 1).
Send
FORMat INTeger,16 Number of trace point bits becomes 16.
Send
TRACe M2_3,1025 All trace points of trace 3 of memory
register 2 are set to the value
0000010000000001 (bit value = 1024 + 1).
Front panel compliance:
The TRACe command is the remote equivalent of the front panel SAVE ACQ TO
MEMORY option of the SAVE menu. The TRACe? query is the remote equivalent
of the front panel RECALL REGISTER MEMORY option of the SAVE menu.