
Knowledge in ActiveX, coupled with full documentation on specific LabSpec 6 ActiveX components, allows fast and complete programming that can exploit the full capabilities of LabSpec 6 and HORIBA’s cutting edge Raman systems. Here is the script created in the NotePad Windows application: set app CreateObject('LeCroy. So as you move the cursor the zoom trace will follow the cursor location. LabSpec 6’s ActiveX components allow the HORIBA Raman system to be fully controlled via the automation software – the programmer needs no in-depth knowledge of LabSpec 6 or its programming language. Let’s start by creating a Visual Basic script that will use the horizontal absolute cursor location to control the center location of a zoom trace. Uses of ActiveX can vary, from basic examples such as allowing native LabSpec 6 data files to be directly imported by third party software, through to more complex scenarios such as lab automation projects. Relating to LabSpec 6, it allows the core functionality of LabSpec 6 to be integrated into third party software, including its hardware control, data acquisition and data processing capabilities.

Screen shot showing LabSpec 6’s integrated VBS editor ActiveXĪctiveX offers a framework for re-using software components in a manner which is independent of the original programming-language. In addition, the native VBS functions such as logical decisions, looping, waiting etc, allow scripts to be generated which can encompass complete experiment protocols, with feedback of results and adjustment of parameters through the experimental process. The library of LabSpec 6 objects for VBS include functions to set parameters/values within the interface (i.e., to set up measurement conditions), and acquire, process and display data. He is responsible for the investigation and development of advanced tooling concepts and tool definitions.The integrated Visual Basic Scripting (VBS) editor can be used to create customized scripts which access nearly all functions available to a standard user within the interface – in combination with the standard VBS commands and functions it offers a real programming capability directly within LabSpec 6. Brand is a tool designer with a leading aerospace company where he works with CATIA V5. He also teaches CATIA V5 at the Munich University of Applied Sciences. Ziethen is a CAD Systems Engineer and technical IT process consultant at MAN Truck and Bus AG. Sample Visual Basic Script code accompanies the book’s hands-on exercises and real-world case studies demonstrate key concepts and best practices.ĭieter R.

Filled with full-color screenshots and illustrations, this practical guide walks you through the entire process of writing, storing, and executing reusable macros for CATIA® V5. Write powerful, custom macros for CATIA V5ĬATIA V5 Macro Programming with Visual Basic Script shows you, step by step, how to create your own macros that automate repetitive tasks, accelerate design procedures, and automatically generate complex geometries.
