Page 1
Single-Axis Motion Controller/Driver for DC or Stepper Motor LabVIEW Driver Manual in NSTRUCT Environment Version 1.0.x For Motion, Think Newport...
Customer shall protect the Newport Programs and Related Materials as trade secrets of Newport, and shall devote its best efforts to ensure that all its personnel protect the Newport Programs as trade secrets of Newport Corporation. Customer shall not at any...
Newport NSTRUCT Server ......................2 Connect your Newport instrument ....................2 3.0 LabVIEW drivers used in the NSTRUCT environment......3 Finding the Newport instrument LabVIEW driver ..............3 Adding Newport Instrument menu to LabVIEW ................4 Menu contents for Newport instrument ..................5 4.0 LabVIEW Example with SMC100 instrument ........7 LabVIEW project creation ......................7...
Page 4
SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor EDH0312En1010 – 10/11...
The SMC100 LabVIEW driver allows developing a LabVIEW program for a SMC100 controller in the NSTRUCT environment. The Newport LabVIEW driver for SMC100 uses the .NET assembly named Newport.SMC100.CommandInterface.DLL. The current Newport LabVIEW driver structure has been implemented following the National Instruments instructions on “Loading .NET …”...
Install LabVIEW 2010 The LabVIEW 2010 from National Instruments must be installed on your computer. Download and install Newport NSTRUCT If the Newport NSTRUCT application is not installed on your computer then download it from the Newport web site: http://www.newport.com/NSTRUCT Alternatively, the software may be downloaded using Menus as follows: SALES &...
Single-Axis Motion Controller/Driver for DC or Stepper Motor LabVIEW drivers used in the NSTRUCT environment Finding the Newport instrument LabVIEW driver With NSTRUCT, a folder is created from “Program files” for each instrument in \NSTRUCT\Instruments folder. From the selected instrument directory, a “Labview”...
SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor Adding Newport Instrument menu to LabVIEW A menu file (.mnu) for LabVIEW is provided for each instrument. The menu file is availalable in the following path: C:\Program Files\Newport\Instrument Manager\NSTRUCT\Instruments\...\LabVIEW NOTE This menu must be copied in the directory “user.lib”...
SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor Menu contents for Newport instrument LW SMC100_Connect This VI creates an instance of the selected instrument. The instrument is registered to the NSTRUCT server and the communication is ready.
Page 10
SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor Invoke Node (from the .NET library provided by LabVIEW) This dynamic VI allows to access to all commands of the selected instrument from the CommandInterface DLL. The user can select one function from a list.
Create a labVIEW project (refer you to the National Instrument manuals to know how to create a LabVIEW project) in the NSTRUCT “Labview” directory of the selected instrument. It’s a necessary step to develop with the Newport LabVIEW driver. The labVIEW development must be done from this opened project.
SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor Second step: Invoking an instrument command Select the “Invoke Node” from the function panel: User libraries > Instrument for NSTRUCT > Invoke Node For SMC100: User libraries > SMC100 for STRUCT > Invoke Node NOTE It’s possible to select the “Invoke Node”...
Page 13
SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor Now, a list of functions for the selected instrument is accessible. Right click on the Invoke Node and select the menu “select a method”: a list of functions is displayed.
SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor Last step: Instrument disconnection At the end of the LabVIEW program, the instrument is disconnected and its instance must be closed. So, right click to open the “functions” panel and choose the “User libraries” menu.
SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor Functional example 4.5.1 Project 4.5.2 Diagram 4.5.3 Associated Front Panel EDH0312En1010 – 10/11...
SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor Knowledges from National Instruments From LabVIEW 2010 Help Edition Date: June 2010 Part Number: 371361G-01 http://zone.ni.com/reference/en-XX/help/371361G-01/lvconcepts/loading_assemblies/ Loading .NET Assemblies in LabVIEW If you reference a .NET object from the front panel or block diagram of a VI, ensure that LabVIEW can load the .NET assembly for that object.
Page 17
SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor EDH0312En1010 – 10/11...
SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor Service Form Your Local Representative Tel.: ___________________ Fax: ___________________ Name: __________________________________________________ Return authorization #: _____________________________________ (Please obtain prior to return of item) Company: _______________________________________________ Address: ________________________________________________ Date: ___________________________________________________ Country: ________________________________________________ Phone Number: ___________________________________________ P.O.
Page 20
Visit Newport Online at: www.newport.com North America & Asia Europe Newport Corporation MICRO-CONTROLE Spectra-Physics S.A.S 1791 Deere Ave. 1, rue Jules Guesde – Bât. B Irvine, CA 92606, USA ZI Bois de l’Épine – BP189 91006 Evry Cedex Sales France Tel.: (800) 222-6440...