Mikrocad Software: User Manual
Mikrocad Software: User Manual
Software version: 1.2.x.xx
Document revision: A
Copyright
Copyright © 2015 by LMI Technologies, Inc. All rights reserved.
MikroCAD, LMI Technologies, the company logo, and all product logos are trademarks of LMI
Technologies. Other than to identify this software and publication, individuals or organizations
purchasing the software are not entitled to use LMI Technologies' trademarks without the written
permission of LMI Technologies.
All other trademarks and names mentioned herein are the property of their respective owners. No part
of this document may be reproduced in any form without the written permission of LMI Technologies.
The content of this document is furnished for informational use only, is subject to change without
notice, and should not be construed as a commitment by LMI Technologies. LMI Technologies assumes
no responsibility or liability for any errors or inaccuracies that may appear in the informational content
contained in this document.
No warranties of any kind are created or extended by this document. Any products and related material
disclosed in this document have only been furnished pursuant and subject to the terms and conditions
of a duly executed agreement to license the software. Any warranties made by LMI Technologies with
respect to the software described in this publication are set forth in the License Agreement provided
with the software. LMI Technologies does not and will not accept any financial or other responsibility
that may result from use of the software or any accompanying material including, without limitation, any
direct, indirect, special, or consequential damages. For more definitive information, consult the License
Agreement.
Contact Information
For more information, please contact LMI Technologies.
www.lmi3D.com
By agreeing to have any of LMI Technologies Software Products installed on to your computer
equipment and by subsequent use of the Software, you agree to comply with the terms of this general
End User License Agreement (“EULA”) where no specific agreement is in place between LMI Technologies
and the user of the software. If you do not agree to the terms of this EULA, do not install or use the
Software but return it for a full refund. This EULA applies to any upgrades and supplements to the
original Software provided.
1. The Licensed Software is owned and copyrighted by LMI Technologies. The Software is licensed, not
sold, only on the terms of this EULA. Acceptance and installation of the software indicates your
acceptance of the terms and conditions of this EULA.
Upon receipt and installation of the software and payment of the license fee, you will acquire the right to
use the Software in object code form, directly from LMI Technologies although the product may be
distributed by a Value Added Reseller (VAR). You assume responsibility for the selection of the program
to achieve your intended results, and for the installation, use and results obtained from the Licensed
Software.
2. In consideration of your acceptance of the terms and conditions contained in this EULA, LMI
Technologies grants you a non-exclusive license to use the Licensed Software and the associated
documentation for your own needs on one Server. You are not licensed to rent, lease, or distribute the
Software.
3. Title and copyright to the Software, including object code media and documentation, remain with LMI
Technologies. You may not copy, reproduce or make data transmissions, in whole or in part, except as is
necessary for back-up or archival purposes. You may not reverse engineer, translate, disassemble or
decompile the Software, in whole or in part.
4. The license is effective upon acceptance and installation of the Licensed Software and shall continue
until terminated. You may terminate it at any time by destroying the Licensed Software media. LMI
Technologies has the right to terminate this Agreement if you fail to comply with any term or condition
of this EULA. Upon termination you shall stop all use of the Software and return the Licensed Software
and all copies and documentation to LMI Technologies or destroy the Licensed Software and provide
LMI Technologies with a statutory declaration signed by you declaring that the Licensed Software and
the documentation and all copies have been returned or destroyed and the copy of the Licensed
Software on the hard disk has been removed.
5. Copyright and confidentiality of the Software will survive any termination of this EULA in perpetuity.
6. LMI Technologies warrants for a period of ninety (90) days from the date of delivery that the LMI
Technologies Software object code will perform the functions of the Software as set out in any LMI
Technologies Software Reference Material in effect on the date of delivery.
Except for the warranty stated herein, LMI Technologies disclaims all warranties with regard to the
Software, including the implied warranty of merchantability and fitness for a particular purpose.
7. LMI Technologies’ entire liability and your exclusive remedy, if the VAR from whom you acquired the
Licensed Software is unable to deliver acceptable replacement media, is limited to your purchase price,
which shall be paid to you upon return of the Licensed Software and the statutory declaration required
above certifying complete return.
In no event will LMI Technologies be liable for any loss of profits, loss of use, or indirect, special,
incidental or consequential damages in any way related to or arising out of the use of the Software. LMI
Technologies maximum liability shall in no event exceed the amounts paid to LMI Technologies for the
Licensed Software.
8. The prevailing party in any action or proceeding between LMI Technologies and End-User Licensee
arising out of or related to this Agreement shall be entitled to recover reasonable legal fees and costs,
including lawyers’ fees, which may be incurred.
9. This Agreement shall be construed and enforced in accordance with the laws of British Columbia,
Canada and each party agrees to be subject to those relevant laws.
Copyright law protects the Licensed Software and accompanying documentation. Except as specifically
authorized in writing by LMI Technologies, copying, duplication, sale, distribution or other use of the
Licensed Software is prohibited.
It is understood and acknowledged that LMI Technologies has the absolute right to obtain injunctive
relief to protect LMI Technologies’ proprietary rights.
By using the Software, you further agree that this is the complete and exclusive statement of the
Agreement which supersedes any proposal or prior agreement, oral or written, and any other
communications relating to the subject matter of this EULA.
If any provision of this Agreement is held to be invalid or unenforceable the remaining provisions will not
be affected.
MikroCAD_GetCurrentMeasurementProgram 53 Events 60
MikroCAD_GetDefaultMeasProgramName 53 MikroCAD_GetNumAvailableEventTypes 60
Measurement 53 MikroCAD_GetEventType 60
MikroCAD_Measure 53 MikroCAD_StartSensorEvent 60
MikroCAD_HeightImagePtr 54 MikroCAD_StopSensorEvent 60
MikroCAD_ValidDataPtr 54 Support 61
MikroCAD_CameraImagePtr 54 Contact 62
MikroCAD_CameraRawImagePtr 54
MikroCAD_PowerSpectrumPtr 54
MikroCAD_IsDataBufferLocked 54
MikroCAD_UnlockDataBuffer 55
Configuration Measurement Programs and
Other Settings 55
MikroCAD_GetMeasProgramSetPtr 55
MikroCAD_ReadConfig 55
MikroCAD_WriteConfig 55
MikroCAD_ReadInitialParameterFromFile 55
MikroCAD_WriteInitialParameterToFile 55
MikroCAD_ReadMeasProgramDataFromFile 56
MikroCAD_WriteMeasProgramDataToFile 56
MikroCAD_ListAllSensorsType 56
MikroCAD_GetSensorSerialNumberType 56
MikroCAD_ListSensorDescriptions 56
MikroCAD_ReadSensorDescription 57
MikroCAD_ReadMeasProgramDataFromFile 57
MikroCAD_WriteMeasProgramDataToFile 57
MikroCAD_ListAllSensorsType 57
MikroCAD_GetSensorSerialNumberType 57
MikroCAD_ListSensorDescriptions 57
MikroCAD_ReadSensorDescription 58
Calibration (General) 58
MikroCAD_CalibrationOnSensor 58
Calibration (Simple) 58
MikroCAD_GridCalibration 58
MikroCAD_PlaneCalibration 58
This manual describes the set-up of MikroCAD scanners and explains how to acquire data, which is then
passed to the measurement component of the MikroCAD software. (For information on performing
measurements on acquired data, see the Reference Guide on the Help tab on the Acquisition page.)
MikroCAD scanners use digital stripe projection provided by micro-mirror projectors to scan surfaces.
Due to the blue light used for illumination and narrow band optical filtering, the imaging process is highly
robust against ambient light. A height map of the target is calculated from the position of the strips and
the Gray value of the individual image points.
The main advantages of MikroCAD scanners include non-contact data recording, high-speed
measurement, high resolution, and measurement precision, as well as ease of use. The scanners can be
used for tasks which could not previously be solved with optical measuring systems.
Notational Conventions
This guide uses the following notational conventions:
The following sections describe the safe use and maintenance of MikroCAD scanners.
The scanner's LED pattern turns off after 5 minutes of non-use. Check the Light option to turn
the LED pattern on.
Safety Information
This safety information is intended to ensure long service life of your MikroCAD scanner and protect
against fire and electric shock. Carefully read and follow this and all other safety information.
l Incorrect handling of the scanner may cause personal injury or property damage.
l To avoid the risk of fire or electric shock, do not expose the scanner to rain or moisture.
l To avoid the risk of fire or electric shock, do not open the cover of any of the scanner component.
These devices contain high voltage components. All service must be performed by qualified
LMI personnel.
l Do not look into the projection lens when the projector is turned on. This can cause serious injury to
your eyes.
l Do not reach between motorized moving components when the scanner is in operation. You may
cause serious injury to your hands and fingers.
l The scanners contain electrostatic-sensitive components which may be damaged through improper
handling. Discharge your body before touching them. Avoid contact with highly insulating sub-
stances (synthetic fibers, plastic foils etc.). Place the electrostatic-sensitive device on a conducting sur-
face.
l Do not open scanner components. Keep all covers and switching cabinet doors closed during oper-
ation. There is a risk of death or severe harm to health or material damage.
l Never disconnect the electrical connections under current. In some conditions, electric arcs may form
and cause personal injury, as well as damage to contacts.
l Adjustment of the scanner can only be performed by trained personnel.
Direct sunlight and direct light exposure through the room lighting onto the measuring area leads to
increased noise in the scanned data or incomplete 3D data and must therefore be avoided.
When setting up the scanner, ensure sufficient distance between the scanner components and walls,
furniture etc. All ventilation openings must be left uncovered. Ensure that no fluids, particularly when
cleaning the unit, enter the scanner.
Transporting
Before transporting the scanner, all components must be carefully packaged. Handle all system
components carefully during transportation. Strong vibrations, shaking, shocks, etc., can cause
misalignment in components, which may negatively affect later measurements.
Mechanical influences, particularly if the system is dropped, may destroy sensitive components.
After transporting the scanner, you must calibrate it, or at least verify the calibration. See Calibrating the
Scanner on page 33 for information on how to calibrate the system.
For information on setting up the hardware, see the Quick Start Guide for your scanner model.
System Requirements
Computer Requirements
Minimum Recommended
MikroCAD premium 13 x 10 / 80 x 60 / 140 x
105 and plus 1.7 x 1.4
2 free USB ports (one port for software
dongle; required only for measurements)
2. Double-click on the installer and follow the instructions to install the MikroCAD software.
Measurement Modules
The MikroCAD software is available in two versions: Standard and Professional. The following table
describes which modules are included with each version, as well as the optional modules:
Standard Professional
The MikroCAD software provides two main modes: an acquisition mode and a measure mode. This
manual describes the steps you must follow to acquire data and pass it to the software's measurement
component. For information on performing measurements, see the documentation integrated in the
software.
Scan Tab
The Scan tab lets you set up your scanner, and acquire and view data.
Scan tab
Element Description
Advanced Tab
The Advanced tab provides functions that are used in less common scenarios.
Element Description
Overlay Lets you save and load overlays, which you can use to align samples a desired
orientation and position. See Working with Overlays on page 29 for more
information.
Acquisition mode Lets you create custom acquisition modes, defining grey code stripe patterns,
phase shift patterns, and prefilters. Custom acquisition modes can improve
data quality in some scenarios. See Creating Custom Acquisition Modes on page
30 for more information.
Sequential Scan Lets you take a series of scans. Useful for quality assurance scenarios.
Calibration Lets you calibrate the scanner and save calibration information on the
scanner. Also provides a Help dialog that reminds you of the required steps.
See Calibrating the Scanner on page 33 for more information.
File Utilities Lets you import .omc (ODSCAD) files, and convert files to different formats.
Settings Lets you edit various advanced settings.
Help Tab
The Help tab lets you access help topics, and also save information for support issues.
Help tab
Log Messages
You can use the log to see system messages that can help in troubleshooting.
The log lists the following types of messages: errors, warnings, general information, and debug
information.
To clear messages:
Once you have set up your scanner and installed the software on your computer, you are ready to
acquire data by scanning a sample.
After acquiring scan data, you pass the data to the Measurement component of the MikroCAD software.
Connecting to a Scanner
When you launch the MikroCAD software, it will try to connect to a scanner.
If more than one scanner is connected to your computer, you can choose which scanner to connect the
software to.
To choose a scanner:
1. On the Scan tab, in the Scanner group, click Connect.
You use the live view to adjust brightness and focus the scanner before scanning data.
Projection patterns
Pattern Use
MikroCAD Software User Manual Acquiring Scan Data • Choosing the Projection Pattern • 17
Pattern Use
Half Used for adjusting brightness with most samples and also for focusing samples with a
less regular surface.
Stripes Used for adjusting brightness with samples whose surface has varying brightness.
Clicking on this button cycles through a predefined set of finer and finer stripe
patterns.
Bright Lights the entire field of view. Lets you see all details of the surface and can be used for
capturing camera images, such as for overlays. See Working with Overlays on page 29
for more information on overlays.
MikroCAD Software User Manual Acquiring Scan Data • Choosing the Projection Pattern • 18
To choose a projection pattern, on the Scan tab, in the Projection group, click on the pattern you want.
Ideal brightness is achieved when there is good contrast between the dark and the light stripes in the
image.
Make sure that ambient lighting, such as light from windows and strong electrical lighting, is
limited.
3. In the Brightness group, check the Light option to turn on the projector light.
4. Move the slider until there is a high contrast between the halves of the images.
For examples of good and bad contrast, see the images above
Move the slider to the left to decrease the brightness and to the right to increase the brightness.
The number of steps available in the slider is model-dependent.
MikroCAD Software User Manual Acquiring Scan Data • Working with High-Contrast Samples (HDR) • 20
settings to improve the scan data.
When you enable HDR and then scan a sample, the scanner takes multiple exposures, setting the
brightness a certain number of steps above and below the current Brightness setting for each
exposure (model-dependent), and then combines the exposures into a single scan image.
HDR settings
HDR setting Number of exposures
None 1
HDR 2
Super HDR 3
Scans using HDR take roughly twice as long as scans without HDR using the same initial
brightness. Scans using Super HDR take roughly three times as long as regular scans without
HDR using the same initial brightness.
To enable HDR:
1. On the Scan tab, in the Brightness group, click HDR.
If Brightness is set to the lowest or highest setting when you enable HDR, the Brightness
setting is raised or lowered by one step, respectively, to account for the brightness variation
that occurs during scans using HDR. Also, when HDR is enabled, you can't raise the
Brightness setting to its highest setting, or lower it to its lowest setting.
3. In the Brightness group, check the Light option to turn on the projector light.
4. Align the vertical line of the projected cross pattern with the vertical line of the red cross in the MikroCAD
software.
For lite 1.6 x 1.2, premium 1.6 x 1.2 / 13 x 10 / 26 x 20, and plus 1.7 x 1.4:
Use the small knob on the column stand to fine-tune the focus. Use the large knob on the column stand to
move the scanner more quickly.
For premium 140 x 105 / 320 x 240:
Use the column control box to raise and lower the camera.
MikroCAD Software User Manual Acquiring Scan Data • Scanning Data and Managing Results • 22
To acquire data:
1. On the Scan page, in the Result group, click on Scan to perform a scan.
The 3D view provides tools that you can use to rotate, zoom, and pan the image.
See Viewing Scanned Data on the next page for more information on viewing scanned data in 3D.
MikroCAD Software User Manual Acquiring Scan Data • Scanning Data and Managing Results • 23
2. After using the scanner, be sure to close the MikroCAD software before disconnecting the scanner.
Failing to close the software before disconnecting the scanner will result in damage to the
scanner.
The scanner does not need to be powered to perform measurements on the acquired data.
You can view the data as either a 2D heightmap or as a 3D representation, in order to evaluate whether
the acquired data is ready to pass to the Measurement component.
After you have determined that the scanned data is good, you should save the data. See Saving
and Discarding Data on page 26 for more information.
MikroCAD Software User Manual Acquiring Scan Data • Scanning Data and Managing Results • 24
Scanned data - 3D view
You can rotate, pan, and zoom the 3D representation by clicking on a manipulation control to select it
and then using the mouse or keyboard to manipulate the image.
Orientation cube
MikroCAD Software User Manual Acquiring Scan Data • Scanning Data and Managing Results • 25
Scanned image manipulation tools
Element Description
File formats
Format Description
.sur The "studiable" format. You can load .sur files into an analysis document in the
Measurement component.
.omc The ODSCAD format. Use this format if you need to work with data in ODSCAD.
.obj The Wavefront OBJ format. This format lets you import, align, and combine MikroCAD's
scan data in FlexScan3D and other mesh-processing software.
.stl STL Binary or STL ASCII.
You do not need to save data to pass it to the Measurement component, but saving the data is
recommended.
For more information on viewing data, Viewing Scanned Data on page 24.
After you save data, the Measure, Save, and Discard buttons, as well as the Flat and 3d buttons in the
View group, become disabled. After that, you may start the next scan.
2. In the Save As dialog, choose a location for the data and provide a name.
MikroCAD Software User Manual Acquiring Scan Data • Scanning Data and Managing Results • 26
The data is saved as a "studiable," in the .sur format, which the measurement tools can use to perform
measurements.
If the acquired data is not satisfactory, you can discard it by clicking Discard in the Acquisition group.
Measuring
After performing a scan, click on Measure in the Result group, on the Scan tab, to transfer the
acquired data to the Measurement component.
You can switch between the Acquisition page and the Measurement page using the icons in the upper
left corner of the interface.
MikroCAD Software User Manual Acquiring Scan Data • Scanning Data and Managing Results • 27
For information on performing measurements on the acquired data, see the Reference Guide on the
Help tab on the Measurement page.
By default, overexposed areas are indicated in the live image by red; underexposed areas are indicated
by blue. You can change these colors in the Advanced Settings editor. For information on the editor, see
Editing Advanced Settings on page 43.
To create an overlay:
1. Place a sample under the scanner.
Make sure the brightness is properly set (see Adjusting the Brightness on page 19) and that the camera is
focused (see Focusing the Scanner on page 21).
2. Move the sample so that the area you will want to measure is properly positioned and oriented.
If scanned data is displayed in the Scan Result window, rather than live data in the Camera
Image window, the Overlay buttons are disabled. To save an overlay, return to the Scan
tab and either pass the data to the Measurement page by clicking Measure in the
Acquisition group, or discard the data by clicking on Discard. After this, you can return to
the Advanced tab on the Acquisition page and save the overlay.
4. In the Save As dialog, choose a location and provide a name for the overlay image.
The overlay is saved as a .PNG file.
After you have created an overlay, use it to position subsequent samples.
To use an overlay:
1. Place a new sample under the scanner.
Make sure that the brightness is properly set (see Adjusting the Brightness on page 19) and that the camera
is focused (see Focusing the Scanner on page 21).
3. Using the Ratio slider, adjust the transparency of the overlay image.
Sliding the slider to the left makes the overlay more transparent.
In the image below (a calibration target is used as an example), the horizontal groove is the overlay image,
whereas the diagonal groove is the "new" sample that needs to be properly positioned. You would move the
sample under the scanner until the two images are roughly aligned.
4. After positioning the new sample, click Clear and return to the Scan tab to scan the new sample.
See Scanning on page 22.
For Gray coded patterns, the software cycles through a predefined number of black/white (lit/unlit)
stripe projection patterns, changing the width of the stripes each time.
For phase-shifted patterns, the software varies the intensity of light across the width of the stripes to
create "smooth" transitions from light to dark in the pattern. The software cycles through a series of
these projection patterns, each one of which is "shifted" by a certain amount of the width of each stripe
in successive projected images, namely, the reciprocal of the number of images. For example, if twelve
images are used, each image is shifted by 1/12 the width of the stripes. Doing this in effect increases the
resolution of the scanner.
In the main dialog, you can select an acquisition mode in the list and check Default acquisition mode to
set it as the default.
3. Choose whether both Gray code and phase shift patterns will be enabled, or phase shift only.
The Stripes width start value represents the width, in pixels, of the stripes in the first image. The
Stripes width end value represents the width, in pixels, of the stripes in the last image.
b. Click OK.
6. Choose the prefilter settings and set a value in Threshold for power spectrum.
These settings are for advanced users only.
You should calibrate a scanner or at least verify its calibration each time after you transport it.
l The 0 height reference (baseline) is determined using a plane calibration target in the camera focus.
l The vertical reference is determined using a step or groove calibration target in one or several steps.
Calibration must be performed in a room where no direct sunlight can fall on the calibration
target.
The MikroCAD software provides an integrated calibration Help guide to remind you of the steps
required for the calibration process.
To open the Calibration Help, click Calibration help in the Calibration group on the Advanced tab.
In the following procedure, a MikroCAD premium 1.6 x 1.2 scanner is used. Different scanners
use different sizes of calibration targets.
If you have previously calibrated the scanner and saved the calibration to the scanner, you should already
see these values. However, verify that the values are correct, or change them if you are using different
calibration targets.
If the projected black cross is shifted left or right in relation to the red cross, ignore the black cross
when focusing the sample surface. You may use the Contrast indicator to find the best focus, adjusting
the scanner up and down until the Contrast value is at its greatest.
See Focusing the Scanner on page 21 for more information on focusing the scanner.
d. In the Calibration group, click Plane.
The MikroCAD software will perform the plane calibration. This may take a minute, and the scanner
may disconnect and reconnect during this time. A smaller image of the data scanned during the plane
calibration will appear next to the Camera Image window.
See Focusing the Scanner on page 21 for more information on focusing the scanner.
In the software, the horizontal line should be parallel with the groove and roughly in its center.
c. Click Groove.
b. If necessary, focus the camera by moving it up or down until the vertical line of the black projected cross
pattern aligns with the vertical line of the red cross.
The vertical line of the projected pattern will appear shifted at the bottom of the groove. You should use
the projected pattern at the bottom of the groove for additional groove calibration.
You can cancel the calibration at any time by clicking Cancel in the Calibration group.
You are now ready to start acquiring data using the scanner. For more information, sSee Acquiring Scan
Data on page 16.
3. Make sure the brightness is properly set (Adjusting the Brightness on page 19) and that the camera is
focused (see Focusing the Scanner on page 21).
a. Under Select folder to save scans, click and choose or create a folder.
b. In Number of scans, choose a number of scans.
c. Click OK.
MikroCAD performs the specified number of scans sequentially, saving each scan as a Studiable (.sur file) in
the specified folder.
You can then switch to the Measurement component, load the scans into an analysis document, and
perform a repeatability or reproducibility analysis.
File formats
Format Description
.sur The "studiable" format. You can load .sur files into an analysis document in the
Measurement component.
.omc The ODSCAD format. Use this format if you need to work with data in ODSCAD.
To convert a file:
1. On the Advanced tab, in the File Utilities group, click Convert file.
2. In the Open dialog that appears, choose the file format of the file that you want to convert from the drop-
down, locate the file in the dialog, and click Open.
3. In the Save As dialog that appears, in Save as type, choose the file format you want to use for the
conversion from the drop-down.
2. In the Open dialog that appears, locate the file you want to import and click Open.
3. MikroCAD switches to the Measurement page and inserts the file in the active analysis document.
The MikroCAD software development kit (SDK) includes open-source software libraries that can be used
to programmatically access and control MikroCAD scanners. The latest version of the SDK can be
downloaded by going to http://lmi3d.com/support/downloads/, selecting MikroCAD, and clicking on the
Product User Area link.
Header Files
Header files are referenced with SDKInterface as the source directory, for example: #include
"../../SDKInterface/MikroCADSDK.h".
Operation Workflow
Applications created using the SDK typically use the following programming sequence:
General
MikroCAD_GetModuleVersionInfo
Returns version information contained in Measurement.dll. No connection to a scanner is necessary.
MikroCAD_GetNumConnectedSensorModules
Returns the number of connected sensor modules.
MikroCAD_GetSensorModuleInfo
Returns sensor information of a connected sensor module.
MikroCAD_ListAllSensors()
Lists all available sensors. (Before connection to the sensor.)
MikroCAD_GetSensorTypeID
Returns the sensor ID.
MikroCAD_GetSensorTypeID();
Returns
The Sensor ID.
MikroCAD_Initialize
Initializes the measurement module.
MikroCAD_Deinitialize
Deinitializes the measurement module.
void MikroCAD_Deinitialize();
Parameter
MikroCAD_ParameterAvailable
Parameter available.
MikroCAD_GetIntegerParameter
Reads an integer parameter.
MikroCAD_GetIntegerParameterLimits
Reads the integer parameter limits.
MikroCAD_SetFloatParameter
Writes a float parameter.
MikroCAD_GetFloatParameterLimits
Reads the float parameter limits.
MikroCAD_ResetMeasurementArea
Resets the measurement area.
void MikroCAD_ResetMeasurementArea();
MikroCAD_SetProjectionArea
Sets the projection area.
MikroCAD_SetProjectionMask
Sets the projection mask.
MikroCAD_ResetProjectionArea()
Resets the projection area.
void MikroCAD_ResetProjectionArea();
Camera Images
MikroCAD_GetCameraImage8
Gets a camera image (black and white).
MikroCAD_GetCameraImage24
Gets a camera image (color).
Projector
MikroCAD_ProjectValue
Projects an image with one overall constant gray value.
MikroCAD_ProjectColorValue
Projects a color value (entire image is the same color).
MikroCAD_ProjectImage8
Projects a black and white image.
MikroCAD_ProjectImage24
Projects a color image.
MikroCAD_ProjectPattern
Projects a predefined pattern.
MikroCAD_ProjectStripePattern
Projects a predefined pattern.
MikroCAD_SwitchOnOffProjectorLampAvailable
Determines whether the projector lamp switch on / off switch is available.
bool MikroCAD_SwitchOnOffProjectorLampAvailable();
Returns
true if the projector lamp switch on / off switch is available; false otherwise.
MikroCAD_SwitchOnOffProjectorLamp
Switch the projector lamp on or off.
MikroCAD_GetProjectorLampState
Returns the projector lamp state.
ProjectorLampState MikroCAD_GetProjectorLampState();
Returns
The projector lamp state.
Data Acquisition
MikroCAD_GetNumPredefinedMeasParameterSets
Returns the number of predefined measurement parameter sets.
MikroCAD_GetPredefinedMeasParameterSetName
Returns the name of a predefined measurement parameter set.
MikroCAD_SelectCurrentMeasurementProgram
Selects the current measurement program.
MikroCAD_GetCurrentMeasurementProgramIndex
Gets the current measurement program index.
long MikroCAD_GetCurrentMeasurementProgramIndex();
Returns
The current measurement program index. A value less than 0 indicates the default measurement
program.
MikroCAD_GetCurrentMeasurementProgram
Gets the current measurement program.
char* MikroCAD_GetCurrentMeasurementProgram();
Returns
The current measurement program. "" indicates the default program.
MikroCAD_GetDefaultMeasProgramName
Returns name of the measuring program that is identical to the default measuring program.
char* MikroCAD_GetDefaultMeasProgramName();
Returns
The name of the measurement program identical to the default measuring program or "-1" if no
measurement program is identical.
Measurement
MikroCAD_Measure
Performs a measurement.
MikroCAD_HeightImagePtr
Returns a pointer to height image data.
short* MikroCAD_HeightImagePtr();
Returns
A pointer to height image data or NULL if not available.
MikroCAD_ValidDataPtr
Returns a pointer to valid data or NULL if not available.
MikroCAD_CameraImagePtr
Returns a pointer to camera image data (texture). The image is a 24 bit color image (red, green, blue, red,
...).
MikroCAD_CameraRawImagePtr
Returns a pointer to camera image data (raw data). The image is a 24 bit color image (red, green, blue,
red, ...).
MikroCAD_PowerSpectrumPtr
Returns a pointer to the power spectrum.
short* MikroCAD_PowerSpectrumPtr();
Returns
A pointer to the power spectrum.
MikroCAD_IsDataBufferLocked
Determines whether the data buffer is locked.
bool MikroCAD_IsDataBufferLocked();
Returns
MikroCAD_UnlockDataBuffer
Unlock the data buffer.
void MikroCAD_UnlockDataBuffer();
CMeasProgramSet* MikroCAD_GetMeasProgramSetPtr();
Returns
A pointer to the measuring program set object.
MikroCAD_ReadConfig
Reads the configuration.
long MikroCAD_ReadConfig();
Returns
An error code.
MikroCAD_WriteConfig
Writes the configuration.
long MikroCAD_WriteConfig();
Returns
An error code.
MikroCAD_ReadInitialParameterFromFile
Reads the initial parameters from a file.
MikroCAD_WriteInitialParameterToFile
Writes the initial parameters to a file.
MikroCAD_WriteMeasProgramDataToFile
Writes the measurement program data to a file.
MikroCAD_ListAllSensorsType
List all available sensors of a special type. (Before connection with the sensor).
MikroCAD_GetSensorSerialNumberType
Returns the serial number of a listed sensor of a special type.
MikroCAD_ListSensorDescriptions
List all sensor descriptions. (Only for sensors with separate camera and projector.)
MikroCAD_ReadMeasProgramDataFromFile
Reads the measurement program data from a file.
MikroCAD_WriteMeasProgramDataToFile
Writes the measurement program data to a file.
MikroCAD_ListAllSensorsType
List all available sensors of a special type. (Before connection with the sensor).
MikroCAD_GetSensorSerialNumberType
Returns the serial number of a listed sensor of a special type.
MikroCAD_ListSensorDescriptions
List all sensor descriptions. (Only for sensors with separate camera and projector.)
MikroCAD_ReadSensorDescription
Reads the sensor description.
Calibration (General)
MikroCAD_CalibrationOnSensor
Determines whether there is a calibration on the sensor.
The sensor must not have been initialized by calling MikroCAD_Initialize when you call this
function!
Calibration (Simple)
MikroCAD_GridCalibration
Executes a grid calibration.
long MikroCAD_GridCalibration();
Returns
An error code.
MikroCAD_PlaneCalibration
Executes a plane calibration.
long MikroCAD_PlaneCalibration();
Returns
MikroCAD_GetNumGrooveCalibrations
Gets the number of groove calibrations.
long MikroCAD_GetNumGrooveCalibrations();
Returns
The number of groove calibrations.
MikroCAD_GrooveCalibration
Executes a groove calibration.
MikroCAD_GetCalibrationState
Returns the calibration state:
#define SIMPLE_CALIB_STATE_NONE 0
#define SIMPLE_CALIB_STATE_PLANE 1
#define SIMPLE_CALIB_STATE_GRID 2
#define SIMPLE_CALIB_STATE_GROOVE 4
MikroCAD_CalibrationToSensor
Sends calibration data to sensor.
long MikroCAD_CalibrationToSensor();
Returns
An error code.
MikroCAD_GetCalibrationResultData
Returns a pointer to result data.
short* MikroCAD_GetCalibrationResultData();
Returns
A pointer to result data.
MikroCAD_UnlockCalibrationDataBuffer
Unlocks the data buffer.
MikroCAD_ReadCalibrationParameter
Returns a pointer to the calibration parameters.
TSimpleCalibPar* MikroCAD_ReadCalibrationParameter();
Returns
A pointer to the calibration parameters.
Events
MikroCAD_GetNumAvailableEventTypes
Returns the number of the available event types.
MikroCAD_GetEventType
Returns the sensor event type .
MikroCAD_StartSensorEvent
Starts the sending of sensor events.
MikroCAD_StopSensorEvent
Stops the sending of sensor events.
void MikroCAD_StopSensorEvent();
World
Email [email protected]
Web http://www.lmi3D.com
Phone +49 3328 9369-6
LMI Technologies (Head Office) LMI Technologies GmbH LMI (Shanghai) Trading Co., Ltd.
Vancouver, Canada Berlin, Germany Shanghai, China
+1 604 636 1011 +49 (0)3328 9360 0 +86 21 5441 0711
LMI Technologies has sales offices and distributors worldwide. All contact information is listed at
lmi3D.com/contact/locations.