03-14-2018 11:59 AM
When i connect arduino with the labview the error message is generated as follows...Any one help me!
Error 5002 occurred at Init.vi. Unable to establish connection with Arduino. Please ensure that you have selected the correct COM port and that you have flashed the Arduino with the correct firmware.
This error code is undefined. Undefined errors might occur for a number of reasons. For example, no one has provided a description for the code, or you might have wired a number that is not an error code to the error code input.
Additionally, undefined error codes might occur because the error relates to a third-party object, such as the operating system or ActiveX. For these third-party errors, you might be able to obtain a description of the error by searching the Web for the error code (5002) or for its hexadecimal representation (0x0000138A).
Solved! Go to Solution.
03-14-2018 12:03 PM
Well uh...have you checked that you have the correct COM port selected? And well have you downloaded the firmware to the Arduino? What have you done other than "connect arduino with the labview"?
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
03-14-2018 12:03 PM
I am guessing you are using LIFA? (LabVIEW Interface For Arduino)
LIFA has been long since deprecated and replaced with LINX
03-14-2018 12:19 PM
Yes i have uploaded the LIFA_BASE.ino to arduino....when i upload simple blinking code to arduino and connect the block labview rx pin in arduino becomes blinking continuously.After that in labview error code generates....In init com3 is detected rightly
03-14-2018 12:24 PM
yes im using LIFA.My labview version is 2013.when is try to install LINX in VIPM manager error generate as this package is not available for any othe labview version in your computer
03-14-2018 12:28 PM
@vikiece93 wrote:
when i upload simple blinking code to arduino and connect the block labview rx pin in arduino becomes blinking continuously.
What does this mean?
LINX works with LabVIEW 2011 or newer. If it is complaining about compatibility I would update your VIPM to 2017. Older versions won't allow installing newer packages.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
03-14-2018 12:34 PM
when i upload simple blinking code to arduino and connect the block labview rx pin in arduino becomes blinking continuously.
when i interface arduino and labview ,Rx led in arduino blinks and Tx led remains off.After some seconds in labview error generated
03-15-2018 01:14 PM
its worked.I updated vipm 2017 version its working
11-19-2018 09:56 AM - edited 11-19-2018 10:03 AM
I need to read the digital outputs sent by arduino. In this case, in the programming, in the writing, in the idea is only LabVIEW in the middle of LINX read this data and be able to graph the signal.
What I have are several LEDs and an ultrasonic sensor, however, has not managed to make the communication. The idea at the beginning is to take the signal that the ultrasonic sensor sends me and when it reaches a certain level then it sends me an alarm message by means of an email. However, I can not communicate.
If it is a compatibility error between software, linx and labview or if something in the .VI programming is wrong.
The questions should be installed in the work code to interact with Linux.
I would appreciate if someone can help me