Chapter 9 ACTIVE X

9.1 Introduction

The LBA-PC ActiveX server provides simple control of LBA-PC along with access to frame data, beam display image, results, statistics, and pass/fail indicators. The LBA-PC ActiveX server runs under Windows 2000 and Windows XP Professional.

Using the LBA-PC ActiveX server, you can:

Start and Stop collecting and processing new data frames

Initiate an Ultracal cycle

Restore a LBA-PC configuration from file

Read new data frames and limited frame information

Read a bitmap image of the beam display image

Read computed results

Read statistical results

Reset statistical results

Read pass/fail indicators

Using the LBA-PC ActiveX server, you cannot:

Detect or handle LBA-PC errors or error messages

Get or set the LBA-PC configuration

Read random data frames

9.2Using ActiveX

Many modern development languages such as Visual Basic, Visual C++, and Borland C++ Builder support ActiveX. Many applications such as Microsoft Word, Microsoft Excel, and National Instruments LabVIEW also support ActiveX. Development languages and applications all use different methods for accessing ActiveX controls.

Below we will briefly describe how to use the LBA-PC ActiveX server in Microsoft Excel, Visual Basic, and LabVIEW.

9.2.1Microsoft Excel

Visual Basic for Applications (VBA) is integrated into Microsoft Excel. Follow these steps to use the LBA-PC ActiveX server in Microsoft Excel:

1.Create a new Workbook in Excel

Operator’s Manual

158

LBA-PC

Page 158
Image 158
Sigma LBA-700, LBA-710, LBA-714PC, LBA-300, LBA-712, LBA-708, LBA-500PC, LBA-400 Introduction, Using ActiveX, Microsoft Excel