LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

i have created calculator in labview 8.0

i have created calculator in labview 8.0 .its working bt 2 bugs are there.

1) ans alwayz come in 0.000000 format and ans is always rounded off.

2) whn i press any operator like */-+ thn last input number become invisible and screnn blank on calculator.

 

0 Kudos
Message 1 of 4
(7,406 Views)

ghayas-

 

           Here are your answers-

1) You need to use "Fract/Exp String to Number" instead of all of your "Decimal String to Number"

2) The screen goes blank because you reinitialize the String Local Variable everytime an operation button is pressed. See attached picture for what I'm talking about.

 

 

Hope this helps. Happy Wiring!!

 

*Remember* Help out the community and set posts to answers if they actually answer your post!!

0 Kudos
Message 2 of 4
(7,391 Views)

thank you sir..

sor its been done but the new problem is that its not accepting 3rd input like if i wnt to add 4+4+4=12 so kindly tell me any posibility

0 Kudos
Message 3 of 4
(7,358 Views)
It is possible to do it by programming properly using shift registers. I would recommend that you go through some of the training materials before you build an application of this kind. You might also want to go through the Getting Started with LabVIEW manual that is available on the Getting Started window when LabVIEW starts up. Also, you should be using event structures when doing user interface. Here is an example of a calculator that was built in LabVIEW.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 4 of 4
(7,331 Views)