Keysight E5260/E5270 Programming Guide, Edition 4
3- 55
Programming Examples
Using Program Memory
Measurement
Result Example
Memory 1: Id = 0.021955 (A), Status = NAI
Memory 2: Id = 0.021975 (A), Status = NAI
Memory 1: Id = 0.023085 (A), Status = NAI
Memory 2: Id = 0.023335 (A), Status = NAI
Press any key to continue
’changes vd and vg and performs measurement again ’39
session.WriteString("VAR1,0,3" & vbLf) ’%R0=vd
For i = 1 To 2
session.WriteString("DO" & i & vbLf)
session.WriteString("*OPC?" & vbLf) : ret = session.ReadString(1 + 2)
session.WriteString("ERR? 1" & vbLf) : ret = session.ReadString(4 + 2)
If ret <> 0 Then session.WriteString("DZ" & vbLf) : GoTo Check_err
value = session.ReadString(17) : status = Left(value, 3)
value = Mid(value, 4, 12) : meas = Val(value)
Console.WriteLine("Memory " & i & ": Id = " & meas & " (A), Status = " & status &
Chr(10))
Next ’49
Line
Description
39 to 49
Changes the value of the internal variable %R0, and performs measurement again. Can
be inserted between line 52 and line 53 of the program shown in
Summary of Contents for E5260 Series
Page 1: ...Keysight Technologies E5260 E5270 Series of Parametric Measurement Solutions Programming Guide...
Page 3: ...User s Guide B2900 9001x xxxx 201x Edition x...
Page 13: ...1 Programming Basics...
Page 63: ...2 Remote Mode Functions...
Page 108: ...2 46 Keysight E5260 E5270 Programming Guide Edition 4 Remote Mode Functions Initial Settings...
Page 109: ...3 Programming Examples...
Page 185: ...4 Command Reference...
Page 335: ...5 Error Messages...
Page 349: ......