Onoperationcomplete, Dcom, 4 dcom – SIGMA LBA-708 User Manual

Page 172

Advertising
background image

Capture Mode

Single Shot

N/A

The LBA-PC stops after collecting one frame.

Property values will not change until the LBA-

PC receives another Start command.

Continuous

FALSE

The LBA-PC will continuously update property

values. By the time a VI can read property

values after the OnNewFrame event, the values

have changed. Use this configuration if you do
not care which frame the properties relate to.

Continuous

TRUE

The LBA-PC will set property values that

correspond to the same frame of data. These

values will remain until you reset NewFrame to
FALSE.

OnNewFrame.vi contains an example of reading property values after receiving an OnNewFrame

event. All example VIs are packaged in LbapcActiveX.llb, which can be found in the

“ActiveX\Examples\LabVIEW” directory under the LBA-PC installation directory.
In Visual Basic you can read any desired properties during this event. All properties correspond

to the same frame of data. After return from this event property values will change.

9.3.3.2 OnOperationComplete

This event fires when Ultracal is finished or the LBA-PC is stopped because Statistics Frames or

Time has expired. This event passes an integer bit flag as a parameter. This bit flag is identical

to the OperationComplete property and is defined as follows.
Ultracal complete

0x0001

Auto Exposure complete 0x0002
In LabVIEW, the parameter data is part of the Event Data cluster output from the Wait On

ActiveX Event VI. Unbundle the Event Data, index the ParamData array, and convert the result

using the ‘Variant To Data’ VI. Ultracal.vi contains an example of calling the Ultracal method and

responding to the OnOperationComplete event. Example VI’s are packaged in LbapcActiveX.llb,

which can be found in the “ActiveX\Examples\LabVIEW” directory under the LBA-PC installation
directory.

9.4 DCOM

ActiveX is based on Component Object Model (COM) technology. DCOM, Distributed COM, extends

COM to support communication among objects on different computers—on a local area network (LAN),

a wide area network (WAN), or even the Internet.
The LBA-PC ActiveX server supports DCOM. The LBA-PC ActiveX server always runs on the LBA-PC

computer and can easily be configured for local or remote access. Properties, methods, and events are

the same as described above, whether local or remote.

Operator’s Manual

LBA-PC

172

Local access is always the default. When LBA-PC is installed, the LBA-PC ActiveX server is automatically

registered for local access.

Advertising
This manual is related to the following products: