7451A/7461A/7461P Digital Multimeter Operation Manual
6.9 Sample Programs (SCPI command)
6-62
Call ibwrt(dmm, ":DIPLAY ON" & Chr(10))
' Sets the display to ON.
Call ibonl(dmm, 0) ' Terminates.
Exit Sub
Else
Call ibrsp(dmm, s) ' Reads the status byte.
End If
Call ibwrt(dmm, ":TRACE:DATA?" & Chr(10))
' Requests the measurement value data.
Call ibrd(dmm, dt) ' Substitutes the measurement value for a variable.
Cells(1, 1) = "'" & dt ' Substitutes the measurement value for a cell.
Call ibwrt(dmm, ":DISPLAY ON" & Chr(10))
' Sets the display to ON.
Call ibonl(dmm, 0) ' Terminates.