DMM6500 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
*RST
Reset the DMM6500
:TRAC:MAKE "bufferVar", 1000000
Make a buffer named
bufferVar
with a
capacity of 1,000,000 readings
:TRAC:CLE "bufferVar"
Clear
bufferVar
:SENS:FUNC "FRES"
Set instrument to measure 4-wire resistance
:SENS:FRES:NPLC 1
Set the number of power line cycles (NPLC) to 1
:SENS:AZER:ONCE
Immediately update autozero reference
measurements and then disable the autozero
function
:SENS:FRES:OCOM ON
Enable offset compensation for more accurate
resistance readings
:DIGital:LINE1:MODE DIG, OUT
:DIG:LINE2:MODE DIG, OUT
:DIG:LINE3:MODE DIG, OUT
:DIG:LINE4: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:LINE1:STAT 0
:DIG:LINE2:STAT 0
:DIG:LINE3:STAT 0
:DIG:LINE4:STAT 0
Set the states of digital I/O lines 1 through 4 to
bit low
:DIG:LINE5:MODE TRIG, IN
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
digital I/O line 5
: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
generates an event
:TRIGger:LOAD "GradeBinning", 100, 5,
.1, .1, 120, 80, 15, 4, 110, 90,
1, 105, 95, 2, 101, 99, 3,
"bufferVar"
Define the GradeBinning trigger model template
INIT
Initiate the trigger model
*WAI
Wait for the trigger model to complete
:DISP:SCR SWIPE_USER
Set the front-panel display to the USER swipe
screen
:DISP:USER1: TEXT "Test Completed"
Display "Test Completed" when the binning test
is complete