11-06-2008 05:29 AM
Hello,
iam requesting to provide me simple calculator...... i have seen a LabVIEW calculator here which is very big....... but i want small one which performs just add,sub,mul and div.....
please provide me a solution......iam just learner of labview.....
thank you
11-06-2008 05:59 AM - edited 11-06-2008 06:02 AM
11-06-2008 06:00 AM - edited 11-06-2008 06:00 AM
Hi,
In general your "design" depends from the requirements.
You should create simple requirements specification which will describe the functionality, then constrain your design from the requirements doc.
Is such "calculator" simple enough for you?
Andrey.
11-06-2008 06:04 AM
11-06-2008 06:10 AM
Hello sunil_v20,
As a new user of LabVIEW you will find this an interesting example. One way to make this calculator is to use the State Machine Architecture, which generally involves have a Case Structure within a While Loop. The input to the Case Structure can be which 'Operation button (+,-,/,etc) is pressed, and the output will be the result, passed into a shift register on the while loop. You can navigate to an good example on the Developer Zone on the NI website by going to:
2. Clicking 'Developer Zone' from the main menu
3. Search the phrase 'State Machine' in the 'Search within results' search bar
4. Select example 'Coke Machine State Machine'
Do not hesitate to browse other examples of State Machines to help you with your application
Regards,
George
11-06-2008 06:16 AM
Hi
Apologies, my above post should have read:
Glad to hear that you've started using LabVIEW, I hope you get on well with it. If you follow http://zone.ni.com/devzone/cda/epd/p/id/5779, it should take you to the NI Developer Zone, where you can find a zip file containing a fully functioning calculator. What version of LabVIEW are you using? You should be aware that this VI will only work on versions later than 8.2.1 so if you have an earlier version then please let me know so that I can assist you further. Hope this helps,
Regards
11-06-2008 06:17 AM
11-06-2008 08:42 AM
11-09-2008 01:20 AM
Hi,
Thank you so much for these sugestions.....these are helped me to develop my own calculator.........
11-12-2008 03:47 AM
Hello... 🙂
Even I tried the same VI but I'm unable to add "." point Can anybody please help...?
Thanks in advance... 🙂