8.8 Sample Programs
158
This section describes an example of how to use the Windows development lan-
guage Visual Studio
®
2017 Express Edition to operate the BT3564 unit from a
PC via RS-232C, incorporate measurement values, and save measurement val-
ues to a file.
This section describes the procedure for using Visual Basic
®
2017 to create pro-
grams.
8.8 Sample Programs
To be prepared in Visual Studio
®
2017
Creation Procedure (Visual Basic
®
2017)
Depending on the environment of the PC and Visual Basic
®
2017, the procedure
may differ slightly from the one described here. For a detailed explanation on
how to use Visual Basic
®
2017, refer to the instruction manual or Help of Visual
Basic
®
2017.
1 Launch Visual Studio
®
2017.
Choose [
File]-[New]-[Project].
2 Choose [Visual C#] or [Visual Basic]-[Win-
dows Forms APP (.NET Framework)
].
3 Enter a name, location, and solution
name and click [
OK].
4 Place the buttons.
1. Click [Toolbox]-[Common Controls]-[But-
ton].
2. Drag and place the [Button] control on the
form design screen.
3. Change the [Text] field on the [Properties]
window to [Start].
4. Repeat Steps 1 through 3 to create a but-
ton for exiting the application.