AT S
ERIES
S
ERVER
P
AGE
4-44 V
OLTECH
AT
I
U
SER
M
ANUAL
Once the results have been placed into cells in the spreadsheet, standard
Excel functions may be used to perform further analysis on the data, or to
present the data in different ways. As an example, you may wish to use the
Excel Chart Wizard to produce a graph of the results. Alternatively, you may
wish to add further code to the example shown above, as another way of
extending the functionality. For guidance of what may be possible, please
refer to the Microsoft Excel user manuals.
In the code example shown above, it is worth noting the following points:
vntResult
(1 To 99) is declared as a variant type because the
GetVariantResult method can return either a numerical value
corresponding to a valid result, or a string corresponding to an error
message.
The line
Set objServerResult = CreateObject("Server.Results")
creates the server.Results automation object within Visual Basic.
When trying to read the result with
Do
vntResult(nTest) =
objServerResult.GetVariantResult(sComPort, nTest)
Loop Until (vntResult(nTest) <> "NO RESULT") And _
(vntResult(nTest) <> "INVALID RESULT NUMBER")
two tests for ‘No Result’ and ‘Invalid Result Number’ are included.
The GetVariant method will normally read back ‘No Result’, until a
measurement has occurred. The next time it is executed after a new result
has been sent to the server, GetVariant will read back the actual result value.
The act of doing this will set a flag in the Server to say that the data has been
read, so that any further executions of the GetVariant statement before
another result has been transferred to the server will then return the ‘No
Result’ reply.
Although the test number is fixed (=3) in this example, the ‘Invalid Result
Number’ test is also included. This is because the GetVariant method can be
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...