LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 16x2 LCD Data display

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!

0 Kudos
Message 1 of 6
(8,058 Views)

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!

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 6
(8,031 Views)

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???

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 6
(8,025 Views)

The data connected to the LCD VI is not the same as the one from the result of the calculator.

0 Kudos
Message 4 of 6
(7,987 Views)

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!

SS1.JPGSS2 Front Panel.JPGSolution.png

0 Kudos
Message 5 of 6
(7,971 Views)

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!

Download All
Message 6 of 6
(7,810 Views)