8: TSP command reference Model DMM7510 7½ Digit Graphical Sampling Multimeter
8-318 DMM7510-901-01 Rev. B / May 2015
trigger.model.setblock() — trigger.BLOCK_DIGITIZE
This function defines a trigger block that makes a measurement using a digitize function.
Type TSP-Link accessible Affected by Where saved Default value
Instrument reset
Usage
trigger.model.setblock(blockNumber, trigger.BLOCK_DIGITIZE)
trigger.model.setblock(blockNumber, trigger.BLOCK_DIGITIZE, bufferName)
trigger.model.setblock(blockNumber, trigger.BLOCK_DIGITIZE, bufferName, count)
The sequence of the block in the trigger model
The name of the buffer, which must be an existing buffer; if no buffer is defined,
defbuffer1
is used
The number of digitize readings to make before moving to the next block in the
trigger model; set to a specific value or infinite (trigger.COUNT_INFINITE) or
stop infinite (
)
Details
When trigger model execution reaches the block:
1. The instrument begins making a measurement.
2. The trigger model execution waits for the measurement to complete.
3. The instrument places the measurement into the specified reading buffer, which cannot be of the
writable buffer style.
If you are defining a user-defined reading buffer, you must create it before you define this block.
When you set the count to a finite value, trigger model execution remains at the block until all
measurements are complete. If you set the count to infinite, the trigger model executes subsequent
blocks and measurements continue in the background until the trigger model execution reaches
another digitize block or until the trigger model ends.
A digitize function (digitize voltage or digitize current) must be selected before you run a trigger model
that contains this block. You cannot have a measure block and a digitize block in the same trigger
model.