7352 Series Digital Multimeter Operation Manual
6.7.2 Sample Programs (SCPI commands for GPIB)
6-57
Call ibwrt(dmm, ":FORMAT:READING:MCHANNEL 1" & vbLf)
'Sets the output data to the left side display.
Call ibwrt(dmm, ":FETCH?" & vbLf)
'Requests the measured data on the left side display.
Call ibrd(dmm, dt)
'Reads the measured data on the left side display.
Cells(1, 1) = "'" & Left(dt, 18)
'Substitutes the measured value on the left side display for a cell.
Call ibwrt(dmm, ":FORMAT:READING:MCHANNEL 1" & vbLf)
'Sets the output data to the right side display.
Call ibwrt(dmm, ":FETCH?" & vbLf)
'Requests the measured data on the right side display.
Call ibrd(dmm, dt)
'Reads the measured data on the right side display.
Cells(2, 1) = "'" & Left(dt, 18)
'Substitutes the measured value on the right side display for a cell.
Call ibonl(dmm, 0)
'Terminates.