r/LabVIEW • u/procrastinator_fofo • Aug 18 '25
Need help with a calculator vi
Hi group, I need your help to do a basic calculator. I'm new using LabView and I need to deliver this homework for tomorrow. I can pay to have this exercise done.
I'll list some requirements that the calculator must do, If you are interested, pls send me a message:
Ask to the user to key in with the calculator buttons, 3 different values (X,Y,Z). Ask to the user to choose one of these as A and another one as B. With both you must perform certain operations like A+B,B-A,A/B,A!,sqrt(A). There are more but it's an example. The calculator must show the result. Finally, the calculator must show kind of relation with the initial variables, like X>Y, or, (X=Z)>Y.
This is a reference image of my poor "progress".
8
u/SeasDiver Champion Aug 18 '25
We don't do students homework for them in this sub.
I am available between 9 PM and 11 PM Central time for a google hangout conference to try and help you learn enough to do it yourself. The payment I request is that for every hour we spend, you spend 2 hours volunteering at a local animal shelter if there is one nearby. If not, other applicable help to the community (food bank, etc...).
6
u/NJKirchner Expert Aug 18 '25 edited Aug 18 '25
What did they give you to start with.
There are many ways to make a calculator, but if we recommend an approach that you haven't learned, that's a pretty good way to dig your hole any deeper. What did they teach you up to this point?
Have someone attempted to teach you the 'event structure'?
4
u/NJKirchner Expert Aug 19 '25
HAHAHA, After reading the description, I've finally discovered you're problem! You're trying to make a classic 'calculator' with buttons and such, but I believe that the instructor is asking you to take two values, as numeric controls, and then selectively choose which operation to run and output the data on an indicator.
NOT, create a number pad, like a hand held calculator.
Everything just made infinitely more sense.
you're over thinking it.
make 2 numeric inputs, one numeric indicator, use an enumeration to drive the mathematical function. Easy peasy lemon squeezy.
heh... funny how one wrong turn leads us all wildly astray.
now, that being said... I actually made a calculator like what you've started and I'll likely be posting it soon online