LABPRO TOOLKIT
12/28/2004

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

When you download the toolkit you will find a folder called "LABPRO". This folder contains subfolders that contain subVIs and Express VIs used for communicating with the Vernier LabPro. As you become more familiar with programming LabPro, and you wish to create your own custom LabPro programs, you will need to access these subVIs and Express VIs (see below). Until then, simply place the LABPRO folder in the user.lib folder (see below) and download our LabPro example VIs. These examples demonstrate simple, working programs that use the LABPRO subVIs and Express VIs as the building blocks. Run the examples to verify communication with LabPro, to examine the code, and learn the general steps of initializing, configuring channels, configuring data collection, performing an operation, and stopping and closing the port properly.

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<



**INSTALLATION (Important location of folder!!):

Place the folder called "LABPRO" in the "user.lib" folder. This is usually located at C:\Program Files\National Instruments\LabVIEW X.X\user.lib.



**USB (Important USB driver installation for MacOSX and Windows):

LabVIEW is able to communicate with LabPro via the USB port with the help of a library file and a USB driver. The library file is included in the LABPRO folder, in the "Driver VIs" subfolder. The USB driver is installed when LoggerPro is installed. If you do not have LoggerPro installed then you do not have the required USB driver. To get this driver installed there are three options; you can install LoggerPro, download and install the USB driver for free from our website (Windows only), or install a LoggerPro demo version from our website.  



**SERIAL (Important Serial driver installation):

Communicating with LabPro via the Serial port in LabVIEW requires the NI-VISA driver. This is a driver from National Instruments. The driver is available to be downloaded for free on the NI website, or can be found on your installation CD's (except the student version).



**ACCESSING THE LABPRO SubVIs:

Correct location of the LABPRO folder in the user.lib folder is important because it provides easy access to the subVIs and Express VIs. Access to the palette of LabPro VIs is as simple as going to your User Libraries functions palette (right click in the block diagram and navigate the palettes to Functions>>All Functions>>User Libraries>>LabPro). Once located, simply drag and drop the required subVI or Express VI onto your block diagram.



**NEW / CHANGES:

A new .dll file was included that communicates with XP and VISTA



**OTHER RESOURCES:

Go to our website at www.vernier.com/labview to find more resources including:
* The Technical Reference Manual - provides details on commands and programming the LabPro.  
* The new Robotics and Controls Kit - provides lots of projects 
* DCU and DCU Manual
* Example VIs
* Documents on getting started programming the LabPro using LabVIEW
* Workshops
* USB installer for Windows



**TROUBLESHOOTING:

* Make sure you have located the folder "LABPRO" in the user.lib folder.
* NI-VISA 3.0 or later must be installed
* Close all programs that may take control of the port (like Logger Pro)
* The computer must be setup with the decimal separator as a period (not comma).
* You may have to have LabPro plugged in before starting LabVIEW. 
* You cannot send commands to LabPro faster than about 30 commands/second. 
* If there is no delay between sending commands LabPro's buffer will overflow or commands will get chopped up and 4 beeps will occur.
* If you do not properly stop and close the port you may create any number of problems.
* If unable to communicate, shut down LabVIEW and verify with LoggerPro.
* Make sure you have power to the LabPro
* Disconnect and reconnect all cable connections
* Reset LabPro by unplugging and plugging it back in 

