LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

help in creating a simple calculator.

hey,   

  i am new to labview and just started going about it.  i wanted to make a calculator with no.keys(0-9), operations-keys( +,-,*,/,=) and an on button and an off button, to start and stop the vi respectively.     i am getting stuck at a place. i cant figure out how to store a value temporarily., is there a control that acts like buffer??        please help!     i am attaching the code i made. please correct me!

 

 

sunal.

0 Kudos
Message 1 of 5
(3,359 Views)

Hi Sunal,

 

This is not the right way to make the calculator. You should use shift registers or some advance coding to achive the target.

For your reference i have attached a calculator. Refer this and try to understand the way to do coding for these type of tasks.

Don't use this as a solution, complete your own project.

 

Thanks and Regards

Himanshu Goyal

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
0 Kudos
Message 2 of 5
(3,351 Views)

@Himanshu Goyal wrote:

Hi Sunal,

 

This is not the right way to make the calculator. You should use shift registers or some advance coding to achive the target.

For your reference i have attached a calculator. Refer this and try to understand the way to do coding for these type of tasks.

Don't use this as a solution, complete your own project.

 

Thanks and Regards

Himanshu Goyal


Please reference the VIs that you post and give credit to those who took the time to code it.  The calculator can be found here.

 

http://forums.ni.com/t5/LabVIEW/Labview-calculator/m-p/694594?query.id=289283#M318364

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
0 Kudos
Message 3 of 5
(3,326 Views)

Hi Sunal,

 

As moreese says or share one discussion form for calculator. That is right.

I give you reference calculator that already available in NI website to make your own calculator, this I mention clearly in reply.

I got this reference calculate from here

I am not looking for any credit I just share this with you to clear your coding concept.

 

Thanks and Regards

Himanshu Goyal

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
0 Kudos
Message 4 of 5
(3,308 Views)

Ah, another school project done.

 

Well done, everyone. You all get to graduate this year! Smiley Very Happy

0 Kudos
Message 5 of 5
(3,285 Views)