SMC100CC & SMC100PP Single-Axis Motion Controller/Driver for DC or Stepper Motor
iii EDH0312En1010 – 10/11
Table of Contents
Preface ....................................................................................................................................ii
Confidentiality & Proprietary Rights..................................................................ii
1.0 Introduction............................................................................................... 1
1.1 Purpose...........................................................................................................................................1
1.2 Overview........................................................................................................................................1
1.3 LabVIEW project: Communication DLL location......................................................................1
1.4 LabVIEW application (EXE): Communication DLL Distribution............................................1
2.0 Prerequisites.............................................................................................. 2
2.1 Install LabVIEW 2010..................................................................................................................2
2.2 Download and install Newport NSTRUCT .................................................................................2
2.3 Newport NSTRUCT Server..........................................................................................................2
2.4 Connect your Newport instrument ...............................................................................................2
3.0 LabVIEW drivers used in the NSTRUCT environment.......................... 3
3.1 Finding the Newport instrument LabVIEW driver .....................................................................3
3.2 Adding Newport Instrument menu to LabVIEW ........................................................................4
3.3 Menu contents for Newport instrument.......................................................................................5
4.0 LabVIEW Example with SMC100 instrument ........................................ 7
4.1 LabVIEW project creation ............................................................................................................7
4.2 First step: instrument connection..................................................................................................7
4.3 Second step: Invoking an instrument command ..........................................................................8
4.4 Last step: Instrument disconnection ...........................................................................................10
4.5 Functional example .....................................................................................................................11
4.5.1 Project......................................................................................................................11
4.5.2 Diagram...................................................................................................................11
4.5.3 Associated Front Panel...........................................................................................11
5.0 Knowledges from National Instruments ................................................ 12
5.1 Loading .NET Assemblies in LabVIEW ...................................................................................12
5.2 Loading VIs with an Updated Assembly ...................................................................................12
Service Form.................................................................................................... 15