08-15-2011 01:54 PM
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
08-16-2011 05:01 PM
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,
08-17-2011 02:15 PM - edited 08-17-2011 02:18 PM
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
08-17-2011 02:24 PM
i have also tried this but i am getting no results
08-17-2011 05:29 PM
@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.