Такой проект уже разработан и распространяется как шаблон с любой версией
Continuous Measurement and LoggingThe Continuous Measurement and Logging sample project acquires measurements continuously and logs them to disk. It executes five loops in parallel:
Event handling (Main.vi)—The Event Handling Loop (EHL) that produces messages based on front panel events, such as the user clicking Start or Settings.
User interface messaging (Main.vi)—A Message Handling Loop (MHL) that receives messages from the EHL and responds by sending messages to the other MHLs.
Acquiring data (Acquisition.lvlib:Acquisition Message Loop.vi)—An MHL that continuously acquires data. By default, this template simulates acquired data.
Logging data (Logging.lvlib:Logging Message Loop.vi)—An MHL that continuously logs acquired data.
Displaying data (Main.vi)—A While Loop that updates the waveform chart with acquired data.
This sample project also features a Settings dialog box (Settings.lvlib) you can use to configure the application.