Тёмный

Interfacing Arduino with LabVIEW Part 1 Digital IO Write 

Ahmed Hassan Mohamed Sweleh
Подписаться 941
Просмотров 81 тыс.
50% 1

Опубликовано:

 

11 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 66   
@unionse7en
@unionse7en 5 лет назад
a nearly perfect introduction, just the right amount of info, plus good sense of humor and kept it real.
@Aelevant
@Aelevant 10 лет назад
best arduino labview tutorial so far. thank you and keep them coming
@jdarnell123
@jdarnell123 9 лет назад
Aelevant ... I'll agree with your assessment. :)
@jaysononeal350
@jaysononeal350 6 лет назад
Hey man this code worked great for me, thanks for sharing. I did have to change the baud rate to 9600 to get it to work.
@Redmorte
@Redmorte 9 лет назад
I'm glad I came across your video, very pleasant to be watched, and helped me a lot
@babybuds88
@babybuds88 7 лет назад
"if you dont like my voice, you can change to another video" XD XD. you're the best, video is great!
@eisaalyaqoub5251
@eisaalyaqoub5251 5 лет назад
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.
@sfrudin
@sfrudin Год назад
thank you, very useful
@saibtaimeh2028
@saibtaimeh2028 8 лет назад
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
@AhmedSweleh
@AhmedSweleh 8 лет назад
NI Visa should have installed with LABVIEW. Maybe you unchecked it during the package selection window. anyway glad it's fine now
@abdallahbukhari4382
@abdallahbukhari4382 8 лет назад
+Saib Taimeh thanks , your comment was very helpful
@JunaidKhan-zy4jv
@JunaidKhan-zy4jv 7 лет назад
thank u for the info, i have the same issue
@vshah1010
@vshah1010 4 года назад
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.
@AhmedSweleh
@AhmedSweleh 4 года назад
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
@RafasolutionsLLC
@RafasolutionsLLC 8 лет назад
Nice video thanks for sharing, your voice was good :)
@ujjwalsahoo3642
@ujjwalsahoo3642 9 лет назад
It was helpful. Thank you!
@ashishmhatre2846
@ashishmhatre2846 8 лет назад
hey im not getting ny com port selectn it only shows refresh plz help
@HectorQuijadaV
@HectorQuijadaV 4 года назад
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.
@LukiUwU
@LukiUwU 2 года назад
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.
@armidaarnaldo4145
@armidaarnaldo4145 9 лет назад
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
@AhmedSweleh
@AhmedSweleh 9 лет назад
what are the errors you get from compiling
@armidaarnaldo4145
@armidaarnaldo4145 9 лет назад
+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
@AhmedSweleh
@AhmedSweleh 9 лет назад
+Armida Arnaldo can you try to copy the "Labview arduino interface" to the library folder of arduino in the c drive
@pranalidesai5941
@pranalidesai5941 7 лет назад
Amazing video!
@punitbansal2435
@punitbansal2435 8 лет назад
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
@faheemrehman3355
@faheemrehman3355 6 лет назад
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
@marhsall-bw5kv
@marhsall-bw5kv 9 лет назад
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?
@shreyvaid2593
@shreyvaid2593 4 года назад
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
@shreyvaid2593
@shreyvaid2593 4 года назад
Will it work with Arduino Uno wifi rev2 ???
@d1xenotime797
@d1xenotime797 7 лет назад
My Arduino is blinking instead when I run made your VI. Is this normal?
@subscribes6434
@subscribes6434 4 года назад
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
@mrmj3675
@mrmj3675 8 лет назад
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
@fidansmaili6306
@fidansmaili6306 3 года назад
Budy, did you solve the problem? If yes, share the information because I'm facing the same problem right now! Thanks in advence!
@turitou19
@turitou19 8 лет назад
Thank you so much! Keep up the good videos!
@anouarben779
@anouarben779 7 лет назад
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 ?
@AhmedSweleh
@AhmedSweleh 7 лет назад
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
@anouarben779
@anouarben779 7 лет назад
thank you very much sir !
@paracetalord
@paracetalord 6 лет назад
if bby any chance you still have this project going, i have a VI that controls RFID perfectly, i can send it tou you via email, greetings
@faisalabdullah6518
@faisalabdullah6518 8 лет назад
hello..can i know how to combined the digital write for pump water, delay,digital write for iron,delay and dc motor running??
@kurtauerbach5883
@kurtauerbach5883 8 месяцев назад
this would be a long answer - you should learn some basic electronics. you could use a relay ? be sure to check the rating.
@marhsall-bw5kv
@marhsall-bw5kv 9 лет назад
I'm using Labwiew 2013 crack version,,will it work??I tried it but nothing happens
@haythemhaddad2610
@haythemhaddad2610 9 лет назад
Hi , thank you for this tutorial it was helpful but I a have 5002 error and I can’t resolve the problem ! can you help me ?
@AhmedSweleh
@AhmedSweleh 9 лет назад
what comes with the error?
@haythemhaddad2610
@haythemhaddad2610 9 лет назад
+Ahmed Sweleh a message indicated that labview can not connect with Arduino
@AhmedSweleh
@AhmedSweleh 9 лет назад
+Haythem Haddad did the arduino sketch get uploaded to the arduino uno? maybe the wrong COM port is selected in labview vi
@haythemhaddad2610
@haythemhaddad2610 9 лет назад
+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
@Xeransystor
@Xeransystor 8 лет назад
+Haythem Haddad could you fix this problem? i got the same problem
@ramakrishnareddydyava2982
@ramakrishnareddydyava2982 8 лет назад
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
@maaistam
@maaistam 9 лет назад
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.
@muhammadluthfil7584
@muhammadluthfil7584 8 лет назад
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
@meghakim5982
@meghakim5982 8 лет назад
I will want controlling a mobile robot that contains 2 dc motor with labview and I have to help thanks you
@cpeterson877
@cpeterson877 7 лет назад
Very good
@kaisammar3707
@kaisammar3707 7 лет назад
problem with COM dosen't shouw in labview
@faheemrehman3355
@faheemrehman3355 6 лет назад
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
@hanhTran-cj4fb
@hanhTran-cj4fb 8 лет назад
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.
@meghakim5982
@meghakim5982 8 лет назад
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
@muhammadluthfil7584
@muhammadluthfil7584 8 лет назад
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
@irtazaanwar2144
@irtazaanwar2144 7 лет назад
my stepper.h file is updated accidentely how can i recover or reinstall it
@Sumitraut277
@Sumitraut277 9 лет назад
hey its a good tut...can you help me generate pulses at 48khz freq using arduino mega and labview...??
@AhmedSweleh
@AhmedSweleh 9 лет назад
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?
@Sumitraut277
@Sumitraut277 9 лет назад
I want to control the output frequency(for a dynamometer ) based on the input I get from a magnetic reluctance sensor(for rpm measurements)
@nejatorkutgokus2801
@nejatorkutgokus2801 9 лет назад
ahmet can you send to me LabVIEW Interface for Arduino project folder pls thank you .
@AhmedSweleh
@AhmedSweleh 9 лет назад
What exactly you want me to send you ? The vi I made in the video?
Далее
Proper way to communicate over serial
51:24
Просмотров 17 тыс.
M5Stack Cardputer: ESP32-S3 Pocket Computer
17:06
Просмотров 92 тыс.
RS232 interface with the 6551 UART
22:45
Просмотров 207 тыс.
Ford RS gauges with Arduino UNO
45:38
Просмотров 360 тыс.
HYDRAULIC PRESS VS TITANIUM AND STEEL ARMOR
8:42
Просмотров 3,7 тыс.
Getting Started With the LabVIEW Interface for Arduino
10:01
Interfacing Arduino with LabVIEW Part 4 light switch
15:15