6½ Digit Multimeter User's Manual Section 8:
Grading and binning resistors
DMM6500-900-01Rev. A / April 2018 8-5
Using SCPI commands
This sequence of SCPI commands grades resistors into bins based on measured accuracy.
You may need to make changes so that this code will run in your programming environment.
Send the following commands for this example application:
Commands Descriptions
:TRAC:MAKE "bufferVar", 1000000
Make a buffer named bufferVar with a
capacity of 1,000,000 readings
Clear
Set instrument to measure 4-wire resistance
Set the number of power line cycles (NPLC) to 1
Immediately update autozero reference
measurements and then disable the autozero
Enable offset compensation for more accurate
:DIGital:LINE1:MODE DIG, OUT
:DIG:LINE2:MODE DIG, OUT
:DIG:LINE3:MODE DIG, OUT
Configure digital I/O lines 1 through 4 as digital
outputs; these are used to output binning code
to the component handler
:DIG:LINE2:STAT 0
:DIG:LINE3:STAT 0
Set the states of digital I/O lines 1 through 4 to
bit low
Configure digital I/O line 5 as trigger input to
detect start-of-test trigger
:TRIGger:DIG5:IN:EDGE FALL
Set trigger detector to detect falling edge on
:DIG:LINE6:MODE TRIG, OUT
:TRIGger:DIGital6:OUT:LOGic NEG
:TRIG:DIG6:OUT:PULSewidth 10e
-6
Configure digital I/O line 6 as a trigger output
used to send end-of-test trigger with negative
logic and output pulse width of 10 µs
:TRIG:DIG6:OUT:STIMulus NOT1
The trigger pulse occurs when the Notify block
:TRIGger:LOAD "GradeBinning", 100, 5,
.1, .1, 120, 80, 15, 4, 110, 90,
1, 105, 95, 2, 101, 99, 3,
Define the GradeBinning trigger model template
Initiate the trigger model
Wait for the trigger model to complete
Set the front-panel display to the USER swipe
:DISP:USER1: TEXT "Test Completed"
Display "Test Completed" when the binning test