Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

saving data into new file in a folder every time

i want to log data into a file everytime i run te vi

i have tried this using this vi

but unable to get the results

i am getting "i dont know type of data"

help me

0 Kudos
Message 1 of 5
(3,736 Views)

Hello,

 

I am having a difficult time understanding exactly what you need. It appears that you are trying to log data to a file when you run a particular VI. Is this correct? You have attached code for review, which I assume is your attempt to log data. What happens when you run this code? Do you receive an error code or error message when you run the VI? What type of data are you trying to log? Have you searched for example code at www.ni.com/community? I found the following that may suit your needs:

 

Simple Data Logging With Time Stamps

https://decibel.ni.com/content/docs/DOC-3871

 

 

Regards,

Kareem W.
National Instruments
Web Product Manager
0 Kudos
Message 2 of 5
(3,612 Views)

i am getting this type of error

we.bmp

i want to run the vi many times

and i want that every time i run the vi.. alll the different vaalues(shown by waveform chart shold get store in the excel file... )

i have tried this to be impemented by LoggingWithTimestamps_LV861 , discharging_data logging and by many other methods

 want to specify a folder for my all data record and i want that all the data should get store in thar folder with all the data i am getting from different channels

help me out in this

i am reading things and searching forms for long for this

 

0 Kudos
Message 3 of 5
(3,600 Views)

i have also tried this but i am getting no results

0 Kudos
Message 4 of 5
(3,593 Views)

@data logging wrote:

i am getting this type of error

we.bmp

i want to run the vi many times

and i want that every time i run the vi.. alll the different vaalues(shown by waveform chart shold get store in the excel file... )

i have tried this to be impemented by LoggingWithTimestamps_LV861 , discharging_data logging and by many other methods

 want to specify a folder for my all data record and i want that all the data should get store in thar folder with all the data i am getting from different channels

help me out in this

i am reading things and searching forms for long for this

 


In LoggingWithTimestamps, Write to Spreadsheet does not create an Excel file so naming it xlsx is wrong. View it with a text editor. Name it .txt and import it from within Excel.

 

Your other program is using tdms file format and I have no idea how you are trying to read that. You are also creating a new file with each iteration.

0 Kudos
Message 5 of 5
(3,570 Views)