Sigma LBA-712 CrosshairX, CrosshairY, CrosshairZ, CursorDelta, EnergyOfBeam, Bitmap, FrameNumber

Models: LBA-500PC LBA-708 LBA-710 LBA-700 LBA-712 LBA-714PC LBA-400 LBA-300

1 281
Download 281 pages 14.04 Kb
Page 163
Image 163

9.3.1.11 CrosshairX, CrosshairY, CrosshairZ

These properties provide the crosshair x and y location, and the value of the pixel at the crosshair.

9.3.1.12 CursorDelta

This property provides the straight-line distance from the cursor to the crosshair.

9.3.1.13 EnergyOfBeam

This property lets you calibrate the LBA to the energy of your laser. Setting this property is identical to setting Energy of Beam in the LBA-PC Computations dialog. See sections 3.2.6.1 and

3.2.6.2in the LBA-PC Operator’s Manual for a detailed description of Energy of Beam and the Energy of Beam calibration procedure.

9.3.1.14 Bitmap

This property is a one-dimensional array of integer packaged as a Variant. This information can be used to create a Windows bitmap or a LabVIEW picture.

Bitmap is an exact copy of the LBA-PC Beam Display Window. If the cursor is on then the cursor will appear in the bitmap, if the color bar is on then the color bar will appear in the bitmap, etc.

The data in the array is packed as follows:

BitmapInfoHeader

Windows BITMAPINFOHEADER structure

Palette

256 element array of Windows PALETTEENTRY

Bits

Two-dimensional array of byte. The size of this array is

 

specified in BitmapInfoHeader.biSizeImage

In LabVIEW, convert this property using the ‘Variant To Data’ VI, and then pass the resulting array to the LbapcBitmap.vi. The output from this VI is a LabVIEW picture. OnNewBitmap.vi contains an example of receiving and displaying a picture using the OnNewFrame event. Utility and example VI’s are packaged in LbapcActiveX.llb, which can be found in the “ActiveX\Examples\LabVIEW” directory under the LBA-PC installation directory. Please note, you must have the LabVIEW Full, Professional, or Developer Development System in order to use OnNewBitmap.vi

In Visual Basic, you can convert the bitmap data into a standard Picture object. An example Visual Basic project, LbapcActiveXExample.vbp, contains a function called NewBitmap which shows you how to convert the bitmap data into a Picture object. This project can be found in “ActiveX\Examples\Visual Basic” directory under the LBA-PC installation directory.

9.3.1.15 FrameNumber

This property is the frame number as displayed in the lower right corner of LBA-PC.

Operator’s Manual

163

LBA-PC

Doc. No. 10654-001, Rev 4.10

 

 

Page 163
Image 163
Sigma LBA-712, LBA-710, LBA-714PC manual CrosshairX, CrosshairY, CrosshairZ, CursorDelta, EnergyOfBeam, Bitmap, FrameNumber