Install LabVIEW 2010......................1 Download and Install Newport NSTRUCT ................1 Run Newport NSTRUCT Server .....................1 Connect and Authorize your Newport Instruments ..............2 2.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...
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 Menu to select for downloading: SALES &...
Agilis-D Controller with Strain Gages Feedback 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.
CONEX-AGAP Agilis-D Controller with Strain Gages Feedback 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” directory contains the LabVIEW driver.
CONEX-AGAP Agilis-D Controller with Strain Gages Feedback Adding Newport Instrument menu to LabVIEW A menu file (.mnu) for LabVIEW is provided for each instrument. NOTE This menu must be copied in the directory “user.lib” of your LabVIEW. This menu allows you to access to each instrument driver when the “User libraries” is selected from the LabVIEW functions panel.
CONEX-AGAP Agilis-D Controller with Strain Gages Feedback Menu Contents for Newport Instrument LWConexPSD_Connect This VI creates an instance of the selected instrument. The instrument is registered to the NSTRUCT server and the communication is ready. Inputs Instrument Key: represents the instrument key from the NSTRUCT server. If it’s empty, a dialog box is displayed to purpose a device list.
Page 10
CONEX-AGAP Agilis-D Controller with Strain Gages Feedback Node of method (from the .NET library provided by LabVIEW) This VI is a dynamic VI that allows to access to all commands of the selected instrument from the CommandInterface DLL. The user can select one function from a list.
It’s exactly the same thing for a CONEX-AGAP instrument. LabVIEW Project Creation Create a LabVIEW project. It’s a necessary step to develop with the Newport LabVIEW driver. The LabVIEW development must be done from this opened project. First Step: Instrument Connection In your LabVIEW project, open a new LabVIEW diagram, right click to open the “functions”...
CONEX-AGAP Agilis-D Controller with Strain Gages Feedback It is the first step to be able to communicate with your instrument. At this step, an instance of your instrument is created. The “LWInstrument_Connect” VI returns a “ComponentID” that refers to the NSTRUCT server.
Page 13
CONEX-AGAP Agilis-D Controller with Strain Gages Feedback Link the ‘Instrument Reference’ output from LWInstrument_Connect to the ‘reference’ input from the node of method. For CONEX-AGP: ‘ConexAGP Reference’. After the link, the node of method header becomes “ConexAGP”. Now, a list of functions for the selected instrument is accessible. Right click on the node of method and select the menu “select a method”: a list of functions is displayed.
CONEX-AGAP Agilis-D Controller with Strain Gages Feedback 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. Next, “Instrument NSTRUCT”...
CONEX-AGAP Agilis-D Controller with Strain Gages Feedback Knowledge 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.
CONEX-AGAP Agilis-D Controller with Strain Gages Feedback 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. Number: ____________________________________________ Fax Number: _____________________________________________ Item(s) Being Returned: ____________________________________ Model#: _________________________________________________...
Page 18
Visit Newport Online at: www.newport.com North America & Asia Europe Newport Corporation MICRO-CONTROLE Spectra-Physics S.A.S 1791 Deere Ave. 9, rue du Bois Sauvage Irvine, CA 92606, USA 91055 Évry CEDEX France Sales Tel.: (800) 222-6440 Sales e-mail: sales@newport.com Tel.: +33 (0)1.60.91.68.68 Technical Support e-mail: france@newport-fr.com...