07-12-2016 02:18 AM
HI guys!!
I use labview is a novice and i did a calculator program and it have some problem.
i dont know how to display digital in string when the program is running,
but it can display on the highlight execution.
i hope someone can teach me
i really want to learn labview.
btw
because this pracetice , so it look very confused.
thank you.
07-12-2016 02:36 AM
Hope you are new to LabVIEW, It better not to use sequence structure unnecessarily, go through the basics of labVIEW and Design Patterns (Probably simple state Machine Architecture)
07-12-2016 04:03 AM
Hi Lapig,
Welcome to the forums and LV. Your code has a polling style architecture with sequence structures, the reason we recommend going for a state machine over sequence structures is so it can be responsive, reconfigurable, adaptable and scalable. It is a lot harder to do this with stacked sequences.
As a calculator has a lot of user interactions I'd also recommend using a event structure. You could start revising your code by looking into event structures and making a simple VI with a single while loop and single event structure.
LV Environment Tutorials:
http://www.ni.com/getting-started/labview-basics/environment
Design patterns for LV
ftp://ftp.ni.com/pub/branches/uk/stfc/Best_Practice_for_Block_Diagrams_and_Front_Panels.pdf
Hope this helps.
Pete