LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calculator question

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.

0 Kudos
Message 1 of 3
(2,821 Views)

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)

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 3
(2,814 Views)

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

Certified LabVIEW Architect
0 Kudos
Message 3 of 3
(2,794 Views)