Newport CONEX - AGAP Driver Manual

Agilis-D Controller
with Strain Gages Feedback
LabVIEW Driver Manual
in NSTRUCT Environment
V2.0.x
CONEX-AGAP
For Motion, Think Newport™
CONEX-AGAP Agilis-D Controller with Strain Gages Feedback
EDH0293En1020 — 09/12 Page ii
CONEX-AGAP Agilis-D Controller with Strain Gages Feedback
Table of Contents
1.0 Introduction ..................................................................................................1
1.1 Purpose....................................................................................................................................1
1.2 Overview .................................................................................................................................1
1.3 Install LabVIEW 2010.............................................................................................................1
1.4 Download and Install Newport NSTRUCT.............................................................................1
1.5 Run Newport NSTRUCT Server.............................................................................................1
1.6 Connect and Authorize your Newport Instruments .................................................................2
2.0 LabVIEW Drivers Used in the NSTRUCT Environment ........................3
2.1 Finding the Newport Instrument LabVIEW Driver.................................................................3
2.2 Adding Newport Instrument menu to LabVIEW.....................................................................4
2.3 Menu Contents for Newport Instrument..................................................................................5
3.0 LabVIEW Example with CONEX-AGAP Instrument.............................7
3.1 LabVIEW Project Creation......................................................................................................7
3.2 First Step: Instrument Connection...........................................................................................7
3.3 Second Step: Invoking an Instrument Command....................................................................8
3.4 Last Step: Instrument Disconnection.....................................................................................10
3.5 Functional Example...............................................................................................................10
3.5.1 Project......................................................................................................................10
3.5.2 Diagram...................................................................................................................11
3.5.3 Associated front panel.............................................................................................11
4.0 Knowledge from National Instruments.................................................... 12
4.1 Loading .NET Assemblies in LabVIEW...............................................................................12
4.2 Loading VIs with an Updated Assembly...............................................................................12
Service Form........................................................................................................13
Page iii EDH0293En1020 — 09/12
CONEX-AGAP Agilis-D Controller with Strain Gages Feedback
EDH0293En1020 — 09/12 Page iv
CONEX-AGAP Agilis-D Controller with Strain Gages Feedback
CONEX-AGAP Agilis-D Controller with Strain Gages Feedback
1.0 Introduction
1.1 Purpose
The purpose of this document is to provide instructions on how to use the CONEX­AGAP LabVIEW driver.
This document shows:
How to connect with a selected instrument How to use a function from the Command Interface library How to disconnect the connected instrument.
1.2 Overview
The CONEX-AGAP LabVIEW driver allows developing a LabVIEW program for a CONEX-AGAP controller in the NSTRUCT environment.
The Newport LabVIEW driver for CONEX-AGAP uses the .NET assembly named Newport.ConexAGAP.CommandInterface.DLL.
The current Newport LabVIEW driver structure has been implemented following the National Instruments instructions on “Loading .NET …” as reported in §4.0.
1.3 Install LabVIEW 2010
The LabVIEW 2010 from National Instruments must be installed on your computer.
1.4 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
Menu to select for downloading: SALES & SUPPORTS > Softwares & Download > NSTRUCT Software & Applets
1.5 Run Newport NSTRUCT Server
The Newport NSTRUCT server must be running before to develop with LabVIEW. It’s the main condition to use the Newport LabVIEW driver.
EDH0293En1020 — 09/12 Page 1
CONEX-AGAP Agilis-D Controller with Strain Gages Feedback
1.6 Connect and Authorize your Newport Instruments
Before to connect your Newport instrument, read the manual to install its communication driver. Once the communication driver installed, the Newport instrument can be connected to the computer.
Once NSTRUCT installed and NSTRUCT server is running, the instrument can be connected and detected by the NSTRUCT server only if it is “plug and play”.
If the Newport instrument cannot be detected automatically, open the NSTRUCT server to add this instrument to the server. To do that, refer you to the video “How to add an instrument” from NSTRUCT help or refer you to the applet manual of the selected instrument.
The connected instrument is now detected by the NSTRUCT server after a “Rediscover instruments” action. The first time, the instrument is “Unauthorized”. In this case, open the NSTRUCT server, click right on your selected instrument and choose “Authorize”.
At the end, the selected instrument must be connected, detected and authorized by the NSTRUCT server.
EDH0293En1020 — 09/12 Page 2
Loading...
+ 12 hidden pages