7-6
IM 760101-11E
7.4
Output of Normal Measurement Data
GpibNormal()
Y
N
Y
N
Y
N
Y
N
Y
N
Y
N
Y
N
Y
N
Y
N
Y
N
Y
N
Y
N
N
Y
Y
N
End (return value = 0)
Initializes variables
Displays "Now Initializing" message.
Initializes GPIB
GPIB initialization
successful?
Initializes the WT
Initialization
successful?
Sets the voltage range to 100 V
Setting successful?
Sets the current range to 1 A
Setting successful?
Sets the update interval to 500 ms
Setting successful?
Sets the following data output
parameters.
Output format = ASCII
Output pattern = Pattern1
No. of data output = 60
Setting successful?
Sets the transition filter 1(UPD) to "FALL."
Setting successful?
Clears the event register
(read and trash
the response).
Clears the measured value
display area.
<Continued on top right>
Displays
error message
End (return value = 1)
Displays
error message
End (return value = 1)
<Continued from bottom left>
Measured values
loaded and displayed
10 times?
Instructs to wait for
WT data update.
Setting successful?
Clears the event register
(read and trash the response).
Setting successful?
Loads measured values from the WT.
Loaded successfully?
All loaded
values displayed?
Gets the total length of loaded values.
Gets the position of the first
comma within the string.
No comma found?
Gets the position of the string
terminator instead of a comma.
Gets the substring from the left
end of the string up to the comma
(or terminator).
Fewer
than 10 measurements
up to now?
Generates the
display string.
Generates the
display string.
Generates a measured value string
not yet to be displayed.
Shifts focus 1 line down.
Shifts focus 1 line down.
Clears the measured value
buffer.
Displays the "All end" message.
Shifts focus 1 line down.
Cuts the GPIB connection.
Summary of Contents for wt1600
Page 1: ...Digital Power Meter Communication Interface IM 760101 11E 4th Edition ...
Page 131: ...7 2 IM 760101 11E 7 2 Sample Program Image ...
Page 138: ...Sample Program 7 9 IM 760101 11E 7 7 4 Output of Normal Measurement Data ...
Page 142: ...Sample Program 7 13 IM 760101 11E 7 7 5 Output of Harmonic Measurement Data ...