HP (Hewlett-Packard) B Network Router User Manual


 
:MEMory[<chan>]:FILL
DIAGnostic:MEMory[<chan >]:FILL <num_segments, count> sets up
num_segments in memory and fills each with count readings. Each data point is
calculated from the formula:
data<n> = (((current_segment - 1) * 10 + n) modulo 2000) * 16
Where n is the data point of interest between 1 and count. Only the specified
channel is filled with these data points, the other channel is filled with reading
values of 0.
Parameters
Parameter
Name
Parameter
Type
Range of
Values
Default
Units
channel
numeric 1 | 2 none
num_segments
numeric 0 thru 128 none
count
numeric 1 thru 524288 none
Comments Executable when initiated: No
Coupled Command: No
*RST Condition: none
:MEMory[<chan>]:ADDResses?
DIAGnostic:MEMory[<chan >]:ADDResses? returns a binary block of integers
which comprise a list of memory address data for each segment in memory. If there
is no valid data, then an error occurs and no values are returned; otherwise, a 32 bit
value is returned for each segment in memory containing valid data. Bits 0 and 1
contain flags for segment wrapped and segment aborted respectively; the next 19
bits are the final value of the address counter (A0 to A18) when the segment was
completed or aborted, and bits 21 through 31 are filled with 0. Be aware that the
address counter value returned is actually 1 greater than the location of the last data
point taken in the segment.
Comments Executable when initiated: No
Coupled Command: No
DIAGnostic:MEMory[<chan>]:FILL
220 Command Reference DIAGnostic Subsystem