LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help me fix my calculator

OK, briefly glancing at your code:

  • What's the point of these "initialize to defaults" in several places (see picture). That does not seem right.
  • Why are all front panels and diagrams maximised to the screen? Very annoying!
  • You know that "index array" is resizable. Right?
  • When using "delete from array" with the size unwired, you get the deleted scalar element too. No need to index it out in parallel.

It is very difficult to debug your code because it is just so convoluted. For example your "add subtract subVI" could be done on the size of a postage stamp (image).

 

AddSubRube.png

 

 

My suggestion would be to get your original files, Get rid of all the "initialize to defaults" because these run in parallel and we have no idea what it does to the data in controls and indicators. Maybe cleanup some of the weird stuff as above, etc.

 

Then tell us exactly what inputs you are using, what you expect as a result and what you get instead.

0 Kudos
Message 11 of 11
(319 Views)