ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Merging several VIs into 1 vi

Hi there 🙂 

 

I have created 3 .vi files for my sensors separately, but I want to combine them to be able to read/control all the outputs using 1 vi. One of the vi files was already built by someone else in the lab, and the other 2 I built using DAQ assistant, then expanding on it by adding the calibration curve/filter. Any help with combining these or where to start would be really appreciated. I have 2 temperature sensors (for which i only have 1 .vi, but i either need to learn how to modify it or build another one), 1 pressure  transducer and a flowmeter

 

Thanks in advance! 

0 Kudos
Message 1 of 2
(931 Views)

@hamzawy47 wrote:

Hi there 🙂 

 

I have created 3 .vi files for my sensors separately, but I want to combine them to be able to read/control all the outputs using 1 vi. One of the vi files was already built by someone else in the lab, and the other 2 I built using DAQ assistant, then expanding on it by adding the calibration curve/filter. Any help with combining these or where to start would be really appreciated. I have 2 temperature sensors (for which i only have 1 .vi, but i either need to learn how to modify it or build another one), 1 pressure  transducer and a flowmeter

 

Thanks in advance! 


Simple State Machine Architecture will solve your Problem, if Read/control of all the outputs/sensor is sequential. Just make a Proper State Machine Architecture (Example: Init, Read Flow Meter, Read Temperature, Read Pressure, Update UI, Exit).

 

if you want to read all the Outputs in parallel Need to use Parallel loop for Data Acquisition.

----------------------------------------------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------------------------------------------
Message 2 of 2
(888 Views)