Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
Details
The binary representation of data indicates the output pattern that is written to the I/O port. For
example, a data value of 2 has a binary equivalent of 010. Line 2 is set high (1), and the other two
lines are set low (0).
The reset() function does not affect the present states of the trigger lines.
Example
tsplink.writeport(3)
Also see
tsplink.line[N].state
tspnet.clear()
This function clears any pending output data from the instrument.
Type
TSP-Link accessible
Function
No
Usage
tspnet.clear(connectionID)
connectionID
Details
This function clears any pending output data from the device. No data is returned to the caller and no
data is processed.
Example
tspnet.write(testdevice, "print([[hello]])")
print(tspnet.readavailable(testdevice))
tspnet.clear(testdevice)
print(tspnet.readavailable(testdevice))
Also see
tspnet.connect()
tspnet.readavailable()
tspnet.write()
DMM7510-901-01 Rev. B / May 2015
(on page 8-350)
Affected by
The connection ID returned from tspnet.connect()
(on page 8-354)
(on page 8-358)
(on page 8-364)
Section 8: TSP command reference
Sets the synchronization lines 1 and 2 high (binary 011).
Where saved
Write data to a device, then print how much is
available.
Output:
6.00000e+00
Clear data and print how much data is
available again.
Output:
0.00000e+00
Default value
8-353