AT S
ERIES
S
ERVER
V
OLTECH
AT
I
U
SER
M
ANUAL
P
AGE
4-41
Example of On-line Analysis
This section contains a simple example to illustrate how you may use OLE to
transfer the measured results into a spreadsheet as they happen in real-time.
The spreadsheet used in the example is Microsoft Excel 97, and the module of
code illustrated is written in the Visual Basic supplied with the spreadsheet.
Before attempting to create the spreadsheet, set up the AT and server:
•
Use the editor to create a program containing 5 tests, where test number
3 measures a winding resistance.
•
Ensure that the program option ‘Send Results to Server’ is set to ‘On’.
•
Transfer the program to the directory being used by the server for storing
programs.
•
Ensure that the server program is running, and that the COM Port to be
used has been enabled.
•
Connect the AT to the server PC, and use the PROGRAM - SET-UP
menu to set the origin to SERVER.
•
At the AT Top Level menu, press the EXECUTE softkey, and type in the
name of the program.
•
Run the program and check that the correct results are displayed in the
on-line monitoring window.
Leave the Server program running, and on the same PC, start Microsoft Excel
97. A new (empty) spreadsheet will be created.
From the Excel top-level menu bar, select:
Tools > Macro > Macros
Enter the name ‘OLE_Demo’ and then create.
Excel will then bring up a module sheet labelled ‘Module 1’. Type the following
code into this module sheet:
Summary of Contents for AT360
Page 8: ...INTRODUCTION PAGE 1 2 VOLTECH ATI USER MANUAL...
Page 10: ...INTRODUCTION PAGE 1 4 VOLTECH ATI USER MANUAL...
Page 35: ...VOLTECH ATI USER MANUAL PAGE 2 1 2 Getting Started...
Page 36: ...GETTING STARTED PAGE 2 2 VOLTECH ATI USER MANUAL...
Page 102: ...GETTING STARTED PAGE 2 68 VOLTECH ATI USER MANUAL...
Page 123: ...VOLTECH ATI USER MANUAL PAGE 3 1 3 PROGRAM EDITOR...
Page 124: ...PROGRAM EDITOR PAGE 3 2 VOLTECH ATI USER MANUAL...
Page 151: ...PROGRAM EDITOR VOLTECH ATI USER MANUAL PAGE 3 29 Minimum limit only Maximum limit only...
Page 172: ...PROGRAM EDITOR PAGE 3 50 VOLTECH ATI USER MANUAL...
Page 173: ...VOLTECH ATI USER MANUAL PAGE 4 1 4 AT SERIES SERVER...
Page 174: ...AT SERIES SERVER PAGE 4 2 VOLTECH ATI USER MANUAL...
Page 176: ...AT SERIES SERVER PAGE 4 4 VOLTECH ATI USER MANUAL...
Page 225: ...VOLTECH ATI USER MANUAL PAGE 5 1 5 FIXTURES...
Page 226: ...FIXTURES PAGE 5 2 VOLTECH ATI USER MANUAL...
Page 228: ...FIXTURES PAGE 5 4 VOLTECH ATI USER MANUAL...
Page 248: ...FIXTURES PAGE 5 24 VOLTECH ATI USER MANUAL...
Page 249: ...VOLTECH ATI USER MANUAL PAGE 6 1 6 FRONT PANEL MODES...
Page 250: ...FRONT PANEL MODES PAGE 6 2 VOLTECH ATI USER MANUAL...
Page 252: ...FRONT PANEL MODES PAGE 6 4 VOLTECH ATI USER MANUAL...
Page 299: ...VOLTECH ATI USER MANUAL PAGE 7 1 7 TESTS AND TEST CONDITIONS...
Page 425: ...VOLTECH ATI USER MANUAL PAGE 8 1 8 SPECIFICATIONS...
Page 426: ...SPECIFICATIONS PAGE 8 2 VOLTECH ATI USER MANUAL...
Page 461: ...VOLTECH ATI USER MANUAL PAGE 9 1 9 WARRANTY AND SERVICE...
Page 462: ...WARRANTY AND SERVICE PAGE 9 2 ATI USER MANUAL...
Page 464: ...WARRANTY AND SERVICE PAGE 9 4 ATI USER MANUAL...