LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

data logging

Hi,

   Procedure for how to log the data in labview. For example am running a vi which performs some arithematic calculations and i want to log this data. Can you please suggest how to do this

 

Thanks in advance

0 Kudos
Message 1 of 4
(2,495 Views)

Hi Vika,

 

I suggest to use file functions…

 

Did you do any of those free online LabVIEW courses for beginners offered by NI?

Did you even started the ExampleFinder in LabVIEW's help menu?

 

All your questions (so far) indicate missing knowledge of and practicing in using LabVIEW. Do yourself a favor and take some courses before starting to code…

And please learn to give better thread titles in the first place!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,490 Views)

Obligitory links to free training.

 

3 Hour Introduction http://www.ni.com/white-paper/5243/en/

6 Hour Introduction http://www.ni.com/white-paper/5241/en/

LabVEW Basics http://www.ni.com/gettingstarted/labviewbasics/

Self Paced training for students http://www.ni.com/academic/students/learn/

Self Paced training beginner to advanced, SSP Required http://sine.ni.com/myni/self-paced-training/app/main.xhtml

LabVIEW Wiki on Training http://labviewwiki.org/LabVIEW_tutorial#External_Links

 

Data logging stuff is generally under the File I/O palette and there is a simple function for writing text files, or writing arrays of data that append to existing files.

0 Kudos
Message 3 of 4
(2,402 Views)

If it is just a few numbers, wire them to an array first then wire that to a tdms write block. place your open tdms file outside the while loop and have your filename wired to that. this should explain how

 

http://www.ni.com/white-paper/3539/en/

0 Kudos
Message 4 of 4
(2,389 Views)