LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to combine two progammes to make as one

Hello,

I am working with the detection of peaks present in the pulse signal.I have made two programmes one to detect the peaks from the incoming pulse signals and other to controll the supply voltage for the LED's as shown in the images  Peak detector  and  Voltage_controller respectively.Now I want to combine both of them in one programme like on the front panel when peak detection programme is made stop(OFF) then  the user should be able to change the supply voltage of the LED as shown in the second image.

How to build this. 

Thanks in Advance.

0 Kudos
Message 1 of 2
(2,094 Views)

for very basic put your both programs on the block diagram of a single vi and check for the stop conditions.

a step forward learn usind design patterns like state machine. then define different states for the two processes in different while loops.

 

0 Kudos
Message 2 of 2
(2,078 Views)