

- #How to install labview real time module on myrio serial#
- #How to install labview real time module on myrio drivers#
- #How to install labview real time module on myrio update#
- #How to install labview real time module on myrio upgrade#
The overview of the block diagram and the front panel of the virtual instrumentation system is shown in the Figure below. + After that, you can start building your code in Arduino with LIFA Block Diagram. => Verify and Upload the sketch program LIFA to the Arduino microcontroller
#How to install labview real time module on myrio serial#
=> Connect the board to computer via USB cable and select the used serial port => Select the type of used Board (Arduino UNO) => Go to File → Click on Open → go to the sketch which is located at: C:\ProgramFiles(x86)\National Instruments\LabVIEW 2015\vi.lib\LabVIEW Interface for Arduino\Firmware\LIFA_Bas For this, Open the Arduino IDE application and following the next steps to uploading LIFA firmware to the Arduino board: + The LIFA provides a sketch program that must be uploaded to the Arduino before you can use the virtual instruments to communicate with it. + Download the open source Arduino IDE software and install it
#How to install labview real time module on myrio upgrade#
Lunch LabVIEW → click on tool → go to VIPM → browse to LIFA in the list of packages → click on the Install Upgrade Packages button + Install the LIFA by following the next steps:
#How to install labview real time module on myrio update#
+ Download the JKI VI Package Manager (VIPM) and install it, it allows to install and update LabVIEW libraries
#How to install labview real time module on myrio drivers#
Since the Arduino appears as a serial instrument device for LabVIEW, the NI-VISA drivers must be downloaded and installed to communicate with Arduino board in LabVIEW + Download the NI-VISA drivers and install it. + Install the LabVIEW software (LabVIEW 2011 or later) For this, you just need to follow the following steps: To send data from Arduino to LabVIEW, the LIFA is necessary to make the connection between the Arduino microcontroller and the computer. The current sensor module must be connected in series to the positive side of the PV panel and that of the load as shown in Figure (c). The output voltage of the INA169 module (Vo) is the input voltage at an Arduino analog pin (A1), which varies between. Hence, the output current of the PV panel can be formulated as the following equation:

RL: is the value of the output resistor, this is set at 10 KΩ. Rs: is the value of the shunt resistor, this is set at 0.1 Ω.

1kΩ is a constant resistance value we need to include due to the Vo: is the voltage we measured at the output of the INA169. Therefore, as shown in Figure (b), the output current of the sensor module can be obtained by the following equation: Then, a voltage level (Vo) is generated at the output resistor (RL). The INA169 is a high-side current monitor that measures the voltage drop across a sense resistor (Rs). Figure (b) shows the INA169 current sensor circuit (from INA169 Datasheet). The current sensor used to sense the PV panel output current is the INA169 module (Figure (a)), it can measure a continuous current up to 5 A. During the acquisition process, the measured data of the current, voltage and power are plotted directly in a monitoring platform developed under LabVIEW. While the LabVIEW Interface for Arduino (LIFA) serves as an interface between the Arduino microcontroller and computer to make communication between the microcontroller and LabVIEW through a serial connection. Then, the readings of the two sensors are transmitted to the microcontroller of the Arduino UNO board. The current and voltage sensors sense the output current and voltage from the PV panel. The Figure below shows the schematic diagram of the instrumentation system. Arduino IDE, LabVIEW, and LIFA are used as the software of the system design. A PV panel, Arduino UNO board, voltage, and current sensors are used as hardware components. Also for monitoring its output data (current, voltage, and power) under real condition. This project proposes a low-cost real-time virtual instrumentation system based on LabVIEW and Arduino to characterize a PV panel.
