Getting started with LabVIEW

LINX (LabVIEW Plugin) provides easy to use LabVIEW VIs for interacting with evive. Use the built in sensor VIs to start getting data to your PC in seconds or use the peripheral VIs to access your devices digital I/O, analog I/O, SPI, I2C, UART, PWM and more.

Installation Instructions:

You should have LabVIEW software installed in your desktop to proceed further. If you do not have it installed please visit here and install the software.

  1. Download VI Package Manager from here. We are installing for windows in this instructions.
  2. Once the download gets over, execute the installation application. Click “Next”.
  3. Then choose the first option “Install” to install and click “Next”.
  4. Custom Setup window will open. Click “Next”.
  5. Click “Install”.
  6. Once installation is finished click “Finish”.
  7. Open VI Package Manager from start menu. The application will look like this when it is open.
  8. Search for LINX in the search bar, and double click on LINX plugin.
  9. Install Digilent LINX.
  10. Once it gets finished, click “Finish” and close the application.

Creating first VI with LINX functions:

  1. Open new VI in LabVIEW. Go to Tools -> MakerHub -> LINK -> Generate Firmware Librarie…
  2. Choose the folder you want to save your Arduino library and click “Generate”.
  3. Go to the folder you have just generated libraries into and go to examples\Arduino_Mega2560_Serial folder and open the Arduino code. Upload the code into evive. In my case the directory is Documents\LabVIEW\ArduinoLibrary\LINX\examples\Arduino_Mega2560_Serial
  4. Now, go to block diagram panel and using LINX functions make the following block diagram to read analog value from the potentiometer of evive.
  5. Your front panel will look like this.
  6. Now, start the code execution and plot the analog reading of the potentiometer.