Trigger.model.setblock() - Trigger.block_Nop - Keithley DMM7510 Reference Manual

7 1/2 digit graphical sampling multimeter
Hide thumbs Also See for DMM7510:
Table of Contents

Advertisement

Section 8: TSP command reference
Example
reset()
dmm.measure.func = dmm.FUNC_DC_VOLTAGE
trigger.model.setblock(1, trigger.BLOCK_BUFFER_CLEAR, defbuffer1)
trigger.model.setblock(2, trigger.BLOCK_DELAY_CONSTANT, 0)
trigger.model.setblock(3, trigger.BLOCK_MEASURE, defbuffer1,
trigger.COUNT_INFINITE)
trigger.model.setblock(4, trigger.BLOCK_WAIT, trigger.EVENT_DISPLAY)
trigger.model.setblock(5, trigger.BLOCK_MEASURE, defbuffer1, trigger.COUNT_STOP)
trigger.model.setblock(6, trigger.BLOCK_NOTIFY, trigger.EVENT_NOTIFY1)
trigger.model.initiate()
waitcomplete()
print(defbuffer1.n)
Reset the instrument.
Set the function to measure DC voltage.
Set block 1 to clear defbuffer1.
Set block 2 to set a delay of 0.
Set block 3 to make measurements infinitely.
Set block 4 to wait until the front-panel TRIGGER key is pressed.
Set block 5 to stop making measurements.
Set block 6 to send a notification.
Start the trigger model.
You must press the front-panel TRIGGER key to stop measurements.
Output the number of readings.
Also see
buffer.make()
Measure block
trigger.model.setblock() — trigger.BLOCK_NOP
This function creates a placeholder that has no action in the trigger model; available only with remote commands.
Type
TSP-Link accessible
Function
Yes
Usage
trigger.model.setblock(blockNumber, trigger.BLOCK_NOP)
blockNumber
Details
If you remove a trigger model block, you can use this block as a placeholder for the block number so
that you do not need to renumber the other blocks.
Example
trigger.model.setblock(4, trigger.BLOCK_NOP)
Also see
None
8-322
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
(on page 8-18)
(on page 3-78)
Affected by
Restore configuration
Instrument reset
Power cycle
Where saved
Configuration script
The sequence of the block in the trigger model
Set block number 4 to be a no operation
block.
Default value
Not applicable
DMM7510-901-01 Rev. B / May 2015

Advertisement

Table of Contents
loading

Table of Contents