Lake Shore Model 625 Superconducting MPS User’s Manual
5-28
Computer Interface Operation
Table 5-8. Serial Interface Program Control Properties
Current Name
Property
New Value
Label1
Name
Caption
lblExitProgram
Type “exit” to end program.
Label2
Name
Caption
lblCommand
Command
Label3
Name
Caption
lblResponse
Response
Text1
Name
Text
txtCommand
<blank>
Text2
Name
Text
txtResponse
<blank>
Command1
Name
Caption
Default
cmdSend
Send
True
Form1
Name
Caption
frmSerial
Serial Interface Program
Timer1
Enabled
Interval
False
10
12. Add code (provided in Table 5-9).
a. In the Code Editor window, under the Object dropdown list, select (General). Add the statement: Public gSend
as Boolean
b. Double Click on cmdSend. Add code segment under Private Sub cmdSend_Click( ) as shown in Table 5-9.
c. In the Code Editor window, under the Object dropdown list, select Form. Make sure the Procedure dropdown
list is set at Load. The Code window should have written the segment of code: Private Sub Form_Load( ).
Add the code to this subroutine as shown in Table 5-9.
d. Double Click on the Timer control. Add code segment under Private Sub Timer1_Timer() as shown in
Table 5-9.
e. Make adjustments to code if different Com port settings are being used.
13. Save the program.
14. Run the program. The program should resemble the following.
15. Type in a command or query in the Command box as described in Paragraph 5.2.7.3.
16. Press Enter or select the Send button with the mouse to send command.
17. Type Exit and press Enter to quit.
Содержание 625
Страница 2: ...Lake Shore Model 625 Superconducting MPS User s Manual A ...
Страница 5: ...Lake Shore Model 625 Superconducting MPS User s Manual D ...
Страница 6: ...Lake Shore Model 625 Superconducting MPS User s Manual C ...
Страница 8: ...Lake Shore Model 625 Superconducting MPS User s Manual E ...
Страница 20: ...Lake Shore Model 625 Superconducting MPS User s Manual 1 8 Introduction This Page Intentionally Left Blank ...
Страница 36: ...Lake Shore Model 625 Superconducting MPS User s Manual 3 10 Installation This Page Intentionally Left Blank ...
Страница 100: ...Lake Shore Model 625 Superconducting MPS User s Manual 6 2 Options and Accessories ...
Страница 101: ...Lake Shore Model 625 Superconducting MPS User s Manual Options and Accessories 6 3 This Page Intentionally Left Blank ...
Страница 102: ......