04-18-2018 10:29 PM
Hey, hope you all are having a great day.
I'm trying to learn labview and wanted to "design" some kind of calculator that could display the results of the calculation in an LCD. However, I took a shortcut and downloaded from this site a calculator design and tried to make it work with the LCD, now the problem is, I'm not quite sure how to link the LCD and the calculator result, I know the calculator is working and that the LCD code is working too, now I just need to connect the result with the LCD display.. could someone please help me with this?
Thanks!
04-19-2018 02:10 AM - edited 04-19-2018 02:12 AM
You could always find an LCD font and use it in your calculator display instead.
Edit: Oops, I should've realized you meant a real LCD screen!
04-19-2018 02:14 AM
Hi Dastan,
I'm not quite sure how to link the LCD and the calculator result, I know the calculator is working and that the LCD code is working too
So the calculator part outputs the results in a string indicator, while the LCD-Arduino part expects a string for the LCD display.
So what's the problem, when both parts work with strings???
04-19-2018 05:27 PM
The data connected to the LCD VI is not the same as the one from the result of the calculator.
04-21-2018 10:19 PM
Update on this topic.
I've changed the Calculator VI to a simpler one and have been able to link it to the LCD VI, now my problem is that every time I run the program it shows ERR 5003 / ERR 5002 at Ini.vi, I've tried to re-install NI-VISA, re-uploading LIFA_BASE to the Arduino, currently I'm using LINX instead of LIFA but the problem persists, I've tried to run the Arduino with the LINX examples and it works just fine so I'm wondering what could be causing the problem...
I also tried a "solution" which I lost the thread to but it didn't work for me, below I'll attach some screenshots from the block diagram and front panel as well as the "solution" tried, would appreaciate any help on this.
Thanks!
06-15-2018 10:12 AM
Hi,
I checked your vi file and I modified it a bit.
I used a numeric to string converter and a print function instead of character print.
Tried it with my own 16x2 LCD and it works fine!
Hope this helps!