Hi Ahmed, Thank you for these amazing tutorials. I have an issue, and I you hope you can help me with it. When I start the program and highlighting the excitation, I see that there no signal coming out of the Set Digital Pin, so there is noting going to the While Loop.
dear Dr Ahmed i followed all the instructions and it didn't work the labview did not find the comport after research i realised that i need to install the NI Visa driver which solved the problem please put that note in the video for future viewers
What is the benefit of using Labview for an Arduino program, other than providing a block diagram? It seems like you can code right from the Arduino easily enough.
NI data acquisition and I/O devices cost over hundreds of dollars were an arduino can be bought for as low as 5 $. For someone who wants to interface Labview code with hardware , this will be the most inexpensive solution
Hi, I tried this, first got an error uploading the code to the board in the IDE, solved it by closing LabVIEW disconnecting and connecting the arduino again, then when running the LabView code I had an error the 5003 error, turns out there was a problem in the LIFA base code, in the LabVIEWinterface tab, in the line 740, you must initialize the variable with a 0 value, after that, I restarted everything, tried again and everything worked perfectly. Thank you.
for everyone who don't know what exactly to do: All you have to do is add 1 line of code: checksum = 0; and then everything is fine :))) thank you so much for this, Hector.
Hi Ahmed, very nice tutorial....thank you so much for sharing.I do have a problem with LIFA_BASE..there is no way to have it to compile. I'm using Arduino Ide 1.0.6 an LABVIEW 2012.Can Iyou please be so kind to suggest a solution?ThanksArnaldo Armida
+Ahmed Sweleh This report would have more information with "Show verbose output during compilation" enabled in File > Preferences. Arduino: 1.0.6 (Windows NT (unknown)), Board: "Arduino Uno" LabVIEWInterface:70: error: 'DallasTemperature' does not name a type LabVIEWInterface.ino: In function 'void processCommand(unsigned char*)': LabVIEWInterface:571: error: 'sensors' was not declared in this scope
Hello Ahmed, I am getting an error while connecting the Init error out to pin mode error in. It says "You have two or more cluster data types wired together, but the clusters have different kinds or numbers of elements. Cluster error in, a cluster of 2 elements, conflicts with cluster error in, a cluster of 3 elements." Can you help. I am not able to figure out. Thanks Punit
i just noticed that my LIFA interface is compatible for labview version 2009. is it workable for labview 2017 as i am using this version for my project
can't get it working on Arduino clone..,the error out says "Unable to find Arduino. Please make sure the Arduino is connected to your system and that the Arduino drivers are installed." ..I'm sure I installed the right driver because I can load and run programs on my arduino clone alone without interfacing with labview,,other thing is, on the Visa resource list only "refresh"is listed no, com port is available..do you think its because I used arduino clone only and not arduino board?
I tried to do this with Arduino Uno wifi rev2 but after running the lifa base in Ide it says " chip not supported". Does linx didn't support Arduino Uno wifi rev2
If anyone is having trouble turning on and off the LED on the Arduino (whether it always stays on, or never turns on) , LIFA (LabVIEW Interface for Arduino) is pretty old and most likely outdated? Use LINX instead and it should work
ahmad Salam : I made all like u did in video but when I make Visa to constant it only shows I/o not com5, com1 is showing up what I could have done wrong ??? I have uploaded the basefile all is done ,kindly reply
Hello Mr Ahmed I'm currently working on a projekt with Arduino and RFID module I just want to ask you if I can supervise my access control system with Labview thank you very much ?
Kevin Trapp yes you should be able to do it. Arduino should read from NFC and send the information back to lab view using serial interface. To receive serial data in lab view look for the NI VISA vi block
+Ahmed Sweleh Hi, Thanks for your answer In the first step, I loaded the LabVIEW interface for Arduino firmware onto my Arduino Uno (The Vi.lib LIFA_Base.ino file). In the second step, I selected the port of the Init.vi. After I execute the LabVIEW bloc diagram and click on running the Rx and Tx diode of Adruino begin to blinking during 5 seconds. After this, I saw “Error 5002” and I cannot control the Pin 13 Led. This is a screenshot of my LabVIEW bloc diagram: hpics.li/73b8d92
I got error like this while compiling the arduino uno board; C:\Program Files\Arduino\libraries\RobotIRremote\IRremoteTools.cpp:5: error: 'TKD2' was not declared in this scope
wow!!it was such nice video. but when i am compiling the lifa in arduino ide, i am getting an error : "Arduino: 1.6.1 (Windows 8), Board: "Arduino Uno" H:\softwares\micro cntroller\arduino-1.6.1\libraries\RobotIRremote\src\IRremoteTools.cpp:5:16: error: 'TKD2' was not declared in this scope int RECV_PIN = TKD2; // the pin the IR receiver is connected to".. can yo please help me on this issue. thank you.
I have the same problem but it solved please refer to this page decibel.ni.com/content/groups/labview-interface-for-arduino/blog/2014/05/07/irremotetoolscpp5-error-tkd2-was-not-declared-in-this-scope
i got this error "nit.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." also got this error "Interface for Arduino.lvlib:Set Digital Pin Mode.viLabVIEW Interface for Arduino.lvlib:Digital Write Pin.vi. A timeout occurred while trying to read form the Arduino." plzzz help
WHAT 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.
when I simulate Life Base in Arduino IDE I have this msg problem , C:\Program Files\Arduino\libraries\RobotIRremote\src\IRremoteTools.cpp:5:16: error: 'TKD2' was not declared in this scope int RECV_PIN = TKD2; // the pin the IR receiver is connected to ^ Erreur lors de la compilation. I did not understand.thanks you
I have the same problem but it solved pleaserefer to this page decibel.ni.com/content/groups/labview-interface-for-arduino/blog/2014/05/07/irremotetoolscpp5-error-tkd2-was-not-declared-in-this-scope
the arduino labview interface library dose not offer options to control the output generated pwm. (as far as I know) why do you need that exact frequency?