![Fluke 5820A Скачать руководство пользователя страница 256](http://html1.mh-extra.com/html/fluke/5820a/5820a_operators-manual_2309654256.webp)
5820A
Operators Manual
E-2
3.
Separate the Command buttons and resize the form for ease of use (below is typical).
ff-0a.bmp
4.
From the Toolbox, double click the Communications icon
, placing the icon on
the Form1 screen. This custom control icon provides complete serial communications
capabilities for this program. Position the icon anywhere on the Form1 screen that is
convenient.
5.
Double click on a clear area of the Form1 screen to open the Code window for
Form1. Enter the code shown below. If using COM2 on the PC, change the command
to
Comm1.CommPort = 2.
If not using the factory default settings for the RS-
232 ports, then change the command
Comm1.Settings
as required.
Sub Form_Load ()
Comm1.CommPort = 1
[if using COM2, enter
= 2
]
Comm1.Settings = “9600,N,8,1”
[baud, parity, data, stop]
Comm1.PortOpen = True
End Sub
6.
While still in the Code window, select Command1 from the Object list. Enter the
code shown below. The Chr(10) means ASCII character 10 (line feed).
Sub Command1_Click ()
Comm1.Output = “REMOTE” + Chr(10)
End Sub
7.
Select Command2 from the Object list. Enter the code shown below.
Sub Command2_Click ()
Comm1.Output = “LOCAL” + Chr(10)
End Sub
8.
Select Command3 from the Object list. Enter the code shown below, where <uut
command> is the command you selected for the UUT response.
Sub Command3_Click ()
Comm1.Output = “UUT_SEND ““<uut command>”” ” + Chr(10)
End Sub
For example,
“UUT_SEND ““REMS\n”” ”.
Note the use of
\n
, which indicates a
Carriage Return (CR) as the end-of-line character. Other characters include
\r
(Line
Feed),
\t
(Tab),
\b
(Backspace) and
\f
(Form Feed). Also note the double quotes
around
<uut command>
to show embedded quotes.
Содержание 5820A
Страница 10: ...5820A Operators Manual vi ...
Страница 14: ...5820A Operators Manual x ...
Страница 16: ...5820A Operators Manual 1 2 ...
Страница 32: ...5820A Operators Manual 2 2 ...
Страница 40: ......
Страница 144: ...5820A Operators Manual 6 2 ...
Страница 190: ......
Страница 212: ...5820A Operators Manual 7 24 ...
Страница 214: ...5820A Operators Manual 8 2 ...
Страница 230: ...5820A Operators Manual 9 2 ...
Страница 234: ...5820A Operators Manual ...
Страница 244: ...5820A Operators Manual A 10 ...
Страница 245: ...B 1 Appendix B ASCII and IEEE 488 Bus Codes ...
Страница 246: ...5820A Operators Manual B 2 ...
Страница 248: ...5820A Operators Manual B 4 ...
Страница 250: ...5820A Operators Manual C 2 ...
Страница 258: ...5820A Operators Manual E 4 ...
Страница 264: ...5820A Operators Manual F 6 ...
Страница 272: ...5820A Operators Manual 8 ...