
9.9 Sample Programs
154
Set Measurement State
Sets up the measurement setting state.
'Measurement Setting Configuration
'Configures instrument settings for measurement
'Function: Resistance Measurement
'Range: 1
'Sampling: FAST
'Trigger: External trigger
'Comparator enabled, REF% mode, reference value 1
, tol1.0% /
–
1.5%, beep upon Hi or Lo
Private Sub SettingsSubRS()
MSComm1.Settings = "9600,n,8,1"
'Comm port setting
MSComm1.PortOpen = True
'Open a port
MSComm1.Output = ":FUNC RES" & vbCrLf
'Select Resistance function
MSComm1.Output = ":RES:RANG 1E+0" & vbCrLf
'Select 1000 m
range
MSComm1.Output = ":SPEE FAST" & vbCrLf
'Select FAST sampling
MSComm1.Output = ":TRIG:SOUR EXT" & vbCrLf
'Select external triggering
MSComm1.Output = ":INIT:CONT ON" & vbCrLf
'Continuous measurement ON
MSComm1.Output = ":CALC:LIM:MODE REF" & vbCrLf
'From here on, comparator settings
MSComm1.Output = ":CALC:LIM:BEEP HL" & vbCrLf
MSComm1.Output = ":CALC:LIM:REF 1E+0" & vbCrLf
MSComm1.Output = ":CALC:LIM:PERC 1.0, -1.5" & vbCrLf
MSComm1.Output = ":CALC:LIM:STAT ON" & vbCrLf
'Comparator ON
MSComm1.PortOpen = False
End Sub
Содержание RM3542
Страница 2: ......
Страница 6: ...Contents iv ...
Страница 16: ...Operating Precautions 10 ...
Страница 26: ...1 3 Screen Organization 20 ...
Страница 32: ...2 3 Turning the Power On and Off 26 ...
Страница 46: ...3 8 Confirming Faulty Measurements 40 ...
Страница 64: ...4 12 Compensating for Thermal EMF Offset Offset Voltage Compensation OVC 58 ...
Страница 84: ...6 4 Auto Exporting Measured Values at End of Measurement Data Output Function 78 ...
Страница 90: ...7 3 Printing 84 ...
Страница 172: ...9 10 Device Compliance Statement 166 ...
Страница 190: ...11 4 Disposing of the Instrument 184 ...
Страница 200: ...Appendix 5 Dimensional Diagram A10 Appendix 5 Dimensional Diagram ...
Страница 214: ...Index Index 4 ...
Страница 215: ......
Страница 216: ......
Страница 217: ......
Страница 218: ......