
153
M3500A.Index = 0
With M3500A
.Output = "*RST" ' Reset M3500A
.Output = "*CLS" ' Clear M3500A status registers
.Output = "meas:curr:AC? 1A,0.001MA" ' Set to 1 amp ac range
End With
Rdg = Val(M3500A.Input)
Debug.Print " Rdg = "; Rdg
M3500A.Close
Set M3500A = Nothing
End Sub
Using CONFigure with a Math Operation
The following example uses CONFigure with the dBm math operation.
The CONFigure command gives you a little more programming
flexibility than the MEASure? command. This allows you to
“incrementally” change the multimeter’s configuration. The example is
is shown in Visual Basic.
Creating the Application
Create a new Visual Basic project as follows:
1. Create a new Standar.EXE project.
2. To set the startup object for a Windows Application to Sub Main
3. Add New Module, Declare a Sub Main().
LISTING C.2.
THE CONFigure FUNCTION.
Sub main()
' Set sample count 5 configuration and
' read the trigger
Содержание M3500A
Страница 1: ...An ISO 9001 2000 Company 6 Digit Multimeter M3500A Operation Manual ...
Страница 2: ...Operation Manual M3500A DMM ...
Страница 6: ......
Страница 7: ......
Страница 8: ......
Страница 9: ......
Страница 10: ......
Страница 11: ......
Страница 26: ...1 2 3 4 5 6 ...
Страница 33: ......
Страница 34: ......
Страница 35: ......
Страница 37: ......
Страница 38: ......
Страница 39: ......
Страница 40: ......
Страница 42: ......
Страница 43: ......
Страница 44: ......
Страница 45: ......
Страница 47: ......
Страница 48: ...48 Figure 3 18 5 ...
Страница 95: ......
Страница 104: ......
Страница 151: ......
Страница 155: ......