Browse our Blog. You will find multiple applications, solutions, code examples. Navigate using the tag cloud or search using specific criteris
Industrial Arduino based programming with LabVIEW
In this post you are going to learn how to work with an Arduino board for industrial automation and the computer application LabVIEW.
In order to work with the PC application LabVIEW, you will need the following things:
Hardware & Software
Connection between an Arduino board and LabVIEW:
First of all, you are going to look for the sketch called LIFA_Base following the steps in the first screenshot: Este equipo -- Disco local(C:) (or the letter that your local disc has) -- Archivos de programa (x86) -- National Instruments -- LabVIEW 2019 (or the version that you downloaded) -- vi.lib -- LabVIEW Interface for Arduino -- Firmware -- LIFA_Base. Once you found it click on it and an Arduino IDE window is going to pop up in your computer.
After this, go to this window and click Tools (Herramientas) -- Board (Placa) + Processor (Procesador) + Port (Puerto) and select your Arduino board and processor type and the serial port where it is located.
Build the following electrical circuit:
The Leds can have any color. (The long leg of the leds is the positive part, which has to be connected to its resistor and the other one has to be connected to the ground pin, GND).
The connections can be done in any of the PWM or DIGITAL pins, except the PWM 0, 1 (RX and TX communication pins) or the 13 (associated with the led of the Arduino board).
The resistors should be of 220 Ohm.